diff options
author | 2018-11-06 12:02:46 +0000 | |
---|---|---|
committer | 2018-11-08 17:54:13 +0000 | |
commit | cad452cdb6d999f822fe11dc4fdd232cce30ff6a (patch) | |
tree | a2fdfb5a689d7c2a6f045424a9f078a44ea36f4d /packages/apex-pdp-package-full/src/main/package/examples/config/SampleDomain/File2FileJsonEventAsyncMISO.json | |
parent | ad6efc439440e991df30694ef2da17d640f20bdf (diff) |
Refactor unit test data
There were many copies of test policies and examples
strewn through the Apex unit tests. This change cleans
up the unit tests so that a single version of all example
policies is used in all tests.
Also added a new relative file root command line parameter
to Apex to allow the root of relative paths in configuration
files to be set.
Apologies for the size of this review but unfortunately
all of this must be done in one shot.
Issue-ID: POLICY-1252
Change-Id: Ibbb18fbf18e3897a1c61301d0a65e62bc643a0e9
Signed-off-by: liamfallon <liam.fallon@ericsson.com>
(cherry picked from commit 53d8916cc60d97e2ce7ae345f8cc25f5602567da)
Diffstat (limited to 'packages/apex-pdp-package-full/src/main/package/examples/config/SampleDomain/File2FileJsonEventAsyncMISO.json')
-rw-r--r-- | packages/apex-pdp-package-full/src/main/package/examples/config/SampleDomain/File2FileJsonEventAsyncMISO.json | 65 |
1 files changed, 0 insertions, 65 deletions
diff --git a/packages/apex-pdp-package-full/src/main/package/examples/config/SampleDomain/File2FileJsonEventAsyncMISO.json b/packages/apex-pdp-package-full/src/main/package/examples/config/SampleDomain/File2FileJsonEventAsyncMISO.json deleted file mode 100644 index b02c5ee71..000000000 --- a/packages/apex-pdp-package-full/src/main/package/examples/config/SampleDomain/File2FileJsonEventAsyncMISO.json +++ /dev/null @@ -1,65 +0,0 @@ -{ - "engineServiceParameters": { - "name": "MyApexEngine", - "version": "0.0.1", - "id": 45, - "instanceCount": 4, - "deploymentPort": 12545, - "policyModelFileName": "examples/models/SampleDomain/SamplePolicyModelJAVASCRIPT.json", - "engineParameters": { - "executorParameters": { - "JAVASCRIPT": { - "parameterClassName": "org.onap.policy.apex.plugins.executor.javascript.JavascriptExecutorParameters" - } - } - } - }, - "eventInputParameters": { - "aConsumer0": { - "carrierTechnologyParameters": { - "carrierTechnology": "FILE", - "parameters": { - "fileName": "examples/events/SampleDomain/EventsInMulti0.json" - } - }, - "eventProtocolParameters": { - "eventProtocol": "JSON" - } - }, - "aConsumer1": { - "carrierTechnologyParameters": { - "carrierTechnology": "FILE", - "parameters": { - "fileName": "examples/events/SampleDomain/EventsInMulti1.json" - } - }, - "eventProtocolParameters": { - "eventProtocol": "JSON" - } - }, - "aConsumer2": { - "carrierTechnologyParameters": { - "carrierTechnology": "FILE", - "parameters": { - "fileName": "examples/events/SampleDomain/EventsInMulti2.json" - } - }, - "eventProtocolParameters": { - "eventProtocol": "JSON" - } - } - }, - "eventOutputParameters": { - "aProducer": { - "carrierTechnologyParameters": { - "carrierTechnology": "FILE", - "parameters": { - "fileName": "examples/events/SampleDomain/EventsOutSingle.json" - } - }, - "eventProtocolParameters": { - "eventProtocol": "JSON" - } - } - } -} |