Updated Sparky to add ECOMP functionality Browse, Specialized Search, BYOQ, and the...
[aai/sparky-fe.git] / src / app / customQuery / CustomQueryData.js
1 /*
2  * ============LICENSE_START=======================================================
3  * org.onap.aai
4  * ================================================================================
5  * Copyright © 2017-2021 AT&T Intellectual Property. All rights reserved.
6  * ================================================================================
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  *
11  *       http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  * ============LICENSE_END=========================================================
19  */
20
21 export const dropDownList = [
22   {
23     placeholder: 'Vnf Required as Start Node',
24     label:'complex-fromVnf',
25     value:'complex-fromVnf',
26     description: {
27       summary: 'The "complex-fromVnf" query allows a client to provide A&AI a vnf name or ID to retrieve the ' +
28       'generic-vnf, pserver, complex, licenses, and entitlements.',
29       additionalInfo:
30       'Input: vnf name or vnf ID\n' +
31       'Output: generic-vnf, pserver, complex, licenses, entitlements\n' +
32       'Users: SDN-GC, Conductor\n' +
33       'Releases: 1707'
34     }
35   },
36   {
37     placeholder: 'Vnf Required as Start Node',
38     label:'topology-summary',
39     value:'topology-summary',
40     description: {
41       summary: 'The "topology-summary" query allows a client to provide A&AI one or more VNFs and retrieve various data ' +
42       'related to that VNF. This includes data about the VNF itself (the generic-vnf), the related vnfc, the related ' +
43       'vserver (along with the tenant, cloud-region, image and flavor) and the related pserver (along with the complex).',
44       additionalInfo:
45       'Input: generic-vnf, The original intent was to pass all generic-vnfs with a specified service-id. ' +
46       '(adding owning-entity, project, platform and line-of-business in 1810 as first step to depreciating service-id)\n' +
47       'Output: the generic-vnf, related platform, line-of-business (1810), related owning-entity, project (from related ' +
48       'service-instance) (1810), related vnfc, related vserver, tenant, cloud-region, image, flavor, related pserver, ' +
49       'complex\n' +
50       'Users: AOTS, GEOLINK, DCAE-Sandbox, POLO\n' +
51       'Releases: 1702, 1810'
52     }
53   },
54   {
55     placeholder: 'Pserver Required as Start Node',
56     label:'service-fromPserverandSubsName',
57     value:'service-fromPserverandSubsName',
58     reqPropPlaceholder:'subscriberName=Enter some value here',
59     description: {
60       summary: 'The "service-fromPServerandSubsName" query allows a client to provide A&AI a hostname and subscriber ' +
61       'name, then return service instance and service subscription information.',
62       additionalInfo:
63       'Input: hostname and subscriber-name\n' +
64       'Output: service-instance and service-subscription\n' +
65       'Users: MSO\n' +
66       'Releases: 1710'
67     }
68   },
69   {
70     placeholder: 'Vnf Required as Start Node',
71     label:'cloudRegion-fromNfType',
72     value:'cloudRegion-fromNfType',
73     description: {
74       summary: 'The "cloudRegion-fromNfType" query allows a client to provide A&AI with an nf-type and returns the ' +
75       'cloud-regions running those vnfs.',
76       additionalInfo:
77       'Input: nf-type\n' +
78       'Output: cloud-region\n' +
79       'Users: vIPR\n' +
80       'Releases: 1710'
81     }
82   },
83   {
84     placeholder: 'Need Pserver as Start Node',
85     label:'colocated-devices',
86     value:'colocated-devices',
87     description: {
88       summary: 'The "colocated-devices" query allows a client to provide A&AI a physical server and retrieves all other ' +
89       'physical devices in the same location along with details on their physical interfaces and links.',
90       additionalInfo:
91       'Input: pserver\n' +
92       'Output: pservers, pnfs, p-interfaces, physical-links\n' +
93       'Users: SDN-GCP\n' +
94       'Releases: 1707'
95     }
96   },
97   {
98     placeholder: 'Need Cloud Region as Start Node',
99     label: 'locationNetTypeNetRole-fromCloudRegion',
100     value: 'locationNetTypeNetRole-fromCloudRegion',
101     description: {
102       summary: 'The "locationNetTypeNetRole-fromCloudRegion" query allows a client to provide A&AI with a ' +
103       'cloud-region-id and returns the cloud-region, complex, and l3-networks.',
104       additionalInfo:
105       'Input: cloud-region-id\n' +
106       'Output: cloud-region, complex, l3-network\n' +
107       'Users: vIPR\n' +
108       'Releases: 1710'
109     }
110   },
111   {
112     placeholder: 'Need Cloud Region as Start Node',
113     label:'sites-byCloudRegionId',
114     value:'sites-byCloudRegionId',
115     description: {
116       summary: 'The "sites-byCloudRegionId " query allows a client to provide A&AI with a cloud-region-id and an ' +
117       'optional cloud-region-version and returns the appropriate complexes.',
118       additionalInfo:
119       'Input: cloud-region-id, optional cloud-region-version\n' +
120       'Output: complex object(s)\n' +
121       'Users: POLICY\n' +
122       'Releases: 1707'
123     }
124   },
125   {
126     placeholder: 'Need Cloud Region as Start Node',
127     label:'cloudRegion-fromCountry',
128     value:'cloudRegion-fromCountry',
129     description: {
130       summary: 'The "cloudRegion-fromCountry" query allows a client to provide A&AI with a country and retrieve all ' +
131       'appropriate cloud-regions.',
132       additionalInfo:
133       'Input: country\n' +
134       'Output: cloud-region\n' +
135       'Users: vIPR\n' +
136       'Releases: 1710'
137     }
138   },
139   {
140     placeholder: 'Need vf-module as Start Node',
141     label:'so-request-vfModule',
142     value:'so-request-vfModule',
143     description: {
144       summary: 'The "so-request-vfModule" query allows a client to provide A&AI a vf-module then return all the ' +
145       'reference objects needed to send MSO an orchestration request.',
146       additionalInfo:
147       'Input: vf-module\n' +
148       'Output: vf-module, generic-vnf, service-instance, volume-group, cloud-region\n' +
149       'Users: VID\n' +
150       'Releases: E1802'
151     }
152   },
153   {
154     placeholder: 'Need Vnf as Start Node',
155     label:'linked-devices',
156     value:'linked-devices',
157     description: {
158       summary: 'The "linked-devices" query allows a client to provide A&AI a generic-vnf, vserver, or newvce and ' +
159       'retrieve all connected generic-vnfs, vservers, and newvces.',
160       additionalInfo:
161       'Input: generic-vnf, vserver, or newvces\n' +
162       'Output: all connected generic-vnfs, vservers, and newvces\n' +
163       'Users: POLO\n' +
164       'Releases: E1802'
165     }
166   },
167   {
168     placeholder: 'Need ucpe-instance as Start Node',
169     label:'ucpe-instance',
170     value:'ucpe-instance',
171     description: {
172       summary: 'The "ucpe-instance" query allows a client to provide A&AI a physical server or physical network device, ' +
173       'using the hostname, and retrieve the device and the complex it is located in. This includes the pserver or pnf ' +
174       'itself and the complex.',
175       additionalInfo:
176       'Input: pserver or pnf, Using pserver hostname or pnf pnf-name to identify the starting node is preferred.\n' +
177       'Output: the pserver or pnf, related complex\n' +
178       'Users: SNIRO\n' +
179       'Releases: 1702'
180     }
181   }
182 ];