aboutsummaryrefslogtreecommitdiffstats
path: root/packages/policy-clamp-tarball
diff options
context:
space:
mode:
authorFrancescoFioraEst <francesco.fiora@est.tech>2022-08-02 11:53:48 +0100
committerFrancesco Fiora <francesco.fiora@est.tech>2022-08-02 12:34:43 +0000
commit36f4ee4ec18a9457b887e2f67a65e3f733569cbe (patch)
treee5562edd65089507c73d4795d2654dd76fc1b45b /packages/policy-clamp-tarball
parent98c4d50287a5e37266dd68567e26b290083614c7 (diff)
Create Dockerfile for the test microservice
Issue-ID: POLICY-4318 Change-Id: Ic7099e9a7fd5839630a6dc5cc4fa2ea2300c9c58 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
Diffstat (limited to 'packages/policy-clamp-tarball')
-rw-r--r--packages/policy-clamp-tarball/pom.xml7
-rw-r--r--packages/policy-clamp-tarball/src/main/resources/etc/ElementParticipantParameters.yaml22
2 files changed, 28 insertions, 1 deletions
diff --git a/packages/policy-clamp-tarball/pom.xml b/packages/policy-clamp-tarball/pom.xml
index 2cab0ee3f..380b534e6 100644
--- a/packages/policy-clamp-tarball/pom.xml
+++ b/packages/policy-clamp-tarball/pom.xml
@@ -1,6 +1,6 @@
<!--
============LICENSE_START=======================================================
- Copyright (C) 2021 Nordix Foundation.
+ Copyright (C) 2021-2022 Nordix Foundation.
================================================================================
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@@ -52,6 +52,11 @@
<artifactId>policy-clamp-participant-impl-http</artifactId>
<version>${project.version}</version>
</dependency>
+ <dependency>
+ <groupId>org.onap.policy.clamp.participant</groupId>
+ <artifactId>policy-clamp-acm-element-impl</artifactId>
+ <version>${project.version}</version>
+ </dependency>
</dependencies>
<build>
diff --git a/packages/policy-clamp-tarball/src/main/resources/etc/ElementParticipantParameters.yaml b/packages/policy-clamp-tarball/src/main/resources/etc/ElementParticipantParameters.yaml
new file mode 100644
index 000000000..76dbeaa2a
--- /dev/null
+++ b/packages/policy-clamp-tarball/src/main/resources/etc/ElementParticipantParameters.yaml
@@ -0,0 +1,22 @@
+spring:
+ security:
+ user:
+ name: acmUser
+ password: zb!XztG34
+
+server:
+ port: 8084
+ servlet:
+ context-path: /onap/policy/clamp/acelement/
+ error:
+ path: /error
+
+element:
+ elementId:
+ name: onap.policy.clamp.ac.element1
+ version: 1.0.0
+management:
+ endpoints:
+ web:
+ exposure:
+ include: health, metrics, prometheus