[SDC-29] rebase continue work to align source
[sdc.git] / test-apis-ci / src / test / resources / CI / ecomp-error-configuration.yaml
1 ###########################################
2 # Note the conventions of the field values:
3 # type can be one of: CONFIG_ERROR, SYSTEM_ERROR, DATA_ERROR, CONNECTION_PROBLEM, AUTHENTICATION_PROBLEM
4 # severity can be one of: WARN, ERROR, FATAL
5 # alarmSeverity can be one of: CRITICAL,MAJOR,MINOR,INFORMATIONAL,NONE
6 # code is a unique integer in range of 3003-9999 (3000-3002 are occupied for internal usage)
7 # The above enumeration values are out-of-the-box and can be changed in code. 
8 # In case of config and code mismatch, the appropriate error will be printed to log
9 #
10 ## Range of BE codes - 3010-7999
11
12 errors:
13
14     BeRestApiGeneralError: {
15         type: SYSTEM_ERROR,
16         code: ASDC_4000,
17         severity: ERROR,
18         description: "Unexpected error during BE REST API execution",
19         alarmSeverity: CRITICAL
20     }
21
22     BeHealthCheckError: {
23         type: SYSTEM_ERROR,
24         code: ASDC_3010,
25         severity: ERROR,
26         description: "Error during BE Health Check",
27         alarmSeverity: CRITICAL
28     }
29     
30     BeInitializationError: {
31         type: SYSTEM_ERROR,
32         code: ASDC_4019,
33         severity: ERROR,
34         description: "Catalog-BE was not initialized properly",
35         alarmSeverity: CRITICAL
36     }
37
38     BeResourceMissingError: {
39         type: SYSTEM_ERROR,
40         code: ASDC_3011,
41         severity: ERROR,
42         description: "Mandatory resource %s cannot be found in repository",
43         alarmSeverity: MAJOR
44     }
45     
46     BeServiceMissingError: {
47         type: SYSTEM_ERROR,
48         code: ASDC_3012,
49         severity: ERROR,
50         description: "Mandatory service %s cannot be found in repository",
51         alarmSeverity: MAJOR
52     }
53     
54     BeFailedAddingResourceInstanceError: {
55         type: SYSTEM_ERROR,
56         code: ASDC_3013,
57         severity: ERROR,
58         description: "Failed to add resource instance of resource %s to service %s",
59         alarmSeverity: MAJOR
60     }
61     
62     BeIncorrectServiceError: {
63         type: SYSTEM_ERROR,
64         code: ASDC_3014,
65         severity: ERROR,
66         description: "Service %s is not valid",
67         alarmSeverity: MAJOR
68     }
69      
70     BeRepositoryDeleteError: {
71         type: SYSTEM_ERROR,
72         code: ASDC_3015,
73         severity: ERROR,
74         description: "Failed to delete object %s from repository",
75         alarmSeverity: CRITICAL
76     }
77     
78     BeRepositoryQueryError: {
79         type: SYSTEM_ERROR,
80         code: ASDC_3016,
81         severity: ERROR,
82         description: "Failed to fetch from repository %s",
83         alarmSeverity: MAJOR
84     }
85     
86     BeInvalidConfigurationError: {
87         type: CONFIG_ERROR,
88         code: ASDC_3017,
89         severity: FATAL,
90         description: "Configuration parameter %s is invalid. Value configured is %s",
91         alarmSeverity: MAJOR
92     }
93    
94     BeUebConnectionError: {
95         type: CONNECTION_PROBLEM,
96         code: ASDC_4001,
97         severity: ERROR,
98         description: "Connection problem towards U-EB server. Reason: %s",
99         alarmSeverity: MAJOR
100     }
101     
102     BeUebSystemError: {
103         type: SYSTEM_ERROR,
104         code: ASDC_3019,
105         severity: ERROR,
106         description: "Error occured during access to U-EB Server. Operation: %s",
107         alarmSeverity: MAJOR
108     }
109     
110     BeUebObjectNotFoundError: {
111         type: DATA_ERROR,
112         code: ASDC_4005,
113         severity: ERROR,
114         description: "Error occured during access to U-EB Server. Data not found: %s",
115         alarmSeverity: MAJOR
116     }
117
118     BeDistributionEngineSystemError: {
119         type: SYSTEM_ERROR,
120         code: ASDC_3021,
121         severity: ERROR,
122         description: "Error occured in Distribution Engine. Failed operation: %s",
123         alarmSeverity: MAJOR
124     }
125     
126     BeUebAuthenticationError: {
127         type: AUTHENTICATION_PROBLEM,
128         code: ASDC_4003,
129         severity: ERROR,
130         description: "Authentication problem towards U-EB server. Reason: %s",
131         alarmSeverity: MAJOR
132     }
133     
134     BeUebUnkownHostError: {
135         type: CONNECTION_PROBLEM,
136         code: ASDC_4002,
137         severity: ERROR,
138         description: "Connection problem towards U-EB server. Cannot reach host %s",
139         alarmSeverity: MAJOR
140     }
141     
142     BeDistributionEngineInvalidArtifactType: {
143         type: DATA_ERROR,
144         code: ASDC_4006,
145         severity: WARN,
146         description: "The artifact type %s does not appear in the list of valid artifacts %s",
147         alarmSeverity: MAJOR
148     }
149     BeInvalidTypeError: {
150         type: DATA_ERROR,
151         code: ASDC_4008,
152         severity: WARN,
153         description: "The type %s of %s is invalid",
154         alarmSeverity: MAJOR
155     }
156     BeInvalidValueError: {
157         type: DATA_ERROR,
158         code: ASDC_3028,
159         severity: WARN,
160         description: "The value %s of %s from type %s is invalid",
161         alarmSeverity: MAJOR
162     } 
163     
164     BeFailedDeletingResourceInstanceError: {
165         type: SYSTEM_ERROR,
166         code: ASDC_3029,
167         severity: ERROR,
168         description: "Failed to delete resource instance %s from service %s",
169         alarmSeverity: MAJOR
170     }
171     
172     BeMissingConfigurationError: {
173         type: CONFIG_ERROR,
174         code: ASDC_3030,
175         severity: FATAL,
176         description: "Configuration parameter %s is missing",
177         alarmSeverity: MAJOR
178     }
179     
180     BeConfigurationInvalidListSizeError: {
181         type: CONFIG_ERROR,
182         code: ASDC_3031,
183         severity: FATAL,
184         description: "Configuration parameter %s is invalid. At least %s values shall be configured",
185         alarmSeverity: MAJOR
186     }
187     
188     ErrorConfigFileFormat: {
189         type: CONFIG_ERROR,
190         code: ASDC_3032,
191         severity: ERROR,
192         description: "Error element not found in YAML name: %s",
193         alarmSeverity: MAJOR
194     }
195     
196     BeMissingArtifactInformationError: {
197         type: DATA_ERROR,
198         code: ASDC_4010,
199         severity: ERROR,
200         description: "Artifact uploaded has missing information. Missing %s",
201         alarmSeverity: MAJOR
202     }
203     
204     BeArtifactMissingError: {
205         type: DATA_ERROR,
206         code: ASDC_4011,
207         severity: ERROR,
208         description: "Artifact %s requested is not found",
209         alarmSeverity: MAJOR
210     }
211     
212     BeArtifactPayloadInvalid: {
213         type: DATA_ERROR,
214         code: ASDC_4012,
215         severity: ERROR,
216         description: "Payload of artifact uploaded is invalid (invalid MD5 or encryption)",
217         alarmSeverity: MAJOR
218     }
219     
220     BeUserMissingError: {
221         type: DATA_ERROR,
222         code: ASDC_4009,
223         severity: ERROR,
224         description: "User %s requested is not found",
225         alarmSeverity: MAJOR
226     }
227     
228     BeArtifactInformationInvalidError: {
229         type: DATA_ERROR,
230         code: ASDC_4013,
231         severity: ERROR,
232         description: "Input for artifact metadata is invalid",
233         alarmSeverity: MAJOR
234     }
235     BeFailedAddingCapabilityTypeError: {
236         type: DATA_ERROR,
237         code: ASDC_4015,
238         severity: ERROR,
239         description: "Failed adding capability type",
240         alarmSeverity: CRITICAL
241     }
242     
243     BeCapabilityTypeMissingError: {
244         type: DATA_ERROR,
245         code: ASDC_4016,
246         severity: ERROR,
247         description: "Capability Type %s not found",
248         alarmSeverity: CRITICAL
249     }
250     
251     BeInterfaceMissingError: {
252         type: DATA_ERROR,
253         code: ASDC_4020,
254         severity: ERROR,
255         description: "Interface %s required is missing",
256         alarmSeverity: MAJOR
257     }
258     
259     BeDaoSystemError: {
260         type: SYSTEM_ERROR,
261         code: ASDC_4014,
262         severity: ERROR,
263         description: "Operation towards database failed",
264         alarmSeverity: CRITICAL
265     }
266     
267     BeSystemError: {
268         type: SYSTEM_ERROR,
269         code: ASDC_4017,
270         severity: ERROR,
271         description: "Unexpected error during operation",
272         alarmSeverity: CRITICAL
273     }
274     
275     BeFailedLockObjectError: {
276         type: SYSTEM_ERROR,
277         code: ASDC_4007,
278         severity: WARN,
279         description: "Failed to lock object for update",
280         alarmSeverity: CRITICAL
281     }
282     
283     BeInvalidJsonInput: {
284         type: SYSTEM_ERROR,
285         code: ASDC_4018,
286         severity: ERROR,
287         description: "Failed to convert json input to object",
288         alarmSeverity: MAJOR
289     }
290     
291     BeDistributionMissingError: {
292         type: DATA_ERROR,
293         code: ASDC_4021,
294         severity: ERROR,
295         description: "Distribution %s required is missing",
296         alarmSeverity: MAJOR
297     }
298     
299     BeHealthCheckRecovery: {
300         type: RECOVERY,
301         code: ASDC_4022,
302         severity: INFO,
303         description: "BE Health Check Recovery",
304         alarmSeverity: INFORMATIONAL
305     }
306     BeFailedCreateNodeError: {
307         type: DATA_ERROR,
308         code: ASDC_6000,
309         severity: ERROR,
310         description: "Failed to create node %s on graph. status is %s",
311         alarmSeverity: MAJOR
312     }
313     BeFailedUpdateNodeError: {
314         type: DATA_ERROR,
315         code: ASDC_6001,
316         severity: ERROR,
317         description: "Failed to update node %s on graph. Status is %s",
318         alarmSeverity: MAJOR
319     }
320     
321     BeFailedDeleteNodeError: {
322         type: DATA_ERROR,
323         code: ASDC_6002,
324         severity: ERROR,
325         description: "Failed to delete node %s on graph. Status is %s",
326         alarmSeverity: MAJOR
327     }
328     
329     BeFailedRetrieveNodeError: {
330         type: DATA_ERROR,
331         code: ASDC_6003,
332         severity: ERROR,
333         description: "Failed to retrieve node %s from graph. Status is %s",
334         alarmSeverity: MAJOR
335     }
336     
337     BeExecuteRollbackError: {
338         type: DATA_ERROR,
339         code: ASDC_6004,
340         severity: ERROR,
341         description: "Going to execute rollback on graph.",
342         alarmSeverity: MAJOR
343     }
344     
345     BeFailedFindParentError: {
346         type: DATA_ERROR,
347         code: ASDC_6005,
348         severity: ERROR,
349         description: "Failed to find parent node %s on graph. Status is %s",
350         alarmSeverity: MAJOR
351     }
352     
353     BeFailedFindAllNodesError: {
354         type: DATA_ERROR,
355         code: ASDC_6006,
356         severity: ERROR,
357         description: "Failed to fetch all nodes with type %s of parent node %s . Status is %s",
358         alarmSeverity: MAJOR
359     }
360     
361     BeFailedFindAssociationError: {
362         type: DATA_ERROR,
363         code: ASDC_6007,
364         severity: ERROR,
365         description: "Cannot find node with type %s associated with node %s . Status is %s",
366         alarmSeverity: MAJOR
367     }
368     
369     BeFailedFindAssociationError: {
370         type: DATA_ERROR,
371         code: ASDC_6008,
372         severity: ERROR,
373         description: "Cannot find node with type %s associated with node %s . Status is %s",
374         alarmSeverity: MAJOR
375     }
376     BeComponentCleanerSystemError: {
377         type: SYSTEM_ERROR,
378         code: ASDC_6009,
379         severity: ERROR,
380         description: "Error occured in Component Cleaner Task. Failed operation: %s",
381         alarmSeverity: MAJOR
382     }
383