Align with HV-VES startup changes 78/74978/3
authorPiotr Jaszczyk <piotr.jaszczyk@nokia.com>
Thu, 20 Dec 2018 10:51:44 +0000 (11:51 +0100)
committerPiotr Jaszczyk <piotr.jaszczyk@nokia.com>
Fri, 21 Dec 2018 06:18:26 +0000 (07:18 +0100)
Change-Id: I0f061343b8cdb38a62fd6012888d19bad5296912
Issue-ID: DCAEGEN2-1047
Signed-off-by: Piotr Jaszczyk <piotr.jaszczyk@nokia.com>
plans/dcaegen2-collectors-hv-ves/testsuites/docker-compose.yml
tests/dcaegen2-collectors-hv-ves/testcases/resources/ves-hv-configuration.json

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
+
index 9ef7249..1a65cf1 100644 (file)
@@ -1,9 +1,9 @@
 {
-  "dmaap.kafkaBootstrapServers": "kafka:9092",
   "collector.routing": [
     {
       "fromDomain": "perf3gpp",
       "toTopic": "TEST_HV_VES_PERF3GPP"
     }
   ]
-}
\ No newline at end of file
+}
+