aboutsummaryrefslogtreecommitdiffstats
path: root/restapi-call-node/provider/src/test/resources
diff options
context:
space:
mode:
authorSmokowski, Kevin (ks6305) <kevin.smokowski@att.com>2019-05-22 16:34:44 +0000
committerKevin Smokowski <kevin.smokowski@att.com>2019-05-22 18:44:50 +0000
commitc75880b15cebc206d43721b35299453f49406f20 (patch)
tree4ba29ff7901c825c191930cd7bca860e8136c547 /restapi-call-node/provider/src/test/resources
parent06c30ec3fa1dbdf26b7e1abce89c68e3efc632c7 (diff)
rest api call node unit tests
rest api call node unit test added for the case in which a template mixes simple and complex json objects. Change-Id: I6921d6e328b3593464d82b7a45b1844cd88c3476 Issue-ID: CCSDK-1355 Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com>
Diffstat (limited to 'restapi-call-node/provider/src/test/resources')
-rw-r--r--restapi-call-node/provider/src/test/resources/testEmbeddedTemplate.json20
1 files changed, 20 insertions, 0 deletions
diff --git a/restapi-call-node/provider/src/test/resources/testEmbeddedTemplate.json b/restapi-call-node/provider/src/test/resources/testEmbeddedTemplate.json
new file mode 100644
index 00000000..7f237781
--- /dev/null
+++ b/restapi-call-node/provider/src/test/resources/testEmbeddedTemplate.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}
+ }
+ }
+}
+