a6cca5b70768ffd2193247fe70327e1c367c15a1
[sdc.git] / docs / logging.rst
1 .. This work is licensed under a Creative Commons Attribution 4.0 International License.
2 .. http://creativecommons.org/licenses/by/4.0
3
4 =======
5 Logging
6 =======
7
8 .. note::
9    * This section is used to describe the informational or diagnostic messages emitted from 
10      a software component and the methods or collecting them.
11    
12    * This section is typically: provided for a platform-component and sdk; and
13      referenced in developer and user guides
14    
15    * This note must be removed after content has been added.
16
17
18 Where to Access Information
19 ---------------------------
20
21 +--------+------------------------------------------+---------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------+
22 | Server | Location                                 | Type                | Description                                                                                                                                                                               | Rolling             |
23 +========+==========================================+=====================+===========================================================================================================================================================================================+=====================+
24 | BE     | /data/logs/BE/2017_03_10.stderrout.log   | Jetty server log    | The log describes info regarding Jetty startup and execution                                                                                                                              | the log rolls daily |
25 +        +------------------------------------------+---------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------+
26 |        | /data/logs/BE/SDC/SDC-BE/audit.log       | application audit   | An audit record is created for each operation in SDC                                                                                                                                      | rolls at 20 mb      |
27 +        +------------------------------------------+---------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------+
28 |        | /data/logs/BE/SDC/SDC-BE/debug.log       | application logging | We can enable higher logging on demand by editing the logback.xml inside the server docker.                                                                                               | rolls at 20 mb      |
29 |        |                                          |                     | The file is located under:,config/catalog-be/logback.xml.                                                                                                                                 |                     |
30 |        |                                          |                     | This log holds the debug and trace level output of the application.                                                                                                                       |                     |
31 +        +------------------------------------------+---------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------+
32 |        | /data/logs/BE/SDC/SDC-BE/error.log       | application logging | This log holds the info and error level output of the application.                                                                                                                        | rolls at 20 mb      |
33 +        +------------------------------------------+---------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------+
34 |        | /data/logs/BE/SDC/SDC-BE/transaction.log | application logging | Not currently in use. will be used in future relases.                                                                                                                                     | rolls at 20 mb      |
35 +        +------------------------------------------+---------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------+
36 |        | /data/logs/BE/SDC/SDC-BE/all.log         | application logging | On demand, we can enable log aggregation into one file for easier debugging. This is done by editing the logback.xml inside the server docker.                                            | rolls at 20 mb      |
37 |        |                                          |                     | The file is located under:,config/catalog-be/logback.xml.                                                                                                                                 |                     |
38 |        |                                          |                     | To allow this logger, set the value for this property to true This log holds all logging output of the application.                                                                       |                     |
39 +--------+------------------------------------------+---------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------+
40 | FE     | /data/logs/FE/2017_03_10.stderrout.log   |  Jetty server log   | The log describes info regarding the Jetty startup and execution                                                                                                                          | the log rolls daily |
41 +        +------------------------------------------+---------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------+
42 |        | /data/logs/FE/SDC/SDC-FE/debug.log       | application logging | We can enable higher logging on demand by editing the logback.xml inside the server docker.                                                                                               | rolls at 20 mb      |
43 |        |                                          |                     | The file is located,under: config/catalog-fe/logback.xml.                                                                                                                                 |                     |
44 |        |                                          |                     | This log holds the debug and trace level output of the application.                                                                                                                       |                     |
45 +        +------------------------------------------+---------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------+
46 |        | /data/logs/FE/SDC/SDC-FE/error.log       | application logging | This log holds the Info and Error level output of the application.                                                                                                                        | rolls at 20 mb      |
47 +        +------------------------------------------+---------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------+
48 |        | /data/logs/FE/SDC/SDC-FE/all.log         | application logging | On demand we can enable log aggregation into one file for easier debuging, by editing the logback.xml inside the server docker.The file is located under: config/catalog-fe/logback.xml.  | rolls               |
49 |        |                                          |                     | To allow this logger set this property to true                                                                                                                                            |                     |
50 |        |                                          |                     | This log holds all the logging output of the application.                                                                                                                                 |                     |
51 +--------+------------------------------------------+---------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------+
52
53
54 Error / Warning Messages
55 ------------------------
56
57 Respone Types
58 =============
59
60 ::
61
62     OK: {
63         code: 200,
64         message: "OK"
65     }
66
67     CREATED: {
68         code: 201,
69         message: "OK"
70     }
71
72     NO_CONTENT: {
73         code: 204,
74         message: "No Content" 
75     }
76
77 --------POL4050-----------------------------
78 ============================================
79
80 ::
81
82     NOT_ALLOWED: {
83         code: 405,
84         message: "Error: Method not allowed.",
85         messageId: "POL4050"
86     }
87
88 --------POL5000-----------------------------
89 ============================================
90
91 ::
92
93     GENERAL_ERROR: {
94         code: 500,
95         message: "Error: Internal Server Error. Please try again later.",
96         messageId: "POL5000"
97     }
98
99 ---------POL5001----------------------------
100 ============================================
101
102 ::
103
104     MISSING_X_ECOMP_INSTANCE_ID: {
105         code: 400 ,
106         message: "Error: Missing 'X-ECOMP-InstanceID' HTTP header.",
107         messageId: "POL5001"
108     }
109
110 ---------POL5002------------------------------
111 ==============================================
112
113 ::
114
115     AUTH_REQUIRED: {
116         code: 401 ,
117         message: "Error: Authentication is required to use the API.",
118         messageId: "POL5002"
119     }
120
121 ---------POL5003------------------------------
122 ==============================================
123
124 ::
125
126     AUTH_FAILED: {
127         code: 403 ,
128         message: "Error: Not authorized to use the API.",
129         messageId: "POL5003"
130     }
131
132 ---------POL5004------------------------------
133 ==============================================
134
135 ::
136
137     MISSING\_USER\_ID: {
138         code: 400 ,
139         message: "Error: Missing 'USER\_ID' HTTP header.",
140         messageId: "POL5004"
141     }
142
143 ---------SVC4000-----------------------------
144 =============================================
145
146 ::
147
148     INVALID_CONTENT: {
149         code: 400,
150         message: "Error: Invalid content.",
151         messageId: "SVC4000"
152     }
153
154 ---------SVC4002-----------------------------
155 =============================================
156
157 ::
158
159     MISSING_INFORMATION: {
160         code: 403,
161         message: "Error: Missing information.",
162         messageId: "SVC4002"
163     }
164
165 ---------SVC4003------------------------------
166 ==============================================
167
168 - %1 - Users's ID
169
170 ::
171
172     USER_NOT_FOUND: {
173         code: 404,
174         message: "Error: User '%1' was not found.",
175         messageId: "SVC4003"
176     }
177
178 ---------SVC4004-----------------------------
179 =============================================
180
181 - %1 - Users's email address
182
183 ::
184
185     INVALID_EMAIL_DDRESS: {
186         code: 400,
187         message: "Error: Invalid email address '%1'.",
188         messageId: "SVC4004"
189     }
190
191 ---------SVC4005------------------------------
192 ==============================================
193
194 - %1 - role
195
196 ::
197
198     INVALID_ROLE: {
199         code: 400,
200         message: "Error: Invalid role '%1'.",
201         messageId: "SVC4005"
202     }
203
204 ---------SVC4006------------------------------
205 ==============================================
206
207 - %1 - Users's USER_ID
208
209 ::
210
211     USER_ALREADY_EXIST: {
212         code: 409,
213         message: "Error: User with '%1' ID already exists.",
214         messageId: "SVC4006"
215     }
216
217 ---------SVC4007------------------------------
218 ==============================================
219
220 ::
221
222     DELETE_USER_ADMIN_CONFLICT: {
223         code: 409,
224         message: "Error: An administrator can only be deleted by another administrator.",
225         messageId: "SVC4007"
226     }
227
228 ---------SVC4008-----------------------------
229 =============================================
230
231 - %1 - Users's USER_ID 
232
233 ::
234
235     INVALID_USER_ID: {
236         code: 400,
237         message: "Error: Invalid userId '%1'.",
238         messageId: "SVC4008" 
239     }
240
241 ---------SVC4049------------------------------
242 ==============================================
243
244 - %1 - Service/Resource
245
246 ::
247
248     COMPONENT_MISSING_CONTACT: {
249         code: 400,
250         message: "Error: Invalid Content. Missing %1 contact.",
251         messageId: "SVC4049"
252     }
253
254 ---------SVC4050-----------------------------
255 =============================================
256
257 - %1 - Service/Resource/Additional parameter 
258 - %2 - Service/Resource/Label name
259
260 ::
261
262     COMPONENT_NAME_ALREADY_EXIST: {
263         code: 409,
264         message: "Error: %1 with name '%2' already exists.",
265         messageId: "SVC4050"
266     }
267
268 ---------SVC4051------------------------------
269 ==============================================
270
271 - %1 - Resource/Service
272
273 ::
274
275     COMPONENT_MISSING_CATEGORY: {
276         code: 400,
277         message: "Error: Invalid Content. Missing %1 category.", 
278         messageId: "SVC4051"
279     }
280
281
282 ---------SVC4052------------------------------
283 ==============================================
284
285 ::
286
287     COMPONENT_MISSING_TAGS: {
288         code: 400,
289         message: "Error: Invalid Content. At least one tag has to be specified.",
290         messageId: "SVC4052"
291     }
292
293 ---------SVC4053------------------------------
294 ==============================================
295
296 - %1 - service/resource
297
298 ::
299
300     COMPONENT_MISSING_DESCRIPTION: {
301         code: 400,
302         message: "Error: Invalid Content. Missing %1 description.",
303         messageId: "SVC4053"
304     }
305
306 ---------SVC4054------------------------------
307 ==============================================
308
309 - %1 - service/resource
310
311 ::
312
313     COMPONENT_INVALID_CATEGORY: {
314         code: 400,
315         message: "Error: Invalid Content. Invalid %1 category.",
316         messageId: "SVC4054"
317     }
318
319 ---------SVC4055------------------------------
320 ==============================================
321
322 ::
323
324     MISSING_VENDOR_NAME: {
325         code: 400,
326         message: "Error: Invalid Content. Missing vendor name.",
327         messageId: "SVC4055"
328     }
329
330 ---------SVC4056------------------------------
331 ==============================================
332
333 ::
334
335     MISSING_VENDOR_RELEASE: {
336         code: 400,
337         message: "Error: Invalid Content. Missing vendor release.",
338         messageId: "SVC4056"
339     }
340
341 ---------SVC4057------------------------------
342 ==============================================
343
344 ::
345
346     MISSING_DERIVED_FROM_TEMPLATE: {
347         code: 400,
348         message: "Error: Invalid Content. Missing derived from template specification.",
349         messageId: "SVC4057"
350     }
351
352 ---------SVC4058------------------------------
353 ==============================================
354
355 - %1 - service/resource
356
357 ::
358
359     COMPONENT_MISSING_ICON: {
360         code: 400,
361         message: "Error: Invalid Content. Missing %1 icon.",
362         messageId: "SVC4058"
363     }
364
365 ---------SVC4059------------------------------
366 ==============================================
367
368 - %1 - service/resource
369
370 ::
371
372     COMPONENT_INVALID_ICON: {
373         code: 400,
374         message: "Error: Invalid Content. Invalid %1 icon.",
375         messageId: "SVC4059"
376     }
377
378 ---------SVC4060------------------------------
379 ==============================================
380
381 ::
382
383     PARENT_RESOURCE_NOT_FOUND: {
384         code: 400,
385         message: "Error: Invalid Content. Derived from resource template was not found.",
386         messageId: "SVC4060"
387     }
388
389 ---------SVC4061------------------------------
390 ==============================================
391
392 ::
393
394     MULTIPLE_PARENT_RESOURCE_FOUND: {
395         code: 400,
396         message: "Error: Invalid Content. Multiple derived from resource template is not allowed.",
397         messageId: "SVC4061"
398     }
399
400 ---------SVC4062------------------------------
401 ==============================================
402
403 - %1 - service/resource
404
405 ::
406
407     MISSING_COMPONENT_NAME: {
408         code: 400,
409         message: "Error: Invalid Content. Missing %1 name.",
410         messageId: "SVC4062"
411     }
412
413 ---------SVC4063------------------------------
414 ==============================================
415
416 - %1 - service/resource
417
418 ::
419
420     RESOURCE_NOT_FOUND: {
421         code: 404,
422         message: "Error: Requested '%1' resource was not found.",
423         messageId: "SVC4063"
424     }
425
426 ---------SVC4064------------------------------
427 ==============================================
428
429 - %1 - Service/Resource/Property
430
431 ::
432
433     COMPONENT_INVALID_DESCRIPTION: {
434         code: 400,
435         message: "Error: Invalid Content. %1 description contains non-english characters.",
436         messageId: "SVC4064"
437     }
438
439 ---------SVC4065------------------------------
440 ==============================================
441
442 - %1 - Service/Resource/Property
443 - %2 - max resource/service name length
444
445 ::
446
447     COMPONENT_DESCRIPTION_EXCEEDS_LIMIT: {
448         code: 400,
449         message: "Error: Invalid Content. %1 description exceeds limit of %2 characters.",
450         messageId: "SVC4065"
451     }
452
453 ---------SVC4066------------------------------
454 ==============================================
455
456 - %1 - max length
457
458 ::
459
460     COMPONENT_TAGS_EXCEED_LIMIT: {
461         code: 400,
462         message: "Error: Invalid Content. Tags overall length exceeds limit of %1 characters.",
463         messageId: "SVC4066"
464     }
465
466 ---------SVC4067------------------------------
467 ==============================================
468
469 - %1 - max length
470
471 ::
472
473     VENDOR_NAME_EXCEEDS_LIMIT: {
474         code: 400,
475         message: "Error: Invalid Content. Vendor name exceeds limit of %1 characters.",
476         messageId: "SVC4067"
477     }
478
479 ---------SVC4068------------------------------
480 ==============================================
481
482 - %1 - max length
483
484 ::
485
486     VENDOR_RELEASE_EXCEEDS_LIMIT: {
487         code: 400,
488         message: "Error: Invalid Content. Vendor release exceeds limit of %1 characters.",
489         messageId: "SVC4068"
490     }
491
492 ---------SVC4069------------------------------
493 ==============================================
494
495 - %1 - Service/Resource/Product
496
497 ::
498
499     COMPONENT_INVALID_CONTACT: {
500         code: 400,
501         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",
502         messageId: "SVC4069"
503     }
504
505 ---------SVC4070------------------------------
506 ==============================================
507
508 - %1 - Service/Resource
509
510 ::
511
512     INVALID_COMPONENT_NAME: {
513         code: 400,
514         message: 'Error: Invalid Content. %1 name is not allowed to contain characters like <>:"\/|?* and space characters other than regular space.',
515         messageId: "SVC4070"
516     }
517
518 ---------SVC4071------------------------------
519 ==============================================
520
521 ::
522
523     INVALID_VENDOR_NAME: {
524         code: 400,
525         message: 'Error: Invalid Content. Vendor name is not allowed to contain characters like <>:"\/|?* and space characters other than regular space.',
526         messageId: "SVC4071"
527     }
528
529 ---------SVC4072------------------------------
530 ==============================================
531
532 ::
533
534     INVALID_VENDOR_RELEASE: {
535         code: 400,
536         message: 'Error: Invalid Content. Vendor release is not allowed to contain characters like <>:"\/|?* and space characters other than regular space.',
537         messageId: "SVC4072"
538     }
539
540 ---------SVC4073------------------------------
541 ==============================================
542
543 - %1 - Service/Resource
544 - %2 - max resource/service name
545
546 ::
547
548     COMPONENT_NAME_EXCEEDS_LIMIT: {
549         code: 400,
550         message: "Error: Invalid Content. %1 name exceeds limit of %2 characters.",
551         messageId: "SVC4073"
552     }
553
554 ---------SVC4080------------------------------
555 ==============================================
556
557 - %1 - Service/Resource name
558 - %2 - Service/Resource
559 - %3 - First name of last modifier
560 - %4 - Last name of last modifier
561 - %5 - USER_ID of last modifier
562
563 ::
564
565     COMPONENT_IN_CHECKOUT_STATE: {
566         code: 403,
567         message: "Error: Requested '%1' %2 is locked for modification by %3 %4(%5).",
568         messageId: "SVC4080"
569     }
570
571 ---------SVC4081-----------------------------
572 =============================================
573
574 - %1 - Service/Resource name
575 - %2 - Service/Resource
576 - %3 - First name of last modifier
577 - %4 - Last name of last modifier
578 - %5 - USER_ID of last modifier
579
580 ::
581
582     COMPONENT_IN_CERT_IN_PROGRESS_STATE: {
583         code: 403,
584         message: "Error: Requested '%1' %2 is locked for certification by %3 %4(%5).",
585         messageId: "SVC4081"
586     }
587
588 -----------SVC4082---------------------------
589 =============================================
590
591 - %1 - Service/Resource name
592 - %2 - Service/Resource
593 - %3 - First name of last modifier
594 - %4 - Last name of last modifier
595 - %5 - USER_ID of last modifier
596
597 ::
598
599     COMPONENT_SENT_FOR_CERTIFICATION: {
600         code: 403,
601         message: "Error: Requested '%1' %2 is sent for certification by %3 %4(%5).",
602         messageId: "SVC4082"
603     }
604
605 -----------SVC4083---------------------------
606 =============================================
607
608 - %1 - Service/Resource name
609
610 ::
611
612     COMPONENT_VERSION_ALREADY_EXIST: {
613         code: 409,
614         message: "Error: Version of this %1 was already promoted.",
615         messageId: "SVC4083"
616     }
617
618 -----------SVC4084---------------------------
619 =============================================
620
621 - %1 - Service/Resource/Product name
622 - %2 - Service/Resource/Product
623 - %3 - First name of last modifier
624 - %4 - Last name of last modifier
625 - %5 - USER_ID of last modifier
626
627 ::
628
629     COMPONENT_ALREADY_CHECKED_IN: {
630         code: 409,
631         message: "Error: The current version of '%1' %2 was already checked-in by %3 %4(%5).",
632         messageId: "SVC4084"
633     }
634
635 -----------SVC4085---------------------------
636 =============================================
637
638 - %1 - Service/Resource/Product name
639 - %2 - Service/Resource/Product
640 - %3 - First name of last modifier
641 - %4 - Last name of last modifier
642 - %5 - USER_ID of last modifier
643
644 ::
645
646     COMPONENT_CHECKOUT_BY_ANOTHER_USER: {
647         code: 403,
648         message: "Error: %1 %2 has already been checked out by %3 %4(%5).",
649         messageId: "SVC4085"
650     }
651
652 -----------SVC4086---------------------------
653 =============================================
654
655 - %1  - Service/Resource name
656 - %2  - Service/Resource
657
658 ::
659
660     COMPONENT_IN_USE: {
661         code: 403,
662         message: "Error: Requested '%1' %2 is in use by another user.",
663         messageId: "SVC4086"
664     }
665
666 -----------SVC4087---------------------------
667 =============================================
668
669 - %1 - Component name
670 - %2 - Service/Resource/Product
671
672 ::
673
674     COMPONENT_HAS_NEWER_VERSION: {
675         code: 409,
676         message: "Error: Checking out of the requested version of the '%1' %2 is not allowed as a newer version exists.",
677         messageId: "SVC4087"
678     }
679
680 -----------SVC4088---------------------------
681 =============================================
682
683 - %1 - Service/Resource name
684 - %2 - Service/Resource
685 - %3 - First name of last modifier
686 - %4 - Last name of last modifier
687 - %5 - USER_ID of last modifier
688
689 ::
690
691     COMPONENT_ALREADY_CERTIFIED: {
692         code: 403,
693         message: "Error: Requested %1 %2 has already been certified by %3 %4(%5).",
694         messageId: "SVC4088"
695     }
696
697 -----------SVC4089---------------------------
698 =============================================
699
700 - %1 - Service/Resource name
701 - %2 - Service/Resource
702
703 ::
704
705     COMPONENT_NOT_READY_FOR_CERTIFICATION: {
706         code: 403,
707         message: "Error: Requested '%1' %2 is not ready for certification.",
708         messageId: "SVC4089"
709     }
710
711 -----------SVC4100---------------------------
712 =============================================
713
714 - %1 - property name
715
716 ::
717
718     PROPERTY_NOT_FOUND: {
719         code: 404,
720         message: "Error: Requested '%1' property was not found.",
721         messageId: "SVC4100"
722     }
723
724 -----------SVC4101---------------------------
725 =============================================
726
727 - %1 - property name
728
729 ::
730
731     PROPERTY_ALREADY_EXIST: {
732         code: 409,
733         message: "Error: Property with '%1' name already exists.",
734         messageId: "SVC4101"
735     }
736
737 -----------SVC4102---------------------------
738 =============================================
739
740 - %1 - capability type name
741
742 ::
743
744     CAPABILITY_TYPE_ALREADY_EXIST: {
745         code: 409,
746         message: "Error: Capability Type with name '%1' already exists.",
747         messageId: "SVC4102"
748     }
749
750 -----------SVC4114---------------------------
751 =============================================
752
753 ::
754
755     AUTH_FAILED_INVALIDE_HEADER: {
756         code: 400,
757         message: "Error: Invalid Authorization header.",
758         messageId: "SVC4114"
759     }
760
761 -----------SVC4115---------------------------
762 =============================================
763
764 - %1 - capability type name
765
766 ::
767
768     MISSING_CAPABILITY_TYPE: {
769         code: 400,
770         message: "Error: Invalid Content. Missing Capability Type '%1'.",
771         messageId: "SVC4115"
772     }
773
774 -----------SVC4116---------------------------
775 =============================================
776
777 ::
778
779     RESOURCE_INSTANCE_BAD_REQUEST: {
780         code: 400,
781         message: "Error: Invalid Content.",
782         messageId: "SVC4116"
783     }
784
785 -----------SVC4117---------------------------
786 =============================================
787
788 - %1 - resource instance name
789 - %2 - resource instance name
790 - %3 - requirement name
791
792 ::
793
794     RESOURCE_INSTANCE_MATCH_NOT_FOUND: {
795         code: 404,
796         message: "Error: Match not found between resource instance '%1' and resource instance '%2' for requirement '%3'.",
797         messageId: "SVC4117"
798     }
799
800 -----------SVC4118---------------------------
801 =============================================
802
803 - %1 - resource instance name
804 - %2 - resource instance name
805 - %3 - requirement name
806
807 ::
808
809     RESOURCE_INSTANCE_ALREADY_EXIST: {
810         code: 409,
811         message: "Error: Resource instances '%1' and '%2' are already associated with requirement '%3'.",
812         messageId: "SVC4118"
813     }
814
815 -----------SVC4119---------------------------
816 =============================================
817
818 - %1 - resource instance name
819 - %2 - resource instance name
820 - %3 - requirement name
821
822 ::
823
824     RESOURCE_INSTANCE_RELATION_NOT_FOUND: {
825         code: 404,
826         message: "Error: No relation found between resource instances '%1' and '%2' for requirement '%3'.",
827         messageId: "SVC4119"
828     }
829
830 -----------SVC4120---------------------------
831 =============================================
832
833 - %1 - User's USER_ID
834
835 ::
836
837     USER_INACTIVE: {
838         code: 404,
839         message: "Error: User %1 was not found.",
840         messageId: "SVC4120"
841     }
842
843 -----------SVC4121---------------------------
844 =============================================
845
846 - %1 - User's USER\_ID
847
848 ::
849
850     USER_HAS_ACTIVE_ELEMENTS: {
851         code: 403,
852         message: "Error: User with %1 ID can not be deleted since it has active elements(resources/services/artifacts).",
853         messageId: "SVC4121"
854     }
855
856 -----------SVC4122---------------------------
857 =============================================
858
859 - %1 - artifact type
860
861 ::
862
863     ARTIFACT_TYPE_NOT_SUPPORTED: {
864         code: 400,
865         message: "Error: Invalid artifact type '%1'.",
866         messageId: "SVC4122"
867     }
868
869 -----------SVC4123---------------------------
870 =============================================
871
872 ::
873
874     ARTIFACT_LOGICAL_NAME_CANNOT_BE_CHANGED: {
875         code: 400,
876         message: "Error: Artifact logical name cannot be changed.",
877         messageId: "SVC4123"
878     }
879
880 -----------SVC4124---------------------------
881 =============================================
882
883 ::
884
885     MISSING_ARTIFACT_TYPE: {
886         code: 400,
887         message: "Error: Missing artifact type.",
888         messageId: "SVC4124"
889     }
890
891 -----------SVC4125---------------------------
892 =============================================
893
894 - %1 - artifact name
895
896 ::
897
898     ARTIFACT_EXIST: {
899         code: 400,
900         message: "Error: Artifact '%1' already exists.",
901         messageId: "SVC4125"
902     }
903
904 ---------SVC4126------------------------------
905 ==============================================
906
907 - %1 - Resource/Service/Product/...
908 - %2 - field (tag, vendor name...)
909
910 ::
911
912     INVALID_FIELD_FORMAT: {
913         code: 400,
914         message: "Error:  Invalid %1 %2 format.",
915         messageId: "SVC4126"
916     }
917
918 -----------SVC4127---------------------------
919 =============================================
920
921 ::
922
923     ARTIFACT_INVALID_MD5: {
924         code: 400,
925         message: "Error: Invalid artifact checksum.",
926         messageId: "SVC4127"
927     }
928
929 -----------SVC4128---------------------------
930 =============================================
931
932 ::
933
934     MISSING_ARTIFACT_NAME: {
935         code: 400,
936         message: "Error: Invalid content. Missing artifact name.",
937         messageId: "SVC4128"
938     }
939
940 -----------SVC4129---------------------------
941 =============================================
942
943 ::
944
945     MISSING_PROJECT_CODE: {
946         code: 400,
947         message: "Error: Invalid Content. Missing PROJECT_CODE number.",
948         messageId: "SVC4129"
949     }
950
951 -----------SVC4130---------------------------
952 =============================================
953
954 ::
955
956     INVALID_PROJECT_CODE: {
957         code: 400,
958         message: "Error: Invalid Content. PROJECT_CODE must be from 3 up to 50 characters.",
959         messageId: "SVC4130"
960     }
961
962 -----------SVC4131---------------------------
963 =============================================
964
965 - %1-resource/service
966 - %2-artifact/artifacts
967 - %3-semicolomn separated list of artifact
968
969 ::
970
971     COMPONENT_MISSING_MANDATORY_ARTIFACTS: {
972         code: 403,
973         message: "Error: Missing mandatory informational %1 %2: [%3].",
974         messageId: "SVC4131"
975     }
976
977 -----------SVC4132---------------------------
978 =============================================
979
980 - %1 - lifecycle type name
981
982 ::
983
984     LIFECYCLE_TYPE_ALREADY_EXIST: {
985         code: 409,
986         message: "Error: Lifecycle Type with name '%1' already exists.",
987         messageId: "SVC4132"
988     }
989
990 -----------SVC4133---------------------------
991 =============================================
992
993 - %1 - service version
994 - %2 - service name
995
996 ::
997
998     SERVICE_NOT_AVAILABLE_FOR_DISTRIBUTION: {
999         code: 403,
1000         message: "Error: Version %1 of '%2' service is not available for distribution.",
1001         messageId: "SVC4133"
1002     }
1003
1004 -----------SVC4134---------------------------
1005 =============================================
1006
1007 ::
1008
1009     MISSING_LIFECYCLE_TYPE: {
1010         code: 400,
1011         message: "Error: Invalid Content. Missing interface life-cycle type.",
1012         messageId: "SVC4134"
1013     }
1014
1015 ---------SVC4135------------------------------
1016 ==============================================
1017
1018 ::
1019
1020     SERVICE_CATEGORY_CANNOT_BE_CHANGED: {
1021         code: 400,
1022         message: "Error: Service category cannot be changed once the service is certified.",
1023         messageId: "SVC4135"
1024     }
1025
1026 ---------SVC4136------------------------------
1027 ==============================================
1028
1029 - %1 - distribution environment name
1030
1031 ::
1032
1033     DISTRIBUTION_ENVIRONMENT_NOT_AVAILABLE: {
1034         code: 500,
1035         message: "Error: Requested distribution environment '%1' is not available.",
1036         messageId: "SVC4136"
1037     }
1038
1039 ---------SVC4137------------------------------
1040 ==============================================
1041
1042 - %1 - distribution environment name
1043
1044 ::
1045
1046     DISTRIBUTION_ENVIRONMENT_NOT_FOUND: {
1047         code: 400,
1048         message: "Error: Requested distribution environment '%1' was not found.",
1049         messageId: "SVC4137"
1050     }
1051
1052 ---------SVC4138------------------------------
1053 ==============================================
1054
1055 ::
1056
1057     DISTRIBUTION_ENVIRONMENT_INVALID: {
1058         code: 400,
1059         message: "Error: Invalid distribution environment.",
1060         messageId: "SVC4138"
1061     }
1062
1063 ---------SVC4139------------------------------
1064 ==============================================
1065
1066 - %1 - service name
1067
1068 ::
1069
1070     DISTRIBUTION_ARTIFACT_NOT_FOUND: {
1071         code: 409,
1072         message: "Error: Service '%1' cannot be distributed due to missing deployment artifacts.",
1073         messageId: "SVC4139"
1074     }
1075
1076 ---------SVC4200------------------------------
1077 ==============================================
1078
1079 - %1 - Service/Resource
1080 - %2 - max icon name length
1081
1082 ::
1083
1084     COMPONENT_ICON_EXCEEDS_LIMIT: {
1085         code: 400,
1086         message: "Error: Invalid Content. %1 icon name exceeds limit of %2 characters.",
1087         messageId: "SVC4200"
1088     }
1089
1090 ---------SVC4300------------------------------
1091 ==============================================
1092
1093 ::
1094
1095     RESTRICTED_ACCESS: {
1096         code: 403,
1097         message: "Error: Restricted access.",
1098         messageId: "SVC4300"
1099     }
1100
1101 ---------SVC4301------------------------------
1102 ==============================================
1103
1104 ::
1105
1106     RESTRICTED_OPERATION: {
1107         code: 409,
1108         message: "Error: Restricted operation.",
1109         messageId: "SVC4301"
1110     }
1111
1112 ---------SVC4500------------------------------
1113 ==============================================
1114
1115 ::
1116
1117     MISSING_BODY: {
1118         code: 400  ,
1119         message: "Error: Missing request body.",
1120         messageId: "SVC4500"
1121     }
1122
1123 ---------SVC4501------------------------------
1124 ==============================================
1125
1126 ::
1127
1128     MISSING_PUBLIC_KEY: {
1129         code: 400  ,
1130         message: "Error: Invalid Content. Missing mandatory parameter 'apiPublicKey'." ,
1131         messageId: "SVC4501"
1132     }
1133
1134 ---------SVC4502------------------------------
1135 ==============================================
1136
1137 ::
1138
1139     DISTRIBUTION_ENV_DOES_NOT_EXIST: {
1140         code: 400  ,
1141         message: "Error: Invalid  Body  : Missing mandatory parameter 'distrEnvName'." ,
1142         messageId: "SVC4502"
1143     }
1144
1145 -----------SVC4503---------------------------
1146 =============================================
1147
1148 - %1 - service name
1149
1150 ::
1151
1152     SERVICE_NOT_FOUND: {
1153         code: 404,
1154         message: "Error: Requested '%1' service was not found.",
1155         messageId: "SVC4503"
1156     }
1157
1158 ---------SVC4504------------------------------
1159 ==============================================
1160
1161 - %1 - Service/Resource
1162 - %2 - service/resource version
1163
1164 ::
1165
1166     COMPONENT_VERSION_NOT_FOUND: {
1167         code: 404,
1168         message: "Error: %1 version %2 was not found.",
1169         messageId: "SVC4504"
1170     }
1171
1172 -----------SVC4505---------------------------
1173 =============================================
1174
1175 - %1 - artifact name
1176
1177 ::
1178
1179     ARTIFACT_NOT_FOUND: {
1180         code: 404,
1181         message: "Error: Artifact '%1' was not found.",
1182         messageId: "SVC4505"
1183     }
1184
1185 ---------SVC4506------------------------------
1186 ==============================================
1187
1188 ::
1189
1190     MISSING_ENV_NAME: {
1191         code: 400  ,
1192         message: "Error: Invalid Content. Missing mandatory parameter 'distrEnvName'.",
1193         messageId: "SVC4506"
1194     }
1195
1196 ---------SVC4507------------------------------
1197 ==============================================
1198
1199 ::
1200
1201     COMPONENT_INVALID_TAGS_NO_COMP_NAME: {
1202         code: 400,
1203         message: "Error: Invalid Content. One of the tags should be the component name.",
1204         messageId: "SVC4507"
1205     }
1206
1207 ---------SVC4508------------------------------
1208 ==============================================
1209
1210 ::
1211
1212     SERVICE_NAME_CANNOT_BE_CHANGED: {
1213         code: 400,
1214         message: "Error: Service name cannot be changed once the service is certified.",
1215         messageId: "SVC4508"
1216     }
1217
1218 ---------SVC4509------------------------------
1219 ==============================================
1220
1221 ::
1222
1223     SERVICE_ICON_CANNOT_BE_CHANGED: {
1224         code: 400,
1225         message: "Error: Icon cannot be changed once the service is certified.",
1226         messageId: "SVC4509"
1227     }
1228
1229 ---------SVC4510------------------------------
1230 ==============================================
1231
1232 - %1 - icon name max length
1233
1234 ::
1235
1236     SERVICE_ICON_EXCEEDS_LIMIT: {
1237         code: 400,
1238         message: "Error: Invalid Content. Icon name exceeds limit of %1 characters.",
1239         messageId: "SVC4510"
1240     }
1241
1242 ---------SVC4511------------------------------
1243 ==============================================
1244
1245 ::
1246
1247     DISTRIBUTION_REQUESTED_NOT_FOUND: {
1248         code: 404,
1249         message: "Error: Requested distribution was not found.",
1250         messageId: "SVC4511"
1251     }
1252
1253 ---------SVC4512------------------------------
1254 ==============================================
1255
1256 - %1 - Distribution ID
1257
1258 ::
1259
1260     DISTRIBUTION_REQUESTED_FAILED: {
1261         code: 403,
1262         message: "Error: Requested distribution '%1' failed.",
1263         messageId: "SVC4512"
1264     }
1265
1266 ---------SVC4513------------------------------
1267 ==============================================
1268
1269 ::
1270
1271     RESOURCE_CATEGORY_CANNOT_BE_CHANGED: {
1272         code: 400,
1273         message: "Error: Resource category cannot be changed once the resource is certified.",
1274         messageId: "SVC4513"
1275     }
1276
1277 ---------SVC4514------------------------------
1278 ==============================================
1279
1280 ::
1281
1282     RESOURCE_NAME_CANNOT_BE_CHANGED: {
1283         code: 400,
1284         message: "Error: Resource name cannot be changed once the resource is certified.",
1285         messageId: "SVC4514"
1286     }
1287
1288 ---------SVC4515------------------------------
1289 ==============================================
1290
1291 ::
1292
1293     RESOURCE_ICON_CANNOT_BE_CHANGED: {
1294         code: 400,
1295         message: "Error: Icon cannot be changed once the resource is certified.",
1296         messageId: "SVC4515"
1297     }
1298
1299 ---------SVC4516------------------------------
1300 ==============================================
1301
1302 ::
1303
1304     RESOURCE_VENDOR_NAME_CANNOT_BE_CHANGED: {
1305         code: 400,
1306         message: "Error: Vendor name cannot be changed once the resource is certified.",
1307         messageId: "SVC4516"
1308     }
1309
1310 ---------SVC4517------------------------------
1311 ==============================================
1312
1313 ::
1314
1315     RESOURCE_DERIVED_FROM_CANNOT_BE_CHANGED: {
1316         code: 400,
1317         message: "Error: Derived from resource template cannot be changed once the resource is certified.",
1318         messageId: "SVC4517"
1319     }
1320
1321 ---------SVC4518------------------------------
1322 ==============================================
1323
1324 - %1 - max length
1325
1326 ::
1327
1328     COMPONENT_SINGLE_TAG_EXCEED_LIMIT: {
1329         code: 400,
1330         message: "Error: Invalid Content. Single tag exceeds limit of %1 characters.",
1331         messageId: "SVC4518"
1332     }
1333
1334 ---------SVC4519------------------------------
1335 ==============================================
1336
1337 ::
1338
1339     INVALID_DEFAULT_VALUE: {
1340         code: 400,
1341         message: "Error: mismatch in data-type occurred for property %1. data type is %2 and default value found is %3.",
1342         messageId: "SVC4519"
1343     }
1344
1345 ---------SVC4520------------------------------
1346 ==============================================
1347
1348 - %1 - service\resource
1349
1350 ::
1351
1352     ADDITIONAL_INFORMATION_MAX_NUMBER_REACHED: {
1353         code: 409,
1354         message: "Error: Maximal number of additional %1 parameters was reached.",
1355         messageId: "SVC4520"
1356     }
1357
1358 ---------SVC4521------------------------------
1359 ==============================================
1360
1361 ::
1362
1363     ADDITIONAL_INFORMATION_EMPTY_STRING_NOT_ALLOWED: {
1364         code: 400,
1365         message: "Error: Invalid Content. The Additional information label and value cannot be empty.",
1366         messageId: "SVC4521"
1367     }
1368
1369 ---------SVC4522------------------------------
1370 ==============================================
1371
1372 - %1 - label/value
1373 - %2 - Maximal length of %1
1374
1375 ::
1376
1377     ADDITIONAL_INFORMATION_EXCEEDS_LIMIT: {
1378         code: 400,
1379         message: "Error: Invalid Content. Additional information %1 exceeds limit of %2 characters.",
1380         messageId: "SVC4522"
1381     }
1382
1383 ---------SVC4523------------------------------
1384 ==============================================
1385
1386 ::
1387
1388     ADDITIONAL_INFORMATION_KEY_NOT_ALLOWED_CHARACTERS: {
1389         code: 400,
1390         message: 'Error: Invalid Content. Additional information label is not allowed to contain characters like <>:"\/|?* and space characters other than regular space.',
1391         messageId: "SVC4523"
1392     }
1393
1394 ---------SVC4524------------------------------
1395 ==============================================
1396
1397 ::
1398
1399     ADDITIONAL_INFORMATION_NOT_FOUND: {
1400         code: 409,
1401         message: "Error: Requested additional information was not found.",
1402         messageId: "SVC4524"
1403     }
1404
1405 ---------SVC4525------------------------------
1406 ==============================================
1407
1408 ::
1409
1410     ADDITIONAL_INFORMATION_VALUE_NOT_ALLOWED_CHARACTERS: {
1411         code: 400,
1412         message: 'Error: Invalid Content. Additional information contains non-english characters.',
1413         messageId: "SVC4525"
1414     }
1415
1416 ---------SVC4526------------------------------
1417 ==============================================
1418
1419 ::
1420
1421     RESOURCE_INSTANCE_NOT_FOUND: {
1422         code: 404,
1423         message: "Error: Requested '%1' resource instance was not found.",
1424         messageId: "SVC4526"
1425     }
1426
1427 ---------SVC4527------------------------------
1428 ==============================================
1429
1430 ::
1431
1432     ASDC_VERSION_NOT_FOUND: {
1433         code: 500,
1434         message: 'Error: ASDC version cannot be displayed.',
1435         messageId: "SVC4527"
1436     }
1437
1438 ---------SVC4528------------------------------
1439 ==============================================
1440
1441 - %1-artifact url/artifact label/artifact description/VNF Service Indicator
1442
1443 ::
1444
1445     MISSING_DATA: {
1446         code: 400,
1447         message: "Error: Invalid content. Missing %1.",
1448         messageId: "SVC4528"
1449     }
1450
1451 ---------SVC4529------------------------------
1452 ==============================================
1453
1454 - %1-artifact url/artifact label/artifact description/artifact name
1455 - %2 - Maximal length of %1
1456
1457 ::
1458
1459     EXCEEDS_LIMIT: {
1460         code: 400,
1461         message: "Error: Invalid Content. %1 exceeds limit of %2 characters.",
1462         messageId: "SVC4529"
1463     }
1464
1465 ---------SVC4530------------------------------
1466 ==============================================
1467
1468 ::
1469
1470     ARTIFACT_INVALID_TIMEOUT: {
1471         code: 400,
1472         message: "Error: Invalid Content. Artifact Timeout should be set to valid positive non-zero number of minutes.",
1473         messageId: "SVC4530"
1474     }
1475
1476 ---------SVC4531------------------------------
1477 ==============================================
1478
1479 ::
1480
1481     SERVICE_IS_VNF_CANNOT_BE_CHANGED: {
1482         code: 400,
1483         message: "Error: VNF Indicator cannot be updated for certified service.",
1484         messageId: "SVC4531"
1485     }
1486
1487 ---------SVC4532------------------------------
1488 ==============================================
1489
1490 ::
1491
1492     RESOURCE_INSTANCE_NOT_FOUND_ON_SERVICE: { 
1493         code: 404,
1494         message: "Error: Requested '%1' resource instance was not found on the service '%2.",
1495         messageId: "SVC4532"
1496     }
1497
1498 ---------SVC4533------------------------------
1499 ==============================================
1500
1501 - %1 - artifact name("HEAT"/"HEAT_ENV"/"MURANO_PKG"/"YANG_XML")
1502
1503 ::
1504
1505     WRONG_ARTIFACT_FILE_EXTENSION: { 
1506         code: 400,
1507         message: "Error: Invalid file extension for %1 artifact type.",
1508         messageId: "SVC4533"
1509     }
1510
1511 ---------SVC4534------------------------------
1512 ==============================================
1513
1514 - %1 - "HEAT"/"HEAT_ENV"
1515
1516 ::
1517
1518     INVALID_YAML: {
1519         code: 400,
1520         message: "Error: Uploaded YAML file for %1 artifact is invalid.",
1521         messageId: "SVC4534"
1522     }
1523
1524 ---------SVC4535------------------------------
1525 ==============================================
1526
1527 - %1 - "HEAT"
1528
1529 ::
1530
1531     INVALID_DEPLOYMENT_ARTIFACT_HEAT: {
1532         code: 400,
1533         message: "Error: Invalid %1 artifact.",
1534         messageId: "SVC4535"
1535     }
1536
1537 ---------SVC4536------------------------------
1538 ==============================================
1539
1540 - %1 - Resource/Service
1541 - %2 - Resource/Service name
1542 - %3 - "HEAT"/"HEAT_ENV"/"MURANO_PKG"
1543 - %4 - "HEAT"/"HEAT_ENV"/"MURANO_PKG
1544
1545 ::
1546
1547     DEPLOYMENT_ARTIFACT_OF_TYPE_ALREADY_EXISTS: {
1548         code: 400,
1549         message: "Error: %1 '%2' already has a deployment artifact of %3 type .Please delete or update an existing %4 artifact.",
1550         messageId: "SVC4536"
1551     }
1552
1553 ---------SVC4537------------------------------
1554 ==============================================
1555
1556 ::
1557
1558     MISSING_HEAT: {
1559         code: 400,
1560         message: "Error: Missing HEAT artifact. HEAT_ENV artifact cannot be uploaded without corresponding HEAT template.",
1561         messageId: "SVC4537"
1562     }
1563
1564 ---------SVC4538------------------------------
1565 ==============================================
1566
1567 ::
1568
1569     MISMATCH_HEAT_VS_HEAT_ENV: {
1570         code: 400,
1571         message: "Error: Invalid artifact content. Parameter's set in HEAT_ENV '%1' artifact doesn't match the parameters in HEAT '%2' artifact.",
1572         messageId: "SVC4538"
1573     }
1574
1575 ---------SVC4539------------------------------
1576 ==============================================
1577
1578 ::
1579
1580     INVALID_RESOURCE_PAYLOAD: {
1581         code: 400,
1582         message: "Error: Invalid resource payload.",
1583         messageId: "SVC4539"
1584     }
1585
1586 ---------SVC4540------------------------------
1587 ==============================================
1588
1589 ::
1590
1591     INVALID_TOSCA_FILE_EXTENSION: {
1592         code: 400,
1593         message: "Error: Invalid file extension for TOSCA template.",
1594         messageId: "SVC4540"
1595     }
1596
1597 ---------SVC4541------------------------------
1598 ==============================================
1599
1600 ::
1601
1602     INVALID_YAML_FILE: {
1603         code: 400,
1604         message: "Error: Invalid YAML file.",
1605         messageId: "SVC4541"
1606     }
1607
1608 ---------SVC4542------------------------------
1609 ==============================================
1610
1611 ::
1612
1613     INVALID_TOSCA_TEMPLATE: {
1614         code: 400,
1615         message: "Error: Invalid TOSCA template.",
1616         messageId: "SVC4542"
1617     }
1618
1619 ---------SVC4543------------------------------
1620 ==============================================
1621
1622 ::
1623
1624     NOT_RESOURCE_TOSCA_TEMPLATE: {
1625         code: 400,
1626         message: "Error: Imported Service TOSCA template.",
1627         messageId: "SVC4543"
1628     }
1629
1630 ---------SVC4544------------------------------
1631 ==============================================
1632
1633 ::
1634
1635     NOT_SINGLE_RESOURCE: {
1636         code: 400,
1637         message: "Error: Imported TOSCA template should contain one resource definition.",
1638         messageId: "SVC4544"
1639     }
1640
1641 ---------SVC4545------------------------------
1642 ==============================================
1643
1644 ::
1645
1646     INVALID_RESOURCE_NAMESPACE: {
1647         code: 400,
1648         message: "Error: Invalid resource namespace.",
1649         messageId: "SVC4545"
1650     }
1651
1652 ---------SVC4546------------------------------
1653 ==============================================
1654
1655 ::
1656
1657     RESOURCE_ALREADY_EXISTS: {
1658         code: 400,
1659         message: "Error: Imported resource already exists in ASDC Catalog.",
1660         messageId: "SVC4546"
1661     }
1662
1663 ---------SVC4549------------------------------
1664 ==============================================
1665
1666 ::
1667
1668     INVALID_RESOURCE_CHECKSUM: {
1669         code: 400,
1670         message: "Error: Invalid resource checksum.",
1671         messageId: "SVC4549"
1672     }
1673
1674 ---------SVC4550------------------------------
1675 ==============================================
1676
1677 - %1 - Consumer salt
1678
1679 ::
1680
1681     INVALID_LENGTH: {
1682         code: 400,
1683         message: "Error: Invalid %1 length.",
1684         messageId: "SVC4550"
1685     }
1686
1687 ---------SVC4551------------------------------
1688 ==============================================
1689     
1690 - %1 - ECOMP User name
1691
1692 ::
1693
1694     ECOMP_USER_NOT_FOUND: {
1695         code: 404,
1696         message: "Error: ECOMP User '%1' was not found.",
1697         messageId: "SVC4551"
1698     }
1699
1700 ---------SVC4552------------------------------
1701 ==============================================
1702
1703 ::
1704
1705     CONSUMER_ALREADY_EXISTS: {
1706         code: 409,
1707         message: "Error: ECOMP User already exists.",
1708         messageId: "SVC4552"
1709     }
1710
1711 ---------SVC4553-----------------------------
1712 =============================================
1713
1714 - %1 - Consumer name / Consumer password/ Consumer salt
1715
1716 ::
1717
1718     INVALID_CONTENT_PARAM: {
1719         code: 400,
1720         message: "Error: %1 is invalid.",
1721         messageId: "SVC4553"
1722     }
1723
1724 ---------SVC4554------------------------------
1725 ==============================================
1726
1727 - %1 - "Resource"/"Service"
1728
1729 ::
1730
1731     COMPONENT_ARTIFACT_NOT_FOUND: {
1732         code: 404,
1733         message: "Error: Requested artifact doesn't belong to specified %1.",
1734         messageId: "SVC4554"
1735     }
1736
1737 ---------SVC4554------------------------------
1738 ==============================================
1739
1740 - %1 - "Service name"
1741
1742 ::
1743
1744     SERVICE_DEPLOYMENT_ARTIFACT_NOT_FOUND: {
1745         code: 403,
1746         message: "Error: Requested '%1' service is not ready for certification. Service has to have at least one deployment artifact.",
1747         messageId: "SVC4554"
1748     }
1749
1750 ---------SVC4555------------------------------
1751 ==============================================
1752
1753 - %1 - Resource/Service/Product
1754 - %2 - Category"
1755
1756 ::
1757
1758     COMPONENT_ELEMENT_INVALID_NAME_LENGTH: {
1759         code: 400,
1760         message: "Error: Invalid %1 %2 name length.",
1761         messageId: "SVC4555"
1762     }
1763
1764 ---------SVC4556------------------------------
1765 ==============================================
1766
1767 %1 - Resource/Service/Product
1768 %2 - Category"
1769
1770 ::
1771
1772     COMPONENT_ELEMENT_INVALID_NAME_FORMAT: {
1773         code: 400,
1774         message: "Error: Invalid %1 %2 name format.",
1775         messageId: "SVC4556"
1776     }
1777
1778 ---------SVC4557------------------------------
1779 ==============================================
1780
1781 - %1 - Resource/Service/Product
1782 - %2 - Category name"
1783
1784 ::
1785
1786     COMPONENT_CATEGORY_ALREADY_EXISTS: {
1787         code: 409,
1788         message: "Error: %1 category name '%2' already exists.",
1789         messageId: "SVC4557"
1790     }
1791
1792 ---------SVC4558------------------------------
1793 ==============================================
1794
1795 - %1 - service/VF
1796 - %2 - Resource name
1797
1798 ::
1799
1800     VALIDATED_RESOURCE_NOT_FOUND: {
1801         code: 403,
1802         message: "Error: Submit for Testing is not permitted as your '%1' includes non-validated '%2' resource.",
1803         messageId: "SVC4558"
1804     }
1805
1806 ---------SVC4559------------------------------
1807 ==============================================
1808
1809 - %1 - Service/VF
1810 - %2 - Resource name
1811
1812 ::
1813
1814     FOUND_ALREADY_VALIDATED_RESOURCE: {
1815         code: 403,
1816         message: "Error: Submit for Testing is not permitted as your '%1' includes non-validated '%2' resource. Please use already available validated resource version.",
1817         messageId: "SVC4559"
1818     }
1819
1820 ---------SVC4560------------------------------
1821 ==============================================
1822
1823 - %1 - Service/VF
1824 - %2 - Resource name
1825
1826 ::
1827
1828     FOUND_LIST_VALIDATED_RESOURCES: {
1829         code: 403,
1830         message: "Error: Submit for Testing is not permitted as your '%1' includes non-validated '%2' resource. Please use one of available validated resource versions.",
1831         messageId: "SVC4560"
1832     }
1833
1834 ---------SVC4561------------------------------
1835 ==============================================
1836
1837 - %1 - Resource/Product
1838 - %2 - Category
1839 - %3 - Category name
1840
1841 ::
1842
1843     COMPONENT_CATEGORY_NOT_FOUND: {
1844         code: 404,
1845         message: "Error: Requested %1 %2 '%3' was not found.",
1846         messageId: "SVC4561"
1847     }
1848
1849 ---------SVC4562------------------------------
1850 ==============================================
1851
1852 - %1 - Resource/Product
1853 - %2 - Sub-Category name
1854 - %3 - Category name
1855
1856 ::
1857
1858     COMPONENT_SUB_CATEGORY_EXISTS_FOR_CATEGORY: {
1859         code: 409,
1860         message: "Error: %1 sub-category '%2' already exists under '%3' category.",
1861         messageId: "SVC4562"
1862     }
1863
1864 ---------SVC4563------------------------------
1865 ==============================================
1866
1867 - %1 - Product
1868 - %2 - Grouping name
1869 - %3 - Sub-Category name
1870
1871 ::
1872
1873     COMPONENT_GROUPING_EXISTS_FOR_SUB_CATEGORY: {
1874         code: 409,
1875         message: "Error: %1 grouping '%2' already exists under '%3' sub-category.",
1876         messageId: "SVC4563"
1877     }
1878
1879 ---------SVC4564------------------------------
1880 ==============================================
1881
1882 - %1 - Product name
1883
1884 ::
1885
1886     PRODUCT_NOT_FOUND: {
1887         code: 404,
1888         message: "Error: Requested '%1' product was not found.",
1889         messageId: "SVC4564"
1890     }
1891
1892 ---------SVC4565------------------------------
1893 ==============================================
1894
1895 - %1 - "HEAT"
1896 - %2 - Parameter type ("string" , "boolean" , "number")
1897 - %3 - Parameter name
1898
1899 ::
1900
1901     INVALID_HEAT_PARAMETER_VALUE: {
1902         code: 400,
1903         message: "Error: Invalid %1 artifact. Invalid %2 value set for '%3' parameter.",
1904         messageId: "SVC4565"
1905     }
1906
1907 ---------SVC4566------------------------------
1908 ==============================================
1909
1910 - %1 - "HEAT"
1911 - %2 - Parameter type ("string" , "boolean" , "number")
1912
1913 ::
1914
1915     INVALID_HEAT_PARAMETER_TYPE: {
1916         code: 400,
1917         message: "Error: Invalid %1 artifact. Unsupported '%2' parameter type.",
1918         messageId: "SVC4566"
1919     }
1920
1921 ---------SVC4567------------------------------
1922 ==============================================
1923
1924 - %1 - "YANG_XML"
1925
1926 ::
1927
1928     INVALID_XML: {
1929         code: 400,
1930         message: "Error: Uploaded XML file for %1 artifact is invalid.",
1931         messageId: "SVC4567"
1932     }
1933
1934 ---------SVC4567------------------------------
1935 ==============================================
1936
1937 - %1 - User Name and UserId
1938 - %2 - Checked-out/In-certification
1939
1940 ::
1941
1942     CANNOT_DELETE_USER_WITH_ACTIVE_ELEMENTS: {
1943         code: 409,
1944         message: "Error: User cannot be deleted. User '%1' has %2 projects.",
1945         messageId: "SVC4567"
1946     }
1947
1948 ---------SVC4568------------------------------
1949 ==============================================
1950
1951 - %1 - User Name and UserId
1952 - %2 - Checked-out/In-certification
1953
1954 ::
1955
1956     CANNOT_UPDATE_USER_WITH_ACTIVE_ELEMENTS: {
1957         code: 409,
1958         message: "Error: Role cannot be changed. User '%1' has %2 projects.",
1959         messageId: "SVC4568"
1960     }
1961
1962 ---------SVC4570------------------------------
1963 ==============================================
1964
1965 ::
1966
1967     UPDATE_USER_ADMIN_CONFLICT: {
1968         code: 409,
1969         message: "Error: An administrator is not allowed to change his/her role.",
1970         messageId: "SVC4570"
1971     }
1972
1973 ---------SVC4571------------------------------
1974 ==============================================
1975
1976 ::
1977
1978     SERVICE_CANNOT_CONTAIN_SUBCATEGORY: {
1979         code: 400,
1980         message: "Error: Sub category cannot be defined for service",
1981         messageId: "SVC4571"
1982     }
1983
1984 ---------SVC4572------------------------------
1985 ==============================================
1986
1987 - %1 - Resource/Service
1988
1989 ::
1990
1991     COMPONENT_TOO_MUCH_CATEGORIES: {
1992         code: 400,
1993         message: "Error: %1 must have only 1 category",
1994         messageId: "SVC4572"
1995     }
1996
1997 ---------SVC4574------------------------------
1998 ==============================================
1999
2000 ::
2001
2002     RESOURCE_TOO_MUCH_SUBCATEGORIES: {
2003         code: 400,
2004         message: "Error: Resource must have only 1 sub category",
2005         messageId: "SVC4574"
2006     }
2007
2008 ---------SVC4575------------------------------
2009 ==============================================
2010
2011 ::
2012
2013     COMPONENT_MISSING_SUBCATEGORY: {
2014         code: 400,
2015         message: "Error: Missing sub category",
2016         messageId: "SVC4575"
2017     }
2018
2019 ---------SVC4576------------------------------
2020 ==============================================
2021
2022 - %1 - Component type
2023
2024 ::
2025
2026     UNSUPPORTED_ERROR: {
2027         code: 400,
2028         message: "Error : Requested component type %1 is unsupported.",
2029         messageId: "SVC4576"
2030     }
2031
2032 ---------SVC4577------------------------------
2033 ==============================================
2034
2035 - %1 - Resource type
2036
2037 ::
2038
2039     RESOURCE_CANNOT_CONTAIN_RESOURCE_INSTANCES: {
2040         code: 409,
2041         message: "Error : Resource of type %1 cannot contain resource instances.",
2042         messageId: "SVC4577"
2043     }
2044
2045 ---------SVC4578------------------------------
2046 ==============================================
2047
2048 - %1 - Resource/Service 
2049 - %2 - Resource/Service name 
2050 - %3 - Artifact name
2051
2052 ::
2053
2054     DEPLOYMENT_ARTIFACT_NAME_ALREADY_EXISTS: {
2055         code: 400,
2056         message: "Error: %1 '%2' already has a deployment artifact named '%3'.",
2057         messageId: "SVC4578"
2058     }
2059
2060 ---------SVC4579------------------------------
2061 ==============================================
2062
2063 - %1 - "Category/Sub-Category/Group"
2064 - %2 - Category/Sub-Category/Grouping name.
2065
2066 ::
2067
2068     INVALID_GROUP_ASSOCIATION: {
2069         code: 400,
2070         message: "Error: Invalid group association. %1 '%2' was not found.",
2071         messageId: "SVC4579"
2072     }
2073
2074 ---------SVC4580------------------------------
2075 ==============================================
2076
2077 ::
2078
2079     EMPTY_PRODUCT_CONTACTS_LIST: {
2080         code: 400,
2081         message: "Error: Invalid content. At least one Product Contact has to be specified.",
2082         messageId: "SVC4580"
2083     }
2084
2085 ---------SVC4581------------------------------
2086 ==============================================
2087
2088 - %1 - UserId
2089
2090 ::
2091
2092     INVALID_PRODUCT_CONTACT: {
2093         code: 400,
2094         message: "Error: Invalid content. User '%1' cannot be set as Product Contact.",
2095         messageId: "SVC4581"
2096     }
2097
2098 ---------SVC4582------------------------------
2099 ==============================================
2100
2101 - %1 - Product
2102 - %2 - Aabbreviated/Full"
2103
2104 ::
2105
2106     MISSING_ONE_OF_COMPONENT_NAMES: {
2107         code: 400,
2108         message: "Error: Invalid content. Missing %1 %2 name.",
2109         messageId: "SVC4582"
2110     }
2111
2112 ---------SVC4583------------------------------
2113 ==============================================
2114
2115 - %1 - Icon
2116 - %2 - Resource/Service/Product
2117
2118 ::
2119
2120     COMPONENT_PARAMETER_CANNOT_BE_CHANGED: {
2121         code: 400,
2122         message: "Error: %1 cannot be changed once the %2 is certified.",
2123         messageId: "SVC4583"
2124     }
2125
2126 ---------SVC4584------------------------------
2127 ==============================================
2128
2129 - %1 - Service/VF name
2130 - %2 - Service/VF 
2131 - %3 - Resource instance origin type 
2132 - %4 - Resource instance name 
2133 - %5 - Requirement/Capability 
2134 - %6 - Requirement/Capability name 
2135 - %7 - Fulfilled" (for req)/Consumed (forcap)
2136
2137 ::
2138
2139     REQ_CAP_NOT_SATISFIED_BEFORE_CERTIFICATION: {
2140         code: 403,
2141         message: "Error: Requested '%1' %2 is not ready for certification. %3'%4' has to have %5 '%6' %7.",
2142         messageId: "SVC4584" 
2143     }
2144
2145 ---------SVC4585------------------------------
2146 ==============================================
2147
2148 ::
2149
2150     INVALID\_OCCURRENCES: {
2151         code: 400,
2152         message: "Error: Invalid occurrences format.",
2153         messageId: "SVC4585"
2154     }
2155
2156 ---------SVC4586------------------------------
2157 ==============================================
2158
2159 ::
2160
2161     INVALID_SERVICE_API_URL:{
2162         code: 400,
2163         message: 'Error: Invalid Service API URL. Please check whether your URL has a valid domain extension 
2164                  'and does not contain the following characters - #?&@%+;,=$<>~^\`[]{}\|"\*!',
2165         messageId: "SVC4586"
2166     }
2167
2168 ---------SVC4587------------------------------
2169 ==============================================
2170
2171 - %1 - Data type name
2172
2173 ::
2174
2175     DATA_TYPE_ALREADY_EXIST: {
2176         code: 409,
2177         message: 'Error: Data type %1 already exists.',
2178         messageId: "SVC4587"
2179     }
2180
2181 ---------SVC4588------------------------------
2182 ==============================================
2183
2184 - %1 - Data type name
2185
2186 ::
2187
2188     DATA_TYPE_NOR_PROPERTIES_NEITHER_DERIVED_FROM: {
2189         code: 400,
2190         message: 'Error: Invalid Data type %1. Data type must have either a valid derived from declaration or at least one valid property',
2191         messageId: "SVC4588"
2192     }
2193
2194 ---------SVC4589------------------------------
2195 ==============================================
2196
2197 - %1 - Data type name
2198
2199 ::
2200
2201     DATA_TYPE_PROPERTIES_CANNOT_BE_EMPTY: {
2202         code: 400,
2203         message: "Error: Invalid Data type %1. 'properties' parameter cannot be empty if provided.",
2204         messageId: "SVC4589"
2205     }
2206
2207 ---------SVC4590------------------------------
2208 ==============================================
2209
2210 - %1 - Property type name
2211 - %2 - Property name
2212
2213 ::
2214
2215     INVALID_PROPERTY_TYPE: {
2216         code: 400,
2217         message: "Error: Invalid Property type %1 in property %2.",
2218         messageId: "SVC4590"
2219     }
2220
2221 ---------SVC4591------------------------------
2222 ==============================================
2223
2224 - %1 - Property inner type
2225 - %2 - Property name
2226
2227 ::
2228
2229     INVALID_PROPERTY_INNER_TYPE: {
2230         code: 400,
2231         message: "Error: Invalid property inner type %1, in property %2",
2232         messageId: "SVC4591"
2233     }
2234
2235 ---------SVC4592------------------------------
2236 ==============================================
2237
2238 - %1 - Component instance name
2239 - %2 - Resource instance/Service instance
2240
2241 ::
2242
2243     COMPONENT_INSTANCE_NOT_FOUND: {
2244         code: 404,
2245         message: "Error: Requested '%1' %2 was not found.",
2246         messageId: "SVC4592"
2247     }
2248
2249 ---------SVC4593------------------------------
2250 ==============================================
2251
2252 - %1 - Component instance name
2253 - %2 - Resource instance/Service instance
2254 - %3 - Resource/Service/Product
2255 - %4 - Container name
2256
2257 ::
2258
2259     COMPONENT_INSTANCE_NOT_FOUND_ON_CONTAINER: {
2260         code: 404,
2261         message: "Error: Requested '%1' %2 was not found on the %3 '%4'.",
2262         messageId: "SVC4593"
2263     }
2264
2265 ---------SVC4594------------------------------
2266 ==============================================
2267
2268 - %1 - Requirement/Capability
2269 - %2 - Requirement name
2270
2271 ::
2272
2273     IMPORT_DUPLICATE_REQ_CAP_NAME: {
2274         code: 400,
2275         message: "Error: Imported TOSCA template contains more than one %1 named '%2'.",
2276         messageId: "SVC4594"
2277     }
2278
2279 ---------SVC4595------------------------------
2280 ==============================================
2281
2282 - %1 - Requirement/Capability
2283 - %2 - Requirement name
2284 - %3 - Parent containing the requirement
2285
2286 ::
2287
2288     IMPORT_REQ_CAP_NAME_EXISTS_IN_DERIVED: {
2289         code: 400,
2290         message: "Error: Imported TOSCA template contains %1 '%2' that is already defined by derived template %3.",
2291         messageId: "SVC4595"
2292     }
2293
2294 ---------SVC4596------------------------------
2295 ==============================================
2296
2297 - %1 - Data type name
2298
2299 ::
2300
2301     DATA_TYPE_DERIVED_IS_MISSING: {
2302         code: 400,
2303         message: "Error: Invalid Content. The ancestor data type %1 cannot be found in the system.",
2304         messageId: "SVC4596"
2305     }
2306
2307 ---------SVC4597------------------------------
2308 ==============================================
2309
2310 - %1 - Data type name
2311 - %2 - Property names
2312
2313 ::
2314
2315     DATA_TYPE_PROPERTY_ALREADY_DEFINED_IN_ANCESTOR: {
2316         code: 400,
2317         message: "Error: Invalid Content. The data type %1 contains properties named %2 which are already defined in one of its ancestors.",
2318         messageId: "SVC4597"
2319     }
2320
2321 ---------SVC4598------------------------------
2322 ==============================================
2323
2324 - %1 - Data type name
2325
2326 ::
2327
2328     DATA_TYPE_DUPLICATE_PROPERTY: {
2329         code: 400,
2330         message: "Error: Invalid Content. The data type %1 contains duplicate property.",
2331         messageId: "SVC4598"
2332     }
2333
2334 ---------SVC4599------------------------------
2335 ==============================================
2336
2337 - %1 - Data type name
2338 - %2 - Property names
2339
2340 ::
2341
2342     DATA_TYPE_PROEPRTY_CANNOT_HAVE_SAME_TYPE_OF_DATA_TYPE: {
2343         code: 400,
2344         message: "Error: Invalid Content. The data type %1 contains properties %2 which their type is this data type.",
2345         messageId: "SVC4599"
2346     }
2347
2348 ---------SVC4600------------------------------
2349 ==============================================
2350
2351 - %1 - Data type name
2352
2353 ::
2354
2355     DATA_TYPE_CANNOT_HAVE_PROPERTIES: {
2356         code: 400,
2357         message: "Error: Invalid Content. The data type %1 cannot have properties since it is of type scalar",
2358         messageId: "SVC4600"
2359     }
2360
2361 ---------SVC4601------------------------------
2362 ==============================================
2363
2364 ::
2365
2366     NOT_TOPOLOGY_TOSCA_TEMPLATE: {
2367         code: 400,
2368         message: "Error: TOSCA yaml file %1 cannot be modeled to VF as it does not contain 'topology_template.",
2369         messageId: "SVC4601"
2370     }
2371
2372 ---------SVC4602--------------------------------
2373 ================================================
2374
2375 - %1 - YAML file name
2376 - %2 - Node_Template label
2377 - %3 - Node_Template type
2378
2379 ::
2380
2381     INVALID_NODE_TEMPLATE: {
2382         code: 400,
2383         message: "Error: TOSCA yaml file '%1' contains node_template '%2' of type '%3' that does not represent existing VFC/CP/VL",
2384         messageId: "SVC4602"
2385     }
2386
2387 ---------SVC4603------------------------------
2388 ==============================================
2389
2390 - %1 - Component type
2391 - %2 - Component name
2392 - %3 - State
2393
2394 ::
2395
2396     ILLEGAL_COMPONENT_STATE: {
2397         code: 403,
2398         message: "Error: Component instance of %1 can not be created because the component '%2' is in an illegal state %3.",
2399         messageId: "SVC4603"
2400     }
2401
2402 ---------SVC4604------------------------------
2403 ==============================================
2404
2405 - %1 - CSAR file name
2406
2407 ::
2408
2409     CSAR_INVALID: {
2410         code: 400,
2411         message: "Error: TOSCA CSAR '%1' is invalid. 'TOSCA-Metadata/Tosca.meta' file must be provided.",
2412         messageId: "SVC4604"
2413     }
2414
2415 ---------SVC4605------------------------------
2416 ==============================================
2417
2418 - %1 - CSAR file name
2419
2420 ::
2421
2422     CSAR_INVALID_FORMAT: {
2423         code: 400,
2424         message: "Error: TOSCA CSAR '%1' is invalid. Invalid 'TOSCA-Metadata/Tosca.meta' file format.",
2425         messageId: "SVC4605"
2426     }
2427
2428 ---------SVC4606------------------------------
2429 ==============================================
2430
2431 - %1 - Property name
2432 - %2 - Property type
2433 - %3 - Property innerType
2434 - %4 - Default value
2435
2436 ::
2437
2438     INVALID_COMPLEX_DEFAULT_VALUE: {
2439         code: 400,
2440         message: "Error: Invalid default value of property %1. Data type is %2 with inner type %3 and default value found is %4.",
2441         messageId: "SVC4606"
2442     }
2443
2444 ---------SVC4607------------------------------
2445 ==============================================
2446
2447 - %1 - csar file name
2448
2449 ::
2450
2451     CSAR_NOT_FOUND: {
2452         code: 400,
2453         message: "Error: TOSCA CSAR '%1' is not found.",
2454         messageId: "SVC4607"
2455     }
2456
2457 ---------SVC4608------------------------------
2458 ==============================================
2459
2460 - %1 - Artifact name
2461 - %2 - Component type
2462 - %3 - Actual component type
2463
2464 ::
2465
2466     MISMATCH_BETWEEN_ARTIFACT_TYPE_AND_COMPONENT_TYPE: {
2467         code: 400,
2468         message: "Error: Artifact %1 is only compatible with component of type %2, but component type is %3.",
2469         messageId: "SVC4608"
2470     }
2471
2472 ---------SVC4609------------------------------
2473 ==============================================
2474
2475 - %1 - INVALID_JSON
2476
2477 ::
2478
2479     INVALID_JSON: {
2480         code: 400,
2481         message: "Error: Uploaded JSON file for %1 artifact is invalid.",
2482         messageId: "SVC4609"
2483     }
2484
2485 ---------SVC4610------------------------------
2486 ==============================================
2487
2488 - %1 - CSAR file name
2489 - %2 - Missing file name
2490
2491 ::
2492
2493     YAML_NOT_FOUND_IN_CSAR: {
2494         code: 400,
2495         message: "Error - TOSCA CSAR %1 is invalid. TOSCA-Metadata/Tosca.meta refers to file %2 that is not provided.",
2496         messageId: "SVC4610"
2497     }
2498
2499 ---------SVC4611------------------------------
2500 ==============================================
2501
2502 - %1 - Group name
2503
2504 ::
2505
2506     GROUP_MEMBER_EMPTY: {
2507         code: 400,
2508         message: "Error: Invalid Content. Group %1 member list was provided but does not have values",
2509         messageId: "SVC4611"
2510     }
2511
2512 ---------SVC4612------------------------------
2513 ==============================================
2514
2515 - %1 - Group name
2516
2517 ::
2518
2519     GROUP_TYPE_ALREADY_EXIST: {
2520         code: 409,
2521         message: 'Error: Group type %1 already exists.',
2522         messageId: "SVC4612"
2523     }
2524
2525 ---------SVC4613------------------------------
2526 ==============================================
2527
2528 - %1 - Group name
2529 - %2 - VF name(component name)
2530 - %3 - Actual component type [VF]
2531
2532 ::
2533
2534     GROUP_ALREADY_EXIST: {
2535         code: 409,
2536         message: "Error: Group with name '%1' already exists in %2 %3.",
2537         messageId: "SVC4613"
2538     }
2539
2540 ---------SVC4614------------------------------
2541 ==============================================
2542
2543 - %1 - Group type
2544
2545 ::
2546
2547     GROUP_TYPE_IS_INVALID: {
2548         code: 400,
2549         message: "Error: Invalid content. Group type %1 does not exist",
2550         messageId: "SVC4614"
2551     }
2552
2553 ---------SVC4615------------------------------
2554 ==============================================
2555
2556 - %1 - group name
2557
2558 ::
2559
2560     GROUP_MISSING_GROUP_TYPE: {
2561         code: 400,
2562         message: "Error: Invalid Content. Missing Group Type for group '%1'",
2563         messageId: "SVC4615"
2564     }
2565
2566 ---------SVC4616------------------------------
2567 ==============================================
2568
2569 - %1 - Member name
2570 - %2 - Group name
2571 - %3 - VF name
2572 - %4 - Component type [VF ]
2573
2574 ::
2575
2576     GROUP_INVALID_COMPONENT_INSTANCE: {
2577         code: 400,
2578         message: "Error: Member '%1' listed in group '%2' is not part of '%3' %4.",
2579         messageId: "SVC4616"
2580     }
2581
2582 ---------SVC4617------------------------------
2583 ==============================================
2584
2585 - %1 - Member name
2586 - %2 - Group name
2587 - %3 - Group type
2588
2589 ::
2590
2591     GROUP_INVALID_TOSCA_NAME_OF_COMPONENT_INSTANCE: {
2592         code: 400,
2593         message: "Error: member %1 listed in group %2 is not part of allowed members of group type %3.",
2594         messageId: "SVC4617"
2595     }
2596
2597 ---------SVC4618------------------------------
2598 ==============================================
2599
2600 - %1 - Missing file name
2601 - %2 - CSAR file name
2602
2603 ::
2604
2605     ARTIFACT_NOT_FOUND_IN_CSAR: {
2606         code: 400,
2607         message: "Error: artifact %1 is defined in CSAR %2 manifest but is not provided",
2608         messageId: "SVC4618"
2609     }
2610
2611 ---------SVC4619------------------------------
2612 ==============================================
2613
2614 - %1 - Artifact name
2615 - %2 - Artifact type
2616 - %3 - Existing artifact type
2617
2618 ::
2619
2620     ARTIFACT_ALRADY_EXIST_IN_DIFFERENT_TYPE_IN_CSAR: {
2621         code: 400,
2622         message: "Error: artifact %1 in type %2 already exists in type %3.",
2623         messageId: "SVC4619"
2624     }
2625
2626 ---------SVC4620------------------------------
2627 ==============================================
2628
2629 ::
2630
2631     FAILED_RETRIVE_ARTIFACTS_TYPES: {
2632         code: 400,
2633         message: "Error: Failed to retrieve list of suported artifact types.",
2634         messageId: "SVC4620"
2635     }
2636
2637 ---------SVC4621------------------------------
2638 ==============================================
2639
2640 - %1 - Artifact name
2641 - %2 - Master
2642
2643 ::
2644
2645     ARTIFACT_ALRADY_EXIST_IN_MASTER_IN_CSAR: {
2646         code: 400,
2647         message: "Error: artifact %1 already exists in master %2 .",
2648         messageId: "SVC4621"
2649     }
2650
2651 ---------SVC4622------------------------------
2652 ==============================================
2653
2654 - %1 - Artifact name
2655 - %2 - Artifact type
2656 - %3 - Master name
2657 - %4 - Master type
2658
2659 ::
2660
2661     ARTIFACT_NOT_VALID_IN_MASTER: {
2662         code: 400,
2663         message: "Error: artifact %1 in type %2 can not be exists under master %3 in type %4.",
2664         messageId: "SVC4622"
2665     }
2666
2667 ---------SVC4623------------------------------
2668 ==============================================
2669
2670 - %1 - Artifact name
2671 - %2 - Artifact type
2672 - %3 - Env name
2673 - %4 - Existing env
2674
2675 ::
2676
2677     ARTIFACT_NOT_VALID_ENV: {
2678         code: 400,
2679         message: "Error: Artifact %1 in type %2 with env %3 already exists with another env %4",
2680         messageId: "SVC4623"
2681     }
2682
2683 ---------SVC4624------------------------------
2684 ==============================================
2685
2686 - %1 - Groups names
2687 - %2 - VF name
2688 - %3 - Component type [VF ]
2689
2690 ::
2691
2692     GROUP_IS_MISSING: {
2693         code: 400,
2694         message: "Error: Invalid Content. The groups '%1' cannot be found under %2 %3.",
2695         messageId: "SVC4624"
2696     }
2697
2698 ---------SVC4625------------------------------
2699 ==============================================
2700
2701 - %1 - Groups name
2702
2703 ::
2704
2705     GROUP_ARTIFACT_ALREADY_ASSOCIATED: {
2706         code: 400,
2707         message: "Error: Invalid Content. Artifact already associated to group '%1'.",
2708         messageId: "SVC4625"
2709     }
2710
2711 ---------SVC4626------------------------------
2712 ==============================================
2713
2714 - %1 - Groups name
2715
2716 ::
2717
2718     GROUP_ARTIFACT_ALREADY_DISSOCIATED: {
2719         code: 400,
2720         message: "Error: Invalid Content. Artifact already dissociated from group '%1'.",
2721         messageId: "SVC4626"
2722     }
2723
2724 ---------SVC4627------------------------------
2725 ==============================================
2726
2727 - %1 - Property name
2728 - %2 - Group name
2729 - %3 - Group type name
2730
2731 ::
2732
2733     GROUP_PROPERTY_NOT_FOUND: {
2734         code: 400,
2735         message: "Error: property %1 listed in group %2 is not exist in group type %3.",
2736         messageId: "SVC4627"
2737     }
2738
2739 ---------SVC4628------------------------------
2740 ==============================================
2741
2742 - %1 - CSAR UUID
2743 - %2 - VF name
2744
2745 ::
2746
2747     VSP_ALREADY_EXISTS: {
2748         code: 400,
2749         message: "Error: The VSP with UUID %1 was already imported for VF %2. Please select another or update the existing VF.",
2750         messageId: "SVC4628"
2751     }
2752
2753 ---------SVC4629------------------------------
2754 ==============================================
2755
2756 - %1 - VF name
2757
2758 ::
2759
2760     MISSING_CSAR_UUID: {
2761         code: 400,
2762         message: "Error: The Csar UUID or payload name is missing for VF %1.",
2763         messageId: "SVC4629"
2764     }
2765
2766 ---------SVC4630------------------------------
2767 ==============================================
2768
2769 - %1 - VF name
2770 - %2 - New CSAR UUID
2771 - %3 - Old CSAR UUID
2772
2773 ::
2774
2775     RESOURCE_LINKED_TO_DIFFERENT_VSP: {
2776         code: 400,
2777         message: "Error: Resource %1 cannot be updated using CsarUUID %2 since the resource is linked to a different VSP with csarUUID %3.",
2778         messageId: "SVC4630"
2779     }
2780
2781 ---------SVC4631------------------------------
2782 ==============================================
2783
2784 - %1 - Policy name
2785
2786 ::
2787
2788     POLICY_TYPE_ALREADY_EXIST: {
2789         code: 409,
2790         message: "Error: Policy type %1 already exists.",
2791         messageId: "SVC4631"
2792     }
2793
2794 ---------SVC4632------------------------------
2795 ==============================================
2796
2797 - %1 - Target name
2798 - %2 - Policy type name
2799
2800 ::
2801
2802     TARGETS_NON_VALID: {
2803         code: 400,
2804         message: "Error: target %1 listed in policy type %2 is not a group or resource.",
2805         messageId: "SVC4632"
2806     }
2807
2808 ---------SVC4633------------------------------
2809 ==============================================
2810
2811 - %1 - Policy name
2812
2813 ::
2814
2815     TARGETS_EMPTY: {
2816         code: 400,
2817         message: "Error: Invalid Content. Policy %1 target list was provided but does not have values",
2818         messageId: "SVC4633"
2819     }
2820
2821 ---------SVC4634------------------------------
2822 ==============================================
2823
2824 ::
2825
2826     DATA_TYPE_CANNOT_BE_EMPTY: {
2827         code: 500,
2828         message: "Error: Data types are empty. Please import the data types.",
2829         messageId: "SVC4634"
2830     }
2831
2832 ---------SVC4635------------------------------
2833 ==============================================
2834
2835 - %1 - CSAR UUID
2836
2837 ::
2838
2839     RESOURCE_FROM_CSAR_NOT_FOUND: {
2840         code: 400,
2841         message: "Error: resource from csar uuid %1 not found",
2842         messageId: "SVC4635"
2843     }
2844
2845 ---------SVC4636------------------------------
2846 ==============================================
2847
2848 - %1 - Data type name
2849
2850 ::
2851
2852     DATA_TYPE_CANNOT_BE_UPDATED_BAD_REQUEST: {
2853         code: 400,
2854         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.',
2855         messageId: "SVC4636"
2856     }
2857
2858 -----------SVC4637---------------------------
2859 =============================================
2860
2861 - %1 - Attribute name
2862
2863 ::
2864
2865     ATTRIBUTE_NOT_FOUND: {
2866         code: 404,
2867         message: "Error: Requested '%1' attribute was not found.",
2868         messageId: "SVC4637"
2869     }
2870
2871 -----------SVC4638---------------------------
2872 =============================================
2873
2874 - %1 - Attribute name
2875
2876 ::
2877
2878     ATTRIBUTE_ALREADY_EXIST: {
2879         code: 409,
2880         message: "Error: Attribute with '%1' name already exists.",
2881         messageId: "SVC4638"
2882     }
2883
2884 -----------SVC4639---------------------------
2885 =============================================
2886
2887 - %1 - Property name
2888
2889 ::
2890
2891     PROPERTY_NAME_ALREADY_EXISTS: {
2892         code: 409,
2893         message: "Error: Property with '%1' name and different type already exists.",
2894         messageId: "SVC4639"
2895     }
2896
2897 -----------SVC4640---------------------------
2898 =============================================
2899
2900 - %1 - Property name
2901
2902 ::
2903
2904     INVALID_PROPERTY: {
2905         code: 409,
2906         message: "Error: Invalid property received.",
2907         messageId: "SVC4640"
2908     }
2909
2910 ---------SVC4641-----------------------------
2911 =============================================
2912
2913 - %1 - Invalid filter
2914 - %2 - Valid filters
2915
2916 ::
2917
2918     INVALID_FILTER_KEY: {
2919         code: 400,
2920         message: "Error: The filter %1 is not applicable. Please use one of the following filters: %2",
2921         messageId: "SVC4641"
2922     }
2923
2924 ---------SVC4642-----------------------------
2925 =============================================
2926
2927 - %1 - Asset type
2928 - %2 - Filter
2929
2930 ::
2931
2932     NO_ASSETS_FOUND: {
2933         code: 404,
2934         message: "No %1 were found to match criteria %2",
2935         messageId: "SVC4642"
2936     }
2937
2938 ---------SVC4643------------------------------
2939 ==============================================
2940
2941 - %1 - Resource"/"Product
2942 - %2 - Sub-Category name
2943 - %3 - Category name
2944
2945 ::
2946
2947     COMPONENT_SUB_CATEGORY_NOT_FOUND_FOR_CATEGORY: {
2948         code: 404,
2949         message: "Error: %1 sub-category '%2' not found under category '%3'.",
2950         messageId: "SVC4643"
2951     }
2952
2953 ---------SVC4644------------------------------
2954 ==============================================
2955
2956 - %1 - Format
2957
2958 ::
2959
2960     CORRUPTED_FORMAT: {
2961         code: 400,
2962         message: "Error: %1 format is corrupted.",
2963         messageId: "SVC4644"
2964     }
2965
2966 ---------SVC4645------------------------------
2967 ==============================================
2968
2969 - %1 - GroupType
2970
2971 ::
2972
2973     INVALID_VF_MODULE_TYPE: {
2974         code: 400,
2975         message: "Error: Invalid group type '%1' (should be VfModule).",
2976         messageId: "SVC4645"
2977     }
2978
2979 ---------SVC4646------------------------------
2980 ==============================================
2981
2982 - %1 - GroupName
2983
2984 ::
2985
2986     INVALID_VF_MODULE_NAME: {
2987         code: 400,
2988         message: "Error: Invalid Content. VF Module name '%1' contains invalid characters",
2989         messageId: "SVC4646"
2990     }
2991
2992 ---------SVC4647------------------------------
2993 ==============================================
2994
2995 - %1 - ModifiedName
2996
2997 ::
2998
2999     INVALID_VF_MODULE_NAME_MODIFICATION: {
3000         code: 400,
3001         message: "Error: Invalid VF Module name modification, can not modify '%1'",
3002         messageId: "SVC4647"
3003     }
3004
3005 ---------SVC4648------------------------------
3006 ==============================================
3007
3008 - %1 - InputId
3009 - %2 - ComponentId
3010
3011 ::
3012
3013     INPUT_IS_NOT_CHILD_OF_COMPONENT: {
3014         code: 400,
3015         message: "Error: Input id: '%1' is not child of component id: '%2'",
3016         messageId: "SVC4648"
3017     }
3018
3019 ---------SVC4649------------------------------
3020 ==============================================
3021
3022 - %1 - GroupName
3023
3024 ::
3025
3026     GROUP_HAS_CYCLIC_DEPENDENCY: {
3027         code: 400,
3028         message: "Error: The group '%1' has cyclic dependency",
3029         messageId: "SVC4649"
3030     }
3031
3032 ---------SVC4650------------------------------
3033 ==============================================
3034
3035 - %1 - Component Type
3036 - %2 - Service Name
3037 - %3 - Error description
3038
3039 ::
3040
3041     AAI_ARTIFACT_GENERATION_FAILED: {
3042         code: 500,
3043         message: "Error: %1 %2 automatic generation of artifacts failed. Description: %3",
3044         messageId: "SVC4650"
3045     }
3046
3047 ---------SVC4651------------------------------
3048 ==============================================
3049
3050 ::
3051
3052     PARENT_RESOURCE_DOES_NOT_EXTEND: {
3053         code: 400,
3054         message: "Error: Once resource is certified, derived_from can be changed only to a sibling",
3055         messageId: "SVC4651"
3056     }
3057
3058 ---------SVC4652------------------------------
3059 ==============================================
3060
3061 - %1 - Resource/Service
3062
3063 ::
3064
3065     COMPONENT_INVALID_SUBCATEGORY: {
3066         code: 400,
3067         message: "Error: Invalid Content. Invalid %1 sub category.",
3068         messageId: "SVC4652"
3069     }
3070
3071 ---------SVC4653------------------------------
3072 ==============================================
3073
3074 - %1 - Group instance uniqueId
3075 - %2 - Service uniqueId
3076
3077 ::
3078
3079     GROUP_INSTANCE_NOT_FOUND_ON_COMPONENT_INSTANCE: {
3080         code: 404,
3081         message: "Error: Requested group instance %1 was not found on component %2.",
3082         messageId: "SVC4653"
3083     }
3084
3085 ---------SVC4654------------------------------
3086 ==============================================
3087
3088 - %1 - Group property name
3089 - %2 - Valid min limit value
3090 - %3 - Valid max limit value
3091
3092 ::
3093
3094     INVALID_GROUP_MIN_MAX_INSTANCES_PROPERTY_VALUE: {
3095         code: 400,
3096         message: "Error: Value of %1 must be not higher than %2, and not lower than %3.",
3097         messageId: "SVC4654"
3098     }
3099
3100 ---------SVC4655------------------------------
3101 ==============================================
3102
3103 - %1 - Group property name
3104 - %2 - Valid min limit value
3105 - %3 - Valid max limit value
3106
3107 ::
3108
3109     INVALID_GROUP_INITIAL_COUNT_PROPERTY_VALUE: {
3110         code: 400,
3111         message: "Error: Value of %1 must be between %2 and %3.",
3112         messageId: "SVC4655"
3113     }
3114
3115 ---------SVC4656------------------------------
3116 ==============================================
3117
3118 - %1 - Group property name
3119 - %2 - Lower/Higher
3120 - %3 - Valid max/min value
3121
3122 ::
3123
3124     INVALID_GROUP_PROPERTY_VALUE_LOWER_HIGHER: {
3125         code: 400,
3126         message: "Error: Value of %1 must be %2 or equals to %3.",
3127         messageId: "SVC4656"
3128     }
3129
3130 ---------SVC4657------------------------------
3131 ==============================================
3132
3133 - %1 - CertificationRequest/StartTesting
3134
3135 ::
3136
3137     RESOURCE_VFCMT_LIFECYCLE_STATE_NOT_VALID: {
3138         code: 400,
3139         message: "Error - Lifecycle state %1 is not valid for resource of type VFCMT",
3140         messageId: "SVC4657"
3141     }
3142
3143 ---------SVC4658------------------------------
3144 ==============================================
3145
3146 - %1 – Asset type [Service/Resource]
3147 - %2 – Main asset uuid
3148 - %3 – Not found asset type [Service/Resource]
3149 - %4 – Not found asset name
3150
3151 ::
3152
3153     ASSET_NOT_FOUND_DURING_CSAR_CREATION: {
3154         code: 400,
3155         message: "Error: CSAR packaging failed for %1 %2. %3 %4 was not found",
3156         messageId: "SVC4658"
3157     }
3158
3159 ---------SVC4659------------------------------
3160 ==============================================
3161
3162 - %1 – asset type [Service/Resource]
3163 - %2 – Main asset UUID
3164 - %3 – Artifact name
3165 - %4 – Artifact uuid
3166
3167 ::
3168
3169     ARTIFACT_PAYLOAD_NOT_FOUND_DURING_CSAR_CREATION: {
3170         code: 400,
3171         message: "Error: CSAR packaging failed for %1 %2. Artifact %3 [%4] was not found",
3172         messageId: "SVC4659"
3173     }
3174
3175 ---------SVC4660------------------------------
3176 ==============================================
3177
3178 - %1 - Asset type
3179 - %2 - Matching generic node type name
3180
3181 ::
3182
3183     GENERIC_TYPE_NOT_FOUND: {
3184         code: 404,
3185         message: "Creation of %1 failed. Generic type %2 was not found",
3186         messageId: "SVC4660"
3187     }
3188
3189 ---------SVC4661------------------------------
3190 ==============================================
3191
3192 - %1 - Asset type
3193 - %2 - Matching generic node type name
3194
3195 ::
3196
3197     TOSCA_SCHEMA_FILES_NOT_FOUND: {
3198         code: 400,
3199         message: "Error: CSAR packaging failed. TOSCA schema files for SDC-Version: %1 and Conformance-Level %2 were not found",
3200         messageId: "SVC4661"
3201     }
3202
3203 ---------SVC4662------------------------------
3204 ==============================================
3205
3206 - %1 - File name
3207 - %2 - Parser error
3208
3209 ::
3210
3211     TOSCA_PARSE_ERROR: {
3212         code: 400,
3213         message: "Error: Invalid TOSCA template in file %1. %2",
3214         messageId: "SVC4662"
3215     }
3216
3217 ---------SVC4663------------------------------
3218 ==============================================
3219
3220 - %1 - Max length
3221
3222 ::
3223
3224     RESOURCE_VENDOR_MODEL_NUMBER_EXCEEDS_LIMIT: {
3225         code: 400,
3226         message: "Error: Invalid Content. Resource vendor model number exceeds limit of %1 characters.",
3227         messageId: "SVC4663"
3228     }
3229
3230 ---------SVC4664------------------------------
3231 ==============================================
3232
3233 ::
3234
3235     INVALID_RESOURCE_VENDOR_MODEL_NUMBER: {
3236         code: 400,
3237         message: 'Error: Invalid Content. Resource vendor model number is not allowed to contain characters like <>:"\/|?* and space characters other than regular space.',
3238         messageId: "SVC4664"
3239     }
3240
3241 ---------SVC4665------------------------------
3242 ==============================================
3243
3244 - %1 - Max length
3245
3246 ::
3247
3248     SERVICE_TYPE_EXCEEDS_LIMIT: {
3249         code: 400,
3250         message: "Error: Invalid Content. Service type exceeds limit of %1 characters.",
3251         messageId: "SVC4665"
3252     }
3253
3254 ---------SVC4666------------------------------
3255 ==============================================
3256
3257 ::
3258
3259     INVALID_SERVICE_TYPE: {
3260         code: 400,
3261         message: 'Error: Invalid Content. Serivce type is not allowed to contain characters like <>:"\/|?* and space characters other than regular space.',
3262         messageId: "SVC4666"
3263     }
3264
3265 ---------SVC4667------------------------------
3266 ==============================================
3267
3268 - %1 - Max length
3269
3270 ::
3271
3272     SERVICE_ROLE_EXCEEDS_LIMIT: {
3273         code: 400,
3274         message: "Error: Invalid Content. Service role exceeds limit of %1 characters.",
3275         messageId: "SVC4667"
3276     }
3277
3278 ---------SVC4668------------------------------
3279 ==============================================
3280
3281 ::
3282
3283     INVALID_SERVICE_ROLE: {
3284         code: 400,
3285         message: 'Error: Invalid Content. Service role is not allowed to contain characters like <>:"\/|?* and space characters other than regular space.',
3286         messageId: "SVC4668"
3287     }
3288
3289 ---------SVC4669-----------------------------
3290 =============================================
3291
3292 ::
3293
3294     INVALID_RESOURCE_TYPE: {
3295         code: 400,
3296         message: "Error: Invalid resource type.",
3297         messageId: "SVC4669"
3298     }
3299
3300 ---------SVC4670------------------------------
3301 ==============================================
3302
3303 ::
3304
3305     ARTIFACT_NAME_INVALID: {
3306         code: 400,
3307         message: "Error: Artifact name is invalid.",
3308         messageId: "SVC4670"
3309     }
3310
3311 ---------SVC4671------------------------------
3312 ==============================================
3313
3314 - %1 - VSP name
3315 - %2 - VFC name
3316
3317 ::
3318
3319     CFVC_LOOP_DETECTED: {
3320         code: 400,
3321         message: 'Error: VSP %1 cannot be imported. The VSP contains internal loop in VFC %2',
3322         messageId: "SVC4671"
3323     }