Align with HV-VES startup changes
[integration/csit.git] / plans / dcaegen2-collectors-hv-ves / testsuites / docker-compose.yml
index 9ba2775..6717835 100644 (file)
@@ -46,10 +46,13 @@ services:
     ports:
     - "6060:6060"
     - "6061:6061/tcp"
-    entrypoint: ["java", "-Dio.netty.leakDetection.level=paranoid", "-cp", "*:", "${HV_VES_MAIN_CLASS}"]
-    command: ["--listen-port", "6061","--config-url", "${HV_VES_CONFIG_URL}",
+    command: ["--listen-port", "6061",
+              "--config-url", "${HV_VES_CONFIG_URL}",
+              "--kafka-bootstrap-servers", "kafka:9092",
               "--key-store-password", "onaponap",
               "--trust-store-password", "onaponap"]
+    environment:
+      JAVA_OPTS: "-Dio.netty.leakDetection.level=paranoid"
     healthcheck:
       interval: 10s
       timeout: 5s
@@ -67,8 +70,12 @@ services:
     ports:
     - "7060:6060"
     - "7061:6061/tcp"
-    entrypoint: ["java", "-Dio.netty.leakDetection.level=paranoid", "-cp", "*:", "${HV_VES_MAIN_CLASS}"]
-    command: ["--listen-port", "6061","--config-url", "${HV_VES_CONFIG_URL}", "--ssl-disable"]
+    command: ["--listen-port", "6061",
+              "--config-url", "${HV_VES_CONFIG_URL}",
+              "--kafka-bootstrap-servers", "kafka:9092",
+              "--ssl-disable"]
+    environment:
+      JAVA_OPTS: "-Dio.netty.leakDetection.level=paranoid"
     healthcheck:
       interval: 10s
       timeout: 5s
@@ -96,4 +103,5 @@ services:
     networks:
       ves-hv-default:
         aliases:
-        - dcae-app-simulator
\ No newline at end of file
+        - dcae-app-simulator
+