Update gRPC example for JSON Stringify 54/114854/1
authorliamfallon <liam.fallon@est.tech>
Mon, 16 Nov 2020 12:35:57 +0000 (12:35 +0000)
committerLiam Fallon <liam.fallon@est.tech>
Mon, 16 Nov 2020 17:04:19 +0000 (17:04 +0000)
commit937561509d22d265838368165d534636ebd0c70b
treedb5d89dea249ab6066913b12ccdc5e1c401c8dea
parent84d0f41eba6884cc8e75e920e766abd785c06f2b
Update gRPC 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 gRPC example in apex to use that new method.

Issue-ID: POLICY-2463
Change-Id: I7f789c000d53dec60020fda2a6fccd71ef18edc3
Signed-off-by: liamfallon <liam.fallon@est.tech>
(cherry picked from commit fd5ee076b2ecf9fc5151090cf8a9b49fac6cf055)
examples/examples-grpc/src/main/resources/logic/CreateSubscriptionPayloadTask.js
examples/examples-grpc/src/main/resources/logic/ReceivePMSubscriptionTask.js