Browse Source

sc zuul

master
yirenyishi 6 years ago
parent
commit
cf92c8800f
  1. 4
      sc-consumer/application-dev.yml
  2. 4
      sc-consumer/application-production.yml
  3. 4
      sc-consumer/application-test.yml
  4. 28
      sc-provider/application-dev.yml
  5. 24
      sc-provider/application-production.yml
  6. 28
      sc-provider/application-test.yml
  7. 38
      sc-zuul/application-csdn.yml

4
sc-consumer/application-dev.yml

@ -1,4 +0,0 @@
# hystrix.command.default.execution.timeout.enabled: false
#hystrix.command.default.execution.isolation.thread.timeoutInMilliseconds: 80000
server:
port: 8200

4
sc-consumer/application-production.yml

@ -1,4 +0,0 @@
# hystrix.command.default.execution.timeout.enabled: false
#hystrix.command.default.execution.isolation.thread.timeoutInMilliseconds: 80000
server:
port: 8200

4
sc-consumer/application-test.yml

@ -1,4 +0,0 @@
# hystrix.command.default.execution.timeout.enabled: false
#hystrix.command.default.execution.isolation.thread.timeoutInMilliseconds: 80000
server:
port: 8200

28
sc-provider/application-dev.yml

@ -1,28 +0,0 @@
spring:
redis:
host: 172.17.0.1
#assword: 123456
port: 6379
jpa:
database-platform: org.hibernate.dialect.MySQLDialect
show-sql: true
hibernate:
ddl-auto: update
datasource:
druid:
url: jdbc:mysql://13.58.87.174:3306/spcloud
username: root
password: booszy
application:
name: springcloud-provider-config
profiles:
active: production
logging:
level:
root: info
org.hibernate : info
org.hibernate.type.descriptor.sql.BasicBinder: TRACE
org.hibernate.type.descriptor.sql.BasicExtractor: TRACE
com.yasaka.stock : debug
server:
port: 8100

24
sc-provider/application-production.yml

@ -1,24 +0,0 @@
spring:
jpa:
database-platform: org.hibernate.dialect.MySQLDialect
show-sql: true
hibernate:
ddl-auto: update
datasource:
druid:
url: jdbc:mysql://localhost:3306/spcloud
username: root
password: booszy
application:
name: springcloud-provider-config
profiles:
active: production
logging:
level:
root: info
org.hibernate : info
org.hibernate.type.descriptor.sql.BasicBinder: TRACE
org.hibernate.type.descriptor.sql.BasicExtractor: TRACE
com.yasaka.stock : debug
server:
port: 8100

28
sc-provider/application-test.yml

@ -1,28 +0,0 @@
spring:
# redis:
# host: 172.17.0.1
# #assword: 123456
# port: 6379
jpa:
database-platform: org.hibernate.dialect.MySQLDialect
show-sql: true
hibernate:
ddl-auto: update
datasource:
druid:
url: jdbc:mysql://13.58.87.174:3306/spcloud
username: root
password: booszy
application:
name: springcloud-provider-config
profiles:
active: test
logging:
level:
root: info
org.hibernate : info
org.hibernate.type.descriptor.sql.BasicBinder: TRACE
org.hibernate.type.descriptor.sql.BasicExtractor: TRACE
com.yasaka.stock : debug
server:
port: 8100

38
sc-zuul/application-csdn.yml

@ -0,0 +1,38 @@
server:
port: 8400
spring:
profiles:
active: csdn
zuul:
routes:
sc-consumer: /consumer/**
sc-provider: /provider/**
#hystrix.command.default.execution.isolation.thread.timeoutInMilliseconds: 80000
hystrix:
command:
default:
execution:
isolation:
thread:
timeoutInMilliseconds: 80000
# keycloak:
# realm : springcloud-zuul
# auth-server-url : http://127.0.0.1:8080/auth
# ssl-required : external
# resource : springcloud-zuul
# credentials.secret : 11111111-1111-1111-1111-111111111111
# use-resource-role-mappings : true
# enable-basic-auth: true
# securityConstraints:
# - authRoles: user
# securityCollections:
# - patterns: /provider/user/info
# - authRoles: users
# securityCollections:
# - patterns: /consumer/user/list
# - authRoles: test
# securityCollections:
# - patterns: /provider/user/list
# hystrix.command.default.execution.timeout.enabled: false
Loading…
Cancel
Save