From bf6cc68f7f6c58f57ca8a384bbe71f4061a9285c Mon Sep 17 00:00:00 2001 From: "aravind.est" Date: Mon, 21 Nov 2022 15:26:58 +0000 Subject: Add A1 PMS participant Issue-ID: CCSDK-3816 Signed-off-by: aravind.est Change-Id: I00c04542f5ec4672b1c3a29ca32477bf5d2ca336 --- packages/policy-clamp-tarball/pom.xml | 5 ++ .../resources/etc/A1pmsParticipantParameters.yaml | 57 ++++++++++++++++++++++ 2 files changed, 62 insertions(+) create mode 100755 packages/policy-clamp-tarball/src/main/resources/etc/A1pmsParticipantParameters.yaml (limited to 'packages/policy-clamp-tarball') diff --git a/packages/policy-clamp-tarball/pom.xml b/packages/policy-clamp-tarball/pom.xml index 1d3c67f54..769813a23 100644 --- a/packages/policy-clamp-tarball/pom.xml +++ b/packages/policy-clamp-tarball/pom.xml @@ -52,6 +52,11 @@ policy-clamp-participant-impl-http ${project.version} + + org.onap.policy.clamp.participant + policy-clamp-participant-impl-a1pms + ${project.version} + org.onap.policy.clamp.participant policy-clamp-acm-element-impl diff --git a/packages/policy-clamp-tarball/src/main/resources/etc/A1pmsParticipantParameters.yaml b/packages/policy-clamp-tarball/src/main/resources/etc/A1pmsParticipantParameters.yaml new file mode 100755 index 000000000..54a592484 --- /dev/null +++ b/packages/policy-clamp-tarball/src/main/resources/etc/A1pmsParticipantParameters.yaml @@ -0,0 +1,57 @@ +spring: + security: + user: + name: participantUser + password: zb!XztG34 + autoconfigure: + exclude: + - org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration + - org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration + - org.springframework.boot.autoconfigure.jdbc.DataSourceTransactionManagerAutoConfiguration + - org.springframework.boot.autoconfigure.data.web.SpringDataWebAutoConfiguration +security: + enable-csrf: false + +a1pms: + baseUrl: http://a1policymanagement.onap:8081 + headers: + content-type: application/json + endpoints: + health: /a1-policy/v2/rics + services: /a1-policy/v2/services + service: /a1-policy/v2/services/{service_id} + +participant: + intermediaryParameters: + reportingTimeIntervalMs: 120000 + description: Participant Description + participantId: + name: A1PMSParticipant0 + version: 1.0.0 + participantType: + name: org.onap.policy.clamp.acm.A1PMSParticipant + version: 2.3.4 + clampAutomationCompositionTopics: + topicSources: + - topic: POLICY-ACRUNTIME-PARTICIPANT + servers: + - ${topicServer:localhost} + topicCommInfrastructure: dmaap + fetchTimeout: 15000 + topicSinks: + - topic: POLICY-ACRUNTIME-PARTICIPANT + servers: + - ${topicServer:localhost} + topicCommInfrastructure: dmaap + + +management: + endpoints: + web: + base-path: / + exposure: + include: health, metrics, prometheus +server: + port: 8086 + servlet: + context-path: /onap/policy/clamp/acm/a1pmsparticipant \ No newline at end of file -- cgit 1.2.3-korg