aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/resources/tosca
diff options
context:
space:
mode:
authorsebdet <sebastien.determe@intl.att.com>2020-03-24 08:51:20 -0700
committersebdet <sebastien.determe@intl.att.com>2020-03-24 08:51:20 -0700
commite65d457a2dfd6ebb5e1f5a28b74f05c16c285dc3 (patch)
treec1b72bb7924c826484b89d931f6a4a298082e64a /src/test/resources/tosca
parentafac3121bfacc4d81903b1d8492613b0b77d3298 (diff)
Improve metadata support
Improve the metadata support for CDS and default values Issue-ID: CLAMP-786 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I8a24e31a93ff1e288ec8f0f6d522b1b15d39a8d2
Diffstat (limited to 'src/test/resources/tosca')
-rw-r--r--src/test/resources/tosca/new-converter/tosca_apex_with_metadata.json45
1 files changed, 39 insertions, 6 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 a44b94e0..3fda1111 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
@@ -66,15 +66,20 @@
"type": "string",
"description": "The actor performing the operation.",
"enum": [
- "CDS",
+ "SDNR",
"SDNC",
- "SO"
+ "VFC",
+ "SO",
+ "APPC",
+ "CDS"
],
"options": {
"enum_titles": [
- "CDS",
+ "SDNR",
"SDNC",
- "SO"
+ "VFC",
+ "SO",
+ "APPC"
]
}
},
@@ -82,13 +87,41 @@
"type": "string",
"description": "The operation the actor is performing.",
"enum": [
+ "BandwidthOnDemand",
+ "VF Module Delete",
+ "Reroute",
+ "VF Module Create",
+ "ModifyConfig",
+ "Rebuild",
+ "Restart",
+ "Migrate",
+ "Health-Check",
"resource-assignment",
"activate",
"activate-restconf",
"activate-cli",
"assign-activate",
"imperative-test-wf"
- ]
+ ],
+ "options": {
+ "enum_titles": [
+ "BandwidthOnDemand (SDNC operation)",
+ "VF Module Delete (SO operation)",
+ "Reroute (SDNC operation)",
+ "VF Module Create (SO operation)",
+ "ModifyConfig (APPC/VFC operation)",
+ "Rebuild (APPC operation)",
+ "Restart (APPC operation)",
+ "Migrate (APPC operation)",
+ "Health-Check (APPC operation)",
+ "resource-assignment (CDS operation)",
+ "activate (CDS operation)",
+ "activate-restconf (CDS operation)",
+ "activate-cli (CDS operation)",
+ "assign-activate (CDS operation)",
+ "imperative-test-wf (CDS operation)"
+ ]
+ }
},
"target": {
"title": "onap.datatype.controlloop.Target",
@@ -294,7 +327,7 @@
"payload": {
"type": "object",
"description": "Name/value pairs of payload information passed by Policy to the actor",
- "anyOf": [
+ "enum": [
{
"title": "resource-assignment",
"properties": {