d6f702a9ff7ab61d6d1c5c48b4f57ae891f4880f
[ccsdk/cds.git] /
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-restconf-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         "ComponentRestconfExecutor" : {
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                 "instance-dependencies" : {
110                   "description" : "Instance names to inject to Jython or Kotlin Script.",
111                   "required" : true,
112                   "type" : "list",
113                   "entry_schema" : {
114                     "type" : "string"
115                   }
116                 },
117                 "dynamic-properties" : {
118                   "description" : "Dynamic Json Content or DSL Json reference.",
119                   "required" : false,
120                   "type" : "json"
121                 }
122               },
123               "outputs" : {
124                 "response-data" : {
125                   "description" : "Execution Response Data in JSON format.",
126                   "required" : false,
127                   "type" : "string"
128                 },
129                 "status" : {
130                   "description" : "Status of the Component Execution ( success or failure )",
131                   "required" : true,
132                   "type" : "string"
133                 }
134               }
135             }
136           }
137         }
138       },
139       "derived_from" : "tosca.nodes.Component"
140     },
141     "dg-generic" : {
142       "description" : "This is Generic Directed Graph Type",
143       "version" : "1.0.0",
144       "properties" : {
145         "content" : {
146           "required" : true,
147           "type" : "string"
148         },
149         "dependency-node-templates" : {
150           "description" : "Dependent Step Components NodeTemplate name.",
151           "required" : true,
152           "type" : "list",
153           "entry_schema" : {
154             "type" : "string"
155           }
156         }
157       },
158       "derived_from" : "tosca.nodes.Workflow"
159     },
160     "source-input" : {
161       "description" : "This is Input Resource Source Node Type",
162       "version" : "1.0.0",
163       "properties" : { },
164       "derived_from" : "tosca.nodes.ResourceSource"
165     },
166     "tosca.nodes.Component" : {
167       "description" : "This is default Component Node",
168       "version" : "1.0.0",
169       "derived_from" : "tosca.nodes.Root"
170     },
171     "tosca.nodes.ResourceSource" : {
172       "description" : "TOSCA base type for Resource Sources",
173       "version" : "1.0.0",
174       "derived_from" : "tosca.nodes.Root"
175     },
176     "tosca.nodes.Workflow" : {
177       "description" : "This is Directed Graph Node Type",
178       "version" : "1.0.0",
179       "derived_from" : "tosca.nodes.Root"
180     }
181   }
182 }