diff options
author | Singal, Kapil (ks220y) <ks220y@att.com> | 2020-02-17 10:41:38 -0500 |
---|---|---|
committer | KAPIL SINGAL <ks220y@att.com> | 2020-02-18 17:47:05 +0000 |
commit | ab87c55476acf4e64015086e9cb200d0af181c17 (patch) | |
tree | 31e4777d66a7ff679413697bd704fd62d136304c /restapi-call-node/provider/src/test/resources | |
parent | 858ee723108ffa1c2fbcd77cf9bf0aacc83c570e (diff) |
Escaping multi-line string
Supporting multiline json string if embedding within Rest payload template
Change-Id: I6a96f58732734fca0127d57fa5de3ba3cb7276c4
Issue-ID: CCSDK-2103
Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com>
Diffstat (limited to 'restapi-call-node/provider/src/test/resources')
-rw-r--r-- | restapi-call-node/provider/src/test/resources/testMultiLineEmbeddedTemplate.json | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/restapi-call-node/provider/src/test/resources/testMultiLineEmbeddedTemplate.json b/restapi-call-node/provider/src/test/resources/testMultiLineEmbeddedTemplate.json new file mode 100644 index 00000000..84ae3a49 --- /dev/null +++ b/restapi-call-node/provider/src/test/resources/testMultiLineEmbeddedTemplate.json @@ -0,0 +1,20 @@ +{ + "commonHeader": { + "origin": "earth", + "requestId": ${reqId}, + "subRequestId": ${subReqId} + }, + "actions": { + "actionName": ${actionName}, + "mode": "sync" + }, + "payload": { + "assignment-request": { + "prefix": [ + ${myPrefix} + ], + "assignment-properties": ${complexObj} + } + } +} + |