aboutsummaryrefslogtreecommitdiffstats
path: root/components/model-catalog/definition-type/starter-type/node_type/component-config-generator.json
blob: 764f9e8906a29e630a474e0963111b64e31ca586 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
{
	"description": "This is Generate Configuration Component API",
	"version": "1.0.0",
	"capabilities": {
		"component-node": {
			"type": "tosca.capabilities.Node"
		}
	},
	"interfaces": {
		"org-openecomp-sdnc-config-generator-service-ConfigGeneratorNode": {
			"operations": {
				"process": {
					"inputs": {
						"template-data": {
							"description": "Conditional : JSON string which is used to mash with template. Either template-data or ( resource-id and resource-type ) should be present",
							"required": false,
							"type": "string"
						},
						"template-content": {
							"description": "Conditional : Dynamic Template used to generate Configuration.",
							"required": false,
							"type": "string"
						},
						"resource-type": {
							"description": "Conditional : resource-type used to pull the data content from the data base. Either template-data or ( resource-id and resource-type ) should be present",
							"required": false,
							"type": "string"
						},
						"request-id": {
							"description": "Request Id used to store the generated configuration, in the database along with the template-name",
							"required": true,
							"type": "string"
						},
						"resource-id": {
							"description": "Conditional : Id used to pull the data content from the data base. Either template-data or ( resource-id and resource-type ) should be present",
							"required": false,
							"type": "string"
						},
						"action-name": {
							"description": "Conditional : Action Name to get from Database, Either (message & mask-info ) or ( resource-id & resource-type & action-name & template-name ) should be present. Message will be given higest priority",
							"required": false,
							"type": "string"
						},
						"template-name": {
							"description": "Conditional : Name of the Artifact Node Template, to get the template Content. If template-content is present, then content wont be reterived from the Artifact Node Template.",
							"required": true,
							"type": "string"
						}
					},
					"outputs": {
						"generated-config": {
							"description": "Generated Configuration for the Template adn Resource Data",
							"required": true,
							"type": "string"
						},
						"mask-info": {
							"description": "If template contains mask encription keys, then this mask-info field will be generated, This JSON Content alligns to the bean org.onap.ccsdk.apps.controllerblueprints.core.data.custom.MaskInfo ",
							"required": false,
							"type": "string"
						},
						"status": {
							"description": "Status of the Component Execution ( success or failure )",
							"required": true,
							"type": "string"
						}
					}
				}
			}
		}
	},
	"derived_from": "tosca.nodes.Component"
}