aboutsummaryrefslogtreecommitdiffstats
path: root/tests/dcaegen2/bbs-testcases/resources/docker-compose.yml
blob: f2102727563ceeed1fea0381e92eea16a8c3e667 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
version: '3'
services:
  bbs:
    image: nexus3.onap.org:10001/onap/org.onap.dcaegen2.services.components.bbs-event-processor:1.0.0
    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