aboutsummaryrefslogtreecommitdiffstats
path: root/packages/apex-pdp-package-full/src/main/package
diff options
context:
space:
mode:
authormmis <michael.morris@ericsson.com>2018-09-11 11:45:11 +0100
committermmis <michael.morris@ericsson.com>2018-09-11 11:50:09 +0100
commit487d4a4a282512bda2c2c33031041aab9716d79d (patch)
tree4670f242b860cce01f869798f2acbf3f5cc035f0 /packages/apex-pdp-package-full/src/main/package
parent91a15073980a970220fe9ba67df18bf04bb8488b (diff)
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 <michael.morris@ericsson.com>
Diffstat (limited to 'packages/apex-pdp-package-full/src/main/package')
-rw-r--r--packages/apex-pdp-package-full/src/main/package/examples/config/SampleDomain/RESTServerJsonEvent.json8
1 files changed, 4 insertions, 4 deletions
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
}
},