mirror of
https://gitee.com/mirrors/Spring-Cloud-Alibaba.git
synced 2021-06-26 13:25:11 +08:00
73 lines
2.4 KiB
JSON
73 lines
2.4 KiB
JSON
{"properties": [
|
|
{
|
|
"name": "spring.cloud.nacos.server-addr",
|
|
"type": "java.lang.String",
|
|
"defaultValue": "localhost:8848",
|
|
"description": "nacos server address."
|
|
},
|
|
{
|
|
"name": "spring.cloud.nacos.discovery.server-addr",
|
|
"type": "java.lang.String",
|
|
"defaultValue": "${spring.cloud.nacos.server-addr}",
|
|
"description": "nacos discovery server address."
|
|
},
|
|
{
|
|
"name": "spring.cloud.nacos.discovery.service",
|
|
"type": "java.lang.String",
|
|
"defaultValue": "${spring.application.name}",
|
|
"description": "the service name to register, default value is ${spring.application.name}."
|
|
},
|
|
{
|
|
"name": "spring.cloud.nacos.discovery.enabled",
|
|
"type": "java.lang.Boolean",
|
|
"defaultValue": true,
|
|
"description": "enable nacos discovery or not."
|
|
},
|
|
{
|
|
"name": "spring.cloud.nacos.discovery.instance-enabled",
|
|
"type": "java.lang.Boolean",
|
|
"defaultValue": true,
|
|
"description": "If instance is enabled to accept request. The default value is true."
|
|
},
|
|
{
|
|
"name": "spring.cloud.nacos.discovery.ephemeral",
|
|
"type": "java.lang.Boolean",
|
|
"defaultValue": true,
|
|
"description": "If instance is ephemeral.The default value is true."
|
|
},
|
|
{
|
|
"name": "spring.cloud.nacos.discovery.namingLoadCacheAtStart",
|
|
"type": "java.lang.Boolean",
|
|
"defaultValue": "false",
|
|
"description": "naming load from local cache at application start ."
|
|
},
|
|
{
|
|
"name": "spring.cloud.nacos.discovery.watch.enabled",
|
|
"type": "java.lang.Boolean",
|
|
"defaultValue": "true",
|
|
"description": "enable nacos discovery watch or not ."
|
|
},
|
|
{
|
|
"name": "spring.cloud.nacos.discovery.username",
|
|
"type": "java.lang.String",
|
|
"defaultValue": "${spring.cloud.nacos.username}",
|
|
"description": "nacos discovery service's username to authenticate."
|
|
},
|
|
{
|
|
"name": "spring.cloud.nacos.discovery.password",
|
|
"type": "java.lang.String",
|
|
"defaultValue": "${spring.cloud.nacos.password}",
|
|
"description": "nacos discovery service's password to authenticate."
|
|
},
|
|
{
|
|
"name": "spring.cloud.nacos.username",
|
|
"type": "java.lang.String",
|
|
"description": "nacos userName to authenticate."
|
|
},
|
|
{
|
|
"name": "spring.cloud.nacos.password",
|
|
"type": "java.lang.String",
|
|
"description": "nacos password to authenticate."
|
|
}
|
|
]}
|