blob: 68ff6c4f153dc3b469f29f6704a1bfa4f35fb405 [file] [log] [blame]
IBM602-PC0F1E3C\Arundathif7b02a12018-07-10 17:16:08 +05301/*
2============LICENSE_START==========================================
3===================================================================
4Copyright (C) 2018 IBM Intellectual Property. All rights reserved.
5===================================================================
6
7Unless otherwise specified, all software contained herein is licensed
8under the Apache License, Version 2.0 (the License);
9you may not use this software except in compliance with the License.
10You may obtain a copy of the License at
11
12 http://www.apache.org/licenses/LICENSE-2.0
13
14Unless required by applicable law or agreed to in writing, software
15distributed under the License is distributed on an "AS IS" BASIS,
16WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17See the License for the specific language governing permissions and
18limitations under the License.
19
20============LICENSE_END============================================
21*/
22
23
24
25export const appConstants = {
Arundathi Patil9d5e8e72018-07-17 15:46:17 +053026 "errors": {
27 "error": "Error",
28 "noActionVnfProtocolError": "Select Valid Action, VNF Type, Device Protocol",
29 "noActionError": "Select a valid Action",
30 "noVnfTypeError": "Select a valid VNF Type",
31 "noDeviceProtocolError": "Select a valid Device Protocol",
32 "noValidTemplateIdentifierError": "Select a valid Template Identifier",
33 "noAction&VNFTypeInRDscreenError": "Please enter Action and VNF type in Reference Data screen",
Arundathi Patilc33fda52018-08-01 16:19:07 +053034 "connectionError": "Error in connecting to APPC Server",
Arundathi Patilb3395142018-08-08 14:57:40 +053035 "multipleFileUploadError" : "Cannot upload multiple files on the entry",
36 "notTxtFileError" : "Uploaded file is not a TXT file",
37 "notYAMLFileError" : "Uploaded file is not a YAML file"
Arundathi Patil9d5e8e72018-07-17 15:46:17 +053038 },
39 "tabs": [
40 {
41 type: 'dropdown',
42 name: 'Reference Data',
43 url: 'references',
44 }, {
45 name: 'Template',
46 type: 'dropdown',
47 url: 'templates/myTemplates',
48 }, {
49 name: 'Parameter Definition',
50 type: 'dropdown',
51 url: 'parameterDefinitions/create'
52 }
53 ],
54 "Actions": {
55 "blank": '',
56 "configure": "Configure",
57 "ConfigModify": "ConfigModify",
58 "configBackup": "ConfigBackup",
59 "configRestore": "ConfigRestore",
60 "getRunningConfig": "GetRunningConfig",
61 "healthCheck": "HealthCheck",
62 "startApplication": "StartApplication",
63 "stopApplication": "StopApplication",
64 "quiesceTraffic": "QuiesceTraffic",
65 "resumeTraffic": "ResumeTraffic",
Lukasz Rajewski1fe55d32018-08-28 15:18:35 +020066 "distributeTraffic": "DistributeTraffic",
Lukasz Rajewskic63fafc2019-03-16 18:18:14 +010067 "distributeTrafficCheck": "DistributeTrafficCheck",
Arundathi Patil9d5e8e72018-07-17 15:46:17 +053068 "upgradeBackout": "UpgradeBackout",
69 "upgradeBackup": "UpgradeBackup",
70 "upgradePostCheck": "UpgradePostCheck",
71 "upgradePreCheck": "UpgradePreCheck",
72 "upgradeSoftware": "UpgradeSoftware",
73 "openStackActions": "OpenStack Actions",
74 "configScaleOut": "ConfigScaleOut"
75 },
76 "DeviceProtocols": {
77 "blank": '',
78 "ansible": "ANSIBLE",
79 "chef": "CHEF",
80 "netconfXML": "NETCONF-XML",
81 "rest": "REST",
82 "cli": "CLI",
Arundathi Patilc33fda52018-08-01 16:19:07 +053083 "restConf": "RESTCONF",
84 "openStack": "OpenStack"
Arundathi Patil9d5e8e72018-07-17 15:46:17 +053085 },
86 "ruleTypeConfiguaration": {
87 'vnf-name': [
IBM602-PC0F1E3C\Arundathif7b02a12018-07-10 17:16:08 +053088 {
Arundathi Patil9d5e8e72018-07-17 15:46:17 +053089 'key-name': 'unique-key-name',
90 'key-value': 'parent-name'
91 },
92 {
93 'key-name': 'unique-key-value',
94 'key-value': 'vnf'
95 },
96 {
97 'key-name': 'field-key-name',
98 'key-value': 'vnf-name'
IBM602-PC0F1E3C\Arundathif7b02a12018-07-10 17:16:08 +053099 }
100 ],
Arundathi Patil9d5e8e72018-07-17 15:46:17 +0530101 'vm-name-list': [
102 {
103 'key-name': 'unique-key-name',
104 'key-value': 'parent-name'
105 },
106 {
107 'key-name': 'unique-key-value',
108 'key-value': 'vserver'
109 },
110 {
111 'key-name': 'field-key-name',
112 'key-value': 'vserver-name'
113 }
114 ],
115 'vnfc-name-list': [
116 {
117 'key-name': 'unique-key-name',
118 'key-value': 'parent-name'
119 },
120 {
121 'key-name': 'unique-key-value',
122 'key-value': 'vnfc'
123 },
124 {
125 'key-name': 'field-key-name',
126 'key-value': 'vnfc-name'
127 }
128 ],
129 'vnf-oam-ipv4-address': [
130 {
131 'key-name': 'unique-key-name',
132 'key-value': 'parent-name'
133 },
134 {
135 'key-name': 'unique-key-value',
136 'key-value': 'vnf'
137 },
138 {
139 'key-name': 'field-key-name',
140 'key-value': 'ipv4-oam-ipaddress'
141 }
142 ],
143 'vnfc-oam-ipv4-address-list': [
144 {
145 'key-name': 'unique-key-name',
146 'key-value': 'parent-name'
147 },
148 {
149 'key-name': 'unique-key-value',
150 'key-value': 'vnfc'
151 },
152 {
153 'key-name': 'field-key-name',
154 'key-value': 'ipaddress-v4-oam-vip'
155 }
156 ]
157 },
158 "ruleTypeValues": [null, 'vnf-name', 'vm-name-list', 'vnfc-name-list', 'vnf-oam-ipv4-address', 'vnfc-oam-ipv4-address-list'],
159 "typeValues": [null, 'ipv4-address', 'ipv6-address', 'ipv4-prefix', 'ipv6-prefix'],
160 "responseKeyNameValues": ['', 'unique-key-name', 'unique-key-value', 'field-key-name'],
161 "responseKeyValues": ['(none)', 'addressfqdn', 'ipaddress-v4', 'ipaddress-v6'],
162 "requestKeyNameValues": [''],
163 "requestKeyValues": ['', '(none)'],
164 "sourceValues": ['Manual', 'A&AI'],
165 "filterByFieldvalues": [null, 'vm-number', 'vnfc-function-code'],
166 "requiredValues": [null, true, false],
167 "uploadTypes": [{ value: 'External Key File', display: 'KeyFile' },
168 { value: 'Pd File', display: 'Pd File' }
169 ],
170 "optionsToNotificationComponent": {
171 timeOut: 1000,
172 showProgressBar: true,
173 pauseOnHover: true,
174 clickToClose: true,
175 maxLength: 200
Arundathi Patil2066d642018-07-30 15:16:54 +0530176 },
177 "messages" : {
178 "retrievalSuccessMessage" : 'Retrieved artifact successfully',
179 "retrievalFailureMessage" : 'There is no artifact saved in APPC for the selected action',
180 "saveSuccessMessage" : 'Successfully uploaded the ',
181 "saveFailureMessage" : 'Error in saving the ',
182 "artifactRetrivalsuccessMessage" : 'Retrieved artifact successfully',
183 "artifactRetrivalfailureMessage" : 'There is no artifact saved in APPC for the selected action!',
184 "artifactUploadAction" : 'uploadArtifact',
Arundathi Patilc33fda52018-08-01 16:19:07 +0530185 "artifactgetAction" : 'getArtifact',
186 "datafetched" : 'data fetched ',
187 "vmDataUploadSuccess" : 'Vm capabilities data uploaded successfully',
188 "emptyVmUpload" : 'Empty Vm capabilities file uploaded',
189 "incorrectVmUpload" : 'Incorrect VM capabilities file uploaded',
190 "artifactSaveError" : 'unable to save the artifact',
191 "referenceDataUplaodSuccess" : 'successfully uploaded the Reference Data',
192 "referenceDataUplaodFailure" : 'Error while saving Reference Data',
193 "incorrectFileFormat" : 'Incorrect file format'
Arundathi Patil2066d642018-07-30 15:16:54 +0530194 },
195 "errorCode" : {
196 "401" : '401',
197 "400" : '400'
198 },
199 "notifications" : {
200 "titles" : {
201 "information" : 'Information',
202 "success" : 'Success',
Arundathi Patilc33fda52018-08-01 16:19:07 +0530203 "error" : 'Error',
204 "status" : 'Status'
Arundathi Patil2066d642018-07-30 15:16:54 +0530205 }
Arundathi Patilc33fda52018-08-01 16:19:07 +0530206 },
207 "groupAnotationValue" : {
208 "blank" : '',
209 "pair" : 'Pair'
210 },
211 "groupAnotationType" : {
212 "blank" : '',
213 "firstVnfcName" : 'first-vnfc-name',
214 "fixedValue" : 'fixed-value',
215 "relativeValue" : 'relative-value',
216 "existingGroupName" : 'existing-group-name'
217 },
218 "deviceTemplates" : {
219 "blank" : '',
220 "y" : 'Y',
221 "n": 'N'
222 },
223 "sourceTypeColl" : {
224 "blank" : '',
225 "vnfType" : 'vnfType',
226 "vnfcType" : 'vnfcType'
Arundathi Patil9d5e8e72018-07-17 15:46:17 +0530227 }
IBM602-PC0F1E3C\Arundathif7b02a12018-07-10 17:16:08 +0530228};