aboutsummaryrefslogtreecommitdiffstats
path: root/cmso-robot/robot/assets
diff options
context:
space:
mode:
Diffstat (limited to 'cmso-robot/robot/assets')
-rw-r--r--cmso-robot/robot/assets/templates/OptimizerValidation/EmptyChangeWindows.json37
-rw-r--r--cmso-robot/robot/assets/templates/OptimizerValidation/EmptyElements.json32
-rw-r--r--cmso-robot/robot/assets/templates/OptimizerValidation/InvalidChangeWindow.json41
-rw-r--r--cmso-robot/robot/assets/templates/OptimizerValidation/MissingChangeWindow.json35
-rw-r--r--cmso-robot/robot/assets/templates/OptimizerValidation/MissingConcurrencyLimit.json40
-rw-r--r--cmso-robot/robot/assets/templates/OptimizerValidation/MissingElementId.json40
-rw-r--r--cmso-robot/robot/assets/templates/OptimizerValidation/MissingElements.json30
-rw-r--r--cmso-robot/robot/assets/templates/OptimizerValidation/MissingEndTime.json40
-rw-r--r--cmso-robot/robot/assets/templates/OptimizerValidation/MissingNormalDuration.json40
-rw-r--r--cmso-robot/robot/assets/templates/OptimizerValidation/MissingRequestId.json40
-rw-r--r--cmso-robot/robot/assets/templates/OptimizerValidation/MissingStartTime.json40
-rw-r--r--cmso-robot/robot/assets/test_properties.py5
12 files changed, 420 insertions, 0 deletions
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
diff --git a/cmso-robot/robot/assets/test_properties.py b/cmso-robot/robot/assets/test_properties.py
index bced8ba..74c5aed 100644
--- a/cmso-robot/robot/assets/test_properties.py
+++ b/cmso-robot/robot/assets/test_properties.py
@@ -7,6 +7,11 @@ GLOBAL_SCHEDULER_URL = "http://127.0.0.1:8080"
GLOBAL_SCHEDULER_USER = "oof@oof.onap.org"
GLOBAL_SCHEDULER_PASSWORD = "demo123456!"
+GLOBAL_OPTIMIZER_URL = "http://127.0.0.1:7997"
+GLOBAL_OPTIMIZER_USER = "oof@oof.onap.org"
+GLOBAL_OPTIMIZER_PASSWORD = "demo123456!"
+
+
GLOBAL_CALLBACK_USERID = "onap-user"
GLOBAL_CALLBACK_PASSWORD = "onap-user"