aboutsummaryrefslogtreecommitdiffstats
path: root/components/model-catalog/blueprint-model/starter-blueprint/baseconfiguration/Definitions/types.json
blob: 056d5f1824b7a8a8346eabb1266664c7b61adbdb (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
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
{
  "artifact_types": {
    "artifact-template-velocity": {
      "description": " Velocity Template used for Configuration",
      "version": "1.0.0",
      "file_ext": [
        "vtl"
      ],
      "derived_from": "tosca.artifacts.Implementation"
    },
    "artifact-mapping-resource": {
      "description": " Velocity Template Resource Mapping File used along with Configuration template",
      "version": "1.0.0",
      "file_ext": [
        "json"
      ],
      "derived_from": "tosca.artifacts.Implementation"
    },
    "artifact-script-kotlin": {
      "description": " Kotlin Script Template used for Configuration",
      "version": "1.0.0",
      "file_ext": [
        "kt"
      ],
      "derived_from": "tosca.artifacts.Implementation"
    },
    "artifact-script-python": {
      "description": " Kotlin Script Template used for Configuration",
      "version": "1.0.0",
      "file_ext": [
        "py"
      ],
      "derived_from": "tosca.artifacts.Implementation"
    },
    "artifact-directed-graph": {
      "description": "Directed Graph File",
      "version": "1.0.0",
      "file_ext": [
        "json",
        "xml"
      ],
      "derived_from": "tosca.artifacts.Implementation"
    },
    "artifact-component-jar": {
      "description": "Component Jar",
      "version": "1.0.0",
      "file_ext": [
        "jar"
      ],
      "derived_from": "tosca.artifacts.Implementation"
    }
  },
  "node_types": {
    "dg-activate": {
      "description": "This is BPMN Activate node type",
      "version": "1.0.0",
      "properties": {
        "content": {
          "required": false,
          "type": "string"
        },
        "process-name": {
          "required": false,
          "type": "string"
        },
        "version": {
          "required": false,
          "type": "string",
          "default": "LATEST"
        }
      },
      "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.Python": {
      "description": "This is Resource Assignment Python 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": {
        "DefaultComponentNode": {
          "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"
                },
                "template-content": {
                  "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"
                },
                "mapping-content": {
                  "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"
                }
              },
              "outputs": {
                "resource-assignment-params": {
                  "required": true,
                  "type": "string"
                },
                "status": {
                  "required": true,
                  "type": "string"
                }
              }
            }
          }
        }
      },
      "derived_from": "tosca.nodes.Component"
    },
    "component-resource-assignment-python": {
      "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": {
        "DefaultComponentNode": {
          "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"
                }
              },
              "outputs": {
                "resource-assignment-params": {
                  "required": true,
                  "type": "string"
                },
                "status": {
                  "required": true,
                  "type": "string"
                }
              }
            }
          }
        }
      },
      "derived_from": "tosca.nodes.component.Python"
    }
  },
  "data_types": {
    "sample-property": {
      "description": "This is sample data type",
      "version": "1.0.0",
      "properties": {
        "content": {
          "required": false,
          "type": "string"
        },
        "process-name": {
          "required": false,
          "type": "string"
        },
        "version": {
          "required": false,
          "type": "string",
          "default": "LATEST"
        }
      },
      "derived_from": "tosca.datatypes.Root"
    }
  }
}