Merge "Add intial test CBA"
[ccsdk/cds.git] / components / model-catalog / blueprint-model / test-blueprint / golden / Definitions / resources_definition_types.json
1 {
2   "create_netbox_ip" : {
3     "tags" : "oam-local-ipv4-address",
4     "name" : "create_netbox_ip",
5     "property" : {
6       "description" : "netbox ip",
7       "type" : "dt-netbox-ip"
8     },
9     "updated-by" : "adetalhouet",
10     "sources" : {
11       "primary-config-data" : {
12         "type" : "source-rest",
13         "properties" : {
14           "type" : "JSON",
15           "verb" : "POST",
16           "endpoint-selector" : "ipam-1",
17           "url-path" : "/api/ipam/prefixes/$prefix-id/available-ips/",
18           "path" : "",
19           "input-key-mapping" : {
20             "prefix-id" : "prefix-id"
21           },
22           "output-key-mapping" : {
23             "address" : "address",
24             "id" : "id"
25           },
26           "key-dependencies" : [ "prefix-id" ]
27         }
28       }
29     }
30   },
31   "hostname" : {
32     "tags" : "hostname",
33     "name" : "hostname",
34     "property" : {
35       "description" : "hostname",
36       "type" : "string"
37     },
38     "updated-by" : "adetalhouet",
39     "sources" : {
40       "input" : {
41         "type" : "source-input"
42       }
43     }
44   },
45   "interface-description" : {
46     "tags" : "interface-description",
47     "name" : "interface-description",
48     "property" : {
49       "description" : "interface-description",
50       "type" : "string"
51     },
52     "updated-by" : "adetalhouet",
53     "sources" : {
54       "capability" : {
55         "type" : "source-capability",
56         "properties" : {
57           "script-type" : "jython",
58           "script-class-reference" : "DescriptionExample",
59           "instance-dependencies" : [ ]
60         }
61       }
62     }
63   },
64   "interface-name" : {
65     "tags" : "interface-name",
66     "name" : "interface-name",
67     "property" : {
68       "description" : "interface-name",
69       "type" : "string"
70     },
71     "updated-by" : "adetalhouet",
72     "sources" : {
73       "input" : {
74         "type" : "source-input",
75         "properties" : { }
76       }
77     }
78   },
79   "prefix-id" : {
80     "tags" : "prefix-id",
81     "name" : "prefix-id",
82     "property" : {
83       "description" : "prefix-id",
84       "type" : "integer"
85     },
86     "updated-by" : "adetalhouet",
87     "sources" : {
88       "default" : {
89         "type" : "source-default",
90         "properties" : { }
91       }
92     }
93   },
94   "unit-number" : {
95     "tags" : "unit-number",
96     "name" : "unit-number",
97     "property" : {
98       "description" : "unit-number",
99       "type" : "string"
100     },
101     "updated-by" : "adetalhouet",
102     "sources" : {
103       "input" : {
104         "type" : "source-input"
105       }
106     }
107   },
108   "vf-module-number" : {
109     "tags" : "vf-module-number",
110     "name" : "vf-module-number",
111     "property" : {
112       "description" : "vf-module-number",
113       "type" : "string"
114     },
115     "updated-by" : "adetalhouet",
116     "sources" : {
117       "default" : {
118         "type" : "source-default",
119         "properties" : { }
120       }
121     }
122   },
123   "vf-module-type" : {
124     "tags" : "vf-module-type",
125     "name" : "vf-module-type",
126     "property" : {
127       "description" : "vf-module-type",
128       "type" : "string"
129     },
130     "updated-by" : "adetalhouet",
131     "sources" : {
132       "primary-db" : {
133         "type" : "source-primary-db",
134         "properties" : {
135           "type" : "SQL",
136           "query" : "select sdnctl.demo.value as value from sdnctl.demo where sdnctl.demo.id=:vfmoduleid",
137           "input-key-mapping" : {
138             "vfmoduleid" : "vf-module-number"
139           },
140           "output-key-mapping" : {
141             "vf-module-type" : "value"
142           },
143           "key-dependencies" : [ "vf-module-number" ]
144         }
145       }
146     }
147   }
148 }