diff options
author | Sirisha_Manchikanti <sirisha.manchikanti@est.tech> | 2021-06-08 09:28:21 +0100 |
---|---|---|
committer | Sirisha_Manchikanti <sirisha.manchikanti@est.tech> | 2021-06-22 15:12:05 +0100 |
commit | 4d0a1d766e645046a9bcbe3c0dbeb59d82fd2fa3 (patch) | |
tree | 27738876ee1a34e162cb866561fd3477e64a02bb /csit/docker-compose-all.yml | |
parent | 3c231ae4fd843f56eb814133221dcd5595ccabb7 (diff) |
Add CSIT for clamp controlloop
Add CSIT testcases, scripts and a seperate docker-compose file for
integration testing between controlloop components, this involves
integration between Mariadb, Dmaap, ControlLoop-Runtime,
Policy-Participant, Policy-API and DCAE-Participant docker images.
Issue-ID: POLICY-3217
Signed-off-by: Sirisha_Manchikanti <sirisha.manchikanti@est.tech>
Change-Id: Id7cb1451afc4331b4ed1ad1ac6c2528a747eaaa0
Diffstat (limited to 'csit/docker-compose-all.yml')
-rw-r--r-- | csit/docker-compose-all.yml | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/csit/docker-compose-all.yml b/csit/docker-compose-all.yml index c2a1d633..5d0f687d 100644 --- a/csit/docker-compose-all.yml +++ b/csit/docker-compose-all.yml @@ -211,3 +211,58 @@ services: 'pap', '6969', 'apex-pdp', '6969' ] + policy-controlloop-runtime: + image: onap/policy-controlloop-runtime:latest + container_name: policy-controlloop-runtime + depends_on: + - mariadb + - simulator + - policy-participant + - dcae-participant + hostname: policy-controlloop-runtime + expose: + - 6970 + volumes: + - ./config/clamp/ClRuntimeParameters.json:/opt/app/policy/clamp/etc/ClRuntimeParameters.json:ro + - ./config/policy-truststore:/opt/app/policy/api/etc/ssl/policy-truststore:ro + - ./wait_for_port.sh:/opt/app/policy/bin/wait_for_port.sh:ro + entrypoint: /opt/app/policy/bin/wait_for_port.sh + command: [ + '-c', './controlloop-runtime.sh', + 'message-router', '3905' + ] + dcae-participant: + image: onap/dcae-participant:latest + container_name: dcae-participant + depends_on: + - simulator + hostname: dcae-participant + expose: + - 6971 + volumes: + - ./config/clamp/DcaeParticipantParameters.json:/opt/app/policy/clamp/etc/DcaeParticipantParameters.json:ro + - ./config/policy-truststore:/opt/app/policy/api/etc/ssl/policy-truststore:ro + - ./wait_for_port.sh:/opt/app/policy/bin/wait_for_port.sh:ro + entrypoint: /opt/app/policy/bin/wait_for_port.sh + command: [ + '-c', './dcae-participant.sh', + 'message-router', '3905' + ] + policy-participant: + image: onap/policy-participant:latest + container_name: policy-participant + depends_on: + - simulator + - api + hostname: policy-participant + expose: + - 6972 + volumes: + - ./config/clamp/PolicyParticipantParameters.json:/opt/app/policy/clamp/etc/PolicyParticipantParameters.json:ro + - ./config/policy-truststore:/opt/app/policy/api/etc/ssl/policy-truststore:ro + - ./wait_for_port.sh:/opt/app/policy/bin/wait_for_port.sh:ro + entrypoint: /opt/app/policy/bin/wait_for_port.sh + command: [ + '-c', './policy-participant.sh', + 'message-router', '3905' + ] |