diff --git a/sc-consumer/application-dev.yml b/sc-consumer/application-dev.yml deleted file mode 100644 index 632991a..0000000 --- a/sc-consumer/application-dev.yml +++ /dev/null @@ -1,4 +0,0 @@ -# hystrix.command.default.execution.timeout.enabled: false -#hystrix.command.default.execution.isolation.thread.timeoutInMilliseconds: 80000 -server: - port: 8200 \ No newline at end of file diff --git a/sc-consumer/application-production.yml b/sc-consumer/application-production.yml deleted file mode 100644 index 632991a..0000000 --- a/sc-consumer/application-production.yml +++ /dev/null @@ -1,4 +0,0 @@ -# hystrix.command.default.execution.timeout.enabled: false -#hystrix.command.default.execution.isolation.thread.timeoutInMilliseconds: 80000 -server: - port: 8200 \ No newline at end of file diff --git a/sc-consumer/application-test.yml b/sc-consumer/application-test.yml deleted file mode 100644 index 632991a..0000000 --- a/sc-consumer/application-test.yml +++ /dev/null @@ -1,4 +0,0 @@ -# hystrix.command.default.execution.timeout.enabled: false -#hystrix.command.default.execution.isolation.thread.timeoutInMilliseconds: 80000 -server: - port: 8200 \ No newline at end of file diff --git a/sc-provider/application-dev.yml b/sc-provider/application-dev.yml deleted file mode 100644 index 1c30950..0000000 --- a/sc-provider/application-dev.yml +++ /dev/null @@ -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 \ No newline at end of file diff --git a/sc-provider/application-production.yml b/sc-provider/application-production.yml deleted file mode 100644 index 0e53137..0000000 --- a/sc-provider/application-production.yml +++ /dev/null @@ -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 \ No newline at end of file diff --git a/sc-provider/application-test.yml b/sc-provider/application-test.yml deleted file mode 100644 index 59f1b88..0000000 --- a/sc-provider/application-test.yml +++ /dev/null @@ -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 \ No newline at end of file diff --git a/sc-zuul/application-csdn.yml b/sc-zuul/application-csdn.yml new file mode 100644 index 0000000..026c85d --- /dev/null +++ b/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