Commit b3b21169 authored by abdullh.alsoleman's avatar abdullh.alsoleman

Updated to use DNS of Kubernetes

parent 922468e0
server: server:
port: 8089 port: 8089
eureka:
client:
register-with-eureka: true
fetch-registry: true
service-url:
default-zone: http://eurekasvc.jobportal.svc.cluster.local:8761/eureka/
spring: spring:
cloud: cloud:
gateway: gateway:
routes: routes:
- id: cv-service - id: cv-service
uri: lb://cvservice uri: http://cvservice.jobportal.svc.cluster.local:8086
predicates: predicates:
- Path=/api/cvs/** - Path=/api/cvs/**
- id: jobseeker-service - id: jobseeker-service
uri: lb://jobseekerms uri: lb://jobseekerservice.jobportal.svc.cluster.local:8085
predicates: predicates:
- Path=/api/jobseekers/** - Path=/api/jobseekers/**
- id: interview-service - id: interview-service
uri: lb://inerviewservice uri: lb://interviewservice.jobportal.svc.cluster.local:8087
predicates: predicates:
- Path=/api/interviews/** - Path=/api/interviews/**
- id: producer-service - id: producer-service
uri: lb://ProducerService uri: lb://producerservice.jobportal.svc.cluster.local:8088
predicates: predicates:
- Path=/api/producer/** - Path=/api/producer/**
- id: company-service - id: company-service
uri: lb://Company uri: lb://companyservice.jobportal.svc.cluster.local:9003
predicates: predicates:
- Path=/api/company/** - Path=/api/company/**
- id: applicant-service - id: applicant-service
uri: lb://JobApplication uri: lb://jobapplicationservice.jobportal.svc.cluster.local:9002
predicates: predicates:
- Path=/api/applicants/** - Path=/api/applicants/**
- id: job-service - id: job-service
uri: lb://JobService uri: lb://jobservice.jobportal.svc.cluster.local:9001
predicates: predicates:
- Path=/api/jobs/** - Path=/api/jobs/**
- id: eureka-service
uri: http://localhost:8761
predicates:
- Path=/eureka/main
filters:
- SetPath= /
- id: eureka-service-static
uri: http://localhost:8761
predicates:
- Path=/eureka/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment