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