From 487d4a4a282512bda2c2c33031041aab9716d79d Mon Sep 17 00:00:00 2001 From: mmis Date: Tue, 11 Sep 2018 11:45:11 +0100 Subject: Updated example config for CSIT test Changed the config for the CSIT test to use javascript instead of mvel and changed the REST server host to enable communication from outside the docker container Issue-ID: POLICY-1099 Change-Id: I6173545d70d6b83c86bbee132cf057985487a501 Signed-off-by: mmis --- .../package/examples/config/SampleDomain/RESTServerJsonEvent.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'packages/apex-pdp-package-full/src/main/package') diff --git a/packages/apex-pdp-package-full/src/main/package/examples/config/SampleDomain/RESTServerJsonEvent.json b/packages/apex-pdp-package-full/src/main/package/examples/config/SampleDomain/RESTServerJsonEvent.json index 2cd54ec93..4e6cefd2e 100644 --- a/packages/apex-pdp-package-full/src/main/package/examples/config/SampleDomain/RESTServerJsonEvent.json +++ b/packages/apex-pdp-package-full/src/main/package/examples/config/SampleDomain/RESTServerJsonEvent.json @@ -5,11 +5,11 @@ "id": 45, "instanceCount": 4, "deploymentPort": 12561, - "policyModelFileName": "examples/models/SampleDomain/SamplePolicyModelMVEL.json", + "policyModelFileName": "examples/models/SampleDomain/SamplePolicyModelJAVASCRIPT.json", "engineParameters": { "executorParameters": { - "MVEL": { - "parameterClassName": "org.onap.policy.apex.plugins.executor.mvel.MVELExecutorParameters" + "JAVASCRIPT": { + "parameterClassName": "org.onap.policy.apex.plugins.executor.javascript.JavascriptExecutorParameters" } } } @@ -21,7 +21,7 @@ "parameterClassName": "org.onap.policy.apex.plugins.event.carrier.restserver.RESTServerCarrierTechnologyParameters", "parameters": { "standalone": true, - "host": "localhost", + "host": "0.0.0.0", "port": 23324 } }, -- cgit 1.2.3-korg