Commit 52fc9a7c authored by Anthony Wang's avatar Anthony Wang 💬

update gateway configuration

parent 2e812b3d
...@@ -2,23 +2,27 @@ server.port=${ACT_GATEWAY_PORT:8080} ...@@ -2,23 +2,27 @@ server.port=${ACT_GATEWAY_PORT:8080}
management.security.enabled=${ACT_GATEWAY_MANAGEMENT_SECURITY:false} management.security.enabled=${ACT_GATEWAY_MANAGEMENT_SECURITY:false}
spring.rabbitmq.host=${ACT_RABBITMQ_HOST:rabbitmq} spring.rabbitmq.host=${ACT_RABBITMQ_HOST:rabbitmq.bluetechnology.cc}
eureka.client.serviceUrl.defaultZone=${ACT_EUREKA_URL:http://activiti-cloud-registry:8761/eureka/} spring.rabbitmq.username=${ACT_RABBITMQ_USERNAME:root}
spring.rabbitmq.password=${ACT_RABBITMQ_PASSWORD:70842954bt}
spring.rabbitmq.virtual-host=${ACT_RABBITMQ_VIRTUAL-HOST:/activiti}
eureka.client.serviceUrl.defaultZone=${ACT_EUREKA_URL:https://gateway.bluetechnology.cc:8761/eureka/}
hystrix.command.default.execution.timeout.enabled=${ACT_GATEWAY_HYSTRIX_TIMEOUT_ENABLED:false} hystrix.command.default.execution.timeout.enabled=${ACT_GATEWAY_HYSTRIX_TIMEOUT_ENABLED:false}
hystrix.command.default.execution.isolation.thread.timeoutInMilliseconds=${ACT_GATEWAY_HYSTRIX_TIMEOUT:210000} hystrix.command.default.execution.isolation.thread.timeoutInMilliseconds=${ACT_GATEWAY_HYSTRIX_TIMEOUT:210000}
zuul.sensitive-headers=${ACT_GATEWAY_SENSITIVE_HEADERS:Cookie,Set-Cookie} zuul.sensitive-headers=${ACT_GATEWAY_SENSITIVE_HEADERS:Cookie,Set-Cookie}
keycloak.auth-server-url=${ACT_KEYCLOAK_URL:http://activiti-cloud-sso-idm:8180/auth} keycloak.auth-server-url=${ACT_KEYCLOAK_URL:https://gateway.bluetechnology.cc/auth}
keycloak.realm=${ACT_KEYCLOAK_REALM:springboot} keycloak.realm=${ACT_KEYCLOAK_REALM:activiti}
keycloak.resource=${ACT_KEYCLOAK_RESOURCE:activiti} keycloak.resource=${ACT_KEYCLOAK_RESOURCE:activiti}
keycloak.public-client=${ACT_KEYCLOAK_CLIENT:true} keycloak.public-client=${ACT_KEYCLOAK_CLIENT:true}
keycloak.security-constraints[0].authRoles[0]=${ACT_KEYCLOAK_ROLES:user} keycloak.security-constraints[0].authRoles[0]=${ACT_KEYCLOAK_ROLES:ACTIVITI_USER}
keycloak.security-constraints[0].securityCollections[0].patterns[0]=${ACT_KEYCLOAK_PATTERNS:/*} keycloak.security-constraints[0].securityCollections[0].patterns[0]=${ACT_KEYCLOAK_PATTERNS:/*}
keycloak.principal-attribute=${ACT_KEYCLOAK_PRINCIPAL_ATTRIBUTE:preferred-username} keycloak.principal-attribute=${ACT_KEYCLOAK_PRINCIPAL_ATTRIBUTE:preferred_username}
# see https://issues.jboss.org/browse/KEYCLOAK-810 for configuration options # see https://issues.jboss.org/browse/KEYCLOAK-810 for configuration options
#hostname as declared to eureka #hostname as declared to 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