diff options
author | FrancescoFioraEst <francesco.fiora@est.tech> | 2023-06-13 17:05:39 +0100 |
---|---|---|
committer | Francesco Fiora <francesco.fiora@est.tech> | 2023-06-13 16:13:31 +0000 |
commit | c50ee576062e108f0bf194ab5da59e276f93f8c2 (patch) | |
tree | c3af720d8730d047b1f7e35f266117b6ce5148f2 /packages/policy-clamp-tarball/src | |
parent | 73a48d9c7e599baf145820d0bc0968040142dac8 (diff) |
Add docker container support for mock participant
Issue-ID: POLICY-4724
Change-Id: Ieb1ce4ed65472830994daa03f60ff2ac76baf5a2
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
Diffstat (limited to 'packages/policy-clamp-tarball/src')
-rw-r--r-- | packages/policy-clamp-tarball/src/main/resources/etc/SimulatorParticipantParameters.yaml | 48 |
1 files changed, 48 insertions, 0 deletions
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 |