Single node copy paste keyboard shorcut on canvas
[sdc.git] / catalog-be / src / main / resources / config / error-configuration.yaml
1 # Errors
2 errors:
3     OK: {
4         code: 200,
5         message: "OK"
6     }
7     CREATED: {
8         code: 201,
9         message: "OK"
10     }
11     ACCEPTED: {
12         code: 202,
13         message: "Accepted"
14     }
15     NO_CONTENT: {
16         code: 204,
17         message: "No Content"
18     }
19 #--------POL4050-----------------------------
20     NOT_ALLOWED: {
21         code: 405,
22         message: "Error: Method not allowed.",
23         messageId: "POL4050"
24     }
25 #--------POL5000-----------------------------
26     GENERAL_ERROR: {
27         code: 500,
28         message: "Error: Internal Server Error. Please try again later.",
29         messageId: "POL5000"
30     }
31 #---------POL5001------------------------------
32     MISSING_X_ECOMP_INSTANCE_ID: {
33         code: 400  ,
34         message: "Error: Missing 'X-ECOMP-InstanceID' HTTP header.",
35         messageId: "POL5001"
36     }
37 #---------POL5002------------------------------
38     AUTH_REQUIRED: {
39         code: 401  ,
40         message: "Error: Authentication is required to use the API.",
41         messageId: "POL5002"
42     }
43 #---------POL5003------------------------------
44     AUTH_FAILED: {
45         code: 403  ,
46         message: "Error: Not authorized to use the API.",
47         messageId: "POL5003"
48     }
49 #---------POL5004------------------------------
50     MISSING_USER_ID: {
51         code: 400  ,
52         message: "Error: Missing 'USER_ID' HTTP header.",
53         messageId: "POL5004"
54     }
55 #---------SVC4000-----------------------------
56     INVALID_CONTENT: {
57         code: 400,
58         message: "Error: Invalid content.",
59         messageId: "SVC4000"
60     }
61 #---------SVC4002-----------------------------
62     MISSING_INFORMATION: {
63         code: 403,
64         message: "Error: Missing information.",
65         messageId: "SVC4002"
66     }
67 #---------SVC4003------------------------------
68 # %1 - Users's ID
69     USER_NOT_FOUND: {
70         code: 404,
71         message: "Error: User '%1' was not found.",
72         messageId: "SVC4003"
73     }
74 #---------SVC4004-----------------------------
75 # %1 - Users's email address
76     INVALID_EMAIL_ADDRESS: {
77         code: 400,
78         message: "Error: Invalid email address '%1'.",
79         messageId: "SVC4004"
80     }
81 #---------SVC4005------------------------------
82 # %1 - role
83     INVALID_ROLE: {
84         code: 400,
85         message: "Error: Invalid role '%1'.",
86         messageId: "SVC4005"
87     }
88 #---------SVC4006------------------------------
89 # %1 - Users's USER_ID
90     USER_ALREADY_EXIST: {
91         code: 409,
92         message: "Error: User with '%1' ID already exists.",
93         messageId: "SVC4006"
94     }
95 #---------SVC4007------------------------------
96     DELETE_USER_ADMIN_CONFLICT: {
97         code: 409,
98         message: "Error: An administrator can only be deleted by another administrator.",
99         messageId: "SVC4007"
100     }
101 #---------SVC4008-----------------------------
102 # %1 - Users's userId
103     INVALID_USER_ID: {
104         code: 400,
105         message: "Error: Invalid userId '%1'.",
106         messageId: "SVC4008"
107     }
108 #---------SVC4009-----------------------------
109     USER_DEFINED: {
110         code: 400,
111         message: "Error: User Defined '%1'.",
112         messageId: "SVC4009"
113     }
114 #---------SVC4049------------------------------
115 # %1 - service/resource
116     COMPONENT_MISSING_CONTACT: {
117         code: 400,
118         message: "Error: Invalid Content. Missing %1 contact.",
119         messageId: "SVC4049"
120     }
121 #---------SVC4050-----------------------------
122 # %1 - Service/Resource/Additional parameter
123 # %2 - service/resource/label name
124     COMPONENT_NAME_ALREADY_EXIST: {
125         code: 409,
126         message: "Error: %1 with name '%2' already exists.",
127         messageId: "SVC4050"
128     }
129 #---------SVC4051------------------------------
130 # %1 - resource/service
131     COMPONENT_MISSING_CATEGORY: {
132         code: 400,
133         message: "Error: Invalid Content. Missing %1 category.",
134         messageId: "SVC4051"
135     }
136
137 #---------SVC4052------------------------------
138     COMPONENT_MISSING_TAGS: {
139         code: 400,
140         message: "Error: Invalid Content. At least one tag has to be specified.",
141         messageId: "SVC4052"
142     }
143
144 #---------SVC4053------------------------------
145 # %1 - service/resource
146     COMPONENT_MISSING_DESCRIPTION: {
147         code: 400,
148         message: "Error: Invalid Content. Missing %1 description.",
149         messageId: "SVC4053"
150     }
151 #---------SVC4054------------------------------
152 # %1 - resource/service
153     COMPONENT_INVALID_CATEGORY: {
154         code: 400,
155         message: "Error: Invalid Content. Invalid %1 category.",
156         messageId: "SVC4054"
157     }
158 #---------SVC4055------------------------------
159     MISSING_VENDOR_NAME: {
160         code: 400,
161         message: "Error: Invalid Content. Missing vendor name.",
162         messageId: "SVC4055"
163     }
164 #---------SVC4056------------------------------
165     MISSING_VENDOR_RELEASE: {
166         code: 400,
167         message: "Error: Invalid Content. Missing vendor release.",
168         messageId: "SVC4056"
169     }
170
171 #---------SVC4057------------------------------
172     MISSING_DERIVED_FROM_TEMPLATE: {
173         code: 400,
174         message: "Error: Invalid Content. Missing derived from template specification.",
175         messageId: "SVC4057"
176     }
177
178 #---------SVC4058------------------------------
179 # %1 - service/resource
180     COMPONENT_MISSING_ICON: {
181         code: 400,
182         message: "Error: Invalid Content. Missing %1 icon.",
183         messageId: "SVC4058"
184     }
185 #---------SVC4059------------------------------
186 # %1 - service/resource
187     COMPONENT_INVALID_ICON: {
188         code: 400,
189         message: "Error: Invalid Content. Invalid %1 icon.",
190         messageId: "SVC4059"
191     }
192 #---------SVC4060------------------------------
193     PARENT_RESOURCE_NOT_FOUND: {
194         code: 400,
195         message: "Error: Invalid Content. Derived from resource template was not found.",
196         messageId: "SVC4060"
197     }
198 #---------SVC4061------------------------------
199     MULTIPLE_PARENT_RESOURCE_FOUND: {
200         code: 400,
201         message: "Error: Invalid Content. Multiple derived from resource template is not allowed.",
202         messageId: "SVC4061"
203     }
204
205 #---------SVC4062------------------------------
206 # %1 - service/resource
207     MISSING_COMPONENT_NAME: {
208         code: 400,
209         message: "Error: Invalid Content. Missing %1 name.",
210         messageId: "SVC4062"
211     }
212 #---------SVC4063------------------------------
213     #%1  -  resource/service name
214     RESOURCE_NOT_FOUND: {
215         code: 404,
216         message: "Error: Requested '%1' resource was not found.",
217         messageId: "SVC4063"
218     }
219
220 #---------SVC4064------------------------------
221 # %1 - Service/Resource/Property
222     COMPONENT_INVALID_DESCRIPTION: {
223         code: 400,
224         message: "Error: Invalid Content. %1 description contains non-english characters.",
225         messageId: "SVC4064"
226     }
227 #---------SVC4065------------------------------
228 # %1 - Service/Resource/Property
229 # %2 - max resource/service name length
230     COMPONENT_DESCRIPTION_EXCEEDS_LIMIT: {
231         code: 400,
232         message: "Error: Invalid Content. %1 description exceeds limit of %2 characters.",
233         messageId: "SVC4065"
234     }
235 #---------SVC4066------------------------------
236 # %1 - max length
237     COMPONENT_TAGS_EXCEED_LIMIT: {
238         code: 400,
239         message: "Error: Invalid Content. Tags overall length exceeds limit of %1 characters.",
240         messageId: "SVC4066"
241     }
242 #---------SVC4067------------------------------
243 # %1 - max length
244     VENDOR_NAME_EXCEEDS_LIMIT: {
245         code: 400,
246         message: "Error: Invalid Content. Vendor name exceeds limit of %1 characters.",
247         messageId: "SVC4067"
248     }
249 #---------SVC4068------------------------------
250 # %1 - max length
251     VENDOR_RELEASE_EXCEEDS_LIMIT: {
252         code: 400,
253         message: "Error: Invalid Content. Vendor release exceeds limit of %1 characters.",
254         messageId: "SVC4068"
255     }
256
257 #---------SVC4069------------------------------
258 # %1 - Service/Resource/Product
259     COMPONENT_INVALID_CONTACT: {
260         code: 400,
261         message: "Error: Invalid Content. %1 Contact Id should be in format 'mnnnnnn' or 'aannna' or 'aannnn', where m=m ,a=a-zA-Z and n=0-9",
262         messageId: "SVC4069"
263     }
264 #---------SVC4070------------------------------
265 # %1 - Service/Resource
266     INVALID_COMPONENT_NAME: {
267         code: 400,
268         message: 'Error: Invalid Content. %1 name is not allowed to contain characters like <>:"\/|?* and space characters other than regular space.',
269         messageId: "SVC4070"
270     }
271
272 #---------SVC4071------------------------------
273     INVALID_VENDOR_NAME: {
274         code: 400,
275         message: 'Error: Invalid Content. Vendor name is not allowed to contain characters like <>:"\/|?* and space characters other than regular space.',
276         messageId: "SVC4071"
277     }
278 #---------SVC4072------------------------------
279     INVALID_VENDOR_RELEASE: {
280         code: 400,
281         message: 'Error: Invalid Content. Vendor release is not allowed to contain characters like <>:"\/|?* and space characters other than regular space.',
282         messageId: "SVC4072"
283     }
284 #---------SVC4073------------------------------
285 # %1 - Service/Resource
286 # %2 - max  resource/service name
287     COMPONENT_NAME_EXCEEDS_LIMIT: {
288         code: 400,
289         message: "Error: Invalid Content. %1 name exceeds limit of %2 characters.",
290         messageId: "SVC4073"
291     }
292 #---------SVC4080------------------------------
293 # %1 - resource/service name
294 # %2 - resource/service
295 # %3 - First name of last modifier
296 # %4 - Last name of last modifier
297 # %5 - USER_ID of last modifier
298     COMPONENT_IN_CHECKOUT_STATE: {
299         code: 403,
300         message: "Error: Requested '%1' %2 is locked for modification by %3 %4(%5).",
301         messageId: "SVC4080"
302     }
303 #---------SVC4081-----------------------------
304 # %1 - resource/service name
305 # %2 - resource/service
306 # %3 - First name of last modifier
307 # %4 - Last name of last modifier
308 # %5 - USER_ID of last modifier
309     COMPONENT_IN_CERT_IN_PROGRESS_STATE: {
310         code: 403,
311         message: "Error: Requested '%1' %2 is locked for certification by %3 %4(%5).",
312         messageId: "SVC4081"
313     }
314
315 #-----------SVC4082---------------------------
316 # %1 - resource/service name
317 # %2 - resource/service
318 # %3 - First name of last modifier
319 # %4 - Last name of last modifier
320 # %5 - USER_ID of last modifier
321     COMPONENT_SENT_FOR_CERTIFICATION: {
322         code: 403,
323         message: "Error: Requested '%1' %2 is sent for certification by %3 %4(%5).",
324         messageId: "SVC4082"
325     }
326 #-----------SVC4083---------------------------
327     COMPONENT_VERSION_ALREADY_EXIST: {
328         code: 409,
329         message: "Error: Version of this %1 was already promoted.",
330         messageId: "SVC4083"
331     }
332 #-----------SVC4084---------------------------
333 # %1 - resource/service/product name
334 # %2 - resource/service/product
335 # %3 - First name of last modifier
336 # %4 - Last name of last modifier
337 # %5 - USER_ID of last modifier
338     COMPONENT_ALREADY_CHECKED_IN: {
339         code: 409,
340         message: "Error: The current version of '%1' %2 was already checked-in by %3 %4(%5).",
341         messageId: "SVC4084"
342     }
343 #-----------SVC4085---------------------------
344 # %1 - resource/service/product name
345 # %2 - resource/service/product
346 # %3 - First name of last modifier
347 # %4 - Last name of last modifier
348 # %5 - USER_ID of last modifier
349     COMPONENT_CHECKOUT_BY_ANOTHER_USER: {
350         code: 403,
351         message: "Error: %1 %2 has already been checked out by %3 %4(%5).",
352         messageId: "SVC4085"
353     }
354 #-----------SVC4086---------------------------
355 # %1  - resource/service name
356 # %2  - resource/service
357     COMPONENT_IN_USE: {
358         code: 403,
359         message: "Error: '%1' %2 is still held by previous action. Please try again later.",
360         messageId: "SVC4086"
361     }
362 #-----------SVC4087---------------------------
363 # %1 - component name
364 # %2 - resource/service/product
365     COMPONENT_HAS_NEWER_VERSION: {
366         code: 409,
367         message: "Error: Checking out of the requested version of the '%1' %2 is not allowed as a newer version exists.",
368         messageId: "SVC4087"
369     }
370 #-----------SVC4088---------------------------
371 # %1 - resource/service name
372 # %2 - resource/service
373 # %3 - First name of last modifier
374 # %4 - Last name of last modifier
375 # %5 - USER_ID of last modifier
376     COMPONENT_ALREADY_CERTIFIED: {
377         code: 403,
378         message: "Error: Requested %1 %2 has already been certified by %3 %4(%5).",
379         messageId: "SVC4088"
380     }
381 #-----------SVC4089---------------------------
382 # %1 - resource/service name
383 # %2 - resource/service
384     COMPONENT_NOT_READY_FOR_CERTIFICATION: {
385         code: 403,
386         message: "Error: Requested '%1' %2 is not ready for certification.",
387         messageId: "SVC4089"
388     }
389 #-----------SVC4100---------------------------
390 #%1 - property name
391     PROPERTY_NOT_FOUND: {
392         code: 404,
393         message: "Error: Requested '%1' property was not found.",
394         messageId: "SVC4100"
395     }
396 #-----------SVC4101---------------------------
397 #%1 - property name
398     PROPERTY_ALREADY_EXIST: {
399         code: 409,
400         message: "Error: Property with '%1' name already exists.",
401         messageId: "SVC4101"
402     }
403
404 #-----------SVC4102---------------------------
405 # %1 - capability type name
406     CAPABILITY_TYPE_ALREADY_EXIST: {
407         code: 409,
408         message: "Error: Capability Type with name '%1' already exists.",
409         messageId: "SVC4102"
410     }
411 #-----------SVC4114---------------------------
412     AUTH_FAILED_INVALIDE_HEADER: {
413         code: 400,
414         message: "Error: Invalid Authorization header.",
415         messageId: "SVC4114"
416     }
417 #-----------SVC4115---------------------------
418 # %1 - capability type name
419     MISSING_CAPABILITY_TYPE: {
420         code: 400,
421         message: "Error: Invalid Content. Missing Capability Type '%1'.",
422         messageId: "SVC4115"
423     }
424     RESOURCE_INSTANCE_BAD_REQUEST: {
425         code: 400,
426         message: "Error: Invalid Content.",
427         messageId: "SVC4116"
428     }
429 #-----------SVC4117---------------------------
430 # %1 - resource instance name
431 # %2 - resource instance name
432 # %3 - requirement name
433     RESOURCE_INSTANCE_MATCH_NOT_FOUND: {
434         code: 404,
435         message: "Error: Match not found between resource instance '%1' and resource instance '%2' for requirement '%3'.",
436         messageId: "SVC4117"
437     }
438 #-----------SVC4118---------------------------
439 # %1 - resource instance name
440 # %2 - resource instance name
441 # %3 - requirement name
442     RESOURCE_INSTANCE_ALREADY_EXIST: {
443         code: 409,
444         message: "Error: Resource instances '%1' and '%2' are already associated with requirement '%3'.",
445         messageId: "SVC4118"
446     }
447 #-----------SVC4119---------------------------
448 # %1 - resource instance name
449 # %2 - resource instance name
450 # %3 - requirement name
451     RESOURCE_INSTANCE_RELATION_NOT_FOUND: {
452         code: 404,
453         message: "Error: No relation found between resource instances '%1' and '%2' for requirement '%3'.",
454         messageId: "SVC4119"
455     }
456 #-----------SVC4120---------------------------
457 # %1 - User's USER_ID
458     USER_INACTIVE: {
459         code: 404,
460         message: "Error: User %1 was not found.",
461         messageId: "SVC4120"
462     }
463 #-----------SVC4121---------------------------
464 # %1 - User's USER_ID
465     USER_HAS_ACTIVE_ELEMENTS: {
466         code: 403,
467         message: "Error: User with %1 ID can not be deleted since it has active elements(resources/services/artifacts).",
468         messageId: "SVC4121"
469     }
470 #-----------SVC4122---------------------------
471 # %1 - artifact type
472     ARTIFACT_TYPE_NOT_SUPPORTED: {
473         code: 400,
474         message: "Error: Invalid artifact type '%1'.",
475         messageId: "SVC4122"
476     }
477 #-----------SVC4123---------------------------
478     ARTIFACT_LOGICAL_NAME_CANNOT_BE_CHANGED: {
479         code: 400,
480         message: "Error: Artifact logical name cannot be changed.",
481         messageId: "SVC4123"
482     }
483 #-----------SVC4124---------------------------
484     MISSING_ARTIFACT_TYPE: {
485         code: 400,
486         message: "Error: Missing artifact type.",
487         messageId: "SVC4124"
488     }
489 #-----------SVC4125---------------------------
490 # %1-artifact name
491     ARTIFACT_EXIST: {
492         code: 400,
493         message: "Error: Artifact '%1' already exists.",
494         messageId: "SVC4125"
495     }
496 #---------SVC4126------------------------------
497 # %1 - resource/service/product/...
498 # %2 - field (tag, vendor name...)
499     INVALID_FIELD_FORMAT: {
500         code: 400,
501         message: "Error:  Invalid %1 %2 format.",
502         messageId: "SVC4126"
503     }
504 #-----------SVC4127---------------------------
505     ARTIFACT_INVALID_MD5: {
506         code: 400,
507         message: "Error: Invalid artifact checksum.",
508         messageId: "SVC4127"
509     }
510 #-----------SVC4128---------------------------
511     MISSING_ARTIFACT_NAME: {
512         code: 400,
513         message: "Error: Invalid content. Missing artifact name.",
514         messageId: "SVC4128"
515     }
516 #-----------SVC4129---------------------------
517     MISSING_PROJECT_CODE: {
518         code: 400,
519         message: "Error: Invalid Content. Missing PROJECT_CODE number.",
520         messageId: "SVC4129"
521     }
522 #-----------SVC4130---------------------------
523     INVALID_PROJECT_CODE: {
524         code: 400,
525         message: "Error: Invalid Content. PROJECT_CODE must be from 3 up to 50 characters.",
526         messageId: "SVC4130"
527     }
528 #-----------SVC4131---------------------------
529 # %1-resource/service
530 # %2-srtifact/artifacts
531 # %3-semicolomn separated list of artifact
532     COMPONENT_MISSING_MANDATORY_ARTIFACTS: {
533         code: 403,
534         message: "Error: Missing mandatory informational %1 %2: [%3].",
535         messageId: "SVC4131"
536     }
537 #-----------SVC4132---------------------------
538 # %1 - lifecycle  type name
539     LIFECYCLE_TYPE_ALREADY_EXIST: {
540         code: 409,
541         message: "Error: Lifecycle Type with name '%1' already exists.",
542         messageId: "SVC4132"
543     }
544 #-----------SVC4133---------------------------
545 # %1 - service version
546 # %2 - service name
547     SERVICE_NOT_AVAILABLE_FOR_DISTRIBUTION: {
548         code: 403,
549         message: "Error: Version %1 of '%2' service is not available for distribution.",
550         messageId: "SVC4133"
551     }
552 #-----------SVC4134---------------------------
553     MISSING_LIFECYCLE_TYPE: {
554         code: 400,
555         message: "Error: Invalid Content. Missing interface life-cycle type.",
556         messageId: "SVC4134"
557     }
558 #---------SVC4135------------------------------
559     SERVICE_CATEGORY_CANNOT_BE_CHANGED: {
560         code: 400,
561         message: "Error: Service category cannot be changed once the service is certified.",
562         messageId: "SVC4135"
563     }
564 #---------SVC4136------------------------------
565 # %1 - distribution environment name
566     DISTRIBUTION_ENVIRONMENT_NOT_AVAILABLE: {
567         code: 500,
568         message: "Error: Requested distribution environment '%1' is not available.",
569         messageId: "SVC4136"
570     }
571 #---------SVC4137------------------------------
572 # %1 - distribution environment name
573     DISTRIBUTION_ENVIRONMENT_NOT_FOUND: {
574         code: 400,
575         message: "Error: Requested distribution environment '%1' was not found.",
576         messageId: "SVC4137"
577     }
578 #---------SVC4138------------------------------
579     DISTRIBUTION_ENVIRONMENT_INVALID: {
580         code: 400,
581         message: "Error: Invalid distribution environment.",
582         messageId: "SVC4138"
583     }
584 #---------SVC4200------------------------------
585 # %1 - Service/Resource
586 # %2 - max icon name length
587     COMPONENT_ICON_EXCEEDS_LIMIT: {
588         code: 400,
589         message: "Error: Invalid Content. %1 icon name exceeds limit of %2 characters.",
590         messageId: "SVC4200"
591     }
592 #---------SVC4300------------------------------
593     RESTRICTED_ACCESS: {
594         code: 403,
595         message: "Error: Restricted access.",
596         messageId: "SVC4300"
597     }
598 #---------SVC4301------------------------------
599     RESTRICTED_OPERATION: {
600         code: 403,
601         message: "Error: Restricted operation.",
602         messageId: "SVC4301"
603     }
604 #---------SVC4500------------------------------
605     MISSING_BODY: {
606         code: 400  ,
607         message: "Error: Missing request body.",
608         messageId: "SVC4500"
609     }
610 #---------SVC4501------------------------------
611     MISSING_PUBLIC_KEY: {
612         code: 400  ,
613         message: "Error: Invalid Content. Missing mandatory parameter 'apiPublicKey'." ,
614         messageId: "SVC4501"
615     }
616 #---------SVC4502------------------------------
617     DISTRIBUTION_ENV_DOES_NOT_EXIST: {
618         code: 400  ,
619         message: "Error: Invalid  Body  : Missing mandatory parameter 'distrEnvName'." ,
620         messageId: "SVC4502"
621     }
622 #-----------SVC4503---------------------------
623 # %1 - service name
624     SERVICE_NOT_FOUND: {
625         code: 404,
626         message: "Error: Requested '%1' service was not found.",
627         messageId: "SVC4503"
628     }
629
630 #---------SVC4504------------------------------
631 # %1 - Service/Resource
632 # %2 - service/resource version
633     COMPONENT_VERSION_NOT_FOUND: {
634         code: 404,
635         message: "Error: %1 version %2 was not found.",
636         messageId: "SVC4504"
637     }
638 #-----------SVC4505---------------------------
639     #%1-artifact name
640
641     ARTIFACT_NOT_FOUND: {
642         code: 404,
643         message: "Error: Artifact '%1' was not found.",
644         messageId: "SVC4505"
645     }
646 #---------SVC4506------------------------------
647     MISSING_ENV_NAME: {
648         code: 400  ,
649         message: "Error: Invalid Content. Missing mandatory parameter 'distrEnvName'.",
650         messageId: "SVC4506"
651     }
652 #---------SVC4507------------------------------
653     COMPONENT_INVALID_TAGS_NO_COMP_NAME: {
654         code: 400,
655         message: "Error: Invalid Content. One of the tags should be the component name.",
656         messageId: "SVC4507"
657     }
658
659 #---------SVC4508------------------------------
660     SERVICE_NAME_CANNOT_BE_CHANGED: {
661         code: 400,
662         message: "Error: Service name cannot be changed once the service is certified.",
663         messageId: "SVC4508"
664     }
665
666 #---------SVC4509------------------------------
667     SERVICE_ICON_CANNOT_BE_CHANGED: {
668         code: 400,
669         message: "Error: Icon cannot be changed once the service is certified.",
670         messageId: "SVC4509"
671     }
672 #---------SVC4510------------------------------
673 # %1 - icon name max length
674     SERVICE_ICON_EXCEEDS_LIMIT: {
675         code: 400,
676         message: "Error: Invalid Content. Icon name exceeds limit of %1 characters.",
677         messageId: "SVC4510"
678     }
679 #---------SVC4511------------------------------
680     DISTRIBUTION_REQUESTED_NOT_FOUND: {
681         code: 404,
682         message: "Error: Requested distribution was not found.",
683         messageId: "SVC4511"
684     }
685 #---------SVC4512------------------------------
686 # %1 - Distribution ID
687     DISTRIBUTION_REQUESTED_FAILED: {
688         code: 403,
689         message: "Error: Requested distribution '%1' failed.",
690         messageId: "SVC4512"
691     }
692 #---------SVC4513------------------------------
693     RESOURCE_CATEGORY_CANNOT_BE_CHANGED: {
694         code: 400,
695         message: "Error: Resource category cannot be changed once the resource is certified.",
696         messageId: "SVC4513"
697     }
698 #---------SVC4514------------------------------
699     RESOURCE_NAME_CANNOT_BE_CHANGED: {
700         code: 400,
701         message: "Error: Resource name cannot be changed once the resource is certified.",
702         messageId: "SVC4514"
703     }
704 #---------SVC4515------------------------------
705     RESOURCE_ICON_CANNOT_BE_CHANGED: {
706         code: 400,
707         message: "Error: Icon cannot be changed once the resource is certified.",
708         messageId: "SVC4515"
709     }
710 #---------SVC4516------------------------------
711     RESOURCE_VENDOR_NAME_CANNOT_BE_CHANGED: {
712         code: 400,
713         message: "Error: Vendor name cannot be changed once the resource is certified.",
714         messageId: "SVC4516"
715     }
716 #---------SVC4517------------------------------
717     RESOURCE_DERIVED_FROM_CANNOT_BE_CHANGED: {
718         code: 400,
719         message: "Error: Derived from resource template cannot be changed once the resource is certified.",
720         messageId: "SVC4517"
721     }
722 #---------SVC4518------------------------------
723 # %1 - max length
724     COMPONENT_SINGLE_TAG_EXCEED_LIMIT: {
725         code: 400,
726         message: "Error: Invalid Content. Single tag exceeds limit of %1 characters.",
727         messageId: "SVC4518"
728     }
729 #---------SVC4519------------------------------
730     INVALID_DEFAULT_VALUE: {
731         code: 400,
732         message: "Error: mismatch in data-type occurred for property %1. data type is %2 and default value found is %3.",
733         messageId: "SVC4519"
734     }
735 #---------SVC4520------------------------------
736 # %1 - service or resource
737     ADDITIONAL_INFORMATION_MAX_NUMBER_REACHED: {
738         code: 409,
739         message: "Error: Maximal number of additional %1 parameters was reached.",
740         messageId: "SVC4520"
741     }
742 #---------SVC4521------------------------------
743     ADDITIONAL_INFORMATION_EMPTY_STRING_NOT_ALLOWED: {
744         code: 400,
745         message: "Error: Invalid Content. The Additional information label and value cannot be empty.",
746         messageId: "SVC4521"
747     }
748 #---------SVC4522------------------------------
749 # %1 - label/value
750 # %2 - Maximal length of %1
751     ADDITIONAL_INFORMATION_EXCEEDS_LIMIT: {
752         code: 400,
753         message: "Error: Invalid Content. Additional information %1 exceeds limit of %2 characters.",
754         messageId: "SVC4522"
755     }
756 #---------SVC4523------------------------------
757     ADDITIONAL_INFORMATION_KEY_NOT_ALLOWED_CHARACTERS: {
758         code: 400,
759         message: 'Error: Invalid Content. Additional information label is not allowed to contain characters like <>:"\/|?* and space characters other than regular space.',
760         messageId: "SVC4523"
761     }
762 #---------SVC4524------------------------------
763     ADDITIONAL_INFORMATION_NOT_FOUND: {
764         code: 409,
765         message: "Error: Requested additional information was not found.",
766         messageId: "SVC4524"
767     }
768 #---------SVC4525------------------------------
769     ADDITIONAL_INFORMATION_VALUE_NOT_ALLOWED_CHARACTERS: {
770         code: 400,
771         message: 'Error: Invalid Content. Additional information contains non-english characters.',
772         messageId: "SVC4525"
773     }
774 #---------SVC4526------------------------------
775     RESOURCE_INSTANCE_NOT_FOUND: {
776         code: 404,
777         message: "Error: Requested '%1' resource instance was not found.",
778         messageId: "SVC4526"
779     }
780 #---------SVC4527------------------------------
781     ASDC_VERSION_NOT_FOUND: {
782         code: 500,
783         message: 'Error: ASDC version cannot be displayed.',
784         messageId: "SVC4527"
785     }
786 #---------SVC4528------------------------------
787 # %1-artifact url/artifact label/artifact description/VNF Service Indicator
788     MISSING_DATA: {
789         code: 400,
790         message: "Error: Invalid content. Missing %1.",
791         messageId: "SVC4528"
792     }
793 #---------SVC4529------------------------------
794 # %1-artifact url/artifact label/artifact description/artifact name
795 # %2 - Maximal length of %1
796     EXCEEDS_LIMIT: {
797         code: 400,
798         message: "Error: Invalid Content. %1 exceeds limit of %2 characters.",
799         messageId: "SVC4529"
800     }
801 #---------SVC4530------------------------------
802     ARTIFACT_INVALID_TIMEOUT: {
803         code: 400,
804         message: "Error: Invalid Content. Artifact Timeout should be set to valid positive non-zero number of minutes.",
805         messageId: "SVC4530"
806     }
807 #---------SVC4531------------------------------
808     SERVICE_IS_VNF_CANNOT_BE_CHANGED: {
809         code: 400,
810         message: "Error: VNF Indicator cannot be updated for certified service.",
811         messageId: "SVC4531"
812     }
813  #---------SVC4532------------------------------
814     RESOURCE_INSTANCE_NOT_FOUND_ON_SERVICE: {
815         code: 404,
816         message: "Error: Requested '%1' resource instance was not found on the service '%2.",
817         messageId: "SVC4532"
818     }
819  #---------SVC4533------------------------------
820  # %1 -  "HEAT"/"HEAT_ENV"/"MURANO_PKG"/"YANG_XML"
821     WRONG_ARTIFACT_FILE_EXTENSION: {
822         code: 400,
823         message: "Error: Invalid file extension for %1 artifact type.",
824         messageId: "SVC4533"
825     }
826
827 #---------SVC4534------------------------------
828 # %1 -  "HEAT"/"HEAT_ENV"
829     INVALID_YAML: {
830         code: 400,
831         message: "Error: Uploaded YAML file for %1 artifact is invalid.",
832         messageId: "SVC4534"
833     }
834
835 #---------SVC4535------------------------------
836 # %1 -  "HEAT"
837     INVALID_DEPLOYMENT_ARTIFACT_HEAT: {
838         code: 400,
839         message: "Error: Invalid %1 artifact.",
840         messageId: "SVC4535"
841     }
842 #---------SVC4536------------------------------
843 # %1 - "Resource"/"Service"
844 # %2 -  resource/service name
845 # %3 -  "HEAT"/"HEAT_ENV"/"MURANO_PKG"
846 # %4 -  "HEAT"/"HEAT_ENV"/"MURANO_PKG
847     DEPLOYMENT_ARTIFACT_OF_TYPE_ALREADY_EXISTS: {
848         code: 400,
849         message: "Error: %1 '%2' already has a deployment artifact of %3 type .Please delete or update an existing %4 artifact.",
850         messageId: "SVC4536"
851     }
852
853 #---------SVC4537------------------------------
854     MISSING_HEAT: {
855         code: 400,
856         message: "Error: Missing HEAT artifact. HEAT_ENV artifact cannot be uploaded without corresponding HEAT template.",
857         messageId: "SVC4537"
858     }
859 #---------SVC4538------------------------------
860     MISMATCH_HEAT_VS_HEAT_ENV: {
861         code: 400,
862         message: "Error: Invalid artifact content. Parameter's set in HEAT_ENV '%1' artifact doesn't match the parameters in HEAT '%2' artifact.",
863         messageId: "SVC4538"
864     }
865 #---------SVC4539------------------------------
866     INVALID_RESOURCE_PAYLOAD: {
867         code: 400,
868         message: "Error: Invalid resource payload.",
869         messageId: "SVC4539"
870     }
871 #---------SVC4540------------------------------
872     INVALID_TOSCA_FILE_EXTENSION: {
873         code: 400,
874         message: "Error: Invalid file extension for TOSCA template.",
875         messageId: "SVC4540"
876     }
877 #---------SVC4541------------------------------
878     INVALID_YAML_FILE: {
879         code: 400,
880         message: "Error: Invalid YAML file.",
881         messageId: "SVC4541"
882     }
883 #---------SVC4542------------------------------
884     INVALID_TOSCA_TEMPLATE: {
885         code: 400,
886         message: "Error: Invalid TOSCA template.",
887         messageId: "SVC4542"
888     }
889 #---------SVC4543------------------------------
890     NOT_RESOURCE_TOSCA_TEMPLATE: {
891         code: 400,
892         message: "Error: Imported Service TOSCA template.",
893         messageId: "SVC4543"
894     }
895 #---------SVC4544------------------------------
896     NOT_SINGLE_RESOURCE: {
897         code: 400,
898         message: "Error: Imported TOSCA template should contain one resource definition.",
899         messageId: "SVC4544"
900     }
901 #---------SVC4545------------------------------
902     INVALID_RESOURCE_NAMESPACE: {
903         code: 400,
904         message: "Error: Invalid resource namespace.",
905         messageId: "SVC4545"
906     }
907 #---------SVC4546------------------------------
908     RESOURCE_ALREADY_EXISTS: {
909         code: 400,
910         message: "Error: Imported resource already exists in ASDC Catalog.",
911         messageId: "SVC4546"
912     }
913 #---------SVC4549------------------------------
914     INVALID_RESOURCE_CHECKSUM: {
915         code: 400,
916         message: "Error: Invalid resource checksum.",
917         messageId: "SVC4549"
918     }
919 #---------SVC4550------------------------------
920     #%1  -  Consumer salt
921     INVALID_LENGTH: {
922         code: 400,
923         message: "Error: Invalid %1 length.",
924         messageId: "SVC4550"
925     }
926     #---------SVC4551------------------------------
927     #%1  -  ECOMP User name
928     ECOMP_USER_NOT_FOUND: {
929         code: 404,
930         message: "Error: ECOMP User '%1' was not found.",
931         messageId: "SVC4551"
932     }
933 #---------SVC4552------------------------------
934     CONSUMER_ALREADY_EXISTS: {
935         code: 409,
936         message: "Error: ECOMP User already exists.",
937         messageId: "SVC4552"
938     }
939 #---------SVC4553-----------------------------
940     #%1  -  Consumer name / Consumer password/ Consumer salt
941     INVALID_CONTENT_PARAM: {
942         code: 400,
943         message: "Error: %1 is invalid.",
944         messageId: "SVC4553"
945     }
946     #---------SVC4554------------------------------
947 # %1 - "Resource"/"Service"
948     COMPONENT_ARTIFACT_NOT_FOUND: {
949         code: 404,
950         message: "Error: Requested artifact doesn't belong to specified %1.",
951         messageId: "SVC4554"
952     }
953 #---------SVC4554------------------------------
954 # %1 - "Service name"
955     SERVICE_DEPLOYMENT_ARTIFACT_NOT_FOUND: {
956         code: 403,
957         message: "Error: Requested '%1' service is not ready for certification. Service has to have at least one deployment artifact.",
958         messageId: "SVC4554"
959     }
960 #---------SVC4555------------------------------
961 #%1 - "Resource"/"Service"/"Product"
962 #%2 - "category"
963     COMPONENT_ELEMENT_INVALID_NAME_LENGTH: {
964         code: 400,
965         message: "Error: Invalid %1 %2 name length.",
966         messageId: "SVC4555"
967     }
968 #---------SVC4556------------------------------
969 #%1 - "Resource"/"Service"/"Product"
970 #%2 - "category"
971     COMPONENT_ELEMENT_INVALID_NAME_FORMAT: {
972         code: 400,
973         message: "Error: Invalid %1 %2 name format.",
974         messageId: "SVC4556"
975     }
976 #---------SVC4557------------------------------
977 #%1 - "Resource"/"Service"/"Product"
978 #%2 - "category name"
979     COMPONENT_CATEGORY_ALREADY_EXISTS: {
980         code: 409,
981         message: "Error: %1 category name '%2' already exists.",
982         messageId: "SVC4557"
983     }
984 #---------SVC4558------------------------------
985 # %1 - "service"/"VF"
986 # %2 - "Resource name"
987     VALIDATED_RESOURCE_NOT_FOUND: {
988         code: 403,
989         message: "Error: Submit for Testing is not permitted as your '%1' includes non-validated '%2' resource.",
990         messageId: "SVC4558"
991     }
992 #---------SVC4559------------------------------
993 # %1 - "service"/"VF"
994 # %2 - "Resource name"
995     FOUND_ALREADY_VALIDATED_RESOURCE: {
996         code: 403,
997         message: "Error: Submit for Testing is not permitted as your '%1' includes non-validated '%2' resource. Please use already available validated resource version.",
998         messageId: "SVC4559"
999     }
1000 #---------SVC4560------------------------------
1001 # %1 - "service"/"VF"
1002 # %2 - "Resource name"
1003     FOUND_LIST_VALIDATED_RESOURCES: {
1004         code: 403,
1005         message: "Error: Submit for Testing is not permitted as your '%1' includes non-validated '%2' resource. Please use one of available validated resource versions.",
1006         messageId: "SVC4560"
1007     }
1008 #---------SVC4561------------------------------
1009 # %1 - "resource"/"product"
1010 # %2 - "category"
1011 # %3 - "category name"
1012     COMPONENT_CATEGORY_NOT_FOUND: {
1013         code: 404,
1014         message: "Error: Requested %1 %2 '%3' was not found.",
1015         messageId: "SVC4561"
1016     }
1017 #---------SVC4562------------------------------
1018 # %1 - "Resource"/"Product"
1019 # %2 - "sub-category name"
1020 # %3 - "category name"
1021     COMPONENT_SUB_CATEGORY_EXISTS_FOR_CATEGORY: {
1022         code: 409,
1023         message: "Error: %1 sub-category '%2' already exists under '%3' category.",
1024         messageId: "SVC4562"
1025     }
1026 #---------SVC4563------------------------------
1027 # %1 - "Product"
1028 # %2 - "grouping name"
1029 # %3 - "sub-category name"
1030     COMPONENT_GROUPING_EXISTS_FOR_SUB_CATEGORY: {
1031         code: 409,
1032         message: "Error: %1 grouping '%2' already exists under '%3' sub-category.",
1033         messageId: "SVC4563"
1034     }
1035 #---------SVC4564------------------------------
1036 # %1 - product name
1037     PRODUCT_NOT_FOUND: {
1038         code: 404,
1039         message: "Error: Requested '%1' product was not found.",
1040         messageId: "SVC4564"
1041     }
1042 #---------SVC4565------------------------------
1043 # %1 - "HEAT"
1044 # %2  - parameter type ("string" , "boolean" , "number")
1045 # %3 -  parameter name
1046     INVALID_HEAT_PARAMETER_VALUE: {
1047         code: 400,
1048         message: "Error: Invalid %1 artifact. Invalid %2 value set for '%3' parameter.",
1049         messageId: "SVC4565"
1050     }
1051 #---------SVC4566------------------------------
1052 # %1 - "HEAT"
1053 # %2  - parameter type ("string" , "boolean" , "number")
1054     INVALID_HEAT_PARAMETER_TYPE: {
1055         code: 400,
1056         message: "Error: Invalid %1 artifact. Unsupported '%2' parameter type.",
1057         messageId: "SVC4566"
1058     }
1059 #---------SVC4567------------------------------
1060 # %1 -  "YANG_XML"
1061     INVALID_XML: {
1062         code: 400,
1063         message: "Error: Uploaded XML file for %1 artifact is invalid.",
1064         messageId: "SVC4567"
1065     }
1066 #---------SVC4567------------------------------
1067 # %1 - "User Name and UserId"
1068 # %2  -"checked-out"/"in-certification"
1069     CANNOT_DELETE_USER_WITH_ACTIVE_ELEMENTS: {
1070         code: 409,
1071         message: "Error: User cannot be deleted. User '%1' has %2 projects.",
1072         messageId: "SVC4567"
1073     }
1074 #---------SVC4568------------------------------
1075 # %1 - "User Name and UserId"
1076 # %2  -"checked-out"/"in-certification"
1077     CANNOT_UPDATE_USER_WITH_ACTIVE_ELEMENTS: {
1078         code: 409,
1079         message: "Error: Role cannot be changed. User '%1' has %2 projects.",
1080         messageId: "SVC4568"
1081     }
1082 #---------SVC4570------------------------------
1083     UPDATE_USER_ADMIN_CONFLICT: {
1084         code: 409,
1085         message: "Error: An administrator is not allowed to change his/her role.",
1086         messageId: "SVC4570"
1087     }
1088 #---------SVC4571------------------------------
1089     SERVICE_CANNOT_CONTAIN_SUBCATEGORY: {
1090         code: 400,
1091         message: "Error: Sub category cannot be defined for service",
1092         messageId: "SVC4571"
1093     }
1094 #---------SVC4572------------------------------
1095 # %1 - "Resource"/"Service"
1096     COMPONENT_TOO_MUCH_CATEGORIES: {
1097         code: 400,
1098         message: "Error: %1 must have only 1 category",
1099         messageId: "SVC4572"
1100     }
1101 #---------SVC4574------------------------------
1102     RESOURCE_TOO_MUCH_SUBCATEGORIES: {
1103         code: 400,
1104         message: "Error: Resource must have only 1 sub category",
1105         messageId: "SVC4574"
1106     }
1107 #---------SVC4575------------------------------
1108     COMPONENT_MISSING_SUBCATEGORY: {
1109         code: 400,
1110         message: "Error: Missing sub category",
1111         messageId: "SVC4575"
1112     }
1113  #---------SVC4576------------------------------
1114 # %1 - "component type"
1115     UNSUPPORTED_ERROR: {
1116         code: 400,
1117         message: "Error : Requested component type %1 is unsupported.",
1118         messageId: "SVC4576"
1119     }
1120     #---------SVC4577------------------------------
1121 # %1 - "resource type"
1122     RESOURCE_CANNOT_CONTAIN_RESOURCE_INSTANCES: {
1123         code: 409,
1124         message: "Error : Resource of type %1 cannot contain resource instances.",
1125         messageId: "SVC4577"
1126     }
1127 #---------SVC4578------------------------------
1128 # %1 - "Resource"/"Service"
1129 # %2 -  resource/service name
1130 # %3 -  "artifact name"
1131     DEPLOYMENT_ARTIFACT_NAME_ALREADY_EXISTS: {
1132         code: 400,
1133         message: "Error: %1 '%2' already has a deployment artifact named '%3'.",
1134         messageId: "SVC4578"
1135     }
1136 #---------SVC4579------------------------------
1137 # %1 - "Category"/"Sub-Category"/"Group"
1138 # %2 -  category/sub-category/grouping name.
1139     INVALID_GROUP_ASSOCIATION: {
1140         code: 400,
1141         message: "Error: Invalid group association. %1 '%2' was not found.",
1142         messageId: "SVC4579"
1143     }
1144 #---------SVC4580------------------------------
1145     EMPTY_PRODUCT_CONTACTS_LIST: {
1146         code: 400,
1147         message: "Error: Invalid content. At least one Product Contact has to be specified.",
1148         messageId: "SVC4580"
1149     }
1150 #---------SVC4581------------------------------
1151 # %1 - UserId
1152     INVALID_PRODUCT_CONTACT: {
1153         code: 400,
1154         message: "Error: Invalid content. User '%1' cannot be set as Product Contact.",
1155         messageId: "SVC4581"
1156     }
1157 #---------SVC4582------------------------------
1158 # %1 - Product
1159 # %2 - "abbreviated"/"full"
1160     MISSING_ONE_OF_COMPONENT_NAMES: {
1161         code: 400,
1162         message: "Error: Invalid content. Missing %1 %2 name.",
1163         messageId: "SVC4582"
1164     }
1165 #---------SVC4583------------------------------
1166 # %1 - "Icon"
1167 # %2 - "resource"/"service"/"product"
1168     COMPONENT_PARAMETER_CANNOT_BE_CHANGED: {
1169         code: 400,
1170         message: "Error: %1 cannot be changed once the %2 is certified.",
1171         messageId: "SVC4583"
1172     }
1173 #---------SVC4584------------------------------
1174 # %1  - service/VF name
1175 # %2 - "service" /"VF"
1176 # %3 -  resource instance origin type
1177 # %4 -  resource instance name
1178 # %5 -  requirement/capability
1179 # %6 -  requirement/capability name
1180 # %7 -  "fulfilled" (for req)/"consumed (for cap)"
1181     REQ_CAP_NOT_SATISFIED_BEFORE_CERTIFICATION: {
1182         code: 403,
1183         message: "Error:  Requested '%1' %2 is not ready for certification.  %3 '%4' has to have %5 '%6' %7.",
1184         messageId: "SVC4584"
1185     }
1186 #---------SVC4585------------------------------
1187     INVALID_OCCURRENCES: {
1188         code: 400,
1189         message: "Error: Invalid occurrences format.",
1190         messageId: "SVC4585"
1191     }
1192 #---------SVC4586------------------------------
1193 #---------SVC4586------------------------------
1194     INVALID_SERVICE_API_URL: {
1195         code: 400,
1196         message: 'Error: Invalid Service API URL. Please check whether your URL has a valid domain extension and does not contain the following characters - #?&@%+;,=$<>~^`\[]{}|"*!',
1197         messageId: "SVC4586"
1198     }
1199 #---------SVC4587------------------------------
1200 # %1  - Data type name
1201     DATA_TYPE_ALREADY_EXIST: {
1202         code: 409,
1203         message: 'Error: Data type %1 already exists.',
1204         messageId: "SVC4587"
1205     }
1206 #---------SVC4588------------------------------
1207 # %1  - Data type name
1208     DATA_TYPE_NOR_PROPERTIES_NEITHER_DERIVED_FROM: {
1209         code: 400,
1210         message: 'Error: Invalid Data type %1. Data type must have either a valid derived from declaration or at least one valid property',
1211         messageId: "SVC4588"
1212     }
1213 #---------SVC4589------------------------------
1214 # %1  - Data type name
1215     DATA_TYPE_PROPERTIES_CANNOT_BE_EMPTY: {
1216         code: 400,
1217         message: "Error: Invalid Data type %1. 'properties' parameter cannot be empty if provided.",
1218         messageId: "SVC4589"
1219     }
1220 #---------SVC4590------------------------------
1221 # %1  - Property type name
1222 # %2  - Property name
1223     INVALID_PROPERTY_TYPE: {
1224         code: 400,
1225         message: "Error: Invalid Property type %1 in property %2.",
1226         messageId: "SVC4590"
1227     }
1228 #---------SVC4591------------------------------
1229 # %1  - Property inner type
1230 # %2  - Property name
1231     INVALID_PROPERTY_INNER_TYPE: {
1232         code: 400,
1233         message: "Error: Invalid property inner type %1, in property %2",
1234         messageId: "SVC4591"
1235     }
1236 #---------SVC4592------------------------------
1237 # %1  - component instance name
1238 # %2  - "resource instance"/"service instance"
1239     COMPONENT_INSTANCE_NOT_FOUND: {
1240         code: 404,
1241         message: "Error: Requested '%1' %2 was not found.",
1242         messageId: "SVC4592"
1243     }
1244 #---------SVC4593------------------------------
1245 # %1 - component instance name
1246 # %2 - "resource instance"/"service instance"
1247 # %3 - "resource/"service"/"product"
1248 # %4 - container name
1249     COMPONENT_INSTANCE_NOT_FOUND_ON_CONTAINER: {
1250         code: 404,
1251         message: "Error: Requested '%1' %2 was not found on the %3 '%4'.",
1252         messageId: "SVC4593"
1253     }
1254 #---------SVC4594------------------------------
1255 #%1 - requirement / capability
1256 #%2 - requirement name
1257     IMPORT_DUPLICATE_REQ_CAP_NAME: {
1258         code: 400,
1259         message: "Error: Imported TOSCA template contains more than one %1 named '%2'.",
1260         messageId: "SVC4594"
1261     }
1262 #---------SVC4595------------------------------
1263 #%1 - requirement / capability
1264 #%2 - requirement name
1265 #%3 - parent containing the requirement
1266     IMPORT_REQ_CAP_NAME_EXISTS_IN_DERIVED: {
1267         code: 400,
1268         message: "Error: Imported TOSCA template contains %1 '%2' that is already defined by derived template %3.",
1269         messageId: "SVC4595"
1270     }
1271 #---------SVC4596------------------------------
1272 # %1  - Data type name
1273     DATA_TYPE_DERIVED_IS_MISSING: {
1274         code: 400,
1275         message: "Error: Invalid Content. The ancestor data type %1 cannot be found in the system.",
1276         messageId: "SVC4596"
1277     }
1278 #---------SVC4597------------------------------
1279 # %1  - Data type name
1280 # %2  - Property names
1281     DATA_TYPE_PROPERTY_ALREADY_DEFINED_IN_ANCESTOR: {
1282         code: 400,
1283         message: "Error: Invalid Content. The data type %1 contains properties named %2 which are already defined in one of its ancestors.",
1284         messageId: "SVC4597"
1285     }
1286 #---------SVC4598------------------------------
1287 # %1  - Data type name
1288     DATA_TYPE_DUPLICATE_PROPERTY: {
1289         code: 400,
1290         message: "Error: Invalid Content. The data type %1 contains duplicate property.",
1291         messageId: "SVC4598"
1292     }
1293 #---------SVC4599------------------------------
1294 # %1  - Data type name
1295 # %2  - Property names
1296     DATA_TYPE_PROEPRTY_CANNOT_HAVE_SAME_TYPE_OF_DATA_TYPE: {
1297         code: 400,
1298         message: "Error: Invalid Content. The data type %1 contains properties %2 which their type is this data type.",
1299         messageId: "SVC4599"
1300     }
1301 #---------SVC4600------------------------------
1302 # %1  - Data type name
1303     DATA_TYPE_CANNOT_HAVE_PROPERTIES: {
1304         code: 400,
1305         message: "Error: Invalid Content. The data type %1 cannot have properties since it is of type scalar",
1306         messageId: "SVC4600"
1307     }
1308 #---------SVC4601------------------------------
1309     NOT_TOPOLOGY_TOSCA_TEMPLATE: {
1310         code: 400,
1311         message: "Error: TOSCA yaml file %1 cannot be modeled to VF as it does not contain 'topology_template.",
1312         messageId: "SVC4601"
1313     }
1314 #---------SVC4602--------------------------------
1315 # %1 - yaml file name
1316 # %2 - node_template label
1317 # %3 - node_template type
1318     INVALID_NODE_TEMPLATE: {
1319         code: 400,
1320         message: "Error: TOSCA yaml file '%1' contains node_template '%2' of type '%3' that does not represent existing VFC/CP/VL",
1321         messageId: "SVC4602"
1322     }
1323 #---------SVC4603------------------------------
1324 # %1 - component type
1325 # %2 - component name
1326 # %3 - state
1327     ILLEGAL_COMPONENT_STATE: {
1328         code: 403,
1329         message: "Error: Component instance of %1 can not be created because the component '%2' is in an illegal state %3.",
1330         messageId: "SVC4603"
1331     }
1332 #---------SVC4604------------------------------
1333 # %1 - csar file name
1334     CSAR_INVALID: {
1335         code: 400,
1336         message: "Error: TOSCA CSAR '%1' is invalid. 'TOSCA-Metadata/Tosca.meta' file must be provided.",
1337         messageId: "SVC4604"
1338     }
1339 #---------SVC4605------------------------------
1340 # %1 - csar file name
1341     CSAR_INVALID_FORMAT: {
1342         code: 400,
1343         message: "Error: TOSCA CSAR '%1' is invalid. Invalid 'TOSCA-Metadata/Tosca.meta' file format.",
1344         messageId: "SVC4605"
1345     }
1346 #---------SVC4606------------------------------
1347 # %1 - property name
1348 # %2 - property type
1349 # %3 - property innerType
1350 # %4 - default value is
1351     INVALID_COMPLEX_DEFAULT_VALUE: {
1352         code: 400,
1353         message: "Error: Invalid default value of property %1. Data type is %2 with inner type %3 and default value found is %4.",
1354         messageId: "SVC4606"
1355     }
1356 #---------SVC4607------------------------------
1357 # %1 - csar file name
1358     CSAR_NOT_FOUND: {
1359         code: 400,
1360         message: "Error: TOSCA CSAR '%1' is not found.",
1361         messageId: "SVC4607"
1362     }
1363 #---------SVC4608------------------------------
1364 # %1 - artifact name
1365 # %2 - component type
1366 # %3 - actual component type
1367     MISMATCH_BETWEEN_ARTIFACT_TYPE_AND_COMPONENT_TYPE: {
1368         code: 400,
1369         message: "Error: Artifact %1 is only compatible with component of type %2, but component type is %3.",
1370         messageId: "SVC4608"
1371     }
1372
1373 #---------SVC4609------------------------------
1374 # %1 -  "INVALID_JSON"
1375     INVALID_JSON: {
1376         code: 400,
1377         message: "Error: Uploaded JSON file for %1 artifact is invalid.",
1378         messageId: "SVC4609"
1379     }
1380 #---------SVC4610------------------------------
1381 # %1 - csar file name
1382 # %2 - missing file name
1383     YAML_NOT_FOUND_IN_CSAR: {
1384         code: 400,
1385         message: "Error - TOSCA CSAR %1 is invalid. TOSCA-Metadata/Tosca.meta refers to file %2 that is not provided.",
1386         messageId: "SVC4610"
1387     }
1388 #---------SVC4611------------------------------
1389 # %1 - group name
1390     GROUP_MEMBER_EMPTY: {
1391         code: 400,
1392         message: "Error: Invalid Content. Group %1 member list was provided but does not have values",
1393         messageId: "SVC4611"
1394     }
1395 #---------SVC4612------------------------------
1396 # %1  - group name
1397     GROUP_TYPE_ALREADY_EXIST: {
1398         code: 409,
1399         message: 'Error: Group type %1 already exists.',
1400         messageId: "SVC4612"
1401     }
1402 #---------SVC4613------------------------------
1403 # %1 - group name
1404 # %2 - VF name(component name)
1405 # %3 - actual component type [VF]
1406     GROUP_ALREADY_EXIST: {
1407         code: 409,
1408         message: "Error: Group with name '%1' already exists in %2 %3.",
1409         messageId: "SVC4613"
1410     }
1411 #---------SVC4614------------------------------
1412 # %1 - group type
1413     GROUP_TYPE_IS_INVALID: {
1414         code: 400,
1415         message: "Error: Invalid content. Group type %1 does not exist",
1416         messageId: "SVC4614"
1417     }
1418 #---------SVC4615------------------------------
1419 # %1 - group name
1420     GROUP_MISSING_GROUP_TYPE: {
1421         code: 400,
1422         message: "Error: Invalid Content. Missing Group Type for group '%1'",
1423         messageId: "SVC4615"
1424     }
1425 #---------SVC4616------------------------------
1426 # %1 - member name
1427 # %2 - group name
1428 # %3 - VF name
1429 # %4 - component type [VF ]
1430     GROUP_INVALID_COMPONENT_INSTANCE: {
1431         code: 400,
1432         message: "Error: Member '%1' listed in group '%2' is not part of '%3' %4.",
1433         messageId: "SVC4616"
1434     }
1435 #---------SVC4617------------------------------
1436 # %1 - member name
1437 # %2 - group name
1438 # %3 - group type
1439     GROUP_INVALID_TOSCA_NAME_OF_COMPONENT_INSTANCE: {
1440         code: 400,
1441         message: "Error: member %1 listed in group %2 is not part of allowed members of group type %3.",
1442         messageId: "SVC4617"
1443     }
1444 #---------SVC4618------------------------------
1445 # %1 - missing file name
1446 # %2 - csar file name
1447     ARTIFACT_NOT_FOUND_IN_CSAR: {
1448         code: 400,
1449         message: "Error: artifact %1 is defined in CSAR %2 manifest but is not provided",
1450         messageId: "SVC4618"
1451     }
1452 #---------SVC4619------------------------------
1453 # %1 - artifact name
1454 # %2 - artifact type
1455 # %3 - existing artifact type
1456     ARTIFACT_ALRADY_EXIST_IN_DIFFERENT_TYPE_IN_CSAR: {
1457         code: 400,
1458         message: "Error: artifact %1 in type %2 already exists in type %3.",
1459         messageId: "SVC4619"
1460     }
1461 #---------SVC4620------------------------------
1462     FAILED_RETRIVE_ARTIFACTS_TYPES: {
1463         code: 400,
1464         message: "Error: Failed to retrieve list of suported artifact types.",
1465         messageId: "SVC4620"
1466     }
1467 #---------SVC4621------------------------------
1468 # %1 - artifact name
1469 # %2 - master
1470     ARTIFACT_ALRADY_EXIST_IN_MASTER_IN_CSAR: {
1471         code: 400,
1472         message: "Error: artifact %1 already exists in master %2 .",
1473         messageId: "SVC4621"
1474     }
1475 #---------SVC4622------------------------------
1476 # %1 - artifact name
1477 # %2 - artifact type
1478 # %3 - master name
1479 # %4 - master type
1480     ARTIFACT_NOT_VALID_IN_MASTER: {
1481         code: 400,
1482         message: "Error: artifact %1 in type %2 can not be exists under master %3 in type %4.",
1483         messageId: "SVC4622"
1484     }
1485 #---------SVC4623------------------------------
1486 # %1 - artifact name
1487 # %2 - artifact type
1488 # %3 - env name
1489 # %4 - existing env
1490     ARTIFACT_NOT_VALID_ENV: {
1491         code: 400,
1492         message: "Error: Artifact %1 in type %2 with env %3 already exists with another env %4",
1493         messageId: "SVC4623"
1494     }
1495 #---------SVC4624------------------------------
1496 # %1 - groups names
1497 # %2 - VF name
1498 # %3 - component type [VF ]
1499     GROUP_IS_MISSING: {
1500         code: 400,
1501         message: "Error: Invalid Content. The groups '%1' cannot be found under %2 %3.",
1502         messageId: "SVC4624"
1503     }
1504 #---------SVC4625------------------------------
1505 # %1 - groups name
1506     GROUP_ARTIFACT_ALREADY_ASSOCIATED: {
1507         code: 400,
1508         message: "Error: Invalid Content. Artifact already associated to group '%1'.",
1509         messageId: "SVC4625"
1510     }
1511 #---------SVC4626------------------------------
1512 # %1 - groups name
1513     GROUP_ARTIFACT_ALREADY_DISSOCIATED: {
1514         code: 400,
1515         message: "Error: Invalid Content. Artifact already dissociated from group '%1'.",
1516         messageId: "SVC4626"
1517     }
1518 #---------SVC4627------------------------------
1519 # %1 - property name
1520 # %2 - group name
1521 # %3 - group type name
1522     GROUP_PROPERTY_NOT_FOUND: {
1523         code: 400,
1524         message: "Error: property %1 listed in group %2 is not exist in group type %3.",
1525         messageId: "SVC4627"
1526     }
1527 #---------SVC4628------------------------------
1528 # %1 - csarUUID
1529 # %2 - VF name
1530     VSP_ALREADY_EXISTS: {
1531         code: 400,
1532         message: "Error: The VSP with UUID %1 was already imported for VF %2. Please select another or update the existing VF.",
1533         messageId: "SVC4628"
1534     }
1535 #---------SVC4629------------------------------
1536 # %1 - VF name
1537     MISSING_CSAR_UUID: {
1538         code: 400,
1539         message: "Error: The Csar UUID or payload name is missing for VF %1.",
1540         messageId: "SVC4629"
1541     }
1542 #---------SVC4630------------------------------
1543 # %1 - VF name
1544 # %2 - new csarUUID
1545 # %3 - old csarUUID
1546     RESOURCE_LINKED_TO_DIFFERENT_VSP: {
1547         code: 400,
1548         message: "Error: Resource %1 cannot be updated using CsarUUID %2 since the resource is linked to a different VSP with csarUUID %3.",
1549         messageId: "SVC4630"
1550     }
1551 #---------SVC4631------------------------------
1552 # %1  - policy name
1553     POLICY_TYPE_ALREADY_EXIST: {
1554         code: 409,
1555         message: "Error: Policy type %1 already exists.",
1556         messageId: "SVC4631"
1557     }
1558 #---------SVC4632------------------------------
1559 # %1 - target name
1560 # %2 - policy type name
1561     TARGETS_NON_VALID: {
1562         code: 400,
1563         message: "Error: target %1 listed in policy type %2 is not a group or resource.",
1564         messageId: "SVC4632"
1565     }
1566 #---------SVC4633------------------------------
1567 # %1 - policy name
1568     TARGETS_EMPTY: {
1569         code: 400,
1570         message: "Error: Invalid Content. Policy %1 target list was provided but does not have values",
1571         messageId: "SVC4633"
1572     }
1573 #---------SVC4634------------------------------
1574     DATA_TYPE_CANNOT_BE_EMPTY: {
1575         code: 500,
1576         message: "Error: Data types are empty. Please import the data types.",
1577         messageId: "SVC4634"
1578     }
1579 #---------SVC4635------------------------------
1580 # %1 - csar uuid
1581     RESOURCE_FROM_CSAR_NOT_FOUND: {
1582         code: 400,
1583         message: "Error: resource from csar uuid %1 not found",
1584         messageId: "SVC4635"
1585     }
1586 #---------SVC4636------------------------------
1587 # %1 - Data type name
1588     DATA_TYPE_CANNOT_BE_UPDATED_BAD_REQUEST: {
1589         code: 400,
1590         message: 'Error: Data type %1 cannot be upgraded. The new data type does not contain old properties or the type of one of the properties has been changed.',
1591         messageId: "SVC4636"
1592     }
1593 #-----------SVC4637---------------------------
1594 #%1 - attribute name
1595     ATTRIBUTE_NOT_FOUND: {
1596         code: 404,
1597         message: "Error: Requested '%1' attribute was not found.",
1598         messageId: "SVC4637"
1599     }
1600 #-----------SVC4638---------------------------
1601 #%1 - attribute name
1602     ATTRIBUTE_ALREADY_EXIST: {
1603         code: 409,
1604         message: "Error: Attribute with '%1' name already exists.",
1605         messageId: "SVC4638"
1606     }
1607 #-----------SVC4639---------------------------
1608 #%1 - property name
1609     PROPERTY_NAME_ALREADY_EXISTS: {
1610         code: 409,
1611         message: "Error: Property with '%1' name and different type already exists.",
1612         messageId: "SVC4639"
1613     }
1614 #-----------SVC4640---------------------------
1615 #%1 - property name
1616     INVALID_PROPERTY: {
1617         code: 409,
1618         message: "Error: Invalid property received.",
1619         messageId: "SVC4640"
1620     }
1621 #---------SVC4641-----------------------------
1622 #%1 - invalid filter
1623 #%2 - valid filters
1624     INVALID_FILTER_KEY: {
1625         code: 400,
1626         message: "Error: The filter %1 is not applicable. Please use one of the following filters: %2",
1627         messageId: "SVC4641"
1628     }
1629 #---------SVC4642-----------------------------
1630 #%1 - asset type
1631 #%2 - filter
1632     NO_ASSETS_FOUND: {
1633         code: 404,
1634         message: "No %1 were found to match criteria %2",
1635         messageId: "SVC4642"
1636     }
1637 #---------SVC4643------------------------------
1638 # %1 - "Resource"/"Product"
1639 # %2 - "sub-category name"
1640 # %3 - "category name"
1641     COMPONENT_SUB_CATEGORY_NOT_FOUND_FOR_CATEGORY: {
1642         code: 404,
1643         message: "Error: %1 sub-category '%2' not found under category '%3'.",
1644         messageId: "SVC4643"
1645     }
1646 #---------SVC4644------------------------------
1647 # %1 - Format
1648     CORRUPTED_FORMAT: {
1649         code: 400,
1650         message: "Error: %1 format is corrupted.",
1651         messageId: "SVC4644"
1652     }
1653 #---------SVC4645------------------------------
1654 # %1 - "groupType"
1655     INVALID_VF_MODULE_TYPE: {
1656         code: 400,
1657         message: "Error: Invalid group type '%1' (should be VfModule).",
1658         messageId: "SVC4645"
1659     }
1660 #---------SVC4646------------------------------
1661 # %1 - "groupName"
1662     INVALID_VF_MODULE_NAME: {
1663         code: 400,
1664         message: "Error: Invalid Content. Group name '%1' contains invalid characters",
1665         messageId: "SVC4646"
1666     }
1667
1668 #---------SVC4647------------------------------
1669 # %1 - "modifiedName"
1670     INVALID_VF_MODULE_NAME_MODIFICATION: {
1671         code: 400,
1672         message: "Error: Invalid VF Module name modification, can not modify '%1'",
1673         messageId: "SVC4647"
1674     }
1675 #---------SVC4648------------------------------
1676 # %1 - "inputId"
1677 # %2 - "componentId"
1678     INPUT_IS_NOT_CHILD_OF_COMPONENT: {
1679         code: 400,
1680         message: "Error: Input id: '%1' is not child of component id: '%2'",
1681         messageId: "SVC4648"
1682     }
1683 #---------SVC4649------------------------------
1684 # %1 - "groupName"
1685     GROUP_HAS_CYCLIC_DEPENDENCY: {
1686         code: 400,
1687         message: "Error: The group '%1' has cyclic dependency",
1688         messageId: "SVC4649"
1689     }
1690 #---------SVC4650------------------------------
1691 # %1 - "Component Type"
1692 # %2 - <ServiceName>
1693 # %3 - error description
1694     AAI_ARTIFACT_GENERATION_FAILED: {
1695         code: 500,
1696         message: "Error: %1 %2 automatic generation of artifacts failed. Description: %3",
1697         messageId: "SVC4650"
1698     }
1699 #---------SVC4651------------------------------
1700     PARENT_RESOURCE_DOES_NOT_EXTEND: {
1701         code: 400,
1702         message: "Error: Once resource is certified, derived_from can be changed only to a sibling",
1703         messageId: "SVC4651"
1704     }
1705 #---------SVC4652------------------------------
1706 # %1 - resource/service
1707     COMPONENT_INVALID_SUBCATEGORY: {
1708         code: 400,
1709         message: "Error: Invalid Content. Invalid %1 sub category.",
1710         messageId: "SVC4652"
1711     }
1712 #---------SVC4653------------------------------
1713 # %1 - group instance uniqueId
1714 # %2 - service uniqueId
1715     GROUP_INSTANCE_NOT_FOUND_ON_COMPONENT_INSTANCE: {
1716         code: 404,
1717         message: "Error: Requested group instance %1 was not found on component %2.",
1718         messageId: "SVC4653"
1719     }
1720 #---------SVC4654------------------------------
1721 # %1 - group property name
1722 # %2 - valid min limit value
1723 # %3 - valid max limit value
1724     INVALID_GROUP_MIN_MAX_INSTANCES_PROPERTY_VALUE: {
1725         code: 400,
1726         message: "Error: Value of %1 must be not higher than %2, and not lower than %3.",
1727         messageId: "SVC4654"
1728     }
1729 #---------SVC4655------------------------------
1730 # %1 - group property name
1731 # %2 - valid min limit value
1732 # %3 - valid max limit value
1733     INVALID_GROUP_INITIAL_COUNT_PROPERTY_VALUE: {
1734         code: 400,
1735         message: "Error: Value of %1 must be between %2 and %3.",
1736         messageId: "SVC4655"
1737     }
1738 #---------SVC4656------------------------------
1739 # %1 - group property name
1740 # %2 - lower/higher
1741 # %3 - valid max/min value
1742     INVALID_GROUP_PROPERTY_VALUE_LOWER_HIGHER: {
1743         code: 400,
1744         message: "Error: Value of %1 must be %2 or equals to %3.",
1745         messageId: "SVC4656"
1746     }
1747 #---------SVC4657------------------------------
1748 # %1 - certificationRequest / startTesting
1749     RESOURCE_VFCMT_LIFECYCLE_STATE_NOT_VALID: {
1750         code: 400,
1751         message: "Error - Lifecycle state %1 is not valid for resource of type VFCMT",
1752         messageId: "SVC4657"
1753     }
1754 #---------SVC4658------------------------------
1755 # %1 – asset type [service / resource ]
1756 # %2 – main asset uuid
1757 # %3 – not found asset type [service / resource]
1758 # %4 – not found asset name
1759     ASSET_NOT_FOUND_DURING_CSAR_CREATION: {
1760         code: 400,
1761         message: "Error: CSAR packaging failed for %1 %2. %3 %4 was not found",
1762         messageId: "SVC4658"
1763     }
1764 #---------SVC4659------------------------------
1765 # %1 – asset type [service / resource ]
1766 # %2 – main asset uuid
1767 # %3 – Artifact name
1768 # %4 – Artifact uuid
1769     ARTIFACT_PAYLOAD_NOT_FOUND_DURING_CSAR_CREATION: {
1770         code: 400,
1771         message: "Error: CSAR packaging failed for %1 %2. Artifact %3 [%4] was not found",
1772         messageId: "SVC4659"
1773     }
1774 #---------SVC4660------------------------------
1775 # %1 - assetType
1776 # %2 - matching generic node type name
1777     GENERIC_TYPE_NOT_FOUND: {
1778         code: 404,
1779         message: "Creation of %1 failed. Generic type %2 was not found",
1780         messageId: "SVC4660"
1781     }
1782 #---------SVC4661------------------------------
1783 # %1 - assetType
1784 # %2 - matching generic node type name
1785     TOSCA_SCHEMA_FILES_NOT_FOUND: {
1786         code: 400,
1787         message: "Error: CSAR packaging failed. TOSCA schema files for SDC-Version: %1 and Conformance-Level %2 were not found",
1788         messageId: "SVC4661"
1789     }
1790 #---------SVC4662------------------------------
1791 # %1 - file name
1792 # %2 - parser error
1793     TOSCA_PARSE_ERROR: {
1794         code: 400,
1795         message: "Error: Invalid TOSCA template in file %1. %2",
1796         messageId: "SVC4662"
1797     }
1798 #---------SVC4663------------------------------
1799 # %1 - max length
1800     RESOURCE_VENDOR_MODEL_NUMBER_EXCEEDS_LIMIT: {
1801         code: 400,
1802         message: "Error: Invalid Content. Resource vendor model number exceeds limit of %1 characters.",
1803         messageId: "SVC4663"
1804     }
1805 #---------SVC4664------------------------------
1806     INVALID_RESOURCE_VENDOR_MODEL_NUMBER: {
1807         code: 400,
1808         message: 'Error: Invalid Content. Resource vendor model number is not allowed to contain characters like <>:"\/|?* and space characters other than regular space.',
1809         messageId: "SVC4664"
1810     }
1811 #---------SVC4665------------------------------
1812 # %1 - max length
1813     SERVICE_TYPE_EXCEEDS_LIMIT: {
1814         code: 400,
1815         message: "Error: Invalid Content. Service type exceeds limit of %1 characters.",
1816         messageId: "SVC4665"
1817     }
1818 #---------SVC4666------------------------------
1819     INVALID_SERVICE_TYPE: {
1820         code: 400,
1821         message: 'Error: Invalid Content. Serivce type is not allowed to contain characters like <>:"\/|?* and space characters other than regular space.',
1822         messageId: "SVC4666"
1823     }
1824 #---------SVC4667------------------------------
1825 # %1 - max length
1826     SERVICE_ROLE_EXCEEDS_LIMIT: {
1827         code: 400,
1828         message: "Error: Invalid Content. Service role exceeds limit of %1 characters.",
1829         messageId: "SVC4667"
1830     }
1831 #---------SVC4668------------------------------
1832     INVALID_SERVICE_ROLE: {
1833         code: 400,
1834         message: 'Error: Invalid Content. Service role is not allowed to contain characters like <>:"\/|?* and space characters other than regular space.',
1835         messageId: "SVC4668"
1836     }
1837
1838 #---------SVC4669-----------------------------
1839     INVALID_RESOURCE_TYPE: {
1840         code: 400,
1841         message: "Error: Invalid resource type.",
1842         messageId: "SVC4669"
1843     }
1844 #---------SVC4670------------------------------
1845     ARTIFACT_NAME_INVALID: {
1846         code: 400,
1847         message: "Error: Artifact name is invalid.",
1848         messageId: "SVC4670"
1849     }
1850 #---------SVC4671------------------------------ 
1851 # %1 - VSP name
1852 # %2 - VFC name
1853     CFVC_LOOP_DETECTED: {
1854         code: 400,
1855         message: 'Error: VSP %1 cannot be imported. The VSP contains internal loop in VFC %2',
1856         messageId: "SVC4671"
1857     }
1858 #---------SVC4672------------------------------ 
1859 # %1 - capability uniqueId
1860 # %2 - instance uniqueId
1861 # %3 - container uniqueId
1862     CAPABILITY_OF_INSTANCE_NOT_FOUND_ON_CONTAINER: {
1863         code: 404,
1864         message: "Error: Requested capability %1 of instance %2 was not found on the container %3.",
1865         messageId: "SVC4672"
1866     }
1867 #---------SVC4673------------------------------ 
1868 # %1 - requirement uniqueId
1869 # %2 - instance uniqueId
1870 # %3 - container uniqueId
1871     REQUIREMENT_OF_INSTANCE_NOT_FOUND_ON_CONTAINER: {
1872         code: 404,
1873         message: "Error: Requested requirement %1 of instance %2 was not found on the container %3.",
1874         messageId: "SVC4673"
1875     }
1876 #---------SVC4674-----------------------------     
1877 # %1 - relation Id
1878 # %2 - container uniqueId
1879     RELATION_NOT_FOUND: {
1880         code: 404,
1881         message: "Error: Requested relation %1 was not found on the container %2.",
1882         messageId: "SVC4674"
1883     }
1884
1885
1886 #---------SVC4675------------------------------
1887     INVALID_SERVICE_STATE: {
1888         code: 409,
1889         message: "Service state is invalid for this action",
1890         messageId: "SVC4675"
1891     }
1892
1893 #---------SVC4676------------------------------
1894     INVALID_RESPONSE_FROM_PROXY: {
1895         code: 502,
1896         message: "Error: The server was acting as a gateway or proxy and received an invalid response from the upstream server",
1897         messageId: "SVC4676"
1898     }
1899
1900 #---------SVC4677------------------------------
1901     API_RESOURCE_NOT_FOUND: {
1902         code: 404,
1903         message: "Error: Requested '%1' was not found.",
1904         messageId: "SVC4677"
1905     }
1906
1907 #---------SVC4678------------------------------
1908     BAD_REQUEST_MISSING_RESOURCE: {
1909         code: 400,
1910         message: "Error: The required resource name/id  is missing in the request",
1911         messageId: "SVC4678"
1912     }
1913 #---------SVC4679------------------------------
1914 # %1 forwarding path name maximum length
1915     FORWARDING_PATH_NAME_MAXIMUM_LENGTH: {
1916         code: 400,
1917         message: "Forwarding path name too long, , maximum allowed 200 characters : '%1'.",
1918         messageId: "SVC4679"
1919     }
1920 #---------SVC4680------------------------------
1921 # %1 Forwarding path name already in use
1922     FORWARDING_PATH_NAME_ALREADY_IN_USE: {
1923         code: 400,
1924         message: "Forwarding path name already in use : '%1'.",
1925         messageId: "SVC4680"
1926     }
1927 #---------SVC4681------------------------------
1928 # %1 Forwarding path name empty
1929     FORWARDING_PATH_NAME_EMPTY: {
1930         code: 400,
1931         message: "Forwarding Path Name can't be empty .",
1932         messageId: "SVC4681"
1933     }
1934 #---------SVC4682------------------------------
1935 # %1 - resource uniqueId
1936 # %2 - resource component type
1937     RESOURCE_CANNOT_CONTAIN_POLICIES: {
1938         code: 400,
1939         message: "Error: The resource %1 type of %2 cannot contain policies.",
1940         messageId: "SVC4682"
1941     }
1942 #---------SVC4683------------------------------
1943 # %1 - policy uniqueId
1944 # %2 - component uniqueId
1945     POLICY_NOT_FOUND_ON_CONTAINER: {
1946         code: 404,
1947         message: "Error: Requested policy %1 was not found on the container %2.",
1948         messageId: "SVC4683"
1949 }
1950 #---------SVC4684------------------------------
1951 # %1 - policy name
1952     INVALID_POLICY_NAME: {
1953         code: 400,
1954         message: "Error: Invalid policy name %1 received.",
1955         messageId: "SVC4684"
1956     }
1957 #---------SVC4685------------------------------
1958 # %1 - policy name
1959     POLICY_NAME_ALREADY_EXIST: {
1960         code: 409,
1961         message: "Error: The policy with the name %1 already exists.",
1962         messageId: "SVC4685"
1963     }
1964 #---------SVC4686------------------------------
1965 # %1 - policy name
1966     POLICY_TARGET_DOES_NOT_EXIST: {
1967         code: 400,
1968         message: "Error: The targets %1 are not valid, all targets have to be on the topologyTemplate.",
1969         messageId: "SVC4686"
1970     }
1971 #---------SVC4687------------------------------
1972 # %1 - policy type
1973 # %2 - component type
1974     EXCLUDED_POLICY_TYPE: {
1975         code: 400,
1976         message: "Error: The policy of the type %1 excluded to add to a component of the type %2.",
1977         messageId: "SVC4687"
1978     }
1979     #---------SVC4688------------------------------
1980 # %1 - group type
1981 # %2 - component type
1982     GROUP_TYPE_ILLEGAL_PER_COMPONENT: {
1983         code: 400,
1984         message: "Error: group type %1 not permitted in component of type %2",
1985         messageId: "SVC4688"
1986     }
1987     #---------SVC4689------------------------------
1988 # %1 - group type
1989 # %2 - component type
1990     POLICY_TARGET_TYPE_DOES_NOT_EXIST: {
1991         code: 400,
1992         message: "Error: The target types %1 are not valid.",
1993         messageId: "SVC4689"
1994     }
1995
1996 #---------SVC4690------------------------------
1997 # %1 forwarding path protocol maximum length
1998     FORWARDING_PATH_PROTOCOL_MAXIMUM_LENGTH: {
1999         code: 400,
2000         message: "Forwarding path protocol too long, , maximum allowed 200 characters : '%1'.",
2001         messageId: "SVC4690"
2002     }
2003
2004 #---------SVC4691------------------------------
2005 # %1 forwarding path destination port maximum length
2006     FORWARDING_PATH_DESTINATION_PORT_MAXIMUM_LENGTH: {
2007         code: 400,
2008         message: "Forwarding path destination port too long, , maximum allowed 200 characters : '%1'.",
2009         messageId: "SVC4691"
2010     }
2011
2012 #---------POL4692------------------------------
2013     MISSING_OLD_COMPONENT_INSTANCE: {
2014         code: 400  ,
2015         message: "Error: Missing 'componentInstanceId' HTTP param.",
2016         messageId: "POL4692"
2017     }
2018
2019 #---------POL4693------------------------------
2020     MISSING_NEW_COMPONENT_INSTANCE: {
2021         code: 400  ,
2022         message: "Error: Missing 'newComponentInstanceId' HTTP param.",
2023         messageId: "POL4693"
2024     }
2025
2026 #---------SVC4694------------------------------
2027 # %1 External Reference Value
2028     EXT_REF_NOT_FOUND: {
2029         code: 404,
2030         message: "Error: External Reference '%1' was not found.",
2031         messageId: "SVC4694"
2032     }
2033 #---------SVC4695-----------------------------
2034 # %1 - Interface Operation Name
2035     INTERFACE_OPERATION_NAME_ALREADY_IN_USE: {
2036       code: 400,
2037       message: "Error: Interface Operation name '%1' already in use, Your current changes will not be saved.",
2038       messageId: "SVC4695"
2039     }
2040 #---------SVC4696-----------------------------
2041 # %1 - Interface Operation Name
2042     INTERFACE_OPERATION_NAME_INVALID: {
2043       code: 400,
2044       message: "Error: Interface Operation name '%1' is Invalid, Operation name should not contain special character, space, numbers and should not be greater than 200 characters.",
2045       messageId: "SVC4696"
2046     }
2047 #---------SVC4697-----------------------------
2048     INTERFACE_OPERATION_NAME_MANDATORY: {
2049       code: 404,
2050       message: "Error: Interface Operation name is mandatory, Operation name can't be empty.",
2051       messageId: "SVC4697"
2052     }
2053 #---------SVC4698-----------------------------
2054 # %1 - Interface Operation description
2055     INTERFACE_OPERATION_DESCRIPTION_MAX_LENGTH: {
2056       code: 400,
2057       message: "Error: Interface Operation description '%1' is invalid, maximum 200 characters allowed.",
2058       messageId: "SVC4698"
2059     }
2060 #---------SVC4699-----------------------------
2061 # %1 - Interface Operation input parameter name
2062     INTERFACE_OPERATION_INPUT_NAME_ALREADY_IN_USE: {
2063       code: 400,
2064       message: "Error: Interface Operation input parameter name '%1' already in use, Your current changes will not be saved.",
2065       messageId: "SVC4699"
2066     }
2067 #---------SVC4700-----------------------------
2068     INTERFACE_OPERATION_INPUT_NAME_MANDATORY: {
2069         code: 404,
2070         message: "Error: Interface operation input parameter name should not be empty.",
2071         messageId: "SVC4700"
2072     }
2073 #---------SVC4701-----------------------------
2074 # %1 - resource Id
2075     INTERFACE_OPERATION_NOT_FOUND: {
2076       code: 404,
2077       message: "Error: Interface operation not found in the resource '%1'.",
2078       messageId: "SVC4701"
2079     }
2080 #---------SVC4702-----------------------------
2081     INTERFACE_OPERATION_NOT_DELETED: {
2082       code: 404,
2083       message: "Error: Failed to delete interface operation.",
2084       messageId: "SVC4702"
2085     }
2086 #-----------SVC4692---------------------------
2087     RESOURCE_LIFECYCLE_STATE_NOT_VALID: {
2088         code: 400,
2089         message: "Error: Lifecycle state %1 is not valid for resource",
2090         messageId: "SVC4692"
2091     }
2092 #-----------SVC4693---------------------------
2093 #%1 - component name
2094     COMPONENT_IS_ARCHIVED: {
2095         code: 400,
2096         message: "Error: Component %1 is arhived",
2097         messageId: "SVC4693"
2098     }
2099 #-----------SVC4703---------------------------
2100 #%1 - component name
2101     COMPONENT_IS_NOT_HIHGEST_CERTIFIED: {
2102         code: 400,
2103         message: "Error: Component %1 is not highest certified",
2104         messageId: "SVC4703"
2105     }
2106 #---------SVC4704------------------------------
2107 # %1 - "service"/"VF"
2108 # %2 - "Resource name"
2109     ARCHIVED_ORIGINS_FOUND: {
2110         code: 403,
2111         message: "Error: Action is not permitted as your '%1' '%2' includes archived resources",
2112         messageId: "SVC4704"
2113     }
2114 #---------SVC4705------------------------------
2115 # %1-artifact name
2116     ARTIFACT_PAYLOAD_EMPTY: {
2117         code: 400,
2118         message: "Error: Invalid content. Uploaded file %1 is empty. Please retry with the correct file.",
2119         messageId: "SVC4705"
2120     }
2121 #---------SVC4706------------------------------
2122 # %1-input(s) name(s) string
2123     INPUTS_NOT_FOUND: {
2124         code: 400,
2125         message: "Error: missing input value(s) %1.",
2126         messageId: "SVC4706"
2127     }
2128     #---------SVC4707-----------------------------
2129 # %1 – asset type [service / resource ]
2130 # %2 – main asset uuid
2131     ERROR_DURING_CSAR_CREATION: {
2132       code: 404,
2133       message: "Error: CSAR packaging failed for %1 %2.",
2134       messageId: "SVC4706"
2135     }
2136 #---------SVC4704-----------------------------
2137 # %1 - Interface Operation input property name
2138     INTERFACE_OPERATION_INPUT_PROPERTY_NOT_FOUND_IN_COMPONENT: {
2139         code: 404,
2140         message: "Error: Interface operation input parameter property '%1' not found in component input properties.",
2141         messageId: "SVC4704"
2142     }
2143 #---------SVC4705-----------------------------
2144 # %1 - Interface Operation output parameter name
2145     INTERFACE_OPERATION_OUTPUT_NAME_ALREADY_IN_USE: {
2146         code: 400,
2147         message: "Error: Interface Operation output parameter name '%1' already in use, Your current changes will not be saved.",
2148         messageId: "SVC4705"
2149     }
2150 #---------SVC4706-----------------------------
2151     INTERFACE_OPERATION_OUTPUT_NAME_MANDATORY: {
2152         code: 404,
2153         message: "Error: Interface operation output parameter name should not be empty.",
2154         messageId: "SVC4706"
2155     }
2156