### Motivation Ease the efforts of modifying configurations in automatic workflow and scripts, like Docker and helm chart. ### Modification Add a `selector` property into `application.yml` to enable switching configuration simply by environment variables or system properties, and filter the unselected options, leaving only selected one. ### Result - We can switch a configuration by environment variables or system property - Closes #4511 |
||
|---|---|---|
| .. | ||
| Dockerfile.oap | ||
| docker-entrypoint.sh | ||
| log4j2.xml | ||