aboutsummaryrefslogtreecommitdiffstats
path: root/components
diff options
context:
space:
mode:
authorDan Timoney <dtimoney@att.com>2019-04-02 18:10:23 +0000
committerGerrit Code Review <gerrit@onap.org>2019-04-02 18:10:23 +0000
commitadd0df2429c787de6de8238f8f87eb71a26a9be7 (patch)
tree0f5b96c5c35ebe4aa30281e37ccd9278f5cc5b61 /components
parent5e4720c9a7698ee29f74c81666b2b56bf16b46c3 (diff)
parente8db37654457e9a83136da39006e962048295cf5 (diff)
Merge "Complementary Junit test coverage"
Diffstat (limited to 'components')
-rw-r--r--components/model-catalog/blueprint-model/test-blueprint/baseconfiguration/Definitions/activation-blueprint.json8
-rw-r--r--components/model-catalog/blueprint-model/test-blueprint/baseconfiguration/Definitions/another-mapping.json36
-rw-r--r--components/model-catalog/blueprint-model/test-blueprint/baseconfiguration/Templates/another-template.vtl1
3 files changed, 45 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 fdc18c56d..78a9d8c69 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
@@ -171,6 +171,14 @@
"baseconfig-mapping": {
"type": "artifact-mapping-resource",
"file": "Definitions/baseconfig-mapping.json"
+ },
+ "another-template": {
+ "type": "artifact-template-velocity",
+ "file": "Templates/another-template.vtl"
+ },
+ "another-mapping": {
+ "type": "artifact-mapping-resource",
+ "file": "Definitions/another-mapping.json"
}
}
},
diff --git a/components/model-catalog/blueprint-model/test-blueprint/baseconfiguration/Definitions/another-mapping.json b/components/model-catalog/blueprint-model/test-blueprint/baseconfiguration/Definitions/another-mapping.json
new file mode 100644
index 000000000..67d2a914e
--- /dev/null
+++ b/components/model-catalog/blueprint-model/test-blueprint/baseconfiguration/Definitions/another-mapping.json
@@ -0,0 +1,36 @@
+[
+ {
+ "name": "service-instance-id",
+ "input-param": true,
+ "property": {
+ "type": "string"
+ },
+ "dictionary-name": "service-instance-id",
+ "dictionary-source": "input",
+ "dependencies": [
+ ]
+ },
+ {
+ "name": "vnf-id",
+ "input-param": true,
+ "property": {
+ "type": "string"
+ },
+ "dictionary-name": "vnf-id",
+ "dictionary-source": "input",
+ "dependencies": []
+ },
+ {
+ "name": "vnf_name",
+ "input-param": false,
+ "property": {
+ "type": "string"
+ },
+ "dictionary-name": "vnf_name",
+ "dictionary-source": "primary-config-data",
+ "dependencies": [
+ "service-instance-id",
+ "vnf-id"
+ ]
+ }
+]
diff --git a/components/model-catalog/blueprint-model/test-blueprint/baseconfiguration/Templates/another-template.vtl b/components/model-catalog/blueprint-model/test-blueprint/baseconfiguration/Templates/another-template.vtl
new file mode 100644
index 000000000..026c59176
--- /dev/null
+++ b/components/model-catalog/blueprint-model/test-blueprint/baseconfiguration/Templates/another-template.vtl
@@ -0,0 +1 @@
+This is Sample Velocity Template \ No newline at end of file