Browse Source

场景中心配置修改

by su 3 năm trước cách đây
mục cha
commit
621e938152

+ 20 - 16
4dkankan-center-scene/src/main/resources/bootstrap.yml

@@ -7,22 +7,26 @@ spring:
         server-addr: 192.168.0.47:8848
         server-addr: 192.168.0.47:8848
         file-extension: yaml
         file-extension: yaml
         namespace: 4dkankan-dev
         namespace: 4dkankan-dev
-        extension-configs[0]:
-          data-id: redis-config.yaml
-          group: DEFAULT_GROUP
-          refresh: true
-        extension-configs[1]:
-          data-id: oss-config.yaml
-          group: DEFAULT_GROUP
-          refresh: true
-        extension-configs[2]:
-          data-id: other-config.yaml
-          group: DEFAULT_GROUP
-          refresh: true
-        extension-configs[3]:
-          data-id: common-mq-config.yaml
-          group: DEFAULT_GROUP
-          refresh: true
+        extension-configs:
+          - data-id: 4dkankan-center-scene.yaml
+            group: DEFAULT_GROUP
+            refresh: true
+        shared-configs:
+          - data-id: redis-config.yaml
+            group: DEFAULT_GROUP
+            refresh: true
+
+          - data-id: common-mq-config.yaml
+            group: DEFAULT_GROUP
+            refresh: true
+
+          - data-id: oss-config.yaml
+            group: DEFAULT_GROUP
+            refresh: true
+
+          - data-id: other-config.yaml
+            group: DEFAULT_GROUP
+            refresh: true
       discovery:
       discovery:
         server-addr: 192.168.0.47:8848
         server-addr: 192.168.0.47:8848
         namespace: 4dkankan-dev
         namespace: 4dkankan-dev