aboutsummaryrefslogtreecommitdiffstats
path: root/src/test
diff options
context:
space:
mode:
authorsebdet <sebastien.determe@intl.att.com>2020-04-23 03:01:37 +0200
committersebdet <sebastien.determe@intl.att.com>2020-04-23 03:31:47 +0200
commitab9bc444f84f2cbb89747543657de3a54e4554b8 (patch)
tree71170f3205afacc8a894bdbb1b1f240e6dc65511 /src/test
parentd187e9e689fe39cbabe9cb82ea6959e49ff64354 (diff)
Fix entityId bug
A user defined entry has been added to the entity id by default, so that json editor falls back to that value when re-editing the policies Issue-ID: CLAMP-829 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I593163f87df9f97a19964428bf2016154dc9576d
Diffstat (limited to 'src/test')
-rw-r--r--src/test/resources/tosca/new-converter/tosca_apex_with_metadata.json4
-rw-r--r--src/test/resources/tosca/operational-policy-cds-payload-with-list.json4
-rw-r--r--src/test/resources/tosca/operational-policy-json-schema.json6
3 files changed, 13 insertions, 1 deletions
diff --git a/src/test/resources/tosca/new-converter/tosca_apex_with_metadata.json b/src/test/resources/tosca/new-converter/tosca_apex_with_metadata.json
index ad985292..e03e48fc 100644
--- a/src/test/resources/tosca/new-converter/tosca_apex_with_metadata.json
+++ b/src/test/resources/tosca/new-converter/tosca_apex_with_metadata.json
@@ -258,6 +258,10 @@
"description": "Map of values that identify the resource. If none are provided, it is assumed that the\nentity that generated the ONSET event will be the target.\n",
"anyOf": [
{
+ "title": "User defined",
+ "properties": {}
+ },
+ {
"title": "VNF-vLoadBalancerMS 0",
"properties": {
"resourceID": {
diff --git a/src/test/resources/tosca/operational-policy-cds-payload-with-list.json b/src/test/resources/tosca/operational-policy-cds-payload-with-list.json
index 13b468ea..81f21d07 100644
--- a/src/test/resources/tosca/operational-policy-cds-payload-with-list.json
+++ b/src/test/resources/tosca/operational-policy-cds-payload-with-list.json
@@ -372,6 +372,10 @@
}
},
{
+ "title": "User defined",
+ "properties": {}
+ },
+ {
"title": "VNF-vLoadBalancerMS 0",
"properties": {
"type": {
diff --git a/src/test/resources/tosca/operational-policy-json-schema.json b/src/test/resources/tosca/operational-policy-json-schema.json
index 9dee089e..f6c180aa 100644
--- a/src/test/resources/tosca/operational-policy-json-schema.json
+++ b/src/test/resources/tosca/operational-policy-json-schema.json
@@ -730,6 +730,10 @@
}
},
{
+ "title": "User defined",
+ "properties": {}
+ },
+ {
"title": "VNF-vLoadBalancerMS 0",
"properties": {
"type": {
@@ -1091,4 +1095,4 @@
}
}
}
-}
+} \ No newline at end of file