139ebb1a370412c41c378616f207e7bd366ec5ad
[ccsdk/cds.git] /
1 {
2   "node_types": {
3     "dg-activate": {
4       "description": "This is BPMN Activate node type",
5       "version": "1.0.0",
6       "properties": {
7         "content": {
8           "required": false,
9           "type": "string"
10         },
11         "process-name": {
12           "required": false,
13           "type": "string"
14         },
15         "version": {
16           "required": false,
17           "type": "string",
18           "default": "LATEST"
19         }
20       },
21       "derived_from": "tosca.nodes.DG"
22     },
23     "tosca.nodes.Component": {
24       "description": "This is Resource Assignment Component API",
25       "version": "1.0.0",
26       "derived_from": "tosca.nodes.Root"
27     },
28     "tosca.nodes.DG": {
29       "description": "This is Directed Graph Node Type",
30       "version": "1.0.0",
31       "derived_from": "tosca.nodes.Root"
32     },
33     "tosca.nodes.component.Jython": {
34       "description": "This is Resource Assignment Jython Component API",
35       "version": "1.0.0",
36       "derived_from": "tosca.nodes.Root"
37     },
38     "component-resource-assignment": {
39       "description": "This is Resource Assignment Component API",
40       "version": "1.0.0",
41       "properties": {
42         "request-id": {
43           "description": "Request Id used to store the generated configuration, in the database along with the template-name",
44           "required": true,
45           "type": "string"
46         }
47       },
48       "interfaces": {
49         "ResourceAssignmentComponent": {
50           "operations": {
51             "process": {
52               "inputs": {
53                 "action-name": {
54                   "description": "Recipe 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",
55                   "required": false,
56                   "type": "string"
57                 },
58                 "resource-type": {
59                   "required": false,
60                   "type": "string"
61                 },
62                 "request-id": {
63                   "description": "Request Id used to store the generated configuration, in the database along with the template-name",
64                   "required": true,
65                   "type": "string"
66                 },
67                 "resource-id": {
68                   "description": "Id used to pull the data content from the data base. Either template-data or resource-id should be present",
69                   "required": true,
70                   "type": "string"
71                 },
72                 "template-content": {
73                   "description": "Id used to pull the data content from the data base. Either template-data or resource-id should be present",
74                   "required": true,
75                   "type": "string"
76                 },
77                 "mapping-content": {
78                   "description": "Id used to pull the data content from the data base. Either template-data or resource-id should be present",
79                   "required": true,
80                   "type": "string"
81                 }
82               },
83               "outputs": {
84                 "resource-assignment-params": {
85                   "required": true,
86                   "type": "string"
87                 },
88                 "status": {
89                   "required": true,
90                   "type": "string"
91                 }
92               }
93             }
94           }
95         }
96       },
97       "derived_from": "tosca.nodes.Component"
98     },
99     "component-jython-executor": {
100       "description": "This is Jython Execution Component.",
101       "version": "1.0.0",
102       "capabilities": {
103         "component-node": {
104           "type": "tosca.capabilities.Node"
105         }
106       },
107       "interfaces": {
108         "JythonExecutorComponent": {
109           "operations": {
110             "process": {
111               "outputs": {
112                 "response-data": {
113                   "description": "Execution Response Data in JSON format.",
114                   "required": false,
115                   "type": "string"
116                 },
117                 "status": {
118                   "description": "Status of the Component Execution ( success or failure )",
119                   "required": true,
120                   "type": "string"
121                 }
122               }
123             }
124           }
125         }
126       },
127       "derived_from": "tosca.nodes.component.Jython"
128     }
129   }
130 }