Update vCPE example for JSON Stringify 24/114924/1
authorliamfallon <liam.fallon@est.tech>
Mon, 16 Nov 2020 13:13:43 +0000 (13:13 +0000)
committerliamfallon <liam.fallon@est.tech>
Mon, 16 Nov 2020 13:18:32 +0000 (13:18 +0000)
commitda12c1c622ebc2304965ff1f646dc9783c5363c6
tree3ee158713320355320b22dd62b1f76345320d217
parent90bc246ffec30f7d97474d772d8bad73715cdd45
Update vCPE example for JSON Stringify

The JSON.stringify() call in the Rhino Javascript interpreter is not
working correctly. A previous patch introduced a method into the Apex
execution context to provide an alternative method for stringifying
JSON.

This patch updates the vCPE example in apex to use that new method.

Issue-ID: POLICY-2463
Change-Id: I85cc33dc4633b1b6f4c4db3d5ad8579c66d7c18c
Signed-off-by: liamfallon <liam.fallon@est.tech>
examples/examples-onap-vcpe/src/main/resources/examples/config/ONAPvCPEStandalone/ApexConfig_Sim.json
examples/examples-onap-vcpe/src/main/resources/logic/standalone/GetEntityStateTask.js
examples/examples-onap-vcpe/src/test/java/org/onap/policy/apex/domains/onap/vcpe/OnapVcpeRunner.java
examples/examples-onap-vcpe/src/test/java/org/onap/policy/apex/domains/onap/vcpe/OnapVcpeStandaloneRunner.java
examples/examples-onap-vcpe/src/test/resources/etc/Notes.txt
examples/examples-onap-vcpe/src/test/resources/logback-test.xml