Add declarative acceptance tests
[ccsdk/cds.git] / components / model-catalog / blueprint-model / uat-blueprints / echo / Definitions / node_types.json
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                 "occurrence": {
28                   "description": "Number of time to perform the resolution.",
29                   "required": false,
30                   "default": 1,
31                   "type": "integer"
32                 },
33                 "store-result" : {
34                   "description" : "Whether or not to store the output.",
35                   "required" : false,
36                   "type" : "boolean"
37                 },
38                 "resource-type" : {
39                   "description" : "Request type.",
40                   "required" : false,
41                   "type" : "string"
42                 },
43                 "artifact-prefix-names" : {
44                   "description" : "Template , Resource Assignment Artifact Prefix names",
45                   "required" : true,
46                   "type" : "list",
47                   "entry_schema" : {
48                     "type" : "string"
49                   }
50                 },
51                 "request-id" : {
52                   "description" : "Request Id, Unique Id for the request.",
53                   "required" : true,
54                   "type" : "string"
55                 },
56                 "resource-id" : {
57                   "description" : "Resource Id.",
58                   "required" : false,
59                   "type" : "string"
60                 },
61                 "action-name" : {
62                   "description" : "Action Name of the process",
63                   "required" : false,
64                   "type" : "string"
65                 },
66                 "dynamic-properties" : {
67                   "description" : "Dynamic Json Content or DSL Json reference.",
68                   "required" : false,
69                   "type" : "json"
70                 }
71               },
72               "outputs" : {
73                 "resource-assignment-params" : {
74                   "required" : true,
75                   "type" : "string"
76                 },
77                 "status" : {
78                   "required" : true,
79                   "type" : "string"
80                 }
81               }
82             }
83           }
84         }
85       },
86       "derived_from" : "tosca.nodes.Component"
87     },
88     "dg-generic" : {
89       "description" : "This is Generic Directed Graph Type",
90       "version" : "1.0.0",
91       "properties" : {
92         "content" : {
93           "required" : true,
94           "type" : "string"
95         },
96         "dependency-node-templates" : {
97           "description" : "Dependent Step Components NodeTemplate name.",
98           "required" : true,
99           "type" : "list",
100           "entry_schema" : {
101             "type" : "string"
102           }
103         }
104       },
105       "derived_from" : "tosca.nodes.Workflow"
106     },
107     "source-input" : {
108       "description" : "This is Input Resource Source Node Type",
109       "version" : "1.0.0",
110       "properties" : { },
111       "derived_from" : "tosca.nodes.ResourceSource"
112     },
113     "tosca.nodes.Component" : {
114       "description" : "This is default Component Node",
115       "version" : "1.0.0",
116       "derived_from" : "tosca.nodes.Root"
117     },
118     "tosca.nodes.ResourceSource" : {
119       "description" : "TOSCA base type for Resource Sources",
120       "version" : "1.0.0",
121       "derived_from" : "tosca.nodes.Root"
122     },
123     "tosca.nodes.Workflow" : {
124       "description" : "This is Directed Graph Node Type",
125       "version" : "1.0.0",
126       "derived_from" : "tosca.nodes.Root"
127     }
128   }
129 }