mirror of
https://gitee.com/mirrors/Spring-Cloud-Alibaba.git
synced 2021-06-26 13:25:11 +08:00
add nacos config configuration metadata
This commit is contained in:
parent
356ce112a9
commit
86bd83af83
@ -1,20 +1,37 @@
|
|||||||
{"properties": [
|
{
|
||||||
{
|
"properties": [
|
||||||
"name": "spring.cloud.nacos.config.encode",
|
{
|
||||||
"type": "java.lang.String",
|
"name": "spring.cloud.nacos.config.encode",
|
||||||
"defaultValue": "UTF-8",
|
"type": "java.lang.String",
|
||||||
"description": "default encode for nacos config content."
|
"defaultValue": "UTF-8",
|
||||||
},
|
"description": "default encode for nacos config content."
|
||||||
{
|
},
|
||||||
"name": "spring.cloud.nacos.config.prefix",
|
{
|
||||||
"type": "java.lang.String",
|
"name": "spring.cloud.nacos.config.prefix",
|
||||||
"defaultValue": "${spring.application.name}",
|
"type": "java.lang.String",
|
||||||
"description": "the prefix of dataId, nacos config data meta info. dataId = prefix + '-' + ${spring.active.profile} + `.` + ${spring.cloud.nacos.config.file-extension}."
|
"defaultValue": "${spring.application.name}",
|
||||||
},
|
"description": "the prefix of dataId, nacos config data meta info. dataId = prefix + '-' + ${spring.active.profile} + `.` + ${spring.cloud.nacos.config.file-extension}."
|
||||||
{
|
},
|
||||||
"name": "spring.cloud.nacos.config.file-extension",
|
{
|
||||||
"type": "java.lang.String",
|
"name": "spring.cloud.nacos.config.file-extension",
|
||||||
"defaultValue": "properties",
|
"type": "java.lang.String",
|
||||||
"description": "the suffix of nacos config dataId, also the file extension of config content, only support properties now."
|
"defaultValue": "properties",
|
||||||
}
|
"description": "the suffix of nacos config dataId, also the file extension of config content, only support properties now."
|
||||||
]}
|
},
|
||||||
|
{
|
||||||
|
"name": "spring.cloud.nacos.config.shared-dataids",
|
||||||
|
"type": "java.lang.String",
|
||||||
|
"description": "the dataids for configurable multiple shared configurations , multiple separated by commas ."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "spring.cloud.nacos.config.refreshable-dataids",
|
||||||
|
"type": "java.lang.String",
|
||||||
|
"description": "refreshable dataids , multiple separated by commas ."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "spring.cloud.nacos.config.ext-config",
|
||||||
|
"type": "java.util.List",
|
||||||
|
"description": "a set of extended configurations ."
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user