diff --git a/config/testdata/consumer_config_with_configcenter_apollo.yml b/config/testdata/consumer_config_with_configcenter_apollo.yml index ceec1b38a2c774fe7fc8298c3543b7e873a76ed4..49b8fff59541766729433138574d909ae4b9566e 100644 --- a/config/testdata/consumer_config_with_configcenter_apollo.yml +++ b/config/testdata/consumer_config_with_configcenter_apollo.yml @@ -7,9 +7,12 @@ config_center: address: 106.12.25.204:8080 group: testApplication_yang cluster: dev + # 'namespace' can be used for router rule , default value is dubbo.properties + # but if you want to change router rule config file ,just open this item +# namespace: governance.properties # 'config_file' is not necessary ,default : dubbo.properties # but if you want to change config file ,just open this item -# config_file: mockDubbog +# config_file: mockDubbog.properties # application config required application: diff --git a/config_center/apollo/impl_test.go b/config_center/apollo/impl_test.go index 52ab60f06a61d392fc1df6f55757493ba86a6af1..2bb8b0ad69e3e506ae4df5faf07936d4daf00312 100644 --- a/config_center/apollo/impl_test.go +++ b/config_center/apollo/impl_test.go @@ -43,7 +43,7 @@ const ( mockCluster = "dev" mockNamespace = "mockDubbog.properties" mockNotifyRes = `[{ - "namespaceName": "mockDubbog", + "namespaceName": "mockDubbog.properties", "notificationId": 53050, "messages": { "details": {