diff options
author | Jerry Flood <jflood@att.com> | 2019-04-09 18:34:22 -0400 |
---|---|---|
committer | Jerry Flood <jflood@att.com> | 2019-04-09 18:34:50 -0400 |
commit | 124bd57e9cf4efab66335848fb989f43aafb4167 (patch) | |
tree | a89d76e09a81be040cdab9e1be3daf58a1a10140 /robot/assets/templates | |
parent | 288abb6262d005090ab3288f44e97cc728230e02 (diff) |
Added CSIT test case for CMSO Dublin
Issue-ID: OPTFRA-473
Change-Id: Ib2bc8f73083b4320ad46109b52b4ec5131d4aebe
Signed-off-by: Jerry Flood <jflood@att.com>
Diffstat (limited to 'robot/assets/templates')
-rw-r--r-- | robot/assets/templates/cmso/OneVnfOneChangeWindow.json.template | 30 | ||||
-rw-r--r-- | robot/assets/templates/cmso/VidCallbackData.json.template | 36 |
2 files changed, 66 insertions, 0 deletions
diff --git a/robot/assets/templates/cmso/OneVnfOneChangeWindow.json.template b/robot/assets/templates/cmso/OneVnfOneChangeWindow.json.template new file mode 100644 index 00000000..158f5919 --- /dev/null +++ b/robot/assets/templates/cmso/OneVnfOneChangeWindow.json.template @@ -0,0 +1,30 @@ +{ + "domain" : "ChangeManagement", + "scheduleId" : "${uuid}", + "scheduleName" : "${uuid}", + "userId" : "${userId}", + "domainData" : [{ + "CallbackUrl" : "${callbackUrl}", + "CallbackData" : "${callbackData}", + "WorkflowName" : "${workflow}" + } + ], + "schedulingInfo" : { + "normalDurationInSeconds" : 3600, + "additionalDurationInSeconds" : 0, + "concurrencyLimit" : 10, + "policyId" : "AllDayEveryDay", + "vnfDetails" : [{ + "groupId" : "group", + "node" : [ + "${node1}" + ], + "changeWindow" : [{ + "startTime" : "${start_time1}", + "endTime" : "${end_time1}" + } + ] + } + ] + } +} diff --git a/robot/assets/templates/cmso/VidCallbackData.json.template b/robot/assets/templates/cmso/VidCallbackData.json.template new file mode 100644 index 00000000..9abf9b9b --- /dev/null +++ b/robot/assets/templates/cmso/VidCallbackData.json.template @@ -0,0 +1,36 @@ +{ + "vnfName" : "${vnfName}", + "vnfInstanceId" : "dummy-vnfinstance-id", + "modelInfo" : { + "modelType" : "vnf", + "modelInvariantId" : "dummy-id", + "modelVersionId" : "dummy-id", + "modelName" : "dummy", + "modelCustomizationId" : "dummy-id" + }, + "cloudConfiguration" : { + "lcpCloudRegionId" : "dummy", + "tenantId" : "dummy-id" + }, + "requestInfo" : { + "source" : "VID", + "suppressRollback" : false, + "requestorId" : "az2016" + }, + "relatedInstanceList" : [{ + "relatedInstance" : { + "instanceId" : "dummy-id", + "modelInfo" : { + "modelType" : "service", + "modelInvariantId" : "dummy-id", + "modelVersionId" : "dummy-id", + "modelName" : "dummy-id", + "modelVersion" : "4.0" + } + } + } + ], + "requestParameters" : { + "usePreload" : true + } +} |