From 8684696712cfe4120092b291cb124accc5712f62 Mon Sep 17 00:00:00 2001 From: Jerry Flood Date: Thu, 28 Mar 2019 06:46:34 -0400 Subject: Testsuie for Optimizer mS Issue-ID: OPTFRA-430 Change-Id: I4c9f42517019a5b30dd3ecd744bf8f15c939da58 Signed-off-by: Jerry Flood --- .../OptimizerValidation/EmptyChangeWindows.json | 37 +++++++++++++++++++ .../OptimizerValidation/EmptyElements.json | 32 +++++++++++++++++ .../OptimizerValidation/InvalidChangeWindow.json | 41 ++++++++++++++++++++++ .../OptimizerValidation/MissingChangeWindow.json | 35 ++++++++++++++++++ .../MissingConcurrencyLimit.json | 40 +++++++++++++++++++++ .../OptimizerValidation/MissingElementId.json | 40 +++++++++++++++++++++ .../OptimizerValidation/MissingElements.json | 30 ++++++++++++++++ .../OptimizerValidation/MissingEndTime.json | 40 +++++++++++++++++++++ .../OptimizerValidation/MissingNormalDuration.json | 40 +++++++++++++++++++++ .../OptimizerValidation/MissingRequestId.json | 40 +++++++++++++++++++++ .../OptimizerValidation/MissingStartTime.json | 40 +++++++++++++++++++++ 11 files changed, 415 insertions(+) create mode 100644 cmso-robot/robot/assets/templates/OptimizerValidation/EmptyChangeWindows.json create mode 100644 cmso-robot/robot/assets/templates/OptimizerValidation/EmptyElements.json create mode 100644 cmso-robot/robot/assets/templates/OptimizerValidation/InvalidChangeWindow.json create mode 100644 cmso-robot/robot/assets/templates/OptimizerValidation/MissingChangeWindow.json create mode 100644 cmso-robot/robot/assets/templates/OptimizerValidation/MissingConcurrencyLimit.json create mode 100644 cmso-robot/robot/assets/templates/OptimizerValidation/MissingElementId.json create mode 100644 cmso-robot/robot/assets/templates/OptimizerValidation/MissingElements.json create mode 100644 cmso-robot/robot/assets/templates/OptimizerValidation/MissingEndTime.json create mode 100644 cmso-robot/robot/assets/templates/OptimizerValidation/MissingNormalDuration.json create mode 100644 cmso-robot/robot/assets/templates/OptimizerValidation/MissingRequestId.json create mode 100644 cmso-robot/robot/assets/templates/OptimizerValidation/MissingStartTime.json (limited to 'cmso-robot/robot/assets/templates') diff --git a/cmso-robot/robot/assets/templates/OptimizerValidation/EmptyChangeWindows.json b/cmso-robot/robot/assets/templates/OptimizerValidation/EmptyChangeWindows.json new file mode 100644 index 0000000..1cb07f1 --- /dev/null +++ b/cmso-robot/robot/assets/templates/OptimizerValidation/EmptyChangeWindows.json @@ -0,0 +1,37 @@ +{ + "requestId": "${uuid}", + "concurrencyLimit": 0, + "normalDuration": 0, + "additionalDuration": 0, + "commonData": [ + { + "name": "string", + "value": {} + } + ], + "changeWindows": [ + ], + "elements": [ + { + "elementId": "string", + "elementData": [ + { + "name": "string", + "value": {} + } + ] + } + ], + "policies": [ + { + "policyName": "string", + "policyDescription": "string", + "policyModifiers": [ + { + "name": "string", + "value": {} + } + ] + } + ] +} \ No newline at end of file diff --git a/cmso-robot/robot/assets/templates/OptimizerValidation/EmptyElements.json b/cmso-robot/robot/assets/templates/OptimizerValidation/EmptyElements.json new file mode 100644 index 0000000..ae0d07f --- /dev/null +++ b/cmso-robot/robot/assets/templates/OptimizerValidation/EmptyElements.json @@ -0,0 +1,32 @@ +{ + "requestId": "${uuid}", + "concurrencyLimit": 0, + "normalDuration": 0, + "additionalDuration": 0, + "commonData": [ + { + "name": "string", + "value": {} + } + ], + "changeWindows": [ + { + "startTime": "2019-03-27T12:44:37.340Z", + "endTime": "2019-03-27T12:44:37.340Z" + } + ], + "elements": [ + ], + "policies": [ + { + "policyName": "string", + "policyDescription": "string", + "policyModifiers": [ + { + "name": "string", + "value": {} + } + ] + } + ] +} \ No newline at end of file diff --git a/cmso-robot/robot/assets/templates/OptimizerValidation/InvalidChangeWindow.json b/cmso-robot/robot/assets/templates/OptimizerValidation/InvalidChangeWindow.json new file mode 100644 index 0000000..d85f2c4 --- /dev/null +++ b/cmso-robot/robot/assets/templates/OptimizerValidation/InvalidChangeWindow.json @@ -0,0 +1,41 @@ +{ + "requestId": "${uuid}", + "concurrencyLimit": 0, + "normalDuration": 0, + "additionalDuration": 0, + "commonData": [ + { + "name": "string", + "value": {} + } + ], + "changeWindows": [ + { + "startTime": "2019-03-27T12:44:37.340Z", + "endTime": "2019-03-27T12:44:37.340Z" + } + ], + "elements": [ + { + "elementId": "string", + "elementData": [ + { + "name": "string", + "value": {} + } + ] + } + ], + "policies": [ + { + "policyName": "string", + "policyDescription": "string", + "policyModifiers": [ + { + "name": "string", + "value": {} + } + ] + } + ] +} \ No newline at end of file diff --git a/cmso-robot/robot/assets/templates/OptimizerValidation/MissingChangeWindow.json b/cmso-robot/robot/assets/templates/OptimizerValidation/MissingChangeWindow.json new file mode 100644 index 0000000..37611dc --- /dev/null +++ b/cmso-robot/robot/assets/templates/OptimizerValidation/MissingChangeWindow.json @@ -0,0 +1,35 @@ +{ + "requestId": "${uuid}", + "concurrencyLimit": 0, + "normalDuration": 0, + "additionalDuration": 0, + "commonData": [ + { + "name": "string", + "value": {} + } + ], + "elements": [ + { + "elementId": "string", + "elementData": [ + { + "name": "string", + "value": {} + } + ] + } + ], + "policies": [ + { + "policyName": "string", + "policyDescription": "string", + "policyModifiers": [ + { + "name": "string", + "value": {} + } + ] + } + ] +} \ No newline at end of file diff --git a/cmso-robot/robot/assets/templates/OptimizerValidation/MissingConcurrencyLimit.json b/cmso-robot/robot/assets/templates/OptimizerValidation/MissingConcurrencyLimit.json new file mode 100644 index 0000000..5d6cbca --- /dev/null +++ b/cmso-robot/robot/assets/templates/OptimizerValidation/MissingConcurrencyLimit.json @@ -0,0 +1,40 @@ +{ + "requestId": "${uuid}", + "normalDuration": 0, + "additionalDuration": 0, + "commonData": [ + { + "name": "string", + "value": {} + } + ], + "changeWindows": [ + { + "startTime": "2019-03-27T12:44:37.340Z", + "endTime": "2019-03-27T12:44:37.340Z" + } + ], + "elements": [ + { + "elementId": "string", + "elementData": [ + { + "name": "string", + "value": {} + } + ] + } + ], + "policies": [ + { + "policyName": "string", + "policyDescription": "string", + "policyModifiers": [ + { + "name": "string", + "value": {} + } + ] + } + ] +} \ No newline at end of file diff --git a/cmso-robot/robot/assets/templates/OptimizerValidation/MissingElementId.json b/cmso-robot/robot/assets/templates/OptimizerValidation/MissingElementId.json new file mode 100644 index 0000000..4397a99 --- /dev/null +++ b/cmso-robot/robot/assets/templates/OptimizerValidation/MissingElementId.json @@ -0,0 +1,40 @@ +{ + "requestId": "${uuid}", + "concurrencyLimit": 0, + "normalDuration": 0, + "additionalDuration": 0, + "commonData": [ + { + "name": "string", + "value": {} + } + ], + "changeWindows": [ + { + "startTime": "2019-03-27T12:44:37.340Z", + "endTime": "2019-03-27T12:44:37.340Z" + } + ], + "elements": [ + { + "elementData": [ + { + "name": "string", + "value": {} + } + ] + } + ], + "policies": [ + { + "policyName": "string", + "policyDescription": "string", + "policyModifiers": [ + { + "name": "string", + "value": {} + } + ] + } + ] +} \ No newline at end of file diff --git a/cmso-robot/robot/assets/templates/OptimizerValidation/MissingElements.json b/cmso-robot/robot/assets/templates/OptimizerValidation/MissingElements.json new file mode 100644 index 0000000..2d1cea9 --- /dev/null +++ b/cmso-robot/robot/assets/templates/OptimizerValidation/MissingElements.json @@ -0,0 +1,30 @@ +{ + "requestId": "${uuid}", + "concurrencyLimit": 0, + "normalDuration": 0, + "additionalDuration": 0, + "commonData": [ + { + "name": "string", + "value": {} + } + ], + "changeWindows": [ + { + "startTime": "2019-03-27T12:44:37.340Z", + "endTime": "2019-03-27T12:44:37.340Z" + } + ], + "policies": [ + { + "policyName": "string", + "policyDescription": "string", + "policyModifiers": [ + { + "name": "string", + "value": {} + } + ] + } + ] +} \ No newline at end of file diff --git a/cmso-robot/robot/assets/templates/OptimizerValidation/MissingEndTime.json b/cmso-robot/robot/assets/templates/OptimizerValidation/MissingEndTime.json new file mode 100644 index 0000000..8c9d8bb --- /dev/null +++ b/cmso-robot/robot/assets/templates/OptimizerValidation/MissingEndTime.json @@ -0,0 +1,40 @@ +{ + "requestId": "${uuid}", + "concurrencyLimit": 0, + "normalDuration": 0, + "additionalDuration": 0, + "commonData": [ + { + "name": "string", + "value": {} + } + ], + "changeWindows": [ + { + "startTime": "2019-03-27T12:44:37.340Z" + } + ], + "elements": [ + { + "elementId": "string", + "elementData": [ + { + "name": "string", + "value": {} + } + ] + } + ], + "policies": [ + { + "policyName": "string", + "policyDescription": "string", + "policyModifiers": [ + { + "name": "string", + "value": {} + } + ] + } + ] +} \ No newline at end of file diff --git a/cmso-robot/robot/assets/templates/OptimizerValidation/MissingNormalDuration.json b/cmso-robot/robot/assets/templates/OptimizerValidation/MissingNormalDuration.json new file mode 100644 index 0000000..97152af --- /dev/null +++ b/cmso-robot/robot/assets/templates/OptimizerValidation/MissingNormalDuration.json @@ -0,0 +1,40 @@ +{ + "requestId": "${uuid}", + "concurrencyLimit": 0, + "additionalDuration": 0, + "commonData": [ + { + "name": "string", + "value": {} + } + ], + "changeWindows": [ + { + "startTime": "2019-03-27T12:44:37.340Z", + "endTime": "2019-03-27T12:44:37.340Z" + } + ], + "elements": [ + { + "elementId": "string", + "elementData": [ + { + "name": "string", + "value": {} + } + ] + } + ], + "policies": [ + { + "policyName": "string", + "policyDescription": "string", + "policyModifiers": [ + { + "name": "string", + "value": {} + } + ] + } + ] +} \ No newline at end of file diff --git a/cmso-robot/robot/assets/templates/OptimizerValidation/MissingRequestId.json b/cmso-robot/robot/assets/templates/OptimizerValidation/MissingRequestId.json new file mode 100644 index 0000000..388c437 --- /dev/null +++ b/cmso-robot/robot/assets/templates/OptimizerValidation/MissingRequestId.json @@ -0,0 +1,40 @@ +{ + "concurrencyLimit": 0, + "normalDuration": 0, + "additionalDuration": 0, + "commonData": [ + { + "name": "string", + "value": {} + } + ], + "changeWindows": [ + { + "startTime": "2019-03-27T12:44:37.340Z", + "endTime": "2019-03-28T12:44:37.340Z" + } + ], + "elements": [ + { + "elementId": "string", + "elementData": [ + { + "name": "string", + "value": {} + } + ] + } + ], + "policies": [ + { + "policyName": "string", + "policyDescription": "string", + "policyModifiers": [ + { + "name": "string", + "value": {} + } + ] + } + ] +} \ No newline at end of file diff --git a/cmso-robot/robot/assets/templates/OptimizerValidation/MissingStartTime.json b/cmso-robot/robot/assets/templates/OptimizerValidation/MissingStartTime.json new file mode 100644 index 0000000..d59aa32 --- /dev/null +++ b/cmso-robot/robot/assets/templates/OptimizerValidation/MissingStartTime.json @@ -0,0 +1,40 @@ +{ + "requestId": "${uuid}", + "concurrencyLimit": 0, + "normalDuration": 0, + "additionalDuration": 0, + "commonData": [ + { + "name": "string", + "value": {} + } + ], + "changeWindows": [ + { + "endTime": "2019-03-27T12:44:37.340Z" + } + ], + "elements": [ + { + "elementId": "string", + "elementData": [ + { + "name": "string", + "value": {} + } + ] + } + ], + "policies": [ + { + "policyName": "string", + "policyDescription": "string", + "policyModifiers": [ + { + "name": "string", + "value": {} + } + ] + } + ] +} \ No newline at end of file -- cgit 1.2.3-korg