aboutsummaryrefslogtreecommitdiffstats
path: root/packages/policy-clamp-tarball/src
diff options
context:
space:
mode:
authorLiam Fallon <liam.fallon@est.tech>2022-09-02 17:32:13 +0000
committerGerrit Code Review <gerrit@onap.org>2022-09-02 17:32:13 +0000
commit10bdfd8dc0a5870196a18a9be441b22d02b598c0 (patch)
tree1ae8c098e79d34da43e022f45c74b00e8e8d93e6 /packages/policy-clamp-tarball/src
parent36af1675013b538d43ec5e9bbf6caa24a1a70eec (diff)
parent37a6e5e0f321ad659e5009092490a40892b6551a (diff)
Merge "Refactor Element ACM for prometheus configuration"
Diffstat (limited to 'packages/policy-clamp-tarball/src')
-rw-r--r--packages/policy-clamp-tarball/src/main/resources/etc/ElementParticipantParameters.yaml13
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