diff options
author | FrancescoFioraEst <francesco.fiora@est.tech> | 2022-08-31 14:12:15 +0100 |
---|---|---|
committer | Francesco Fiora <francesco.fiora@est.tech> | 2022-09-01 14:57:30 +0000 |
commit | 37a6e5e0f321ad659e5009092490a40892b6551a (patch) | |
tree | edd9f7a15055d09ae2ce725900774b47ebc04292 /packages/policy-clamp-tarball/src/main/resources/etc/ElementParticipantParameters.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 'packages/policy-clamp-tarball/src/main/resources/etc/ElementParticipantParameters.yaml')
-rw-r--r-- | packages/policy-clamp-tarball/src/main/resources/etc/ElementParticipantParameters.yaml | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/packages/policy-clamp-tarball/src/main/resources/etc/ElementParticipantParameters.yaml b/packages/policy-clamp-tarball/src/main/resources/etc/ElementParticipantParameters.yaml index 76dbeaa2a..4d7710304 100644 --- a/packages/policy-clamp-tarball/src/main/resources/etc/ElementParticipantParameters.yaml +++ b/packages/policy-clamp-tarball/src/main/resources/etc/ElementParticipantParameters.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 |