Pārlūkot izejas kodu

add spring configuration metadata for property names cache (#3879)

* add spring configuration metadata for property names cache

* CHANGES.md
vdisk-group 3 gadi atpakaļ
vecāks
revīzija
e6387287b7

+ 1 - 0
CHANGES.md

@@ -70,6 +70,7 @@ Apollo 1.9.0
 * [make jdbc session enable default](https://github.com/ctripcorp/apollo/pull/3869)
 * [support json/yaml/xml format for public namespace](https://github.com/ctripcorp/apollo/pull/3836)
 * [Translate application into 应用 not 项目](https://github.com/ctripcorp/apollo/pull/3877)
+* [add spring configuration metadata for property names cache](https://github.com/ctripcorp/apollo/pull/3879)
 
 ------------------
 All issues and pull requests are [here](https://github.com/ctripcorp/apollo/milestone/6?closed=1)

+ 7 - 0
apollo-client/src/main/resources/META-INF/additional-spring-configuration-metadata.json

@@ -62,6 +62,13 @@
       "sourceType": "com.ctrip.framework.apollo.core.ConfigConsts",
       "description": "apollo meta server address."
     },
+    {
+      "name": "apollo.property.names.cache.enable",
+      "type": "java.lang.Boolean",
+      "sourceType": "com.ctrip.framework.apollo.util.ConfigUtil",
+      "description": "enable property names cache.",
+      "defaultValue": false
+    },
     {
       "name": "apollo.property.order.enable",
       "type": "java.lang.Boolean",