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

Add authentication properties

parent 81b9202c
server: server:
port: 8089 port: 8000
management: management:
tracing: tracing:
enabled: true enabled: true
...@@ -9,45 +9,65 @@ management: ...@@ -9,45 +9,65 @@ management:
zipkin: zipkin:
tracing: tracing:
endpoint: http://zipkin.zipkin.svc.cluster.local:9411/api/v2/spans endpoint: http://zipkin.zipkin.svc.cluster.local:9411/api/v2/spans
spring: 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: cloud:
gateway: gateway:
routes: mvc:
- id: cv-service routes:
uri: http://cvservice.jobportal.svc.cluster.local:8086 - id: cv-service
predicates: uri: http://cvservice.jobportal.svc.cluster.local:8086
- Path=/api/cvs/** predicates:
- Path=/api/cvs/**
- id: jobseeker-service
uri: http://jobseekerservice.jobportal.svc.cluster.local:8085 - id: jobseeker-service
predicates: uri: http://jobseekerservice.jobportal.svc.cluster.local:8085
- Path=/api/jobseekers/** predicates:
- Path=/api/jobseekers/**
- id: interview-service
uri: http://interviewservice.jobportal.svc.cluster.local:8087 - id: interview-service
predicates: uri: http://interviewservice.jobportal.svc.cluster.local:8087
- Path=/api/interviews/** predicates:
- Path=/api/interviews/**
- id: producer-service
uri: http://producerservice.jobportal.svc.cluster.local:8088 - id: producer-service
predicates: uri: http://producerservice.jobportal.svc.cluster.local:8088
- Path=/api/producer/** predicates:
- Path=/api/producer/**
- id: company-service
uri: http://companyservice.jobportal.svc.cluster.local:9003 - id: company-service
predicates: uri: http://companyservice.jobportal.svc.cluster.local:9003
- Path=/api/company/** predicates:
- Path=/api/company/**
- id: applicant-service
uri: http://jobapplicationservice.jobportal.svc.cluster.local:9002 - id: applicant-service
predicates: uri: http://jobapplicationservice.jobportal.svc.cluster.local:9002
- Path=/api/applicants/** predicates:
- Path=/api/applicants/**
- id: job-service
uri: http://jobservice.jobportal.svc.cluster.local:9001 - id: job-service
predicates: uri: http://jobservice.jobportal.svc.cluster.local:9001
- Path=/api/jobs/** 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