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

Add authentication properties

parent 81b9202c
server:
port: 8089
port: 8000
management:
tracing:
......@@ -11,8 +11,20 @@ management:
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:
mvc:
routes:
- id: cv-service
uri: http://cvservice.jobportal.svc.cluster.local:8086
......@@ -48,6 +60,14 @@ spring:
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