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