aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorZebek Bogumil <bogumil.zebek@nokia.com>2021-03-29 11:53:58 +0200
committerZebek Bogumil <bogumil.zebek@nokia.com>2021-03-29 13:15:55 +0200
commita700e2f085776f201b9a24726d3d961981089161 (patch)
tree0efb8a7b86ea6bff33894220ddc39673f91f7e5e /scripts
parentef5f97aafa2928eeba13de1e3bc4bd542066ed49 (diff)
Add csit for readiness endpoint
Change-Id: Ic246a5c80ccabefee41553f36ec1741a49d1da7b Signed-off-by: Bogumil Zebek <bogumil.zebek@nokia.com> Issue-ID: INT-1869
Diffstat (limited to 'scripts')
-rw-r--r--scripts/integration/nfsimulator/netconf-server/docker-compose.yml40
1 files changed, 35 insertions, 5 deletions
diff --git a/scripts/integration/nfsimulator/netconf-server/docker-compose.yml b/scripts/integration/nfsimulator/netconf-server/docker-compose.yml
index 5d51c9a2..b8d4e5a6 100644
--- a/scripts/integration/nfsimulator/netconf-server/docker-compose.yml
+++ b/scripts/integration/nfsimulator/netconf-server/docker-compose.yml
@@ -1,13 +1,43 @@
version: '3'
services:
+ zookeeper:
+ image: wurstmeister/zookeeper
+ ports:
+ - "2181:2181"
+ networks:
+ - netconfnetwork
+
+ kafka1:
+ image: wurstmeister/kafka:1.1.0
+ ports:
+ - "9092:9092"
+ hostname: kafka1
+ networks:
+ - netconfnetwork
+ environment:
+ KAFKA_ADVERTISED_PORT: 9092
+ KAFKA_ADVERTISED_HOST_NAME: kafka1
+ KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181
+ KAFKA_CREATE_TOPICS: "config:1:1"
+ KAFKA_DELETE_RETENTION_MS: 604800000
+ KAFKA_LOG_CLEANER_DELETE_RETENTION_MS: 604800000
+ depends_on:
+ - zookeeper
netconf-server:
container_name: netconf-server
image: nexus3.onap.org:10003/onap/org.onap.integration.nfsimulator.netconfserver:latest
- environment:
- - ENABLE_TLS=true
ports:
- - "830:830"
- - "6513:6513"
- - "6555:6555"
+ - "830:830"
+ - "6513:6513"
+ - "6555:6555"
+ networks:
+ - netconfnetwork
+ depends_on:
+ - zookeeper
+ - kafka1
+
+networks:
+ netconfnetwork:
+ driver: bridge \ No newline at end of file