Fixes: manual integration test of CDS
[ccsdk/apps.git] / components / model-catalog / blueprint-model / test-blueprint / baseconfiguration / Definitions / node_types.json
1 {
2   "node_types": {
3     "dg-generic": {
4       "description": "This is Generic Directed Graph Type",
5       "version": "1.0.0",
6       "properties": {
7         "content": {
8           "required": true,
9           "type": "string"
10         },
11         "dependency-node-templates": {
12           "required": true,
13           "description": "Dependent Step Components",
14           "type": "list",
15           "entry_schema": {
16             "type": "string"
17           }
18         }
19       },
20       "derived_from": "tosca.nodes.DG"
21     },
22     "tosca.nodes.Component": {
23       "description": "This is Resource Assignment Component API",
24       "version": "1.0.0",
25       "derived_from": "tosca.nodes.Root"
26     },
27     "tosca.nodes.DG": {
28       "description": "This is Directed Graph Node Type",
29       "version": "1.0.0",
30       "derived_from": "tosca.nodes.Root"
31     },
32     "tosca.nodes.ResourceSource" : {
33       "description" : "TOSCA base type for Resource Sources",
34       "version" : "1.0.0",
35       "derived_from" : "tosca.nodes.Root"
36     },
37     "tosca.nodes.Vnf" : {
38       "description" : "This is VNF Node Type",
39       "version" : "1.0.0",
40       "derived_from" : "tosca.nodes.Root"
41     },
42     "tosca.nodes.component.Jython": {
43       "description": "This is Resource Assignment Jython Component API",
44       "version": "1.0.0",
45       "derived_from": "tosca.nodes.Root"
46     },
47     "component-netconf-executor": {
48       "description": "This is Netconf Transaction Configuration Component API",
49       "version": "1.0.0",
50       "capabilities": {
51         "component-node": {
52           "type": "tosca.capabilities.Node"
53         }
54       },
55       "requirements": {
56         "netconf-connection": {
57           "capability": "netconf",
58           "node": "vnf-netconf-device",
59           "relationship": "tosca.relationships.ConnectsTo"
60         }
61       },
62       "interfaces": {
63         "NetconfExecutorComponent": {
64           "operations": {
65             "process": {
66               "inputs": {
67                 "instance-dependencies": {
68                   "description": "Instance Names to Inject to Jython Script.",
69                   "required": true,
70                   "type": "list",
71                   "entry_schema": {
72                     "type": "string"
73                   }
74                 }
75               },
76               "outputs": {
77                 "response-data": {
78                   "description": "Execution Response Data in JSON format.",
79                   "required": false,
80                   "type": "string"
81                 },
82                 "status": {
83                   "description": "Status of the Component Execution ( success or failure )",
84                   "required": true,
85                   "type": "string"
86                 }
87               }
88             }
89           }
90         }
91       },
92       "derived_from": "tosca.nodes.component.Jython"
93     },
94     "component-resource-resolution": {
95       "description": "This is Resource Assignment Component API",
96       "version": "1.0.0",
97       "attributes": {
98         "assignment-params": {
99           "required": true,
100           "type": "string"
101         }
102       },
103       "interfaces": {
104         "ResourceResolutionComponent": {
105           "operations": {
106             "process": {
107               "inputs": {
108                 "action-name": {
109                   "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",
110                   "required": false,
111                   "type": "string"
112                 },
113                 "resource-type": {
114                   "required": false,
115                   "type": "string"
116                 },
117                 "request-id": {
118                   "description": "Request Id used to store the generated configuration, in the database along with the template-name",
119                   "required": true,
120                   "type": "string"
121                 },
122                 "resource-id": {
123                   "description": "Id used to pull the data content from the data base. Either template-data or resource-id should be present",
124                   "required": true,
125                   "type": "string"
126                 },
127                 "artifact-prefix-names": {
128                   "required": false,
129                   "description": "Template , Resource Assignment Artifact Prefix names",
130                   "type": "list",
131                   "entry_schema": {
132                     "type": "string"
133                   }
134                 }
135               },
136               "outputs": {
137                 "resource-assignment-params": {
138                   "required": true,
139                   "type": "string"
140                 },
141                 "status": {
142                   "required": true,
143                   "type": "string"
144                 }
145               }
146             }
147           }
148         }
149       },
150       "derived_from": "tosca.nodes.Component"
151     },
152     "component-jython-executor": {
153       "description": "This is Jython Execution Component.",
154       "version": "1.0.0",
155       "capabilities": {
156         "component-node": {
157           "type": "tosca.capabilities.Node"
158         }
159       },
160       "interfaces": {
161         "ComponentJythonExecutor": {
162           "operations": {
163             "process": {
164               "inputs": {
165                 "instance-dependencies": {
166                   "required": true,
167                   "description": "Instance Names to Inject to Jython Script.",
168                   "type": "list",
169                   "entry_schema": {
170                     "type": "string"
171                   }
172                 }
173               },
174               "outputs": {
175                 "response-data": {
176                   "description": "Execution Response Data in JSON format.",
177                   "required": false,
178                   "type": "string"
179                 },
180                 "status": {
181                   "description": "Status of the Component Execution ( success or failure )",
182                   "required": true,
183                   "type": "string"
184                 }
185               }
186             }
187           }
188         }
189       },
190       "derived_from": "tosca.nodes.component.Jython"
191     },
192     "vnf-netconf-device": {
193       "description": "This is VNF Device with Netconf  Capability",
194       "version": "1.0.0",
195       "capabilities": {
196         "netconf": {
197           "type": "tosca.capabilities.Netconf",
198           "properties": {
199             "login-key": {
200               "required": true,
201               "type": "string",
202               "default": "sdnc"
203             },
204             "login-account": {
205               "required": true,
206               "type": "string",
207               "default": "sdnc-tacacs"
208             },
209             "source": {
210               "required": true,
211               "type": "string",
212               "default": "npm"
213             },
214             "target-ip-address": {
215               "required": true,
216               "type": "string"
217             },
218             "port-number": {
219               "required": true,
220               "type": "integer",
221               "default": 830
222             },
223             "connection-time-out": {
224               "required": false,
225               "type": "integer",
226               "default": 30
227             }
228           }
229         }
230       },
231       "derived_from": "tosca.nodes.Vnf"
232     }
233   }
234 }