diff options
author | 2022-08-31 14:12:15 +0100 | |
---|---|---|
committer | 2022-09-01 14:57:30 +0000 | |
commit | 37a6e5e0f321ad659e5009092490a40892b6551a (patch) | |
tree | edd9f7a15055d09ae2ce725900774b47ebc04292 /participant/participant-impl/participant-impl-acelement/src/main/resources/config/application.yaml | |
parent | a6896ee8eaa79588ac45638ed236ba4d37ec1c42 (diff) |
Refactor Element ACM for prometheus configuration
Issue-ID: POLICY-4337
Change-Id: Ic8e43748bc8ffc9a9513f7f278afae9f3f393bc9
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
Diffstat (limited to 'participant/participant-impl/participant-impl-acelement/src/main/resources/config/application.yaml')
-rw-r--r-- | participant/participant-impl/participant-impl-acelement/src/main/resources/config/application.yaml | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/participant/participant-impl/participant-impl-acelement/src/main/resources/config/application.yaml b/participant/participant-impl/participant-impl-acelement/src/main/resources/config/application.yaml index 4a0f0d301..4d7710304 100644 --- a/participant/participant-impl/participant-impl-acelement/src/main/resources/config/application.yaml +++ b/participant/participant-impl/participant-impl-acelement/src/main/resources/config/application.yaml @@ -1,22 +1,21 @@ spring: security: user: - name: acmUser - password: zb!XztG34 + name: ${REST_USER:acmUser} + password: ${REST_PASSWORD:zb!XztG34} server: - port: 8084 - servlet: - context-path: /onap/policy/clamp/acelement/ + port: ${PORT:8084} error: path: /error element: elementId: - name: onap.policy.clamp.ac.element1 - version: 1.0.0 + name: ${ELEMENT_ID:onap.policy.clamp.ac.element1} + version: ${ELEMENT_VERSION:1.0.0} management: endpoints: web: + base-path: / exposure: - include: health, metrics, prometheus
\ No newline at end of file + include: health, metrics, prometheus |