Browse Source

recover yml

guozhaoshun 7 years ago
parent
commit
e35f33f816

+ 2 - 3
rankin-api-web/src/main/resources/bootstrap.yml

@@ -3,10 +3,9 @@ spring:
     name: api-web
   cloud:
     config:
-      uri: http://127.0.0.1:8921
-#      uri: http://config.rankin.com:8921
+      uri: http://config.rankin.com:8921
       label: master
-      profile: ${profile:local}
+      profile: ${profile:dev}
 
 server:
   port: 8600

+ 0 - 11
rankin-api-web/src/main/resources/bootstrap_online.yml

@@ -1,11 +0,0 @@
-spring:
-  application:
-    name: api-web
-  cloud:
-    config:
-      uri: http://config.rankin.com:8921
-      label: master
-      profile: ${profile:dev}
-
-server:
-  port: 8600

+ 2 - 3
rankin-cms-web/src/main/resources/bootstrap.yml

@@ -3,10 +3,9 @@ spring:
     name: cms-web
   cloud:
     config:
-      uri: http://127.0.0.1:8921
-#      uri: http://config.rankin.com:8921
+      uri: http://config.rankin.com:8921
       label: master
-      profile: ${profile:local}
+      profile: ${profile:dev}
 
 feign:
   httpclient:

+ 0 - 19
rankin-cms-web/src/main/resources/bootstrap_online.yml

@@ -1,19 +0,0 @@
-spring:
-  application:
-    name: cms-web
-  cloud:
-    config:
-      uri: http://config.rankin.com:8921
-      label: master
-      profile: ${profile:dev}
-
-feign:
-  httpclient:
-    enabled: true
-
-server:
-  port: 8500
-
-#logging:
-#  level:
-#    root: debug

+ 2 - 4
rankin-config-service/src/main/resources/bootstrap.yml

@@ -5,10 +5,8 @@ spring:
     config:
       server:
         git:
-          uri: https://gitee.com/guozhaoshun/project-config.git
-#          uri: http://gogs.efunbox.cn:3000/Rankin/setting.git
-          search-paths: dev, prod, local
-#          search-paths: dev, prod
+          uri: http://gogs.efunbox.cn:3000/Rankin/setting.git
+          search-paths: dev, prod
 
 server:
   port: 8921

+ 0 - 13
rankin-config-service/src/main/resources/bootstrap_bak.yml

@@ -1,13 +0,0 @@
-spring:
-  application:
-    name: config-service
-  cloud:
-    config:
-      server:
-        git:
-          uri: http://gogs.efunbox.cn:3000/Rankin/setting.git
-          search-paths: dev, prod
-
-server:
-  port: 8921
-

+ 1 - 2
rankin-eureka-service/src/main/resources/bootstrap.yml

@@ -10,5 +10,4 @@ eureka:
     register-with-eureka: false
     fetch-registry: false
     service-url:
-      defaultZone: http://127.0.0.1:${server.port}/eureka/
-#      defaultZone: http://${eureka.instance.hostname}:${server.port}/eureka/
+      defaultZone: http://${eureka.instance.hostname}:${server.port}/eureka/

+ 0 - 13
rankin-eureka-service/src/main/resources/bootstrap_online.yml

@@ -1,13 +0,0 @@
-server:
-  port: 8821
-
-eureka:
-  instance:
-    hostname: discovery.rankin.com
-  server:
-    enable-self-preservation: false
-  client:
-    register-with-eureka: false
-    fetch-registry: false
-    service-url:
-      defaultZone: http://${eureka.instance.hostname}:${server.port}/eureka/

+ 2 - 3
rankin-product-service/src/main/resources/bootstrap.yml

@@ -3,10 +3,9 @@ spring:
     name: product-service
   cloud:
     config:
-      uri: http://127.0.0.1:8921
-#      uri: http://config.rankin.com:8921
+      uri: http://config.rankin.com:8921
       label: master
