be3bd319ac186e233c9cc9f8cce62c33acb9c134
[ccsdk/cds.git] /
1 {
2   "node_types" : {
3     "component-restconf-executor" : {
4       "description" : "This is Restconf Transaction Configuration Component API",
5       "version" : "1.0.0",
6       "capabilities" : {
7         "component-node" : {
8           "type" : "tosca.capabilities.Node"
9         }
10       },
11       "interfaces" : {
12         "ComponentRestconfExecutor" : {
13           "operations" : {
14             "process" : {
15               "inputs" : {
16                 "script-type" : {
17                   "description" : "Script type, kotlin type is supported",
18                   "required" : true,
19                   "type" : "string",
20                   "constraints" : [ {
21                     "valid_values" : [ "kotlin", "jython", "internal" ]
22                   } ],
23                   "default" : "internal"
24                 },
25                 "script-class-reference" : {
26                   "description" : "Kotlin Script class name or jython script name.",
27                   "required" : true,
28                   "type" : "string"
29                 },
30                 "instance-dependencies" : {
31                   "description" : "Instance names to inject to Jython or Kotlin Script.",
32                   "required" : true,
33                   "type" : "list",
34                   "entry_schema" : {
35                     "type" : "string"
36                   }
37                 }
38               },
39               "outputs" : {
40                 "response-data" : {
41                   "description" : "Execution Response Data in JSON format.",
42                   "required" : false,
43                   "type" : "string"
44                 },
45                 "status" : {
46                   "description" : "Status of the Component Execution ( success or failure )",
47                   "required" : true,
48                   "type" : "string"
49                 }
50               }
51             }
52           }
53         }
54       },
55       "derived_from" : "tosca.nodes.Component"
56     },
57     "dg-generic" : {
58       "description" : "This is Generic Directed Graph Type",
59       "version" : "1.0.0",
60       "properties" : {
61         "content" : {
62           "required" : true,
63           "type" : "string"
64         },
65         "dependency-node-templates" : {
66           "description" : "Dependent Step Components NodeTemplate name.",
67           "required" : true,
68           "type" : "list",
69           "entry_schema" : {
70             "type" : "string"
71           }
72         }
73       },
74       "derived_from" : "tosca.nodes.DG"
75     },
76     "tosca.nodes.Component" : {
77       "description" : "This is default Component Node",
78       "version" : "1.0.0",
79       "derived_from" : "tosca.nodes.Root"
80     },
81     "tosca.nodes.DG" : {
82       "description" : "This is Directed Graph Node Type",
83       "version" : "1.0.0",
84       "derived_from" : "tosca.nodes.Root"
85     }
86   }
87 }