diff options
author | Brinda Santh <bs2796@att.com> | 2020-01-16 11:21:50 -0500 |
---|---|---|
committer | Brinda Santh <bs2796@att.com> | 2020-01-16 13:58:05 -0500 |
commit | 8029f8e5332f107267ec11293c3099e54e87c67b (patch) | |
tree | 5341184c90a8a0013ea207dae2ed59d1ba3fa80b /ms/blueprintsprocessor/application/src/main/dc/docker-compose.yaml | |
parent | f52cf7ce4451fd5fa1bbc6cf30e5b2a0acab7276 (diff) |
Prioritization Optional NATS consumer support
Add prioritization NATS consumer service and configuration data beans.
Optimizing message prioritization service interface.
Added Integration testing for NATS simulation.
Updated sample docker compose for NATS support
Issue-ID: CCSDK-1917
Signed-off-by: Brinda Santh <bs2796@att.com>
Change-Id: Icd21e5e2ab7b64d6e6e4b0610599ca947555ee15
Diffstat (limited to 'ms/blueprintsprocessor/application/src/main/dc/docker-compose.yaml')
-rwxr-xr-x | ms/blueprintsprocessor/application/src/main/dc/docker-compose.yaml | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/ms/blueprintsprocessor/application/src/main/dc/docker-compose.yaml b/ms/blueprintsprocessor/application/src/main/dc/docker-compose.yaml index 20b17bc90..8f2a78639 100755 --- a/ms/blueprintsprocessor/application/src/main/dc/docker-compose.yaml +++ b/ms/blueprintsprocessor/application/src/main/dc/docker-compose.yaml @@ -18,6 +18,21 @@ services: MYSQL_DATABASE: sdnctl MYSQL_USER: sdnctl MYSQL_PASSWORD: sdnctl + nats: + image: nats-streaming:latest + container_name: nats + hostname: nats + command: "-cid cds-cluster --auth tokenAuth -store file -dir /opt/app/onap/nats/store --cluster_node_id nats" + networks: + - cds-network + ports: + - "8222:8222" + - "4222:4222" + restart: always + volumes: + - target: /opt/app/onap/nats/store + type: volume + source: nats-store cds-controller-default: depends_on: - db @@ -89,6 +104,12 @@ volumes: type: none device: /opt/app/cds/mysql/data o: bind + nats-store: + driver: local + driver_opts: + type: none + device: /opt/app/cds/nats/store + o: bind blueprints-deploy: driver: local driver_opts: |