From 96ca33dcf39394ca138e8e4cd10b4157aa52dbae Mon Sep 17 00:00:00 2001 From: wenxuan70 Date: Thu, 26 Oct 2023 22:15:26 +0800 Subject: [PATCH] docs: update CHANGELOG.md and prompts --- CHANGELOG.md | 1 + .../META-INF/additional-spring-configuration-metadata.json | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index f4794d58d1..79666131f9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,3 +17,4 @@ - [fix:remove bcprov-jdk15on dependency.](https://github.com/Tencent/spring-cloud-tencent/pull/1178) - [feat:support configuration encryption.](https://github.com/Tencent/spring-cloud-tencent/pull/1182) - [feat:optimize examples.](https://github.com/Tencent/spring-cloud-tencent/pull/1186) +- [feat: support nacos namespace mapping](https://github.com/Tencent/spring-cloud-tencent/pull/1122) diff --git a/spring-cloud-starter-tencent-polaris-discovery/src/main/resources/META-INF/additional-spring-configuration-metadata.json b/spring-cloud-starter-tencent-polaris-discovery/src/main/resources/META-INF/additional-spring-configuration-metadata.json index 12a535855f..e5b2285bd8 100644 --- a/spring-cloud-starter-tencent-polaris-discovery/src/main/resources/META-INF/additional-spring-configuration-metadata.json +++ b/spring-cloud-starter-tencent-polaris-discovery/src/main/resources/META-INF/additional-spring-configuration-metadata.json @@ -79,6 +79,13 @@ "sourceType": "com.tencent.cloud.polaris.extend.nacos.NacosContextProperties", "defaultValue": "DEFAULT_GROUP" }, + { + "name": "spring.cloud.nacos.discovery.namespace", + "type": "java.lang.String", + "description": "namespace id for nacos.", + "sourceType": "com.tencent.cloud.polaris.extend.nacos.NacosContextProperties", + "defaultValue": "public" + }, { "name": "spring.cloud.nacos.discovery.password", "type": "java.lang.String",