aboutsummaryrefslogtreecommitdiffstats
path: root/components/model-catalog/blueprint-model/starter-blueprint/baseconfiguration/Definitions/node_types.json
blob: 7330663c4a5ff47708bb5bcba4d0ab98904f3422 (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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
{
  "node_types": {
    "dg-generic": {
      "description": "This is Generic Directed Graph Type",
      "version": "1.0.0",
      "properties": {
        "content": {
          "required": true,
          "type": "string"
        },
        "dependency-node-templates": {
          "required": true,
          "description": "Dependent Step Components",
          "type": "list",
          "entry_schema": {
            "type": "string"
          }
        }
      },
      "derived_from": "tosca.nodes.DG"
    },
    "tosca.nodes.Component": {
      "description": "This is Resource Assignment Component API",
      "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"
    },
    "tosca.nodes.component.Jython": {
      "description": "This is Resource Assignment Jython Component API",
      "version": "1.0.0",
      "derived_from": "tosca.nodes.Root"
    },
    "component-resource-assignment": {
      "description": "This is Resource Assignment Component API",
      "version": "1.0.0",
      "properties": {
        "request-id": {
          "description": "Request Id used to store the generated configuration, in the database along with the template-name",
          "required": true,
          "type": "string"
        }
      },
      "interfaces": {
        "ResourceAssignmentComponent": {
          "operations": {
            "process": {
              "inputs": {
                "action-name": {
                  "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",
                  "required": false,
                  "type": "string"
                },
                "resource-type": {
                  "required": false,
                  "type": "string"
                },
                "request-id": {
                  "description": "Request Id used to store the generated configuration, in the database along with the template-name",
                  "required": true,
                  "type": "string"
                },
                "resource-id": {
                  "description": "Id used to pull the data content from the data base. Either template-data or resource-id should be present",
                  "required": true,
                  "type": "string"
                },
                "artifact-prefix-names": {
                  "required": false,
                  "description": "Template , Resource Assignment Artifact Prefix names",
                  "type": "list",
                  "entry_schema": {
                    "type": "string"
                  }
                }
              },
              "outputs": {
                "resource-assignment-params": {
                  "required": true,
                  "type": "string"
                },
                "status": {
                  "required": true,
                  "type": "string"
                }
              }
            }
          }
        }
      },
      "derived_from": "tosca.nodes.Component"
    },
    "component-jython-executor": {
      "description": "This is Jython Execution Component.",
      "version": "1.0.0",
      "capabilities": {
        "component-node": {
          "type": "tosca.capabilities.Node"
        }
      },
      "interfaces": {
        "JythonExecutorComponent": {
          "operations": {
            "process": {
              "inputs": {
                "instance-dependencies": {
                  "required": true,
                  "description": "Instance Names to Inject to Jython Script.",
                  "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.Jython"
    }
  }
}