Auto test created for policy agent, cbs, consul
-Fix PA dockerfile using java command of adoptopenjdk
-Add initial test for autotest
-dockerize the process of PA reading config from consul/cbs
Issue-ID: NONRTRIC-79
Change-Id: I185f7459fbb59c2be1507b33e44f7d539ab4eeff
Signed-off-by: YongchaoWu <yongchao.wu@est.tech>
diff --git a/near-rt-ric-simulator/simulator-group/simulators-start.sh b/near-rt-ric-simulator/simulator-group/simulators-start.sh
new file mode 100755
index 0000000..7f83397
--- /dev/null
+++ b/near-rt-ric-simulator/simulator-group/simulators-start.sh
@@ -0,0 +1,9 @@
+#!/usr/bin/env bash
+
+DOCKER_SIM_NWNAME="nonrtric-docker-net"
+echo "Creating docker network $DOCKER_SIM_NWNAME, if needed"
+docker network ls| grep $DOCKER_SIM_NWNAME > /dev/null || docker network create $DOCKER_SIM_NWNAME
+
+docker-compose -f consul_cbs/docker-compose-template.yml config > docker-compose.yml
+
+docker-compose up -d
\ No newline at end of file