Fixed restconf Python scripts bugs caused by BPP refactor
[ccsdk/cds.git] / components / model-catalog / blueprint-model / uat-blueprints / pnf_config / 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                 "store-result" : {
28                   "description" : "Whether or not to store the output.",
29                   "required" : false,
30                   "type" : "boolean"
31                 },
32                 "resource-type" : {
33                   "description" : "Request type.",
34                   "required" : false,
35                   "type" : "string"
36                 },
37                 "artifact-prefix-names" : {
38                   "description" : "Template , Resource Assignment Artifact Prefix names",
39                   "required" : true,
40                   "type" : "list",
41                   "entry_schema" : {
42                     "type" : "string"
43                   }
44                 },
45                 "request-id" : {
46                   "description" : "Request Id, Unique Id for the request.",
47                   "required" : true,
48                   "type" : "string"
49                 },
50                 "resource-id" : {
51                   "description" : "Resource Id.",
52                   "required" : false,
53                   "type" : "string"
54                 },
55                 "action-name" : {
56                   "description" : "Action Name of the process",
57                   "required" : false,
58                   "type" : "string"
59                 },
60                 "dynamic-properties" : {
61                   "description" : "Dynamic Json Content or DSL Json reference.",
62                   "required" : false,
63                   "type" : "json"
64                 }
65               },
66               "outputs" : {
67                 "resource-assignment-params" : {
68                   "required" : true,
69                   "type" : "string"
70                 },
71                 "status" : {
72                   "required" : true,
73                   "type" : "string"
74                 }
75               }
76             }
77           }
78         }
79       },
80       "derived_from" : "tosca.nodes.Component"
81     },
82     "component-script-executor" : {
83       "description" : "This is Restconf Transaction Configuration Component API",
84       "version" : "1.0.0",
85       "capabilities" : {
86         "component-node" : {
87           "type" : "tosca.capabilities.Node"
88         }
89       },
90       "interfaces" : {
91         "ComponentScriptExecutor" : {
92           "operations" : {
93             "process" : {
94               "inputs" : {
95                 "script-type" : {
96                   "description" : "Script type, kotlin type is supported",
97                   "required" : true,
98                   "type" : "string",
99                   "constraints" : [ {
100                     "valid_values" : [ "kotlin", "jython", "internal" ]
101                   } ],
102                   "default" : "internal"
103                 },
104                 "script-class-reference" : {
105                   "description" : "Kotlin Script class name or jython script name.",
106                   "required" : true,
107                   "type" : "string"
108                 },
109                 "dynamic-properties" : {
110                   "description" : "Dynamic Json Content or DSL Json reference.",
111                   "required" : false,
112                   "type" : "json"
113                 }
114               },
115               "outputs" : {
116                 "response-data" : {
117                   "description" : "Execution Response Data in JSON format.",
118                   "required" : false,
119                   "type" : "string"
120                 },
121                 "status" : {
122                   "description" : "Status of the Component Execution ( success or failure )",
123                   "required" : true,
124                   "type" : "string"
125                 }
126               }
127             }
128           }
129         }
130       },
131       "derived_from" : "tosca.nodes.Component"
132     },
133     "dg-generic" : {
134       "description" : "This is Generic Directed Graph Type",
135       "version" : "1.0.0",
136       "properties" : {
137         "content" : {
138           "required" : true,
139           "type" : "string"
140         },
141         "dependency-node-templates" : {
142           "description" : "Dependent Step Components NodeTemplate name.",
143           "required" : true,
144           "type" : "list",
145           "entry_schema" : {
146             "type" : "string"
147           }
148         }
149       },
150       "derived_from" : "tosca.nodes.Workflow"
151     },
152     "source-input" : {
153       "description" : "This is Input Resource Source Node Type",
154       "version" : "1.0.0",
155       "properties" : { },
156       "derived_from" : "tosca.nodes.ResourceSource"
157     },
158     "tosca.nodes.Component" : {
159       "description" : "This is default Component Node",
160       "version" : "1.0.0",
161       "derived_from" : "tosca.nodes.Root"
162     },
163     "tosca.nodes.ResourceSource" : {
164       "description" : "TOSCA base type for Resource Sources",
165       "version" : "1.0.0",
166       "derived_from" : "tosca.nodes.Root"
167     },
168     "tosca.nodes.Workflow" : {
169       "description" : "This is Directed Graph Node Type",
170       "version" : "1.0.0",
171       "derived_from" : "tosca.nodes.Root"
172     }
173   }
174 }