* ============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.
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");
}
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");
}