-      profile: ${profile:local}
+      profile: ${profile:dev}
 
 server:
   port: 8100

+ 0 - 21
rankin-product-service/src/main/resources/bootstrap_bak.yml

@@ -1,21 +0,0 @@
-spring:
-  application:
-    name: product-service
-  cloud:
-    config:
-      uri: http://config.rankin.com:8921
-      label: master
-      profile: ${profile:dev}
-      
-server:
-  port: 8100
-
-feign:
-  httpclient:
-     enabled: true
-  hystrix:
-    enabled: false
-
-#logging:
-#  level:
-#    root: debug

+ 2 - 3
rankin-resource-service/src/main/resources/bootstrap.yml

@@ -3,10 +3,9 @@ spring:
     name: resource-service
   cloud:
     config:
-      uri: http://127.0.0.1:8921
-#      uri: http://config.rankin.com:8921
+      uri: http://config.rankin.com:8921
       label: master
-      profile: ${profile:local}
+      profile: ${profile:dev}
 
 server:
   port: 8200

+ 0 - 11
rankin-resource-service/src/main/resources/bootstrap_online.yml

@@ -1,11 +0,0 @@
-spring:
-  application:
-    name: resource-service
-  cloud:
-    config:
-      uri: http://config.rankin.com:8921
-      label: master
-      profile: ${profile:dev}
-
-server:
-  port: 8200

+ 2 - 3
rankin-task/src/main/resources/bootstrap.yml

@@ -3,10 +3,9 @@ spring:
     name: rankin-task
   cloud:
     config:
-      uri: http://127.0.0.1:8921
-#      uri: http://config.rankin.com:8921
+      uri: http://config.rankin.com:8921
       label: master
-      profile: ${profile:local}
+      profile: ${profile:dev}
 
 feign:
   httpclient:

+ 0 - 21
rankin-task/src/main/resources/bootstrap_online.yml

@@ -1,21 +0,0 @@
-spring:
-  application:
-    name: rankin-task
-  cloud:
-    config:
-      uri: http://config.rankin.com:8921
-      label: master
-      profile: ${profile:dev}
-
-feign:
-  httpclient:
-    enabled: true
-  hystrix:
-    enabled: false
-
-server:
-  port: 10100
-
-#logging:
-#  level:
-#    root: debug

+ 2 - 3
rankin-trade-service/src/main/resources/bootstrap.yml

@@ -3,10 +3,9 @@ spring:
     name: trade-service
   cloud:
     config:
-      uri: http://127.0.0.1:8921
-#      uri: http://config.rankin.com:8921
+      uri: http://config.rankin.com:8921
       label: master
-      profile: ${profile:local}
+      profile: ${profile:dev}
 
 server:
   port: 8300

+ 0 - 11
rankin-trade-service/src/main/resources/bootstrap_online.yml

@@ -1,11 +0,0 @@
-spring:
-  application:
-    name: trade-service
-  cloud:
-    config:
-      uri: http://config.rankin.com:8921
-      label: master
-      profile: ${profile:dev}
-
-server:
-  port: 8300

+ 2 - 3
rankin-user-service/src/main/resources/bootstrap.yml

@@ -5,10 +5,9 @@ spring:
     active:
   cloud:
     config:
-      uri: http://127.0.0.1:8921
-#     uri: http://config.rankin.com:8921
+      uri: http://config.rankin.com:8921
       label: master
-      profile: ${profile:local}
+      profile: ${profile:dev}
 
 #logging:
 #  level:

+ 0 - 17
rankin-user-service/src/main/resources/bootstrap_online.yml

@@ -1,17 +0,0 @@
-spring:
-  application:
-    name: user-service
-  profiles:
-    active:
-  cloud:
-    config:
-      uri: http://config.rankin.com:8921
-      label: master
-      profile: ${profile:dev}
-
-#logging:
-#  level:
-#    root: debug
-
-server:
-  port: 8400