CSIT tests for bbs-event-processor
Change-Id: Iaf4d5f47754489b111a0af90bf3cdf819d4e62f7
Issue-ID: DCAEGEN2-1355
Signed-off-by: Stavros Kanarakis <stavros.kanarakis@nokia.com>
diff --git a/tests/dcaegen2/bbs-testcases/resources/docker-compose.yml b/tests/dcaegen2/bbs-testcases/resources/docker-compose.yml
new file mode 100644
index 0000000..e42c0d2
--- /dev/null
+++ b/tests/dcaegen2/bbs-testcases/resources/docker-compose.yml
@@ -0,0 +1,64 @@
+version: '3'
+services:
+ bbs:
+ image: nexus3.onap.org:10001/onap/org.onap.dcaegen2.services.components.bbs-event-processor:1.0.0-SNAPSHOT
+ command: >
+ --dmaap.dmaapConsumerConfiguration.dmaapHostName=dmaap_simulator
+ --dmaap.dmaapConsumerConfiguration.dmaapPortNumber=2222
+ --dmaap.dmaapProducerConfiguration.dmaapHostName=dmaap_simulator
+ --dmaap.dmaapProducerConfiguration.dmaapPortNumber=2222
+ --aai.aaiClientConfiguration.aaiHostPortNumber=3333
+ --aai.aaiClientConfiguration.aaiHost=aai_simulator
+ --aai.aaiClientConfiguration.aaiProtocol=http
+ ports:
+ - "32100:8100"
+ environment:
+ CONFIGS_DMAAP_CONSUMER_RE-REGISTRATION_DMAAPHOSTNAME: dmaap_simulator
+ CONFIGS_DMAAP_CONSUMER_RE-REGISTRATION_DMAAPPORTNUMBER: 2222
+ CONFIGS_DMAAP_CONSUMER_RE-REGISTRATION_DMAAPTOPICNAME: /events/unauthenticated_PNF_UPDATE
+ CONFIGS_DMAAP_CONSUMER_RE-REGISTRATION_CONSUMERGROUP:
+ CONFIGS_DMAAP_CONSUMER_RE-REGISTRATION_CONSUMERID:
+ CONFIGS_DMAAP_CONSUMER_CPE-AUTHENTICATION_DMAAPHOSTNAME: dmaap_simulator
+ CONFIGS_DMAAP_CONSUMER_CPE-AUTHENTICATION_DMAAPPORTNUMBER: 2222
+ CONFIGS_DMAAP_CONSUMER_CPE-AUTHENTICATION_DMAAPTOPICNAME: /events/unauthenticated_CPE_AUTHENTICATION
+ CONFIGS_DMAAP_CONSUMER_CPE-AUTHENTICATION_CONSUMERGROUP:
+ CONFIGS_DMAAP_CONSUMER_CPE-AUTHENTICATION_CONSUMERID:
+ CONFIGS_DMAAP_PRODUCER_DMAAPHOSTNAME: dmaap-bc
+ CONFIGS_DMAAP_PRODUCER_DMAAPPORTNUMBER: 2222
+ CONFIGS_DMAAP_PRODUCER_DMAAPTOPICNAME: /events/unauthenticated_DCAE_CL_OUTPUT
+ CONFIGS_AAI_CLIENT_AAIHOST: aai_simulator
+ CONFIGS_AAI_CLIENT_AAIPORT: 3333
+ CONFIGS_AAI_CLIENT_AAIPROTOCOL: http
+ CONFIGS_APPLICATION_PIPELINESPOLLINGINTERVALSEC: 15
+ CONFIGS_APPLICATION_PIPELINESTIMEOUTSEC: 10
+ CONFIGS_APPLICATION_RE-REGISTRATION_POLICYSCOPE: "re-reg_policy_scope"
+ CONFIGS_APPLICATION_RE-REGISTRATION_CLCONTROLNAME: "re-reg_cl"
+ CONFIGS_APPLICATION_CPE-AUTHENTICATION_POLICYSCOPE: "cpe-auth_policy_scope"
+ CONFIGS_APPLICATION_CPE-AUTHENTICATION_CLCONTROLNAME: "cpe-auth_cl"
+ LOGGING_LEVEL_ORG_ONAP_BBS: TRACE
+ container_name: bbs
+ depends_on:
+ - dmaap-bc
+ - aai
+
+ dmaap-bc:
+ image: dmaap-bc:latest
+ build:
+ context: simulator
+ dockerfile: DMaaP_simulator
+ ports:
+ - "2222:2222"
+ - "2223:2223"
+ - "2224:2224"
+ container_name: dmaap_simulator
+
+ aai:
+ image: aai:latest
+ build:
+ context: simulator
+ dockerfile: AAI_simulator
+ ports:
+ - "3333:3333"
+ - "3334:3334"
+ - "3335:3335"
+ container_name: aai_simulator