aboutsummaryrefslogtreecommitdiffstats
path: root/src/test
diff options
context:
space:
mode:
authorSébastien Determe <sd378r@intl.att.com>2018-05-18 13:50:36 +0000
committerGerrit Code Review <gerrit@onap.org>2018-05-18 13:50:36 +0000
commit0742bc095be9c554e3c43f7a0928aa4ea78091c0 (patch)
treef1a9396f64449d4239cde50378f0c0a5062490f4 /src/test
parentf172e9d4656c960e81f72cc6d6e52770271df9c9 (diff)
parent4e68a4d91db14f6495c3a255bd422b50ff99c841 (diff)
Merge changes from topics 'bugfix/improve-UI-op-policy', 'bugfix/op-policy', 'bugfix/update-2.0.1'
* changes: Help added to targetResourceId Fix op policy Update version to 2.0.1
Diffstat (limited to 'src/test')
-rw-r--r--src/test/resources/example/model-properties/policy/modelBpmnProperties.json30
-rw-r--r--src/test/resources/example/operational-policy/yaml-policy-chain-1.yaml2
-rw-r--r--src/test/resources/example/operational-policy/yaml-policy-chain-2.yaml2
3 files changed, 24 insertions, 10 deletions
diff --git a/src/test/resources/example/model-properties/policy/modelBpmnProperties.json b/src/test/resources/example/model-properties/policy/modelBpmnProperties.json
index 5c2214e84..0ef387529 100644
--- a/src/test/resources/example/model-properties/policy/modelBpmnProperties.json
+++ b/src/test/resources/example/model-properties/policy/modelBpmnProperties.json
@@ -100,7 +100,14 @@
"name": "targetResourceId",
"value":
[
- "resource-id"
+ ""
+ ]
+ },
+ {
+ "name": "targetResourceIdOther",
+ "value":
+ [
+ ""
]
}
],
@@ -162,6 +169,13 @@
[
"resource-id"
]
+ },
+ {
+ "name": "targetResourceIdOther",
+ "value":
+ [
+ "resource-idOther"
+ ]
}
]
]
@@ -227,13 +241,6 @@
[
""
]
- },
- {
- "name": "targetResourceId",
- "value":
- [
- "resource-id"
- ]
}
],
@@ -294,6 +301,13 @@
[
"resource-id"
]
+ },
+ {
+ "name": "targetResourceIdOther",
+ "value":
+ [
+ "resource-idOther"
+ ]
}
]
]
diff --git a/src/test/resources/example/operational-policy/yaml-policy-chain-1.yaml b/src/test/resources/example/operational-policy/yaml-policy-chain-1.yaml
index fec0e1e6c..3d0252a00 100644
--- a/src/test/resources/example/operational-policy/yaml-policy-chain-1.yaml
+++ b/src/test/resources/example/operational-policy/yaml-policy-chain-1.yaml
@@ -31,7 +31,7 @@ policies:
retry: 3
success: <generatedId>
target:
- resourceID: resource-id
+ resourceID: null
type: VM
timeout: 180
- actor: APPC
diff --git a/src/test/resources/example/operational-policy/yaml-policy-chain-2.yaml b/src/test/resources/example/operational-policy/yaml-policy-chain-2.yaml
index fec0e1e6c..3d0252a00 100644
--- a/src/test/resources/example/operational-policy/yaml-policy-chain-2.yaml
+++ b/src/test/resources/example/operational-policy/yaml-policy-chain-2.yaml
@@ -31,7 +31,7 @@ policies:
retry: 3
success: <generatedId>
target:
- resourceID: resource-id
+ resourceID: null
type: VM
timeout: 180
- actor: APPC