-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add additional-spring-configuration-metadata.json for governanc…
…e module (#3246)
- Loading branch information
1 parent
11909a0
commit ff43f83
Showing
7 changed files
with
90 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
...governance-auth/src/main/resources/META-INF/additional-spring-configuration-metadata.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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." | ||
} | ||
]} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
...ernance-routing/src/main/resources/META-INF/additional-spring-configuration-metadata.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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." | ||
} | ||
]} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
...ensergo-adapter/src/main/resources/META-INF/additional-spring-configuration-metadata.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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." | ||
} | ||
]} |
44 changes: 44 additions & 0 deletions
44
...ter-xds-adapter/src/main/resources/META-INF/additional-spring-configuration-metadata.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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." | ||
} | ||
]} |