From c50ee576062e108f0bf194ab5da59e276f93f8c2 Mon Sep 17 00:00:00 2001 From: FrancescoFioraEst Date: Tue, 13 Jun 2023 17:05:39 +0100 Subject: Add docker container support for mock participant Issue-ID: POLICY-4724 Change-Id: Ieb1ce4ed65472830994daa03f60ff2ac76baf5a2 Signed-off-by: FrancescoFioraEst --- .../etc/SimulatorParticipantParameters.yaml | 48 ++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 packages/policy-clamp-tarball/src/main/resources/etc/SimulatorParticipantParameters.yaml (limited to 'packages/policy-clamp-tarball/src') diff --git a/packages/policy-clamp-tarball/src/main/resources/etc/SimulatorParticipantParameters.yaml b/packages/policy-clamp-tarball/src/main/resources/etc/SimulatorParticipantParameters.yaml new file mode 100644 index 000000000..3959eb789 --- /dev/null +++ b/packages/policy-clamp-tarball/src/main/resources/etc/SimulatorParticipantParameters.yaml @@ -0,0 +1,48 @@ +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 +participant: + intermediaryParameters: + reportingTimeIntervalMs: 120000 + description: Participant Description + participantId: ${participantId:101c62b3-8918-41b9-a747-d21eb79c6c90} + clampAutomationCompositionTopics: + topicSources: + - topic: POLICY-ACRUNTIME-PARTICIPANT + servers: + - ${topicServer:message-router} + topicCommInfrastructure: dmaap + fetchTimeout: 15000 + useHttps: ${useHttps:true} + topicSinks: + - topic: POLICY-ACRUNTIME-PARTICIPANT + servers: + - ${topicServer:message-router} + topicCommInfrastructure: dmaap + useHttps: ${useHttps:true} + participantSupportedElementTypes: + - + typeName: ${supportedElementTypeName:org.onap.policy.clamp.acm.SimAutomationCompositionElement} + typeVersion: ${supportedElementTypeVersion:1.0.0} + +management: + endpoints: + web: + base-path: / + exposure: + include: health, metrics, prometheus +server: + port: 8087 + servlet: + context-path: /onap/policy/clamp/acm/simparticipant -- cgit 1.2.3-korg