aboutsummaryrefslogtreecommitdiffstats
path: root/components/model-catalog
diff options
context:
space:
mode:
authorMuthuramalingam, Brinda Santh(bs2796) <bs2796@att.com>2018-12-12 16:49:04 -0500
committerMuthuramalingam, Brinda Santh(bs2796) <bs2796@att.com>2018-12-12 16:49:04 -0500
commit478a8a7a321556ed01ec757cde3c827ef10690c0 (patch)
treef7cc147e8933c8b2e6e3b195e7b76b700c18ac70 /components/model-catalog
parent5955693557579edc0c936fe35cb060991f0ee77a (diff)
Add multiple location repo for enhancer.
Change-Id: I5333b30fad8d754caf8dc89956132e4637f28c26 Issue-ID: CCSDK-803 Signed-off-by: Muthuramalingam, Brinda Santh(bs2796) <bs2796@att.com>
Diffstat (limited to 'components/model-catalog')
-rw-r--r--components/model-catalog/blueprint-model/starter-blueprint/baseconfiguration/Definitions/activation-blueprint.json33
-rw-r--r--components/model-catalog/blueprint-model/starter-blueprint/baseconfiguration/Definitions/node_types.json13
-rw-r--r--components/model-catalog/definition-type/starter-type/node_type/dg-generic.json11
3 files changed, 16 insertions, 41 deletions
diff --git a/components/model-catalog/blueprint-model/starter-blueprint/baseconfiguration/Definitions/activation-blueprint.json b/components/model-catalog/blueprint-model/starter-blueprint/baseconfiguration/Definitions/activation-blueprint.json
index 446932d54..f756ef7ed 100644
--- a/components/model-catalog/blueprint-model/starter-blueprint/baseconfiguration/Definitions/activation-blueprint.json
+++ b/components/model-catalog/blueprint-model/starter-blueprint/baseconfiguration/Definitions/activation-blueprint.json
@@ -39,17 +39,8 @@
},
"node_templates": {
"resource-assignment-process": {
- "type": "dg-activate",
+ "type": "dg-generic",
"properties": {
- "process-name": {
- "get_input": "action-name"
- },
- "version": {
- "get_property": [
- "SELF",
- "process-name"
- ]
- },
"content": {
"get_artifact": [
"SELF",
@@ -65,17 +56,8 @@
}
},
"activate-process": {
- "type": "dg-activate",
+ "type": "dg-generic",
"properties": {
- "process-name": {
- "get_input": "action-name"
- },
- "version": {
- "get_property": [
- "SELF",
- "process-name"
- ]
- },
"content": {
"get_artifact": [
"SELF",
@@ -91,17 +73,8 @@
}
},
"assign-activate-process": {
- "type": "dg-activate",
+ "type": "dg-generic",
"properties": {
- "process-name": {
- "get_input": "action-name"
- },
- "version": {
- "get_property": [
- "SELF",
- "process-name"
- ]
- },
"content": {
"get_artifact": [
"SELF",
diff --git a/components/model-catalog/blueprint-model/starter-blueprint/baseconfiguration/Definitions/node_types.json b/components/model-catalog/blueprint-model/starter-blueprint/baseconfiguration/Definitions/node_types.json
index 6e8d839ee..8227b82f7 100644
--- a/components/model-catalog/blueprint-model/starter-blueprint/baseconfiguration/Definitions/node_types.json
+++ b/components/model-catalog/blueprint-model/starter-blueprint/baseconfiguration/Definitions/node_types.json
@@ -1,21 +1,12 @@
{
"node_types": {
- "dg-activate": {
+ "dg-generic": {
"description": "This is Generic Directed Graph Type",
"version": "1.0.0",
"properties": {
"content": {
- "required": false,
- "type": "string"
- },
- "process-name": {
- "required": false,
+ "required": true,
"type": "string"
- },
- "version": {
- "required": false,
- "type": "string",
- "default": "LATEST"
}
},
"derived_from": "tosca.nodes.DG"
diff --git a/components/model-catalog/definition-type/starter-type/node_type/dg-generic.json b/components/model-catalog/definition-type/starter-type/node_type/dg-generic.json
new file mode 100644
index 000000000..6274445ca
--- /dev/null
+++ b/components/model-catalog/definition-type/starter-type/node_type/dg-generic.json
@@ -0,0 +1,11 @@
+{
+ "description": "This is Generic Directed Graph Type",
+ "version": "1.0.0",
+ "properties": {
+ "content": {
+ "required": true,
+ "type": "string"
+ }
+ },
+ "derived_from": "tosca.nodes.DG"
+} \ No newline at end of file