File tree Expand file tree Collapse file tree
config/seata-config-apollo/src/main/java/io/seata/config/apollo Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ Add changes here for all PR submitted to the develop branch.
1616- [[ #5890 ] ( https://github.com/seata/seata/pull/5890 )] remove 7z format compression support
1717- [[ #5891 ] ( https://github.com/seata/seata/pull/5891 )] remove mariadb.jdbc dependency
1818- [[ #5828 ] ( https://github.com/seata/seata/pull/5828 )] fix codecov chart not display
19+ - [[ #5927 ] ( https://github.com/seata/seata/pull/5927 )] optimize some scripts related to Apollo
1920- [[ #5918 ] ( https://github.com/seata/seata/pull/5918 )] standardized the properties of codecov.yml
2021
2122### security:
Original file line number Diff line number Diff line change 1616- [[ #5890 ] ( https://github.com/seata/seata/pull/5890 )] 移除7z压缩支持
1717- [[ #5891 ] ( https://github.com/seata/seata/pull/5891 )] 移除 mariadb.jdbc 依赖
1818- [[ #5828 ] ( https://github.com/seata/seata/pull/5828 )] 修正 ` codecov chart ` 不展示的问题
19+ - [[ #5927 ] ( https://github.com/seata/seata/pull/5927 )] 优化一些与 Apollo 相关的脚本
1920- [[ #5918 ] ( https://github.com/seata/seata/pull/5918 )] 修正codecov.yml不标准属性
2021
2122### security:
Original file line number Diff line number Diff line change @@ -186,13 +186,13 @@ private void readyApolloConfig() {
186186 System .setProperty (PROP_APOLLO_SECRET , apolloAccesskeySecret );
187187 }
188188 }
189- if (!properties .containsKey (APOLLO_CLUSTER )) {
189+ if (!properties .containsKey (PROP_APOLLO_CLUSTER )) {
190190 String apolloCluster = FILE_CONFIG .getConfig (getApolloCluster ());
191191 if (StringUtils .isNotBlank (apolloCluster )) {
192192 System .setProperty (PROP_APOLLO_CLUSTER , apolloCluster );
193193 }
194194 }
195- if (!properties .containsKey (APOLLO_CONFIG_SERVICE )) {
195+ if (!properties .containsKey (PROP_APOLLO_CONFIG_SERVICE )) {
196196 String apolloConfigService = FILE_CONFIG .getConfig (getApolloConfigService ());
197197 if (StringUtils .isNotBlank (apolloConfigService )) {
198198 System .setProperty (PROP_APOLLO_CONFIG_SERVICE , apolloConfigService );
Original file line number Diff line number Diff line change @@ -95,6 +95,7 @@ config {
9595 apolloMeta = "http://192.168.1.204:8801"
9696 namespace = "application"
9797 apolloAccesskeySecret = ""
98+ cluster = ""
9899 }
99100 zk {
100101 serverAddr = "127.0.0.1:2181"
Original file line number Diff line number Diff line change @@ -90,6 +90,7 @@ seata.config.apollo.apollo-meta=http://192.168.1.204:8801
9090seata.config.apollo.apollo-accesskey-secret =
9191seata.config.apollo.app-id =seata-server
9292seata.config.apollo.namespace =application
93+ seata.config.apollo.cluster =
9394
9495seata.config.etcd3.server-addr =http://localhost:2379
9596
Original file line number Diff line number Diff line change 8484 app-id : seata-server
8585 namespace : application
8686 apollo-accesskey-secret :
87+ cluster :
8788 etcd3 :
8889 server-addr : http://localhost:2379
8990 nacos :
You can’t perform that action at this time.
0 commit comments