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