From b3d195d3d3a1db6cacb2a2e10e7d9331fa374b7f Mon Sep 17 00:00:00 2001 From: waynedunican Date: Tue, 27 Jun 2023 09:12:00 +0100 Subject: Add participant simulator to docker-compose.yml Issue-ID: POLICY-4738 Change-Id: I76a01fed165b7d39c00be7a56f9627818e14df33 Signed-off-by: waynedunican --- .../clamp/SimulatorParticipantParameters.yaml | 48 ++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 compose/config/clamp/SimulatorParticipantParameters.yaml (limited to 'compose/config/clamp') diff --git a/compose/config/clamp/SimulatorParticipantParameters.yaml b/compose/config/clamp/SimulatorParticipantParameters.yaml new file mode 100644 index 00000000..3959eb78 --- /dev/null +++ b/compose/config/clamp/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