瀏覽代碼

场景中心配置修改

by su 3 年之前
父節點
當前提交
621e938152
共有 1 個文件被更改,包括 20 次插入16 次删除
  1. 20 16
      4dkankan-center-scene/src/main/resources/bootstrap.yml

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

@@ -7,22 +7,26 @@ spring:
         server-addr: 192.168.0.47:8848
         file-extension: yaml
         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:
         server-addr: 192.168.0.47:8848
         namespace: 4dkankan-dev