Update gRPC example for JSON Stringify 22/114922/1
authorliamfallon <liam.fallon@est.tech>
Mon, 16 Nov 2020 12:35:57 +0000 (12:35 +0000)
committerliamfallon <liam.fallon@est.tech>
Mon, 16 Nov 2020 12:41:38 +0000 (12:41 +0000)
commitfd5ee076b2ecf9fc5151090cf8a9b49fac6cf055
treee42694482b0b1ff8782d9f99b220d62546ae5e54
parent90bc246ffec30f7d97474d772d8bad73715cdd45
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>
examples/examples-grpc/src/main/resources/logic/CreateSubscriptionPayloadTask.js
examples/examples-grpc/src/main/resources/logic/ReceivePMSubscriptionTask.js