aboutsummaryrefslogtreecommitdiffstats
path: root/components/model-catalog
diff options
context:
space:
mode:
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