diff options
Diffstat (limited to 'components/model-catalog/blueprint-model/test-blueprint/baseconfiguration/Definitions')
3 files changed, 37 insertions, 0 deletions
diff --git a/components/model-catalog/blueprint-model/test-blueprint/baseconfiguration/Definitions/activation-blueprint.json b/components/model-catalog/blueprint-model/test-blueprint/baseconfiguration/Definitions/activation-blueprint.json index 85a056c5e..c506ad05e 100644 --- a/components/model-catalog/blueprint-model/test-blueprint/baseconfiguration/Definitions/activation-blueprint.json +++ b/components/model-catalog/blueprint-model/test-blueprint/baseconfiguration/Definitions/activation-blueprint.json @@ -180,6 +180,14 @@ "type": "artifact-mapping-resource", "file": "Definitions/another-mapping.json" }, + "maxoccurrence-template": { + "type": "artifact-template-velocity", + "file": "Templates/maxoccurrence-template.vtl" + }, + "maxoccurrence-mapping": { + "type": "artifact-mapping-resource", + "file": "Definitions/maxoccurrence-mapping.json" + }, "notemplate-mapping": { "type": "artifact-mapping-resource", "file": "Definitions/notemplate-mapping.json" diff --git a/components/model-catalog/blueprint-model/test-blueprint/baseconfiguration/Definitions/data_types.json b/components/model-catalog/blueprint-model/test-blueprint/baseconfiguration/Definitions/data_types.json index 6d771cd68..94c587af7 100644 --- a/components/model-catalog/blueprint-model/test-blueprint/baseconfiguration/Definitions/data_types.json +++ b/components/model-catalog/blueprint-model/test-blueprint/baseconfiguration/Definitions/data_types.json @@ -51,6 +51,12 @@ "vnf_name": { "required": true, "type": "string" + }, + "firmware-version": { + "type" : "string" + }, + "ip-address": { + "type" : "string" } }, "derived_from": "tosca.datatypes.Dynamic" diff --git a/components/model-catalog/blueprint-model/test-blueprint/baseconfiguration/Definitions/maxoccurrence-mapping.json b/components/model-catalog/blueprint-model/test-blueprint/baseconfiguration/Definitions/maxoccurrence-mapping.json new file mode 100644 index 000000000..729488520 --- /dev/null +++ b/components/model-catalog/blueprint-model/test-blueprint/baseconfiguration/Definitions/maxoccurrence-mapping.json @@ -0,0 +1,23 @@ +[ + { + "name": "firmware-version", + "input-param": true, + "property": { + "type": "string" + }, + "dictionary-name": "input-source", + "dictionary-source": "input", + "dependencies": [] + }, + { + "name": "ip-address", + "input-param": true, + "property": { + "type": "string" + }, + "max-occurrence": 1, + "dictionary-name": "input-source", + "dictionary-source": "input", + "dependencies": [] + } +]
\ No newline at end of file |