From 4c5c31eb9a2513af080d60d0f537b8339856150d Mon Sep 17 00:00:00 2001 From: "a.sreekumar" Date: Wed, 2 Sep 2020 17:19:26 +0100 Subject: APEX standalone support for ToscaPolicy format Legacy format support is removed, and Tosca format support is added. Change-Id: I3cfc181ccb5471a5d224c0162af18c1fa0fdbc70 Issue-ID: POLICY-2812 Signed-off-by: a.sreekumar --- .../performance/benchmark/eventgenerator/EventGeneratorTest.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'testsuites/performance/performance-benchmark-test/src/test') diff --git a/testsuites/performance/performance-benchmark-test/src/test/java/org/onap/policy/apex/testsuites/performance/benchmark/eventgenerator/EventGeneratorTest.java b/testsuites/performance/performance-benchmark-test/src/test/java/org/onap/policy/apex/testsuites/performance/benchmark/eventgenerator/EventGeneratorTest.java index 97b950869..93ca6ad70 100644 --- a/testsuites/performance/performance-benchmark-test/src/test/java/org/onap/policy/apex/testsuites/performance/benchmark/eventgenerator/EventGeneratorTest.java +++ b/testsuites/performance/performance-benchmark-test/src/test/java/org/onap/policy/apex/testsuites/performance/benchmark/eventgenerator/EventGeneratorTest.java @@ -1,6 +1,7 @@ /*- * ============LICENSE_START======================================================= * Copyright (C) 2016-2018 Ericsson. All rights reserved. + * 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. @@ -52,8 +53,7 @@ public class EventGeneratorTest { pars.setBatchSize(10); EventGenerator eventGenerator = new EventGenerator(pars); - - final String[] args = { "-rfr", "target", "-c", + final String[] args = { "-rfr", "target", "-p", "target/examples/config/SampleDomain/REST2RESTJsonEventJavascript.json" }; final ApexMain apexMain = new ApexMain(args); @@ -106,6 +106,7 @@ public class EventGeneratorTest { System.setOut(new PrintStream(outContent)); (new Thread() { + @Override public void run() { EventGenerator.main(null); } -- cgit 1.2.3-korg