File tree Expand file tree Collapse file tree 1 file changed +11
-13
lines changed
Expand file tree Collapse file tree 1 file changed +11
-13
lines changed Original file line number Diff line number Diff line change 22
33* 参考:https://github.com/apache/servicecomb-service-center/tree/master/ux 安装微服务引擎2.0
44
5+ * 设置环境变量:
6+ * CSE_V2_SC: 注册中心的地址
7+ * CSE_V2_CC: 配置中心的地址
8+
9+ * 依次启动 provider、consumer、gateway
10+
511* 在配置中心增加如下配置:
6- * consumer.yaml。 label信息: app=cse-v2-test-application,environment=production 。类型为 yaml。
12+ * 应用级配置: consumer.yaml。类型为 yaml。
713
814``` yaml
915cse :
1218 foo : foo
1319` ` `
1420
15- * priority1.yaml。label信息: public=default 。类型为 yaml。
21+ * 自定义配置: priority1.yaml。label信息: public=default 。类型为 yaml。
1622` ` ` yaml
1723cse :
1824 v2 :
2127 common : common
2228` ` `
2329
24- * priority2.yaml。label信息: app=cse-v2-test-application,environment=production 。类型为 yaml。
30+ * 应用级配置: priority2.yaml。类型为 yaml。
2531` ` ` yaml
2632cse :
2733 v2 :
2834 test :
2935 priority : v2
3036` ` `
31- * priority3.yaml。label信息: app=cse-v2-test-application,service=basic- consumer,environment=production 。类型为 yaml。
37+ * 服务级配置: priority3.yaml,微服务性选择basic- consumer。类型为 yaml。
3238` ` ` yaml
3339cse :
3440 v2 :
3541 test :
3642 priority : v3
3743` ` `
38-
39- * 设置环境变量:
40- * CSE_V2_SC: 注册中心的地址
41- * CSE_V2_CC: 配置中心的地址
4244
43- * 依次启动 provider、consumer、gateway
44-
45- * 在配置中心增加如下配置:
46- * cse.v2.test.bar: bar
47- * label信息: app=cse-v2-test-application,environment=production 。类型为 text。
45+ * 应用级配置: cse.v2.test.bar: bar 。 类型为 text。
4846
4947* 执行 tests-client 里面的集成测试用例 (成功)
5048
You can’t perform that action at this time.
0 commit comments