add view feature and decompress zip file
[ccsdk/cds.git] / components / model-catalog / blueprint-model / uat-blueprints / pnf_config_aai / Definitions / node_types.json
1 {
2   "node_types" : {
3     "component-resource-resolution" : {
4       "description" : "This is Resource Assignment Component API",
5       "version" : "1.0.0",
6       "attributes" : {
7         "assignment-params" : {
8           "required" : true,
9           "type" : "string"
10         }
11       },
12       "capabilities" : {
13         "component-node" : {
14           "type" : "tosca.capabilities.Node"
15         }
16       },
17       "interfaces" : {
18         "ResourceResolutionComponent" : {
19           "operations" : {
20             "process" : {
21               "inputs" : {
22                 "resolution-key" : {
23                   "description" : "Key for service instance related correlation.",
24                   "required" : false,
25                   "type" : "string"
26                 },
27                 "occurrence" : {
28                   "description" : "Number of time to perform the resolution.",
29                   "required" : false,
30                   "type" : "integer",
31                   "default" : 1
32                 },
33                 "store-result" : {
34                   "description" : "Whether or not to store the output.",
35                   "required" : false,
36                   "type" : "boolean"
37                 },
38                 "resource-type" : {
39                   "description" : "Request type.",
40                   "required" : false,
41                   "type" : "string"
42                 },
43                 "artifact-prefix-names" : {
44                   "description" : "Template , Resource Assignment Artifact Prefix names",
45                   "required" : true,
46                   "type" : "list",
47                   "entry_schema" : {
48                     "type" : "string"
49                   }
50                 },
51                 "request-id" : {
52                   "description" : "Request Id, Unique Id for the request.",
53                   "required" : true,
54                   "type" : "string"
55                 },
56                 "resource-id" : {
57                   "description" : "Resource Id.",
58                   "required" : false,
59                   "type" : "string"
60                 },
61                 "action-name" : {
62                   "description" : "Action Name of the process",
63                   "required" : false,
64                   "type" : "string"
65                 },
66                 "dynamic-properties" : {
67                   "description" : "Dynamic Json Content or DSL Json reference.",
68                   "required" : false,
69                   "type" : "json"
70                 }
71               },
72               "outputs" : {
73                 "resource-assignment-params" : {
74                   "required" : true,
75                   "type" : "string"
76                 },
77                 "status" : {
78                   "required" : true,
79                   "type" : "string"
80                 }
81               }
82             }
83           }
84         }
85       },
86       "derived_from" : "tosca.nodes.Component"
87     },
88     "component-script-executor" : {
89       "description" : "This is CLI Transaction Configuration Component API",
90       "version" : "1.0.0",
91       "attributes" : {
92         "response-data" : {
93           "required" : false,
94           "type" : "json"
95         }
96       },
97       "capabilities" : {
98         "component-node" : {
99           "type" : "tosca.capabilities.Node"
100         }
101       },
102       "interfaces" : {
103         "ComponentScriptExecutor" : {
104           "operations" : {
105             "process" : {
106               "inputs" : {
107                 "script-type" : {
108                   "description" : "Script type, kotlin type is supported",
109                   "required" : true,
110                   "type" : "string",
111                   "constraints" : [ {
112                     "valid_values" : [ "kotlin", "jython", "internal" ]
113                   } ],
114                   "default" : "internal"
115                 },
116                 "script-class-reference" : {
117                   "description" : "Kotlin Script class name or jython script name.",
118                   "required" : true,
119                   "type" : "string"
120                 },
121                 "dynamic-properties" : {
122                   "description" : "Dynamic Json Content or DSL Json reference.",
123                   "required" : false,
124                   "type" : "json"
125                 }
126               },
127               "outputs" : {
128                 "response-data" : {
129                   "description" : "Execution Response Data.",
130                   "required" : false,
131                   "type" : "string"
132                 },
133                 "status" : {
134                   "description" : "Status of the Component Execution ( success or failure )",
135                   "required" : true,
136                   "type" : "string"
137                 }
138               }
139             }
140           }
141         }
142       },
143       "derived_from" : "tosca.nodes.Component"
144     },
145     "dg-generic" : {
146       "description" : "This is Generic Directed Graph Type",
147       "version" : "1.0.0",
148       "properties" : {
149         "content" : {
150           "required" : true,
151           "type" : "string"
152         },
153         "dependency-node-templates" : {
154           "description" : "Dependent Step Components NodeTemplate name.",
155           "required" : true,
156           "type" : "list",
157           "entry_schema" : {
158             "type" : "string"
159           }
160         }
161       },
162       "derived_from" : "tosca.nodes.Workflow"
163     },
164     "source-input" : {
165       "description" : "This is Input Resource Source Node Type",
166       "version" : "1.0.0",
167       "properties" : { },
168       "derived_from" : "tosca.nodes.ResourceSource"
169     },
170     "source-rest" : {
171       "description" : "This is Rest Resource Source Node Type",
172       "version" : "1.0.0",
173       "properties" : {
174         "type" : {
175           "required" : true,
176           "type" : "string",
177           "constraints" : [ {
178             "valid_values" : [ "JSON" ]
179           } ],
180           "default" : "JSON"
181         },
182         "headers" : {
183           "required" : false,
184           "type" : "map",
185           "entry_schema" : {
186             "type" : "string"
187           }
188         },
189         "verb" : {
190           "required" : true,
191           "type" : "string",
192           "constraints" : [ {
193             "valid_values" : [ "GET", "POST", "DELETE", "PUT" ]
194           } ],
195           "default" : "GET"
196         },
197         "payload" : {
198           "required" : false,
199           "type" : "string",
200           "default" : ""
201         },
202         "endpoint-selector" : {
203           "required" : false,
204           "type" : "string"
205         },
206         "url-path" : {
207           "required" : true,
208           "type" : "string"
209         },
210         "path" : {
211           "required" : true,
212           "type" : "string"
213         },
214         "expression-type" : {
215           "required" : false,
216           "type" : "string",
217           "constraints" : [ {
218             "valid_values" : [ "JSON_PATH", "JSON_POINTER" ]
219           } ],
220           "default" : "JSON_PATH"
221         },
222         "input-key-mapping" : {
223           "required" : false,
224           "type" : "map",
225           "entry_schema" : {
226             "type" : "string"
227           }
228         },
229         "output-key-mapping" : {
230           "required" : false,
231           "type" : "map",
232           "entry_schema" : {
233             "type" : "string"
234           }
235         },
236         "key-dependencies" : {
237           "required" : true,
238           "type" : "list",
239           "entry_schema" : {
240             "type" : "string"
241           }
242         }
243       },
244       "derived_from" : "tosca.nodes.ResourceSource"
245     },
246     "tosca.nodes.Component" : {
247       "description" : "This is default Component Node",
248       "version" : "1.0.0",
249       "derived_from" : "tosca.nodes.Root"
250     },
251     "tosca.nodes.ResourceSource" : {
252       "description" : "TOSCA base type for Resource Sources",
253       "version" : "1.0.0",
254       "derived_from" : "tosca.nodes.Root"
255     },
256     "tosca.nodes.Workflow" : {
257       "description" : "This is Directed Graph Node Type",
258       "version" : "1.0.0",
259       "derived_from" : "tosca.nodes.Root"
260     }
261   }
262 }