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