Commit 7f78d3a7 authored by abdullh.alsoleman's avatar abdullh.alsoleman

Add authentication properties

parent 81b9202c
server:
port: 8089
port: 8000
management:
tracing:
enabled: true
......@@ -9,45 +9,65 @@ management:
zipkin:
tracing:
endpoint: http://zipkin.zipkin.svc.cluster.local:9411/api/v2/spans
spring:
datasource:
url: jdbc:mysql://mysql.sql.svc.cluster.local:3306/authentication
username: abdullah
password: aaa123
driver-class-name: com.mysql.cj.jdbc.Driver
jpa:
hibernate:
ddl-auto: update
show-sql: true
cloud:
gateway:
routes:
- id: cv-service
uri: http://cvservice.jobportal.svc.cluster.local:8086
predicates:
- Path=/api/cvs/**
- id: jobseeker-service
uri: http://jobseekerservice.jobportal.svc.cluster.local:8085
predicates:
- Path=/api/jobseekers/**
- id: interview-service
uri: http://interviewservice.jobportal.svc.cluster.local:8087
predicates:
- Path=/api/interviews/**
- id: producer-service
uri: http://producerservice.jobportal.svc.cluster.local:8088
predicates:
- Path=/api/producer/**
- id: company-service
uri: http://companyservice.jobportal.svc.cluster.local:9003
predicates:
- Path=/api/company/**
- id: applicant-service
uri: http://jobapplicationservice.jobportal.svc.cluster.local:9002
predicates:
- Path=/api/applicants/**
- id: job-service
uri: http://jobservice.jobportal.svc.cluster.local:9001
predicates:
- Path=/api/jobs/**
mvc:
routes:
- id: cv-service
uri: http://cvservice.jobportal.svc.cluster.local:8086
predicates:
- Path=/api/cvs/**
- id: jobseeker-service
uri: http://jobseekerservice.jobportal.svc.cluster.local:8085
predicates:
- Path=/api/jobseekers/**
- id: interview-service
uri: http://interviewservice.jobportal.svc.cluster.local:8087
predicates:
- Path=/api/interviews/**
- id: producer-service
uri: http://producerservice.jobportal.svc.cluster.local:8088
predicates:
- Path=/api/producer/**
- id: company-service
uri: http://companyservice.jobportal.svc.cluster.local:9003
predicates:
- Path=/api/company/**
- id: applicant-service
uri: http://jobapplicationservice.jobportal.svc.cluster.local:9002
predicates:
- Path=/api/applicants/**
- id: job-service
uri: http://jobservice.jobportal.svc.cluster.local:9001
predicates:
- Path=/api/jobs/**
default-filters:
- DedupeResponseHeader=Access-Control-Allow-Credentials Access-Control-Allow-Origin
data:
company-url: http://companyservice.jobportal.svc.cluster.local:9003/api/company/
jobseeker-url: http://jobseekerservice.jobportal.svc.cluster.local:8085/api/jobseekers/
jwt:
secret: "Ru/wqM6OZDmsX9hnGtVPhruw1AoDZ8BL+aVT1NIcWZw="
......
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