feat: add additional-spring-configuration-metadata.json for governance module (#3246)
parent
11909a0916
commit
ff43f837d6
@ -0,0 +1,8 @@
|
||||
{"properties": [
|
||||
{
|
||||
"name": "spring.cloud.governance.auth.enabled",
|
||||
"type": "java.lang.Boolean",
|
||||
"defaultValue": true,
|
||||
"description": "enable authentication in governance module or not."
|
||||
}
|
||||
]}
|
@ -0,0 +1,8 @@
|
||||
{"properties": [
|
||||
{
|
||||
"name": "spring.cloud.governance.routing.rule",
|
||||
"type": "java.lang.String",
|
||||
"defaultValue": "ZoneAvoidanceRule",
|
||||
"description": "Lodbalance rule for label routing, the following values are included: RoundRobinRule, RandomRule, WeightedResponseTimeRule, BestAvailableRule, RetryRule, ZoneAvoidanceRule, AvailabilityFilteringRule."
|
||||
}
|
||||
]}
|
@ -0,0 +1,13 @@
|
||||
{"properties": [
|
||||
{
|
||||
"name": "spring.cloud.opensergo.endpoint",
|
||||
"type": "java.lang.String",
|
||||
"description": "Endpoint of OpenSergo control plane."
|
||||
},
|
||||
{
|
||||
"name": "spring.cloud.opensergo.namespace",
|
||||
"type": "java.lang.String",
|
||||
"defaultValue": "default",
|
||||
"description": "Namespace Configuration about OpenSergo Config."
|
||||
}
|
||||
]}
|
@ -0,0 +1,44 @@
|
||||
{"properties": [
|
||||
{
|
||||
"name": "spring.cloud.istio.config.enabled",
|
||||
"type": "java.lang.Boolean",
|
||||
"defaultValue": true,
|
||||
"description": "Whether to connect to Istio to obtain authentication configuration."
|
||||
},
|
||||
{
|
||||
"name": "spring.cloud.istio.config.host",
|
||||
"type": "java.lang.String",
|
||||
"defaultValue": "127.0.0.1",
|
||||
"description": "Host of Istiod."
|
||||
},
|
||||
{
|
||||
"name": "spring.cloud.istio.config.port",
|
||||
"type": "java.lang.Integer",
|
||||
"defaultValue": 15012,
|
||||
"description": "Port of Istiod."
|
||||
},
|
||||
{
|
||||
"name": "spring.cloud.istio.config.polling-pool-size",
|
||||
"type": "java.lang.Integer",
|
||||
"defaultValue": 10,
|
||||
"description": "Thread pool size for application to pull the config."
|
||||
},
|
||||
{
|
||||
"name": "spring.cloud.istio.config.polling-time",
|
||||
"type": "java.lang.Integer",
|
||||
"defaultValue": 30,
|
||||
"description": "Time interval for application to pull the config, time unit is second."
|
||||
},
|
||||
{
|
||||
"name": "spring.cloud.istio.config.istiod-token",
|
||||
"type": "java.lang.String",
|
||||
"defaultValue": "token read from /var/run/secrets/tokens/istio-token",
|
||||
"description": "JWT token for application to connect to 15012 port."
|
||||
},
|
||||
{
|
||||
"name": "spring.cloud.istio.config.log-xds",
|
||||
"type": "java.lang.Boolean",
|
||||
"defaultValue": true,
|
||||
"description": "Whether to print logs about xDS."
|
||||
}
|
||||
]}
|
Loading…
Reference in New Issue