Updated example config for CSIT test 01/65801/1
authormmis <michael.morris@ericsson.com>
Tue, 11 Sep 2018 10:45:11 +0000 (11:45 +0100)
committermmis <michael.morris@ericsson.com>
Tue, 11 Sep 2018 10:50:09 +0000 (11:50 +0100)
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 <michael.morris@ericsson.com>
packages/apex-pdp-package-full/src/main/package/examples/config/SampleDomain/RESTServerJsonEvent.json

index 2cd54ec..4e6cefd 100644 (file)
@@ -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
                 }
             },