Update starter-type
[ccsdk/cds.git] / components / model-catalog / blueprint-model / test-blueprint / capability_python / Definitions / node_types.json
1 {
2   "node_types" : {
3     "component-jython-executor" : {
4       "description" : "This is Jython Execution Component.",
5       "version" : "1.0.0",
6       "capabilities" : {
7         "component-node" : {
8           "type" : "tosca.capabilities.Node"
9         }
10       },
11       "interfaces" : {
12         "ComponentJythonExecutor" : {
13           "operations" : {
14             "process" : {
15               "inputs" : {
16                 "instance-dependencies" : {
17                   "description" : "Instance Names to Inject to Jython Script.",
18                   "required" : true,
19                   "type" : "list",
20                   "entry_schema" : {
21                     "type" : "string"
22                   }
23                 }
24               },
25               "outputs" : {
26                 "response-data" : {
27                   "description" : "Execution Response Data in JSON format.",
28                   "required" : false,
29                   "type" : "string"
30                 },
31                 "status" : {
32                   "description" : "Status of the Component Execution ( success or failure )",
33                   "required" : true,
34                   "type" : "string"
35                 }
36               }
37             }
38           }
39         }
40       },
41       "derived_from" : "tosca.nodes.component.Jython"
42     },
43     "component-resource-resolution" : {
44       "description" : "This is Resource Assignment Component API",
45       "version" : "1.0.0",
46       "attributes" : {
47         "assignment-params" : {
48           "required" : true,
49           "type" : "string"
50         }
51       },
52       "capabilities" : {
53         "component-node" : {
54           "type" : "tosca.capabilities.Node"
55         }
56       },
57       "interfaces" : {
58         "ResourceResolutionComponent" : {
59           "operations" : {
60             "process" : {
61               "inputs" : {
62                 "template-name" : {
63                   "description" : "Service Template Name.",
64                   "required" : true,
65                   "type" : "string"
66                 },
67                 "template-version" : {
68                   "description" : "Service Template Version.",
69                   "required" : true,
70                   "type" : "string"
71                 },
72                 "resource-type" : {
73                   "description" : "Request type.",
74                   "required" : true,
75                   "type" : "string"
76                 },
77                 "template-names" : {
78                   "description" : "Name of the artifact Node Templates, to get the template Content.",
79                   "required" : true,
80                   "type" : "list",
81                   "entry_schema" : {
82                     "type" : "string"
83                   }
84                 },
85                 "artifact-prefix-names" : {
86                   "description" : "Template , Resource Assignment Artifact Prefix names",
87                   "required" : false,
88                   "type" : "list",
89                   "entry_schema" : {
90                     "type" : "string"
91                   }
92                 },
93                 "request-id" : {
94                   "description" : "Request Id, Unique Id for the request.",
95                   "required" : false,
96                   "type" : "string"
97                 },
98                 "resource-id" : {
99                   "description" : "Resource Id.",
100                   "required" : false,
101                   "type" : "string"
102                 },
103                 "action-name" : {
104                   "description" : "Action Name of the process",
105                   "required" : false,
106                   "type" : "string"
107                 }
108               },
109               "outputs" : {
110                 "resource-assignment-params" : {
111                   "required" : true,
112                   "type" : "string"
113                 },
114                 "status" : {
115                   "required" : true,
116                   "type" : "string"
117                 }
118               }
119             }
120           }
121         }
122       },
123       "derived_from" : "tosca.nodes.Component"
124     },
125     "dg-generic" : {
126       "description" : "This is Generic Directed Graph Type",
127       "version" : "1.0.0",
128       "properties" : {
129         "content" : {
130           "required" : true,
131           "type" : "string"
132         },
133         "dependency-node-templates" : {
134           "description" : "Dependent Step Components NodeTemplate name.",
135           "required" : true,
136           "type" : "list",
137           "entry_schema" : {
138             "type" : "string"
139           }
140         }
141       },
142       "derived_from" : "tosca.nodes.Workflow"
143     },
144     "source-input" : {
145       "description" : "This is Input Resource Source Node Type",
146       "version" : "1.0.0",
147       "properties" : {
148         "key" : {
149           "required" : false,
150           "type" : "string"
151         },
152         "key-dependencies" : {
153           "required" : true,
154           "type" : "list",
155           "entry_schema" : {
156             "type" : "string"
157           }
158         }
159       },
160       "derived_from" : "tosca.nodes.ResourceSource"
161     },
162     "tosca.nodes.Component" : {
163       "description" : "This is default Component Node",
164       "version" : "1.0.0",
165       "derived_from" : "tosca.nodes.Root"
166     },
167     "tosca.nodes.Workflow" : {
168       "description" : "This is Directed Graph Node Type",
169       "version" : "1.0.0",
170       "derived_from" : "tosca.nodes.Root"
171     },
172     "tosca.nodes.ResourceSource" : {
173       "description" : "TOSCA base type for Resource Sources",
174       "version" : "1.0.0",
175       "derived_from" : "tosca.nodes.Root"
176     },
177     "tosca.nodes.component.Jython" : {
178       "description" : "This is Jython Component",
179       "version" : "1.0.0",
180       "derived_from" : "tosca.nodes.Root"
181     }
182   }
183 }