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

Updated to use DNS of Kubernetes

parent 922468e0
server:
port: 8089
eureka:
client:
register-with-eureka: true
fetch-registry: true
service-url:
default-zone: http://eurekasvc.jobportal.svc.cluster.local:8761/eureka/
spring:
cloud:
gateway:
routes:
- id: cv-service
uri: lb://cvservice
uri: http://cvservice.jobportal.svc.cluster.local:8086
predicates:
- Path=/api/cvs/**
- id: jobseeker-service
uri: lb://jobseekerms
uri: lb://jobseekerservice.jobportal.svc.cluster.local:8085
predicates:
- Path=/api/jobseekers/**
- id: interview-service
uri: lb://inerviewservice
uri: lb://interviewservice.jobportal.svc.cluster.local:8087
predicates:
- Path=/api/interviews/**
- id: producer-service
uri: lb://ProducerService
uri: lb://producerservice.jobportal.svc.cluster.local:8088
predicates:
- Path=/api/producer/**
- id: company-service
uri: lb://Company
uri: lb://companyservice.jobportal.svc.cluster.local:9003
predicates:
- Path=/api/company/**
- id: applicant-service
uri: lb://JobApplication
uri: lb://jobapplicationservice.jobportal.svc.cluster.local:9002
predicates:
- Path=/api/applicants/**
- id: job-service
uri: lb://JobService
uri: lb://jobservice.jobportal.svc.cluster.local:9001
predicates:
- 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