APEX standalone support for ToscaPolicy format
[policy/apex-pdp.git] / testsuites / integration / integration-uservice-test / src / test / java / org / onap / policy / apex / testsuites / integration / uservice / adapt / kafka / TestKafka2Kafka.java
index f5639a9..03db179 100644 (file)
@@ -2,6 +2,7 @@
  * ============LICENSE_START=======================================================
  *  Copyright (C) 2016-2018 Ericsson. All rights reserved.
  *  Modifications Copyright (C) 2020 Nordix Foundation.
+ *  Modifications Copyright (C) 2020 Bell Canada. All rights reserved.
  * ================================================================================
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -68,7 +69,7 @@ public class TestKafka2Kafka {
     public void testJsonKafkaEvents() throws Exception {
         final String conditionedConfigFile = getConditionedConfigFile(
             "target" + File.separator + "examples/config/SampleDomain/Kafka2KafkaJsonEvent.json");
-        final String[] args = {"-rfr", "target", "-c", conditionedConfigFile};
+        final String[] args = {"-rfr", "target", "-p", conditionedConfigFile};
         testKafkaEvents(args, false, "json");
     }
 
@@ -81,7 +82,7 @@ public class TestKafka2Kafka {
     public void testXmlKafkaEvents() throws Exception {
         final String conditionedConfigFile = getConditionedConfigFile(
             "target" + File.separator + "examples/config/SampleDomain/Kafka2KafkaXmlEvent.json");
-        final String[] args = {"-rfr", "target", "-c", conditionedConfigFile};
+        final String[] args = {"-rfr", "target", "-p", conditionedConfigFile};
 
         testKafkaEvents(args, true, "xml");
     }