19     #--------POL4050-----------------------------
 
  22         message: "Error: Method not allowed.",
 
  25     #--------POL5000-----------------------------
 
  28         message: "Error: Internal Server Error. Please try again later.",
 
  31     #---------POL5001------------------------------
 
  32     MISSING_X_ECOMP_INSTANCE_ID: {
 
  34         message: "Error: Missing 'X-ECOMP-InstanceID' HTTP header.",
 
  37     #---------POL5002------------------------------
 
  40         message: "Error: Authentication is required to use the API.",
 
  43     #---------POL5003------------------------------
 
  46         message: "Error: Not authorized to use the API.",
 
  49     #---------POL5004------------------------------
 
  52         message: "Error: Missing 'USER_ID' HTTP header.",
 
  55     #---------POL5005------------------------------
 
  58         message: "Your session has expired. Please close the SDC tab and re-enter the SDC application.",
 
  61     #---------SVC4000-----------------------------
 
  64         message: "Error: Invalid content.",
 
  67     #---------SVC4002-----------------------------
 
  68     MISSING_INFORMATION: {
 
  70         message: "Error: Missing information.",
 
  73     #---------SVC4003------------------------------
 
  77         message: "Error: User '%1' was not found.",
 
  80     #---------SVC4004-----------------------------
 
  81     # %1 - Users's email address
 
  82     INVALID_EMAIL_ADDRESS: {
 
  84         message: "Error: Invalid email address '%1'.",
 
  87     #---------SVC4005------------------------------
 
  91         message: "Error: Invalid role '%1'.",
 
  94     #---------SVC4006------------------------------
 
  95     # %1 - Users's USER_ID
 
  98         message: "Error: User with '%1' ID already exists.",
 
 101     #---------SVC4007------------------------------
 
 102     DELETE_USER_ADMIN_CONFLICT: {
 
 104         message: "Error: An administrator can only be deleted by another administrator.",
 
 107     #---------SVC4008-----------------------------
 
 108     # %1 - Users's userId
 
 111         message: "Error: Invalid userId '%1'.",
 
 114 #---------SVC4009-----------------------------
 
 117         message: "Error: User Defined '%1'.",
 
 120     #---------SVC4049------------------------------
 
 121     # %1 - service/resource
 
 122     COMPONENT_MISSING_CONTACT: {
 
 124         message: "Error: Invalid Content. Missing %1 contact.",
 
 127     #---------SVC4050-----------------------------
 
 128     # %1 - Service/Resource/Additional parameter
 
 129     # %2 - service/resource/label name
 
 130     COMPONENT_NAME_ALREADY_EXIST: {
 
 132         message: "Error: %1 with name '%2' already exists.",
 
 135     #---------SVC4051------------------------------
 
 136     # %1 - resource/service
 
 137     COMPONENT_MISSING_CATEGORY: {
 
 139         message: "Error: Invalid Content. Missing %1 category.",
 
 143     #---------SVC4052------------------------------
 
 144     COMPONENT_MISSING_TAGS: {
 
 146         message: "Error: Invalid Content. At least one tag has to be specified.",
 
 150     #---------SVC4053------------------------------
 
 151     # %1 - service/resource
 
 152     COMPONENT_MISSING_DESCRIPTION: {
 
 154         message: "Error: Invalid Content. Missing %1 description.",
 
 157     #---------SVC4054------------------------------
 
 158     # %1 - resource/service
 
 159     COMPONENT_INVALID_CATEGORY: {
 
 161         message: "Error: Invalid Content. Value %1 for the field Category is invalid.",
 
 164     #---------SVC4055------------------------------
 
 165     MISSING_VENDOR_NAME: {
 
 167         message: "Error: Invalid Content. Missing vendor name.",
 
 170     #---------SVC4056------------------------------
 
 171     MISSING_VENDOR_RELEASE: {
 
 173         message: "Error: Invalid Content. Missing vendor release.",
 
 177     #---------SVC4057------------------------------
 
 178     MISSING_DERIVED_FROM_TEMPLATE: {
 
 180         message: "Error: Invalid Content. Missing derived from template specification.",
 
 184     #---------SVC4058------------------------------
 
 185     # %1 - service/resource
 
 186     COMPONENT_MISSING_ICON: {
 
 188         message: "Error: Invalid Content. Missing %1 icon.",
 
 191     #---------SVC4059------------------------------
 
 192     # %1 - service/resource
 
 193     COMPONENT_INVALID_ICON: {
 
 195         message: "Error: Invalid Content. Invalid %1 icon.",
 
 198     #---------SVC4060------------------------------
 
 199     PARENT_RESOURCE_NOT_FOUND: {
 
 201         message: "Error: Invalid Content. Derived from resource template was not found.",
 
 204     #---------SVC4061------------------------------
 
 205     MULTIPLE_PARENT_RESOURCE_FOUND: {
 
 207         message: "Error: Invalid Content. Multiple derived from resource template is not allowed.",
 
 211     #---------SVC4062------------------------------
 
 212     # %1 - service/resource
 
 213     MISSING_COMPONENT_NAME: {
 
 215         message: "Error: Invalid Content. Missing %1 name.",
 
 218     #---------SVC4063------------------------------
 
 219     #%1  -  resource/service name
 
 220     RESOURCE_NOT_FOUND: {
 
 222         message: "Error: Requested '%1' resource was not found.",
 
 226     #---------SVC4064------------------------------
 
 227     # %1 - Service/Resource/Property
 
 228     COMPONENT_INVALID_DESCRIPTION: {
 
 230         message: "Error: Invalid Content. %1 description contains non-english characters.",
 
 233     #---------SVC4065------------------------------
 
 234     # %1 - Service/Resource/Property
 
 235     # %2 - max resource/service name length
 
 236     COMPONENT_DESCRIPTION_EXCEEDS_LIMIT: {
 
 238         message: "Error: Invalid Content. %1 description exceeds limit of %2 characters.",
 
 241     #---------SVC4066------------------------------
 
 243     COMPONENT_TAGS_EXCEED_LIMIT: {
 
 245         message: "Error: Invalid Content. Tags overall length exceeds limit of %1 characters.",
 
 248     #---------SVC4067------------------------------
 
 250     VENDOR_NAME_EXCEEDS_LIMIT: {
 
 252         message: "Error: Invalid Content. Vendor name exceeds limit of %1 characters.",
 
 255     #---------SVC4068------------------------------
 
 257     VENDOR_RELEASE_EXCEEDS_LIMIT: {
 
 259         message: "Error: Invalid Content. Vendor release exceeds limit of %1 characters.",
 
 263     #---------SVC4069------------------------------
 
 264     # %1 - Service/Resource/Product
 
 265     COMPONENT_INVALID_CONTACT: {
 
 267         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. Max length: 50",
 
 270     #---------SVC4070------------------------------
 
 271     # %1 - Service/Resource
 
 272     INVALID_COMPONENT_NAME: {
 
 274         message: 'Error: Invalid Content. Value %1 for Component name is invalid. Only alphanumeric characters and regular spaces are allowed.',
 
 278     #---------SVC4071------------------------------
 
 279     INVALID_VENDOR_NAME: {
 
 281         message: 'Error: Invalid Content. Value %1 for the field Vendor name is invalid. Only alphanumeric characters and regular spaces are allowed.',
 
 284     #---------SVC4072------------------------------
 
 285     INVALID_VENDOR_RELEASE: {
 
 287         message: 'Error: Invalid Content. Value %1 for the field Vendor release is invalid. Only alphanumeric characters and regular spaces are allowed.',
 
 290     #---------SVC4073------------------------------
 
 291     # %1 - Service/Resource
 
 292     # %2 - max  resource/service name
 
 293     COMPONENT_NAME_EXCEEDS_LIMIT: {
 
 295         message: "Error: Invalid Content. %1 name exceeds limit of %2 characters.",
 
 298     #---------SVC4080------------------------------
 
 299     # %1 - resource/service name
 
 300     # %2 - resource/service
 
 301     # %3 - First name of last modifier
 
 302     # %4 - Last name of last modifier
 
 303     # %5 - USER_ID of last modifier
 
 304     COMPONENT_IN_CHECKOUT_STATE: {
 
 306         message: "Error: Requested '%1' %2 is locked for modification by %3 %4(%5).",
 
 309     #---------SVC4081-----------------------------
 
 310     # %1 - resource/service name
 
 311     # %2 - resource/service
 
 312     # %3 - First name of last modifier
 
 313     # %4 - Last name of last modifier
 
 314     # %5 - USER_ID of last modifier
 
 315     COMPONENT_IN_CERT_IN_PROGRESS_STATE: {
 
 317         message: "Error: Requested '%1' %2 is locked for certification by %3 %4(%5).",
 
 321     #-----------SVC4082---------------------------
 
 322     # %1 - resource/service name
 
 323     # %2 - resource/service
 
 324     # %3 - First name of last modifier
 
 325     # %4 - Last name of last modifier
 
 326     # %5 - USER_ID of last modifier
 
 327     COMPONENT_SENT_FOR_CERTIFICATION: {
 
 329         message: "Error: Requested '%1' %2 is sent for certification by %3 %4(%5).",
 
 332     #-----------SVC4083---------------------------
 
 333     COMPONENT_VERSION_ALREADY_EXIST: {
 
 335         message: "Error: Version of this %1 was already promoted.",
 
 338     #-----------SVC4084---------------------------
 
 339     # %1 - resource/service/product name
 
 340     # %2 - resource/service/product
 
 341     # %3 - First name of last modifier
 
 342     # %4 - Last name of last modifier
 
 343     # %5 - USER_ID of last modifier
 
 344     COMPONENT_ALREADY_CHECKED_IN: {
 
 346         message: "Error: The current version of '%1' %2 was already checked-in by %3 %4(%5).",
 
 349     #-----------SVC4085---------------------------
 
 350     # %1 - resource/service/product name
 
 351     # %2 - resource/service/product
 
 352     # %3 - First name of last modifier
 
 353     # %4 - Last name of last modifier
 
 354     # %5 - USER_ID of last modifier
 
 355     COMPONENT_CHECKOUT_BY_ANOTHER_USER: {
 
 357         message: "Error: %1 %2 has already been checked out by %3 %4(%5).",
 
 360     #-----------SVC4086---------------------------
 
 361     # %1  - resource/service name
 
 362     # %2  - resource/service
 
 365         message: "Error: '%1' %2 is still held by previous action. Please try again later.",
 
 368     #-----------SVC4087---------------------------
 
 369     # %1 - component name
 
 370     # %2 - resource/service/product
 
 371     COMPONENT_HAS_NEWER_VERSION: {
 
 373         message: "Error: Checking out of the requested version of the '%1' %2 is not allowed as a newer version exists.",
 
 376     #-----------SVC4088---------------------------
 
 377     # %1 - resource/service name
 
 378     # %2 - resource/service
 
 379     # %3 - First name of last modifier
 
 380     # %4 - Last name of last modifier
 
 381     # %5 - USER_ID of last modifier
 
 382     COMPONENT_ALREADY_CERTIFIED: {
 
 384         message: "Error: Requested %1 %2 has already been certified by %3 %4(%5).",
 
 387     #-----------SVC4089---------------------------
 
 388     # %1 - resource/service name
 
 389     # %2 - resource/service
 
 390     COMPONENT_NOT_READY_FOR_CERTIFICATION: {
 
 392         message: "Error: Requested '%1' %2 is not ready for certification.",
 
 395     #-----------SVC4100---------------------------
 
 397     PROPERTY_NOT_FOUND: {
 
 399         message: "Error: Requested '%1' property was not found.",
 
 402     #-----------SVC4101---------------------------
 
 404     PROPERTY_ALREADY_EXIST: {
 
 406         message: "Error: Property with '%1' name already exists.",
 
 410     #-----------SVC4102---------------------------
 
 411     # %1 - capability type name
 
 412     CAPABILITY_TYPE_ALREADY_EXIST: {
 
 414         message: "Error: Capability Type with name '%1' already exists.",
 
 417     #-----------SVC4114---------------------------
 
 418     AUTH_FAILED_INVALIDE_HEADER: {
 
 420         message: "Error: Invalid Authorization header.",
 
 423     #-----------SVC4115---------------------------
 
 424     # %1 - capability type name
 
 425     MISSING_CAPABILITY_TYPE: {
 
 427         message: "Error: Invalid Content. Missing Capability Type '%1'.",
 
 430     RESOURCE_INSTANCE_BAD_REQUEST: {
 
 432         message: "Error: Invalid Content.",
 
 435     #-----------SVC4117---------------------------
 
 436     # %1 - resource instance name
 
 437     # %2 - resource instance name
 
 438     # %3 - requirement name
 
 439     RESOURCE_INSTANCE_MATCH_NOT_FOUND: {
 
 441         message: "Error: Match not found between resource instance '%1' and resource instance '%2' for requirement '%3'.",
 
 444     #-----------SVC4118---------------------------
 
 445     # %1 - resource instance name
 
 446     # %2 - resource instance name
 
 447     # %3 - requirement name
 
 448     RESOURCE_INSTANCE_ALREADY_EXIST: {
 
 450         message: "Error: Resource instances '%1' and '%2' are already associated with requirement '%3'.",
 
 453     #-----------SVC4119---------------------------
 
 454     # %1 - resource instance name
 
 455     # %2 - resource instance name
 
 456     # %3 - requirement name
 
 457     RESOURCE_INSTANCE_RELATION_NOT_FOUND: {
 
 459         message: "Error: No relation found between resource instances '%1' and '%2' for requirement '%3'.",
 
 462     #-----------SVC4120---------------------------
 
 463     # %1 - User's USER_ID
 
 466         message: "Error: User %1 inactive.",
 
 469     #-----------SVC4121---------------------------
 
 470     # %1 - User's USER_ID
 
 471     USER_HAS_ACTIVE_ELEMENTS: {
 
 473         message: "Error: User with %1 ID can not be deleted since it has active elements(resources/services/artifacts).",
 
 476     #-----------SVC4122---------------------------
 
 478     ARTIFACT_TYPE_NOT_SUPPORTED: {
 
 480         message: "Error: Invalid artifact type '%1'.",
 
 483     #-----------SVC4123---------------------------
 
 484     ARTIFACT_LOGICAL_NAME_CANNOT_BE_CHANGED: {
 
 486         message: "Error: Artifact logical name cannot be changed.",
 
 489     #-----------SVC4124---------------------------
 
 490     MISSING_ARTIFACT_TYPE: {
 
 492         message: "Error: Missing artifact type.",
 
 495     #-----------SVC4125---------------------------
 
 499         message: "Error: Artifact '%1' already exists.",
 
 502     #---------SVC4126------------------------------
 
 503     # %1 - resource/service/product/...
 
 504     # %2 - field (tag, vendor name...)
 
 505     INVALID_FIELD_FORMAT: {
 
 507         message: "Error:  Invalid %1 %2 format.",
 
 510     #-----------SVC4127---------------------------
 
 511     ARTIFACT_INVALID_MD5: {
 
 513         message: "Error: Invalid artifact checksum.",
 
 516     #-----------SVC4128---------------------------
 
 517     MISSING_ARTIFACT_NAME: {
 
 519         message: "Error: Invalid content. Missing artifact name.",
 
 522     #-----------SVC4129---------------------------
 
 523     MISSING_PROJECT_CODE: {
 
 525         message: "Error: Invalid Content. Missing PROJECT_CODE number.",
 
 528     #-----------SVC4130---------------------------
 
 529     INVALID_PROJECT_CODE: {
 
 531         message: "Error: Invalid Content. PROJECT_CODE must be from 5 up to 50 characters.",
 
 534     #-----------SVC4131---------------------------
 
 535     # %1-resource/service
 
 536     # %2-srtifact/artifacts
 
 537     # %3-semicolomn separated list of artifact
 
 538     COMPONENT_MISSING_MANDATORY_ARTIFACTS: {
 
 540         message: "Error: Missing mandatory informational %1 %2: [%3].",
 
 543     #-----------SVC4132---------------------------
 
 544     # %1 - lifecycle  type name
 
 545     LIFECYCLE_TYPE_ALREADY_EXIST: {
 
 547         message: "Error: Lifecycle Type with name '%1' already exists.",
 
 550     #-----------SVC4133---------------------------
 
 551     # %1 - service version
 
 553     SERVICE_NOT_AVAILABLE_FOR_DISTRIBUTION: {
 
 555         message: "Error: Version %1 of '%2' service is not available for distribution.",
 
 558     #-----------SVC4134---------------------------
 
 559     MISSING_LIFECYCLE_TYPE: {
 
 561         message: "Error: Invalid Content. Missing interface life-cycle type.",
 
 564     #---------SVC4135------------------------------
 
 565     SERVICE_CATEGORY_CANNOT_BE_CHANGED: {
 
 567         message: "Error: Service category cannot be changed once the service is certified.",
 
 570     #---------SVC4136------------------------------
 
 571     # %1 - distribution environment name
 
 572     DISTRIBUTION_ENVIRONMENT_NOT_AVAILABLE: {
 
 574         message: "Error: Requested distribution environment '%1' is not available.",
 
 577     #---------SVC4137------------------------------
 
 578     # %1 - distribution environment name
 
 579     DISTRIBUTION_ENVIRONMENT_NOT_FOUND: {
 
 581         message: "Error: Requested distribution environment '%1' was not found.",
 
 584     #---------SVC4138------------------------------
 
 585     DISTRIBUTION_ENVIRONMENT_INVALID: {
 
 587         message: "Error: Invalid distribution environment.",
 
 590     #---------SVC4200------------------------------
 
 591     # %1 - Service/Resource
 
 592     # %2 - max icon name length
 
 593     COMPONENT_ICON_EXCEEDS_LIMIT: {
 
 595         message: "Error: Invalid Content. %1 icon name exceeds limit of %2 characters.",
 
 598     #---------SVC4300------------------------------
 
 601         message: "Error: Restricted access.",
 
 604     #---------SVC4301------------------------------
 
 605     RESTRICTED_OPERATION: {
 
 607         message: "Error: Restricted operation.",
 
 610     #---------SVC4500------------------------------
 
 613         message: "Error: Missing request body.",
 
 616     #---------SVC4501------------------------------
 
 617     MISSING_PUBLIC_KEY: {
 
 619         message: "Error: Invalid Content. Missing mandatory parameter 'apiPublicKey'." ,
 
 622     #---------SVC4502------------------------------
 
 623     DISTRIBUTION_ENV_DOES_NOT_EXIST: {
 
 625         message: "Error: Invalid  Body  : Missing mandatory parameter 'distrEnvName'." ,
 
 628     #-----------SVC4503---------------------------
 
 632         message: "Error: Requested '%1' service was not found.",
 
 636     #---------SVC4504------------------------------
 
 637     # %1 - Service/Resource
 
 638     # %2 - service/resource version
 
 639     COMPONENT_VERSION_NOT_FOUND: {
 
 641         message: "Error: %1 version %2 was not found.",
 
 644     #-----------SVC4505---------------------------
 
 647     ARTIFACT_NOT_FOUND: {
 
 649         message: "Error: Artifact '%1' was not found.",
 
 652     #---------SVC4506------------------------------
 
 655         message: "Error: Invalid Content. Missing mandatory parameter 'distrEnvName'.",
 
 658     #---------SVC4507------------------------------
 
 659     COMPONENT_INVALID_TAGS_NO_COMP_NAME: {
 
 661         message: "Error: Invalid Content. One of the tags should be the component name.",
 
 665     #---------SVC4508------------------------------
 
 666     SERVICE_NAME_CANNOT_BE_CHANGED: {
 
 668         message: "Error: Service name cannot be changed once the service is certified.",
 
 672     #---------SVC4509------------------------------
 
 673     SERVICE_ICON_CANNOT_BE_CHANGED: {
 
 675         message: "Error: Icon cannot be changed once the service is certified.",
 
 678     #---------SVC4510------------------------------
 
 679     # %1 - icon name max length
 
 680     SERVICE_ICON_EXCEEDS_LIMIT: {
 
 682         message: "Error: Invalid Content. Icon name exceeds limit of %1 characters.",
 
 685     #---------SVC4511------------------------------
 
 686     DISTRIBUTION_REQUESTED_NOT_FOUND: {
 
 688         message: "Error: Requested distribution was not found.",
 
 691     #---------SVC4512------------------------------
 
 692     # %1 - Distribution ID
 
 693     DISTRIBUTION_REQUESTED_FAILED: {
 
 695         message: "Error: Requested distribution '%1' failed.",
 
 698     #---------SVC4513------------------------------
 
 699     RESOURCE_CATEGORY_CANNOT_BE_CHANGED: {
 
 701         message: "Error: Resource category cannot be changed once the resource is certified.",
 
 704     #---------SVC4514------------------------------
 
 705     RESOURCE_NAME_CANNOT_BE_CHANGED: {
 
 707         message: "Error: Resource name cannot be changed once the resource is certified.",
 
 710     #---------SVC4515------------------------------
 
 711     RESOURCE_ICON_CANNOT_BE_CHANGED: {
 
 713         message: "Error: Icon cannot be changed once the resource is certified.",
 
 716     #---------SVC4516------------------------------
 
 717     RESOURCE_VENDOR_NAME_CANNOT_BE_CHANGED: {
 
 719         message: "Error: Vendor name cannot be changed once the resource is certified.",
 
 722     #---------SVC4517------------------------------
 
 723     RESOURCE_DERIVED_FROM_CANNOT_BE_CHANGED: {
 
 725         message: "Error: Derived from resource template cannot be changed once the resource is certified.",
 
 728     #---------SVC4518------------------------------
 
 730     COMPONENT_SINGLE_TAG_EXCEED_LIMIT: {
 
 732         message: "Error: Invalid Content. Single tag exceeds limit of %1 characters.",
 
 735     #---------SVC4519------------------------------
 
 736     INVALID_DEFAULT_VALUE: {
 
 738         message: "Error: mismatch in data-type occurred for property %1. data type is %2 and default value found is %3.",
 
 741     #---------SVC4520------------------------------
 
 742     # %1 - service or resource
 
 743     ADDITIONAL_INFORMATION_MAX_NUMBER_REACHED: {
 
 745         message: "Error: Maximal number of additional %1 parameters was reached.",
 
 748     #---------SVC4521------------------------------
 
 749     ADDITIONAL_INFORMATION_EMPTY_STRING_NOT_ALLOWED: {
 
 751         message: "Error: Invalid Content. The Additional information label and value cannot be empty.",
 
 754     #---------SVC4522------------------------------
 
 756     # %2 - Maximal length of %1
 
 757     ADDITIONAL_INFORMATION_EXCEEDS_LIMIT: {
 
 759         message: "Error: Invalid Content. Additional information %1 exceeds limit of %2 characters.",
 
 762     #---------SVC4523------------------------------
 
 763     ADDITIONAL_INFORMATION_KEY_NOT_ALLOWED_CHARACTERS: {
 
 765         message: 'Error: Invalid Content. Additional information label is not allowed to contain characters like <>:"\/|?* and space characters other than regular space.',
 
 768     #---------SVC4524------------------------------
 
 769     ADDITIONAL_INFORMATION_NOT_FOUND: {
 
 771         message: "Error: Requested additional information was not found.",
 
 774     #---------SVC4525------------------------------
 
 775     ADDITIONAL_INFORMATION_VALUE_NOT_ALLOWED_CHARACTERS: {
 
 777         message: 'Error: Invalid Content. Additional information contains non-english characters.',
 
 780     #---------SVC4526------------------------------
 
 781     RESOURCE_INSTANCE_NOT_FOUND: {
 
 783         message: "Error: Requested '%1' resource instance was not found.",
 
 786     #---------SVC4527------------------------------
 
 787     ASDC_VERSION_NOT_FOUND: {
 
 789         message: 'Error: ASDC version cannot be displayed.',
 
 792     #---------SVC4528------------------------------
 
 793     # %1-artifact url/artifact label/artifact description/VNF Service Indicator
 
 796         message: "Error: Invalid content. Missing %1.",
 
 799     #---------SVC4529------------------------------
 
 800     # %1-artifact url/artifact label/artifact description/artifact name
 
 801     # %2 - Maximal length of %1
 
 804         message: "Error: Invalid Content. %1 exceeds limit of %2 characters.",
 
 807     #---------SVC4530------------------------------
 
 808     ARTIFACT_INVALID_TIMEOUT: {
 
 810         message: "Error: Invalid Content. Artifact Timeout should be set to valid positive non-zero number of minutes.",
 
 813     #---------SVC4531------------------------------
 
 814     SERVICE_IS_VNF_CANNOT_BE_CHANGED: {
 
 816         message: "Error: VNF Indicator cannot be updated for certified service.",
 
 819     #---------SVC4532------------------------------
 
 820     RESOURCE_INSTANCE_NOT_FOUND_ON_SERVICE: {
 
 822         message: "Error: Requested '%1' resource instance was not found on the service '%2.",
 
 825     #---------SVC4533------------------------------
 
 826     # %1 -  "HEAT"/"HEAT_ENV"/"MURANO_PKG"/"YANG_XML"
 
 827     WRONG_ARTIFACT_FILE_EXTENSION: {
 
 829         message: "Error: Invalid file extension for %1 artifact type.",
 
 833     #---------SVC4534------------------------------
 
 834     # %1 -  "HEAT"/"HEAT_ENV"
 
 837         message: "Error: Uploaded YAML file for %1 artifact is invalid.",
 
 841     #---------SVC4535------------------------------
 
 843     INVALID_DEPLOYMENT_ARTIFACT_HEAT: {
 
 845         message: "Error: Invalid %1 artifact.",
 
 848     #---------SVC4536------------------------------
 
 849     # %1 - "Resource"/"Service"
 
 850     # %2 -  resource/service name
 
 851     # %3 -  "HEAT"/"HEAT_ENV"/"MURANO_PKG"
 
 852     # %4 -  "HEAT"/"HEAT_ENV"/"MURANO_PKG
 
 853     DEPLOYMENT_ARTIFACT_OF_TYPE_ALREADY_EXISTS: {
 
 855         message: "Error: %1 '%2' already has a deployment artifact of %3 type .Please delete or update an existing %4 artifact.",
 
 859     #---------SVC4537------------------------------
 
 862         message: "Error: Missing HEAT artifact. HEAT_ENV artifact cannot be uploaded without corresponding HEAT template.",
 
 865     #---------SVC4538------------------------------
 
 866     MISMATCH_HEAT_VS_HEAT_ENV: {
 
 868         message: "Error: Invalid artifact content. Parameter's set in HEAT_ENV '%1' artifact doesn't match the parameters in HEAT '%2' artifact.",
 
 871     #---------SVC4539------------------------------
 
 872     INVALID_RESOURCE_PAYLOAD: {
 
 874         message: "Error: Invalid resource payload.",
 
 877     #---------SVC4540------------------------------
 
 878     INVALID_TOSCA_FILE_EXTENSION: {
 
 880         message: "Error: Invalid file extension for TOSCA template.",
 
 883     #---------SVC4541------------------------------
 
 886         message: "Error: Invalid YAML file.",
 
 889     #---------SVC4542------------------------------
 
 890     INVALID_TOSCA_TEMPLATE: {
 
 892         message: "Error: Invalid TOSCA template.",
 
 895     #---------SVC4543------------------------------
 
 896     NOT_RESOURCE_TOSCA_TEMPLATE: {
 
 898         message: "Error: Imported Service TOSCA template.",
 
 901     #---------SVC4544------------------------------
 
 902     NOT_SINGLE_RESOURCE: {
 
 904         message: "Error: Imported TOSCA template should contain one resource definition.",
 
 907     #---------SVC4545------------------------------
 
 908     INVALID_RESOURCE_NAMESPACE: {
 
 910         message: "Error: Invalid resource namespace.",
 
 913     #---------SVC4546------------------------------
 
 914     RESOURCE_ALREADY_EXISTS: {
 
 916         message: "Error: Imported resource already exists in ASDC Catalog.",
 
 919     #---------SVC4549------------------------------
 
 920     INVALID_RESOURCE_CHECKSUM: {
 
 922         message: "Error: Invalid resource checksum.",
 
 925     #---------SVC4551------------------------------
 
 926     # %1  -  ECOMP User name
 
 927     ECOMP_USER_NOT_FOUND: {
 
 929         message: "Error: ECOMP User '%1' was not found.",
 
 932     #---------SVC4554------------------------------
 
 934     # %2 - "Resource"/"Service"
 
 935     COMPONENT_ARTIFACT_NOT_FOUND: {
 
 937         message: "Error: Requested artifact %1 doesn't belong to specified %2.",
 
 940     #---------SVC4554------------------------------
 
 941     # %1 - "Service name"
 
 942     SERVICE_DEPLOYMENT_ARTIFACT_NOT_FOUND: {
 
 944         message: "Error: Requested '%1' service is not ready for certification. Service has to have at least one deployment artifact.",
 
 947     #---------SVC4555------------------------------
 
 948     # %1 - "Resource"/"Service"/"Product"
 
 950     COMPONENT_ELEMENT_INVALID_NAME_LENGTH: {
 
 952         message: "Error: Invalid %1 %2 name length.",
 
 955     #---------SVC4556------------------------------
 
 956     # %1 - "Resource"/"Service"/"Product"
 
 958     COMPONENT_ELEMENT_INVALID_NAME_FORMAT: {
 
 960         message: "Error: Invalid %1 %2 name format.",
 
 963     #---------SVC4557------------------------------
 
 964     # %1 - "Resource"/"Service"/"Product"
 
 965     # %2 - "category name"
 
 966     COMPONENT_CATEGORY_ALREADY_EXISTS: {
 
 968         message: "Error: %1 category name '%2' already exists.",
 
 971     #---------SVC4558------------------------------
 
 972     # %1 - "service"/"VF"
 
 973     # %2 - "Resource name"
 
 974     VALIDATED_RESOURCE_NOT_FOUND: {
 
 976         message: "Error: Submit for Testing is not permitted as your '%1' includes non-validated '%2' resource.",
 
 979     #---------SVC4559------------------------------
 
 980     # %1 - "service"/"VF"
 
 981     # %2 - "Resource name"
 
 982     FOUND_ALREADY_VALIDATED_RESOURCE: {
 
 984         message: "Error: Submit for Testing is not permitted as your '%1' includes non-validated '%2' resource. Please use already available validated resource version.",
 
 987     #---------SVC4560------------------------------
 
 988     # %1 - "service"/"VF"
 
 989     # %2 - "Resource name"
 
 990     FOUND_LIST_VALIDATED_RESOURCES: {
 
 992         message: "Error: Submit for Testing is not permitted as your '%1' includes non-validated '%2' resource. Please use one of available validated resource versions.",
 
 995     #---------SVC4561------------------------------
 
 996     # %1 - "resource"/"product"
 
 998     # %3 - "category name"
 
 999     COMPONENT_CATEGORY_NOT_FOUND: {
 
1001         message: "Error: Requested %1 %2 '%3' was not found.",
 
1002         messageId: "SVC4561"
 
1004     #---------SVC4562------------------------------
 
1005     # %1 - "Resource"/"Product"
 
1006     # %2 - "sub-category name"
 
1007     # %3 - "category name"
 
1008     COMPONENT_SUB_CATEGORY_EXISTS_FOR_CATEGORY: {
 
1010         message: "Error: %1 sub-category '%2' already exists under '%3' category.",
 
1011         messageId: "SVC4562"
 
1013     #---------SVC4563------------------------------
 
1015     # %2 - "grouping name"
 
1016     # %3 - "sub-category name"
 
1017     COMPONENT_GROUPING_EXISTS_FOR_SUB_CATEGORY: {
 
1019         message: "Error: %1 grouping '%2' already exists under '%3' sub-category.",
 
1020         messageId: "SVC4563"
 
1022     #---------SVC4564------------------------------
 
1024     PRODUCT_NOT_FOUND: {
 
1026         message: "Error: Requested '%1' product was not found.",
 
1027         messageId: "SVC4564"
 
1029     #---------SVC4565------------------------------
 
1031     # %2  - parameter type ("string" , "boolean" , "number")
 
1032     # %3 -  parameter name
 
1033     INVALID_HEAT_PARAMETER_VALUE: {
 
1035         message: "Error: Invalid %1 artifact. Invalid %2 value set for '%3' parameter.",
 
1036         messageId: "SVC4565"
 
1038     #---------SVC4566------------------------------
 
1040     # %2  - parameter type ("string" , "boolean" , "number")
 
1041     INVALID_HEAT_PARAMETER_TYPE: {
 
1043         message: "Error: Invalid %1 artifact. Unsupported '%2' parameter type.",
 
1044         messageId: "SVC4566"
 
1046     #---------SVC4567------------------------------
 
1050         message: "Error: Uploaded XML file for %1 artifact is invalid.",
 
1051         messageId: "SVC4567"
 
1053     #---------SVC4569------------------------------
 
1054     # %1 - "User Name and UserId"
 
1055     # %2  -"component names ot IDs"
 
1056     CANNOT_DELETE_USER_WITH_ACTIVE_ELEMENTS: {
 
1058         message: "Error: User cannot be deleted. User '%1' has projects that cannot be committed: %2.",
 
1059         messageId: "SVC4569"
 
1061     #---------SVC4568------------------------------
 
1062     # %1 - "User Name and UserId"
 
1063     # %2  -"checked-out"/"in-certification"
 
1064     CANNOT_UPDATE_USER_WITH_ACTIVE_ELEMENTS: {
 
1066         message: "Error: Role cannot be changed. User '%1' has %2 projects.",
 
1067         messageId: "SVC4568"
 
1069     #---------SVC4570------------------------------
 
1070     UPDATE_USER_ADMIN_CONFLICT: {
 
1072         message: "Error: An administrator is not allowed to change his/her role.",
 
1073         messageId: "SVC4570"
 
1075     #---------SVC4571------------------------------
 
1076     SERVICE_CANNOT_CONTAIN_SUBCATEGORY: {
 
1078         message: "Error: Sub category cannot be defined for service",
 
1079         messageId: "SVC4571"
 
1081     #---------SVC4572------------------------------
 
1082     # %1 - "Resource"/"Service"
 
1083     COMPONENT_TOO_MUCH_CATEGORIES: {
 
1085         message: "Error: %1 must have only 1 category",
 
1086         messageId: "SVC4572"
 
1088     #---------SVC4574------------------------------
 
1089     RESOURCE_TOO_MUCH_SUBCATEGORIES: {
 
1091         message: "Error: Resource must have only 1 sub category",
 
1092         messageId: "SVC4574"
 
1094     #---------SVC4575------------------------------
 
1095     COMPONENT_MISSING_SUBCATEGORY: {
 
1097         message: "Error: Missing sub category",
 
1098         messageId: "SVC4575"
 
1100     #---------SVC4576------------------------------
 
1101     # %1 - "component type"
 
1102     UNSUPPORTED_ERROR: {
 
1104         message: "Error : Requested component type %1 is unsupported.",
 
1105         messageId: "SVC4576"
 
1107     #---------SVC4577------------------------------
 
1108     # %1 - "resource type"
 
1109     RESOURCE_CANNOT_CONTAIN_RESOURCE_INSTANCES: {
 
1111         message: "Error : Resource of type %1 cannot contain resource instances.",
 
1112         messageId: "SVC4577"
 
1114     #---------SVC4578------------------------------
 
1115     # %1 - "Resource"/"Service"
 
1116     # %2 -  resource/service name
 
1117     # %3 -  "artifact name"
 
1118     DEPLOYMENT_ARTIFACT_NAME_ALREADY_EXISTS: {
 
1120         message: "Error: %1 '%2' already has a deployment artifact named '%3'.",
 
1121         messageId: "SVC4578"
 
1123     #---------SVC4579------------------------------
 
1124     # %1 - "Category"/"Sub-Category"/"Group"
 
1125     # %2 -  category/sub-category/grouping name.
 
1126     INVALID_GROUP_ASSOCIATION: {
 
1128         message: "Error: Invalid group association. %1 '%2' was not found.",
 
1129         messageId: "SVC4579"
 
1131     #---------SVC4580------------------------------
 
1132     EMPTY_PRODUCT_CONTACTS_LIST: {
 
1134         message: "Error: Invalid content. At least one Product Contact has to be specified.",
 
1135         messageId: "SVC4580"
 
1137     #---------SVC4581------------------------------
 
1139     INVALID_PRODUCT_CONTACT: {
 
1141         message: "Error: Invalid content. User '%1' cannot be set as Product Contact.",
 
1142         messageId: "SVC4581"
 
1144     #---------SVC4582------------------------------
 
1146     # %2 - "abbreviated"/"full"
 
1147     MISSING_ONE_OF_COMPONENT_NAMES: {
 
1149         message: "Error: Invalid content. Missing %1 %2 name.",
 
1150         messageId: "SVC4582"
 
1152     #---------SVC4583------------------------------
 
1154     # %2 - "resource"/"service"/"product"
 
1155     COMPONENT_PARAMETER_CANNOT_BE_CHANGED: {
 
1157         message: "Error: %1 cannot be changed once the %2 is certified.",
 
1158         messageId: "SVC4583"
 
1160     #---------SVC4584------------------------------
 
1161     # %1  - service/VF name
 
1162     # %2 - "service" /"VF"
 
1163     # %3 -  resource instance origin type
 
1164     # %4 -  resource instance name
 
1165     # %5 -  requirement/capability
 
1166     # %6 -  requirement/capability name
 
1167     # %7 -  "fulfilled" (for req)/"consumed (for cap)"
 
1168     REQ_CAP_NOT_SATISFIED_BEFORE_CERTIFICATION: {
 
1170         message: "Error:  Requested '%1' %2 is not ready for certification.  %3 '%4' has to have %5 '%6' %7.",
 
1171         messageId: "SVC4584"
 
1173     #---------SVC4585------------------------------
 
1174     INVALID_OCCURRENCES: {
 
1176         message: "Error: Invalid occurrences format.",
 
1177         messageId: "SVC4585"
 
1179     #---------SVC4586------------------------------
 
1180     #---------SVC4586------------------------------
 
1181     INVALID_SERVICE_API_URL: {
 
1183         message: 'Error: Invalid Service API URL. Please check whether your URL has a valid domain extension and does not contain the following characters - #?&@%+;,=$<>~^`\[]{}|"*!',
 
1184         messageId: "SVC4586"
 
1186     #---------SVC4587------------------------------
 
1187     # %1  - Data type name
 
1188     DATA_TYPE_ALREADY_EXIST: {
 
1190         message: 'Error: Data type %1 already exists.',
 
1191         messageId: "SVC4587"
 
1193     #---------SVC4588------------------------------
 
1194     # %1  - Data type name
 
1195     DATA_TYPE_NOR_PROPERTIES_NEITHER_DERIVED_FROM: {
 
1197         message: 'Error: Invalid Data type %1. Data type must have either a valid derived from declaration or at least one valid property',
 
1198         messageId: "SVC4588"
 
1200     #---------SVC4589------------------------------
 
1201     # %1  - Data type name
 
1202     DATA_TYPE_PROPERTIES_CANNOT_BE_EMPTY: {
 
1204         message: "Error: Invalid Data type %1. 'properties' parameter cannot be empty if provided.",
 
1205         messageId: "SVC4589"
 
1207     #---------SVC4590------------------------------
 
1208     # %1  - Property type name
 
1209     # %2  - Property name
 
1210     INVALID_PROPERTY_TYPE: {
 
1212         message: "Error: Invalid Property type %1 in property %2.",
 
1213         messageId: "SVC4590"
 
1215     #---------SVC4591------------------------------
 
1216     # %1  - Property inner type
 
1217     # %2  - Property name
 
1218     INVALID_PROPERTY_INNER_TYPE: {
 
1220         message: "Error: Invalid property inner type %1, in property %2",
 
1221         messageId: "SVC4591"
 
1223     #---------SVC4592------------------------------
 
1224     # %1  - component instance name
 
1225     # %2  - "resource instance"/"service instance"
 
1226     COMPONENT_INSTANCE_NOT_FOUND: {
 
1228         message: "Error: Requested '%1' %2 was not found.",
 
1229         messageId: "SVC4592"
 
1231     #---------SVC4593------------------------------
 
1232     # %1 - component instance name
 
1233     # %2 - "resource instance"/"service instance"
 
1234     # %3 - "resource/"service"/"product"
 
1235     # %4 - container name
 
1236     COMPONENT_INSTANCE_NOT_FOUND_ON_CONTAINER: {
 
1238         message: "Error: Requested '%1' %2 was not found on the %3 '%4'.",
 
1239         messageId: "SVC4593"
 
1241     #---------SVC4594------------------------------
 
1242     #%1 - requirement / capability
 
1243     #%2 - requirement name
 
1244     IMPORT_DUPLICATE_REQ_CAP_NAME: {
 
1246         message: "Error: Imported TOSCA template contains more than one %1 named '%2'.",
 
1247         messageId: "SVC4594"
 
1249     #---------SVC4595------------------------------
 
1250     #%1 - requirement / capability
 
1251     #%2 - requirement name
 
1252     #%3 - parent containing the requirement
 
1253     IMPORT_REQ_CAP_NAME_EXISTS_IN_DERIVED: {
 
1255         message: "Error: Imported TOSCA template contains %1 '%2' that is already defined by derived template %3.",
 
1256         messageId: "SVC4595"
 
1258     #---------SVC4596------------------------------
 
1259     # %1  - Data type name
 
1260     DATA_TYPE_DERIVED_IS_MISSING: {
 
1262         message: "Error: Invalid Content. The ancestor data type %1 cannot be found in the system.",
 
1263         messageId: "SVC4596"
 
1265     #---------SVC4597------------------------------
 
1266     # %1  - Data type name
 
1267     # %2  - Property names
 
1268     DATA_TYPE_PROPERTY_ALREADY_DEFINED_IN_ANCESTOR: {
 
1270         message: "Error: Invalid Content. The data type %1 contains properties named %2 which are already defined in one of its ancestors.",
 
1271         messageId: "SVC4597"
 
1273     #---------SVC4598------------------------------
 
1274     # %1  - Data type name
 
1275     DATA_TYPE_DUPLICATE_PROPERTY: {
 
1277         message: "Error: Invalid Content. The data type %1 contains duplicate property.",
 
1278         messageId: "SVC4598"
 
1280     #---------SVC4599------------------------------
 
1281     # %1  - Data type name
 
1282     # %2  - Property names
 
1283     DATA_TYPE_PROEPRTY_CANNOT_HAVE_SAME_TYPE_OF_DATA_TYPE: {
 
1285         message: "Error: Invalid Content. The data type %1 contains properties %2 which their type is this data type.",
 
1286         messageId: "SVC4599"
 
1288     #---------SVC4600------------------------------
 
1289     # %1  - Data type name
 
1290     DATA_TYPE_CANNOT_HAVE_PROPERTIES: {
 
1292         message: "Error: Invalid Content. The data type %1 cannot have properties since it is of type scalar",
 
1293         messageId: "SVC4600"
 
1295     #---------SVC4601------------------------------
 
1296     NOT_TOPOLOGY_TOSCA_TEMPLATE: {
 
1298         message: "Error: TOSCA yaml file %1 cannot be modeled to VF as it does not contain 'topology_template.",
 
1299         messageId: "SVC4601"
 
1301     #---------SVC4602--------------------------------
 
1302     # %1 - yaml file name
 
1303     # %2 - node_template label
 
1304     # %3 - node_template type
 
1305     INVALID_NODE_TEMPLATE: {
 
1307         message: "Error: TOSCA yaml file '%1' contains node_template '%2' of type '%3' that does not represent existing VFC/CP/VL",
 
1308         messageId: "SVC4602"
 
1310     #---------SVC4603------------------------------
 
1311     # %1 - component type
 
1312     # %2 - component name
 
1314     ILLEGAL_COMPONENT_STATE: {
 
1316         message: "Error: Action is not allowed on %1 '%2' because it is in an illegal state %3.",
 
1317         messageId: "SVC4603"
 
1319     #---------SVC4604------------------------------
 
1320     # %1 - csar file name
 
1323         message: "Error: TOSCA CSAR '%1' is invalid. 'TOSCA-Metadata/Tosca.meta' file must be provided.",
 
1324         messageId: "SVC4604"
 
1326     #---------SVC4605------------------------------
 
1327     # %1 - csar file name
 
1328     CSAR_INVALID_FORMAT: {
 
1330         message: "Error: TOSCA CSAR '%1' is invalid. Invalid 'TOSCA-Metadata/Tosca.meta' file format.",
 
1331         messageId: "SVC4605"
 
1333     #---------SVC4606------------------------------
 
1334     # %1 - property name
 
1335     # %2 - property type
 
1336     # %3 - property innerType
 
1337     # %4 - default value is
 
1338     INVALID_COMPLEX_DEFAULT_VALUE: {
 
1340         message: "Error: Invalid default value of property %1. Data type is %2 with inner type %3 and default value found is %4.",
 
1341         messageId: "SVC4606"
 
1343     #---------SVC4607------------------------------
 
1344     # %1 - csar file name
 
1347         message: "Error: TOSCA CSAR '%1' is not found.",
 
1348         messageId: "SVC4607"
 
1350     #---------SVC4608------------------------------
 
1351     # %1 - artifact name
 
1352     # %2 - component type
 
1353     # %3 - actual component type
 
1354     MISMATCH_BETWEEN_ARTIFACT_TYPE_AND_COMPONENT_TYPE: {
 
1356         message: "Error: Artifact %1 is only compatible with component of type %2, but component type is %3.",
 
1357         messageId: "SVC4608"
 
1360     #---------SVC4609------------------------------
 
1361     # %1 -  "INVALID_JSON"
 
1364         message: "Error: Uploaded JSON file for %1 artifact is invalid.",
 
1365         messageId: "SVC4609"
 
1367     #---------SVC4610------------------------------
 
1368     # %1 - csar file name
 
1369     # %2 - missing file name
 
1370     YAML_NOT_FOUND_IN_CSAR: {
 
1372         message: "Error - TOSCA CSAR %1 is invalid. TOSCA-Metadata/Tosca.meta refers to file %2 that is not provided.",
 
1373         messageId: "SVC4610"
 
1375     #---------SVC4611------------------------------
 
1377     GROUP_MEMBER_EMPTY: {
 
1379         message: "Error: Invalid Content. Group %1 member list was provided but does not have values",
 
1380         messageId: "SVC4611"
 
1382     #---------SVC4612------------------------------
 
1384     GROUP_TYPE_ALREADY_EXIST: {
 
1386         message: 'Error: Group type %1 already exists.',
 
1387         messageId: "SVC4612"
 
1389     #---------SVC4613------------------------------
 
1391     # %2 - VF name(component name)
 
1392     # %3 - actual component type [VF]
 
1393     GROUP_ALREADY_EXIST: {
 
1395         message: "Error: Group with name '%1' already exists in %2 %3.",
 
1396         messageId: "SVC4613"
 
1398     #---------SVC4614------------------------------
 
1400     GROUP_TYPE_IS_INVALID: {
 
1402         message: "Error: Invalid content. Group type %1 does not exist",
 
1403         messageId: "SVC4614"
 
1405     #---------SVC4615------------------------------
 
1407     GROUP_MISSING_GROUP_TYPE: {
 
1409         message: "Error: Invalid Content. Missing Group Type for group '%1'",
 
1410         messageId: "SVC4615"
 
1412     #---------SVC4616------------------------------
 
1416     # %4 - component type [VF ]
 
1417     GROUP_INVALID_COMPONENT_INSTANCE: {
 
1419         message: "Error: Member '%1' listed in group '%2' is not part of '%3' %4.",
 
1420         messageId: "SVC4616"
 
1422     #---------SVC4617------------------------------
 
1426     GROUP_INVALID_TOSCA_NAME_OF_COMPONENT_INSTANCE: {
 
1428         message: "Error: member %1 listed in group %2 is not part of allowed members of group type %3.",
 
1429         messageId: "SVC4617"
 
1431     #---------SVC4618------------------------------
 
1432     # %1 - missing file name
 
1433     # %2 - csar file name
 
1434     ARTIFACT_NOT_FOUND_IN_CSAR: {
 
1436         message: "Error: artifact %1 is defined in CSAR %2 manifest but is not provided",
 
1437         messageId: "SVC4618"
 
1439 #---------SVC4619------------------------------
 
1440 # %1 - artifact name
 
1441 # %2 - artifact type
 
1442 # %3 - existing artifact type
 
1443     ARTIFACT_ALREADY_EXIST_IN_DIFFERENT_TYPE_IN_CSAR: {
 
1445         message: "Error: artifact %1 in type %2 already exists in type %3.",
 
1446         messageId: "SVC4619"
 
1448     #---------SVC4620------------------------------
 
1449     FAILED_RETRIVE_ARTIFACTS_TYPES: {
 
1451         message: "Error: Failed to retrieve list of suported artifact types.",
 
1452         messageId: "SVC4620"
 
1454     #---------SVC4621------------------------------
 
1455     # %1 - artifact name
 
1457     ARTIFACT_ALRADY_EXIST_IN_MASTER_IN_CSAR: {
 
1459         message: "Error: artifact %1 already exists in master %2 .",
 
1460         messageId: "SVC4621"
 
1462     #---------SVC4622------------------------------
 
1463     # %1 - artifact name
 
1464     # %2 - artifact type
 
1467     ARTIFACT_NOT_VALID_IN_MASTER: {
 
1469         message: "Error: artifact %1 in type %2 can not be exists under master %3 in type %4.",
 
1470         messageId: "SVC4622"
 
1472     #---------SVC4623------------------------------
 
1473     # %1 - artifact name
 
1474     # %2 - artifact type
 
1477     ARTIFACT_NOT_VALID_ENV: {
 
1479         message: "Error: Artifact %1 in type %2 with env %3 already exists with another env %4",
 
1480         messageId: "SVC4623"
 
1482     #---------SVC4624------------------------------
 
1485     # %3 - component type [VF ]
 
1488         message: "Error: Invalid Content. The groups '%1' cannot be found under %2 %3.",
 
1489         messageId: "SVC4624"
 
1491     #---------SVC4625------------------------------
 
1493     GROUP_ARTIFACT_ALREADY_ASSOCIATED: {
 
1495         message: "Error: Invalid Content. Artifact already associated to group '%1'.",
 
1496         messageId: "SVC4625"
 
1498     #---------SVC4626------------------------------
 
1500     GROUP_ARTIFACT_ALREADY_DISSOCIATED: {
 
1502         message: "Error: Invalid Content. Artifact already dissociated from group '%1'.",
 
1503         messageId: "SVC4626"
 
1505     #---------SVC4627------------------------------
 
1506     # %1 - property name
 
1508     # %3 - group type name
 
1509     GROUP_PROPERTY_NOT_FOUND: {
 
1511         message: "Error: property %1 listed in group %2 is not exist in group type %3.",
 
1512         messageId: "SVC4627"
 
1514     #---------SVC4628------------------------------
 
1517     VSP_ALREADY_EXISTS: {
 
1519         message: "Error: The VSP with UUID %1 was already imported for VF %2. Please select another or update the existing VF.",
 
1520         messageId: "SVC4628"
 
1522     #---------SVC4629------------------------------
 
1524     MISSING_CSAR_UUID: {
 
1526         message: "Error: The Csar UUID or payload name is missing for VF %1.",
 
1527         messageId: "SVC4629"
 
1529     #---------SVC4630------------------------------
 
1533     RESOURCE_LINKED_TO_DIFFERENT_VSP: {
 
1535         message: "Error: Resource %1 cannot be updated using CsarUUID %2 since the resource is linked to a different VSP with csarUUID %3.",
 
1536         messageId: "SVC4630"
 
1538     #---------SVC4631------------------------------
 
1540     POLICY_TYPE_ALREADY_EXIST: {
 
1542         message: "Error: Policy type %1 already exists.",
 
1543         messageId: "SVC4631"
 
1545     #---------SVC4632------------------------------
 
1547     # %2 - policy type name
 
1548     TARGETS_NON_VALID: {
 
1550         message: "Error: target %1 listed in policy type %2 is not a group or resource.",
 
1551         messageId: "SVC4632"
 
1553     #---------SVC4633------------------------------
 
1557         message: "Error: Invalid Content. Policy %1 target list was provided but does not have values",
 
1558         messageId: "SVC4633"
 
1560     #---------SVC4634------------------------------
 
1561     DATA_TYPE_CANNOT_BE_EMPTY: {
 
1563         message: "Error: Data types are empty. Please import the data types.",
 
1564         messageId: "SVC4634"
 
1566     #---------SVC4635------------------------------
 
1568     RESOURCE_FROM_CSAR_NOT_FOUND: {
 
1570         message: "Error: resource from csar uuid %1 not found",
 
1571         messageId: "SVC4635"
 
1573     #---------SVC4636------------------------------
 
1574     # %1 - Data type name
 
1575     DATA_TYPE_CANNOT_BE_UPDATED_BAD_REQUEST: {
 
1577         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.',
 
1578         messageId: "SVC4636"
 
1580     #-----------SVC4637---------------------------
 
1581     #%1 - attribute name
 
1582     ATTRIBUTE_NOT_FOUND: {
 
1584         message: "Error: Requested '%1' attribute was not found.",
 
1585         messageId: "SVC4637"
 
1587     #-----------SVC4638---------------------------
 
1588     #%1 - attribute name
 
1589     ATTRIBUTE_ALREADY_EXIST: {
 
1591         message: "Error: Attribute with '%1' name already exists.",
 
1592         messageId: "SVC4638"
 
1594     #-----------SVC4639---------------------------
 
1596     PROPERTY_NAME_ALREADY_EXISTS: {
 
1598         message: "Error: Property with '%1' name and different type already exists.",
 
1599         messageId: "SVC4639"
 
1601     #-----------SVC4640---------------------------
 
1605         message: "Error: Invalid property received.",
 
1606         messageId: "SVC4640"
 
1608     #---------SVC4641-----------------------------
 
1609     #%1 - invalid filter
 
1611     INVALID_FILTER_KEY: {
 
1613         message: "Error: The filter %1 is not applicable. Please use one of the following filters: %2",
 
1614         messageId: "SVC4641"
 
1616     #---------SVC4642-----------------------------
 
1621         message: "No %1 were found to match criteria %2",
 
1622         messageId: "SVC4642"
 
1624     #---------SVC4643------------------------------
 
1625     # %1 - "Resource"/"Product"
 
1626     # %2 - "sub-category name"
 
1627     # %3 - "category name"
 
1628     COMPONENT_SUB_CATEGORY_NOT_FOUND_FOR_CATEGORY: {
 
1630         message: "Error: %1 sub-category '%2' not found under category '%3'.",
 
1631         messageId: "SVC4643"
 
1633     #---------SVC4644------------------------------
 
1637         message: "Error: %1 format is corrupted.",
 
1638         messageId: "SVC4644"
 
1640     #---------SVC4645------------------------------
 
1642     INVALID_VF_MODULE_TYPE: {
 
1644         message: "Error: Invalid group type '%1' (should be VfModule).",
 
1645         messageId: "SVC4645"
 
1647     #---------SVC4646------------------------------
 
1649     INVALID_VF_MODULE_NAME: {
 
1651         message: "Error: Invalid Content. Group name '%1' contains invalid characters",
 
1652         messageId: "SVC4646"
 
1655     #---------SVC4647------------------------------
 
1656     # %1 - "modifiedName"
 
1657     INVALID_VF_MODULE_NAME_MODIFICATION: {
 
1659         message: "Error: Invalid VF Module name modification, can not modify '%1'",
 
1660         messageId: "SVC4647"
 
1662     #---------SVC4648------------------------------
 
1664     # %2 - "componentId"
 
1665     INPUT_IS_NOT_CHILD_OF_COMPONENT: {
 
1667         message: "Error: Input id: '%1' is not child of component id: '%2'",
 
1668         messageId: "SVC4648"
 
1670     #---------SVC4649------------------------------
 
1672     GROUP_HAS_CYCLIC_DEPENDENCY: {
 
1674         message: "Error: The group '%1' has cyclic dependency",
 
1675         messageId: "SVC4649"
 
1677     #---------SVC4650------------------------------
 
1678     # %1 - "Component Type"
 
1679     # %2 - <ServiceName>
 
1680     # %3 - error description
 
1681     AAI_ARTIFACT_GENERATION_FAILED: {
 
1683         message: "Error: %1 %2 automatic generation of artifacts failed. Description: %3",
 
1684         messageId: "SVC4650"
 
1686     #---------SVC4651------------------------------
 
1687     PARENT_RESOURCE_DOES_NOT_EXTEND: {
 
1689         message: "Error: Once resource is certified, derived_from can be changed only to a sibling",
 
1690         messageId: "SVC4651"
 
1692     #---------SVC4652------------------------------
 
1693     # %1 - resource/service
 
1694     COMPONENT_INVALID_SUBCATEGORY: {
 
1696         message: "Error: Invalid Content. Invalid %1 sub category.",
 
1697         messageId: "SVC4652"
 
1699     #---------SVC4653------------------------------
 
1700     # %1 - group instance uniqueId
 
1701     # %2 - service uniqueId
 
1702     GROUP_INSTANCE_NOT_FOUND_ON_COMPONENT_INSTANCE: {
 
1704         message: "Error: Requested group instance %1 was not found on component %2.",
 
1705         messageId: "SVC4653"
 
1707     #---------SVC4654------------------------------
 
1708     # %1 - group property name
 
1709     # %2 - valid min limit value
 
1710     # %3 - valid max limit value
 
1711     INVALID_GROUP_MIN_MAX_INSTANCES_PROPERTY_VALUE: {
 
1713         message: "Error: Value of %1 must be not higher than %2, and not lower than %3.",
 
1714         messageId: "SVC4654"
 
1716     #---------SVC4655------------------------------
 
1717     # %1 - group property name
 
1718     # %2 - valid min limit value
 
1719     # %3 - valid max limit value
 
1720     INVALID_GROUP_INITIAL_COUNT_PROPERTY_VALUE: {
 
1722         message: "Error: Value of %1 must be between %2 and %3.",
 
1723         messageId: "SVC4655"
 
1725     #---------SVC4656------------------------------
 
1726     # %1 - group property name
 
1728     # %3 - valid max/min value
 
1729     INVALID_GROUP_PROPERTY_VALUE_LOWER_HIGHER: {
 
1731         message: "Error: Value of %1 must be %2 or equals to %3.",
 
1732         messageId: "SVC4656"
 
1734     #---------SVC4657------------------------------
 
1735     # %1 - certificationRequest / startTesting
 
1736     RESOURCE_VFCMT_LIFECYCLE_STATE_NOT_VALID: {
 
1738         message: "Error - Lifecycle state %1 is not valid for resource of type VFCMT",
 
1739         messageId: "SVC4657"
 
1741     #---------SVC4658------------------------------
 
1742     # %1 – asset type [service / resource ]
 
1743     # %2 – main asset uuid
 
1744     # %3 – not found asset type [service / resource]
 
1745     # %4 – not found asset name
 
1746     ASSET_NOT_FOUND_DURING_CSAR_CREATION: {
 
1748         message: "Error: CSAR packaging failed for %1 %2. %3 %4 was not found",
 
1749         messageId: "SVC4658"
 
1751     #---------SVC4659------------------------------
 
1752     # %1 – asset type [service / resource ]
 
1753     # %2 – main asset uuid
 
1754     # %3 – Artifact name
 
1755     # %4 – Artifact uuid
 
1756     ARTIFACT_PAYLOAD_NOT_FOUND_DURING_CSAR_CREATION: {
 
1758         message: "Error: CSAR packaging failed for %1 %2. Artifact %3 [%4] was not found",
 
1759         messageId: "SVC4659"
 
1761     #---------SVC4660------------------------------
 
1763     # %2 - matching generic node type name
 
1764     GENERIC_TYPE_NOT_FOUND: {
 
1766         message: "Creation of %1 failed. Generic type %2 was not found",
 
1767         messageId: "SVC4660"
 
1769     #---------SVC4661------------------------------
 
1771     # %2 - matching generic node type name
 
1772     TOSCA_SCHEMA_FILES_NOT_FOUND: {
 
1774         message: "Error: CSAR packaging failed. TOSCA schema files for SDC-Version: %1 and Conformance-Level %2 were not found",
 
1775         messageId: "SVC4661"
 
1777     #---------SVC4662------------------------------
 
1780     TOSCA_PARSE_ERROR: {
 
1782         message: "Error: Invalid TOSCA template in file %1. %2",
 
1783         messageId: "SVC4662"
 
1785     #---------SVC4663------------------------------
 
1787     RESOURCE_VENDOR_MODEL_NUMBER_EXCEEDS_LIMIT: {
 
1789         message: "Error: Invalid Content. Resource vendor model number exceeds limit of %1 characters.",
 
1790         messageId: "SVC4663"
 
1792     #---------SVC4664------------------------------
 
1793     INVALID_RESOURCE_VENDOR_MODEL_NUMBER: {
 
1795         message: 'Error: Invalid Content. Resource vendor model number is not allowed to contain characters like <>:"\/|?* and space characters other than regular space.',
 
1796         messageId: "SVC4664"
 
1799     #---------SVC4669-----------------------------
 
1800     INVALID_RESOURCE_TYPE: {
 
1802         message: "Error: Invalid resource type.",
 
1803         messageId: "SVC4669"
 
1805     #---------SVC4670------------------------------
 
1808     ARTIFACT_NAME_INVALID: {
 
1810         message: "Error: Artifact name '%1' is invalid. Only the following characters are allowed in the Artifact Name: '%2'.",
 
1811         messageId: "SVC4670"
 
1813     #---------SVC4671------------------------------
 
1816     CFVC_LOOP_DETECTED: {
 
1818         message: 'Error: VSP %1 cannot be imported. The VSP contains internal loop in VFC %2',
 
1819         messageId: "SVC4671"
 
1821     #---------SVC4672------------------------------
 
1822     # %1 - capability uniqueId
 
1823     # %2 - instance uniqueId
 
1824     # %3 - container uniqueId
 
1825     CAPABILITY_OF_INSTANCE_NOT_FOUND_ON_CONTAINER: {
 
1827         message: "Error: Requested capability %1 of instance %2 was not found on the container %3.",
 
1828         messageId: "SVC4672"
 
1830     #---------SVC4673------------------------------
 
1831     # %1 - requirement uniqueId
 
1832     # %2 - instance uniqueId
 
1833     # %3 - container uniqueId
 
1834     REQUIREMENT_OF_INSTANCE_NOT_FOUND_ON_CONTAINER: {
 
1836         message: "Error: Requested requirement %1 of instance %2 was not found on the container %3.",
 
1837         messageId: "SVC4673"
 
1839     #---------SVC4674-----------------------------
 
1841     # %2 - container uniqueId
 
1842     RELATION_NOT_FOUND: {
 
1844         message: "Error: Requested relation %1 was not found on the container %2.",
 
1845         messageId: "SVC4674"
 
1849     #---------SVC4675------------------------------
 
1850     INVALID_SERVICE_STATE: {
 
1852         message: "Service state is invalid for this action",
 
1853         messageId: "SVC4675"
 
1856     #---------SVC4676------------------------------
 
1857     INVALID_RESPONSE_FROM_PROXY: {
 
1859         message: "Error: The server was acting as a gateway or proxy and received an invalid response from the upstream server",
 
1860         messageId: "SVC4676"
 
1863     #---------SVC4677------------------------------
 
1864     API_RESOURCE_NOT_FOUND: {
 
1866         message: "Error: Requested '%1' was not found.",
 
1867         messageId: "SVC4677"
 
1870     #---------SVC4678------------------------------
 
1871     BAD_REQUEST_MISSING_RESOURCE: {
 
1873         message: "Error: The required resource name/id  is missing in the request",
 
1874         messageId: "SVC4678"
 
1876     #---------SVC4679------------------------------
 
1877     # %1 forwarding path name maximum length
 
1878     FORWARDING_PATH_NAME_MAXIMUM_LENGTH: {
 
1880         message: "Forwarding path name too long, , maximum allowed 200 characters : '%1'.",
 
1881         messageId: "SVC4679"
 
1883     #---------SVC4680------------------------------
 
1884     # %1 Forwarding path name already in use
 
1885     FORWARDING_PATH_NAME_ALREADY_IN_USE: {
 
1887         message: "Forwarding path name already in use : '%1'.",
 
1888         messageId: "SVC4680"
 
1890     #---------SVC4681------------------------------
 
1891     # %1 Forwarding path name empty
 
1892     FORWARDING_PATH_NAME_EMPTY: {
 
1894         message: "Forwarding Path Name can't be empty .",
 
1895         messageId: "SVC4681"
 
1897     #---------SVC4682------------------------------
 
1898     # %1 - resource uniqueId
 
1899     # %2 - resource component type
 
1900     RESOURCE_CANNOT_CONTAIN_POLICIES: {
 
1902         message: "Error: The resource %1 type of %2 cannot contain policies.",
 
1903         messageId: "SVC4682"
 
1905     #---------SVC4683------------------------------
 
1906     # %1 - policy uniqueId
 
1907     # %2 - component uniqueId
 
1908     POLICY_NOT_FOUND_ON_CONTAINER: {
 
1910         message: "Error: Requested policy %1 was not found on the container %2.",
 
1911         messageId: "SVC4683"
 
1913     #---------SVC4684------------------------------
 
1915     INVALID_POLICY_NAME: {
 
1917         message: "Error: Invalid policy name %1 received.",
 
1918         messageId: "SVC4684"
 
1920     #---------SVC4801------------------------------
 
1922     POLICY_TYPE_IS_INVALID: {
 
1924         message: "Error: Invalid content. Policy type %1 does not exist",
 
1925         messageId: "SVC4801"
 
1928     #---------SVC4802------------------------------
 
1930     POLICY_MISSING_POLICY_TYPE: {
 
1932         message: "Error: Invalid content. Type name is not defined for policy %1",
 
1933         messageId: "SVC4802"
 
1936     #---------SVC4685------------------------------
 
1938     POLICY_NAME_ALREADY_EXIST: {
 
1940         message: "Error: The policy with the name %1 already exists.",
 
1941         messageId: "SVC4685"
 
1943     #---------SVC4686------------------------------
 
1945     POLICY_TARGET_DOES_NOT_EXIST: {
 
1947         message: "Error: The targets %1 are not valid, all targets have to be on the topologyTemplate.",
 
1948         messageId: "SVC4686"
 
1950     #---------SVC4687------------------------------
 
1952     # %2 - component type
 
1953     EXCLUDED_POLICY_TYPE: {
 
1955         message: "Error: The policy of the type %1 excluded to add to a component of the type %2.",
 
1956         messageId: "SVC4687"
 
1958     #---------SVC4688------------------------------
 
1960     # %2 - component type
 
1961     GROUP_TYPE_ILLEGAL_PER_COMPONENT: {
 
1963         message: "Error: group type %1 not permitted in component of type %2",
 
1964         messageId: "SVC4688"
 
1966     #---------SVC4689------------------------------
 
1968     # %2 - component type
 
1969     POLICY_TARGET_TYPE_DOES_NOT_EXIST: {
 
1971         message: "Error: The target types %1 are not valid.",
 
1972         messageId: "SVC4689"
 
1975     #---------SVC4690------------------------------
 
1976     # %1 forwarding path protocol maximum length
 
1977     FORWARDING_PATH_PROTOCOL_MAXIMUM_LENGTH: {
 
1979         message: "Forwarding path protocol too long, , maximum allowed 200 characters : '%1'.",
 
1980         messageId: "SVC4690"
 
1983     #---------SVC4691------------------------------
 
1984     # %1 forwarding path destination port maximum length
 
1985     FORWARDING_PATH_DESTINATION_PORT_MAXIMUM_LENGTH: {
 
1987         message: "Forwarding path destination port too long, , maximum allowed 200 characters : '%1'.",
 
1988         messageId: "SVC4691"
 
1991     #---------POL4692------------------------------
 
1992     MISSING_OLD_COMPONENT_INSTANCE: {
 
1994         message: "Error: Missing 'componentInstanceId' HTTP param.",
 
1995         messageId: "POL4692"
 
1998     #---------POL4693------------------------------
 
1999     MISSING_NEW_COMPONENT_INSTANCE: {
 
2001         message: "Error: Missing 'newComponentInstanceId' HTTP param.",
 
2002         messageId: "POL4693"
 
2005     #---------SVC4694------------------------------
 
2006     # %1 External Reference Value
 
2007     EXT_REF_NOT_FOUND: {
 
2009         message: "Error: External Reference '%1' was not found.",
 
2010         messageId: "SVC4694"
 
2012     #---------SVC4695-----------------------------
 
2013     # %1 - Interface Operation Name
 
2014     INTERFACE_OPERATION_NAME_ALREADY_IN_USE: {
 
2016       message: "Error: Interface Operation name '%1' already in use, Your current changes will not be saved.",
 
2017       messageId: "SVC4695"
 
2019     #---------SVC4696-----------------------------
 
2020     # %1 - Interface Operation Name
 
2021     INTERFACE_OPERATION_NAME_INVALID: {
 
2023       message: "Error: Interface Operation name '%1' is Invalid, Operation name should not contain special character, space and should not be greater than 200 characters.",
 
2024       messageId: "SVC4696"
 
2026     #---------SVC4697-----------------------------
 
2027     INTERFACE_OPERATION_NAME_MANDATORY: {
 
2029       message: "Error: Interface Operation name is mandatory, Operation name can't be empty.",
 
2030       messageId: "SVC4697"
 
2032 #---------SVC4698-----------------------------
 
2033 # %1 - Interface type
 
2034     INTERFACE_OPERATION_INVALID_FOR_LOCAL_TYPE: {
 
2036       message: "Error: Invalid input, only one operation is allowed in local interface type '%1'.",
 
2037       messageId: "SVC4698"
 
2039     #---------SVC4699-----------------------------
 
2040     # %1 - Interface Operation input parameter name
 
2041     INTERFACE_OPERATION_INPUT_NAME_ALREADY_IN_USE: {
 
2043         message: "Error: Interface Operation input parameter name '%1' already in use, Your current changes will not be saved.",
 
2044         messageId: "SVC4699"
 
2046     #---------SVC4700-----------------------------
 
2047     INTERFACE_OPERATION_INPUT_NAME_MANDATORY: {
 
2049         message: "Error: Interface operation input parameter name should not be empty.",
 
2050         messageId: "SVC4700"
 
2052 #---------SVC4701-----------------------------
 
2054     INTERFACE_OPERATION_NOT_FOUND: {
 
2056       message: "Error: Interface operation not found in the component '%1'.",
 
2057       messageId: "SVC4701"
 
2059     #---------SVC4702-----------------------------
 
2060     INTERFACE_OPERATION_NOT_DELETED: {
 
2062       message: "Error: Failed to delete interface operation.",
 
2063       messageId: "SVC4702"
 
2066     INTERFACE_UNKNOWN: {
 
2068         message: "Error: The interface '%1' does not exists in the database.",
 
2069         messageId: "SVC4732"
 
2072     INTERFACE_OPERATION_NOT_DEFINED: {
 
2074         message: "Error: The operation '%1' does not exists in the interface '%2'.",
 
2075         messageId: "SVC4733"
 
2077     #-----------SVC4692---------------------------
 
2078     RESOURCE_LIFECYCLE_STATE_NOT_VALID: {
 
2080         message: "Error: Lifecycle state %1 is not valid for resource",
 
2081         messageId: "SVC4692"
 
2083     #-----------SVC4693---------------------------
 
2084     #%1 - component name
 
2085     COMPONENT_IS_ARCHIVED: {
 
2087         message: "Error: Component %1 is archived",
 
2088         messageId: "SVC4693"
 
2090     #-----------SVC4703---------------------------
 
2091     #%1 - component name
 
2092     COMPONENT_IS_NOT_HIHGEST_CERTIFIED: {
 
2094         message: "Error: Component %1 is not highest certified",
 
2095         messageId: "SVC4703"
 
2097     #---------SVC4704------------------------------
 
2098     # %1 - "service"/"VF"
 
2099     # %2 - "Resource name"
 
2100     ARCHIVED_ORIGINS_FOUND: {
 
2102         message: "Error: Action is not permitted as your '%1' '%2' includes archived resources",
 
2103         messageId: "SVC4704"
 
2105     #---------SVC4705------------------------------
 
2107     ARTIFACT_PAYLOAD_EMPTY: {
 
2109         message: "Error: Invalid content. Uploaded file %1 is empty. Please retry with the correct file.",
 
2110         messageId: "SVC4705"
 
2112     #---------SVC4800------------------------------
 
2113     # %1 - "component id"
 
2114     UPDATE_CATALOG_FAILED: {
 
2116         message: "Error: update catalog for component '%1' failed.",
 
2117         messageId: "SVC4800"
 
2119     #---------SVC4706------------------------------
 
2120     # %1-input(s) name(s) string
 
2123         message: "Error: missing input value(s) %1.",
 
2124         messageId: "SVC4706"
 
2126     #---------SVC4707-----------------------------
 
2127     # %1 – asset type [service / resource ]
 
2128     # %2 – main asset uuid
 
2129     ERROR_DURING_CSAR_CREATION: {
 
2131         message: "Error: CSAR packaging failed for %1 %2.",
 
2132         messageId: "SVC4706"
 
2134 #---------SVC4708-----------------------------
 
2135 # %1 - Interface Operation input property name, component type
 
2136     INTERFACE_OPERATION_INPUT_PROPERTY_NOT_FOUND_IN_COMPONENT: {
 
2138         message: "Error: Interface operation input parameter property '%1' not found in '%2' input properties, capability properties or outputs of other operations.",
 
2139         messageId: "SVC4708"
 
2141 #---------SVC4709-----------------------------
 
2142 # %1 - Interface Operation output parameter name
 
2143     INTERFACE_OPERATION_OUTPUT_NAME_ALREADY_IN_USE: {
 
2145         message: "Error: Interface Operation output parameter name '%1' already in use, Your current changes will not be saved.",
 
2146         messageId: "SVC4708"
 
2148 #---------SVC4710-----------------------------
 
2149     INTERFACE_OPERATION_OUTPUT_NAME_MANDATORY: {
 
2151         message: "Error: Interface operation output parameter name should not be empty.",
 
2152         messageId: "SVC4710"
 
2154 #---------SVC4711-----------------------------
 
2156     INTERFACE_NOT_FOUND_IN_COMPONENT: {
 
2158       message: "Error: Interface not found in the component '%1'.",
 
2159       messageId: "SVC4711"
 
2161     #---------SVC4709-----------------------------
 
2162     INVALID_PROPERTY_CONSTRAINTS: {
 
2163       # %1 – property constraints type
 
2164       # %2 – received property constraints value
 
2165       # %3 – property type
 
2167         message: "Error: Invalid %1 %2 for the type %3 have been received.",
 
2168         messageId: "SVC4709"
 
2170     #---------SVC4710-----------------------------
 
2171     INVALID_PROPERTY_CONSTRAINTS_FORMAT: {
 
2172       # %1 – received property constraints json section
 
2174         message: "Error: Invalid format of the received property constraints section: %1. The property constraints section should be a list.",
 
2175         messageId: "SVC4710"
 
2177     #---------SVC4711-----------------------------
 
2178     CANNOT_DELETE_VALID_VALUES: {
 
2179       # %1 – property constraints type
 
2180       # %2 – missing valid values
 
2182         message: "Error: Deletion of existing %1 is not permitted on an update. Missing values: %2",
 
2183         messageId: "SVC4711"
 
2185     #---------SVC4712------------------------------
 
2186     MISSING_PROPERTY_NAME: {
 
2188         message: "Error: Invalid Content. Missing mandatory parameter 'name'." ,
 
2189         messageId: "SVC4712"
 
2191     #---------SVC4713------------------------------
 
2192     MISSING_PROPERTY_VALUE: {
 
2194         message: "Error: Invalid Content. Missing mandatory parameter 'value'." ,
 
2195         messageId: "SVC4713"
 
2198     #---------SVC4712---------------------------
 
2199     INVALID_INSTANTIATION_TYPE: {
 
2201         message: "Invalid instantiationType: %1",
 
2202         messageId: "SVC4712"
 
2205     #----------SVC4713---------------------------
 
2206     MISSING_ECOMP_GENERATED_NAMING: {
 
2208         message: "Missing ecompGeneratedNaming property",
 
2209         messageId: "SVC4713"
 
2212     #-----------SVC4714--------------------------
 
2213     NAMING_POLICY_EXCEEDS_LIMIT: {
 
2215         message: "Error: Invalid Content. Naming policy exceeds limit of %1 characters.",
 
2216         messageId: "SVC4714"
 
2219     #---------SVC4715------------------------------
 
2220     INVALID_NAMING_POLICY: {
 
2222         message: 'Error: Invalid Content. Naming policy is not allowed to contain characters like <>:"\/|?* and space characters other than regular space.',
 
2223         messageId: "SVC4715"
 
2226     #---------SVC4716------------------------------
 
2227     INVALID_ENVIRONMENT_CONTEXT: {
 
2229         message: 'Error: Invalid Environment context: %1',
 
2230         messageId: "SVC4716"
 
2233     #---------SVC4717------------------------------
 
2234     UNSUPPORTED_DISTRIBUTION_STATUS: {
 
2236         message: 'Error: Unsupported distribution action: %1',
 
2237         messageId: "SVC4717"
 
2239     #---------SVC4718------------------------------
 
2240     CONTAINER_CANNOT_CONTAIN_INSTANCE: {
 
2241       # %1 - "container type"
 
2242       # %2- “component type”
 
2244         message: "Error : %1 can’t contain component instance %2" ,
 
2245         messageId: "SVC4718"
 
2247     #---------SVC4719------------------------------
 
2248     CONTAINER_CANNOT_CONTAIN_COMPONENT_IN_STATE: {
 
2249       # %1 - "container type"
 
2250       # %2- "lifecycle state"
 
2252         message: "Error: Container %1 can’t contain component in state %2" ,
 
2253         messageId: "SVC4719"
 
2256     #---------SVC4720------------------------------
 
2257     MISSING_MANDATORY_PROPERTY: {
 
2258       # %1 - "property name"
 
2260         message: "Error: Missing mandatory %1 property" ,
 
2261         messageId: "SVC4720"
 
2264     #---------SVC4721------------------------------
 
2265     MANDATORY_PROPERTY_MISSING_VALUE: {
 
2266       # %1 - "property name"
 
2268         message: "Error: Missing value for the mandatory %1 property" ,
 
2269         messageId: "SVC4721"
 
2271 #---------SVC4712-----------------------------
 
2272     INTERFACE_LIFECYCLE_TYPES_NOT_FOUND: {
 
2274       message: "Error: Interface Lifecycle types not found.",
 
2275       messageId: "SVC4712"
 
2277 #---------SVC4713-----------------------------
 
2278 # %1 - Interface Operation Name
 
2279     INTERFACE_OPERATION_INVALID_FOR_GLOBAL_TYPE: {
 
2281       message: "Error: Invalid input, only pre-defined operation names are allowed in global interface type '%1'",
 
2282       messageId: "SVC4713"
 
2285     #---------SVC4714-----------------------------
 
2286     NODE_FILTER_NOT_FOUND: {
 
2288         message: "Error: Node Filter was not found",
 
2289         messageId: "SVC4714"
 
2291     #---------SVC4715----------------------------
 
2292     UNSUPPORTED_VALUE_PROVIDED: {
 
2294         message: "Error: Supported value type is %1 for %2 property. Provided Value: %3",
 
2295         messageId: "SVC4715"
 
2297     #---------SVC4716----------------------------
 
2298     # %1 - Property Name
 
2299     SELECTED_PROPERTY_NOT_PRESENT: {
 
2301         message: "Error: %1 property does not exists in Service anymore.",
 
2302         messageId: "SVC4716"
 
2305     #---------SVC4717----------------------------
 
2306     # %1 - Property Name
 
2307     MAPPED_PROPERTY_NOT_FOUND: {
 
2309         message: "Error: %1 property does not exist.",
 
2310         messageId: "SVC4717"
 
2313     #---------SVC4718----------------------------
 
2314     # %1 - Property Name
 
2315     # %2 - Operator Name
 
2316     UNSUPPORTED_OPERATOR_PROVIDED: {
 
2318         message: "Error: %1 property does not support %2 operator.",
 
2319         messageId: "SVC4718"
 
2322     #---------SVC4719----------------------------
 
2323     CONSTRAINT_FORMAT_INCORRECT: {
 
2325         message: "Error: Constraint provided does not contains expected values.",
 
2326         messageId: "SVC4719"
 
2329     #---------SVC4720----------------------------
 
2330     # %1 - Property Name
 
2331     # %2 - Operator Type
 
2332     SOURCE_TARGET_PROPERTY_TYPE_MISMATCH: {
 
2334         message: "Error: %1 property and %2 property type is not same.",
 
2335         messageId: "SVC4720"
 
2338     #---------SVC4721----------------------------
 
2339     # %1 - Property Type
 
2340     # %2 - Operator Type
 
2341     UNSUPPORTED_PROPERTY_TYPE: {
 
2343         message: "Error: Property type %1 provided against %2 is not supported for static value.",
 
2344         messageId: "SVC4721"
 
2347   #---------SVC4722------------------------------
 
2348   # %1 Directive value set
 
2349     DIRECTIVES_INVALID_VALUE: {
 
2351       message: "Error: Invalid directive value : '%1' .",
 
2352       messageId: "SVC4722"
 
2354 #---------SVC4723-----------------------------
 
2355 # %1 - Interface Operation output name
 
2356     INTERFACE_OPERATION_MAPPED_OUTPUT_MODIFIED: {
 
2358         message: "Error: Cannot update or delete interface operation output(s) '%1' mapped to an operation input",
 
2359         messageId: "SVC4723"
 
2361 #---------SVC4724-----------------------------
 
2362 # %1 - Interface Operation output name
 
2363     INTERFACE_OPERATION_DELETE_WITH_MAPPED_OUTPUT: {
 
2365         message: "Error: Cannot delete interface operation with output(s) '%1' mapped to another operation input",
 
2366         messageId: "SVC4724"
 
2368 #---------SVC4725-----------------------------
 
2369     INVALID_CONSUMPTION_TYPE: {
 
2371         message: "Error: Given value is different than input type. Needs to be %1",
 
2372         messageId: "SVC4725"
 
2374 #---------SVC4726-----------------------------
 
2375     INVALID_PROPERTY_VALUES: {
 
2377         message: "Error: Invalid property values provided:\n %1",
 
2378         messageId: "SVC4726"
 
2380 #---------SVC4727------------------------------
 
2381     INVALID_PROPERTY_NAME: {
 
2383         message: "Error: Property name contains invalid characters. It should have only letters, numbers and underscores.",
 
2384         messageId: "SVC4727"
 
2387 #---------SVC4728------------------------------
 
2388     FAILED_TO_CREATE_OR_UPDATE_CAPABILITY_PROPERTIES: {
 
2390         message: "Error: Failed to create or update capabilities properties",
 
2391         messageId: "SVC4728"
 
2394 #---------SVC4729------------------------------
 
2396     CAPABILITY_PROPERTIES_NOT_FOUND: {
 
2398         message: "Error: Capability properties not found in the resource '%1'.",
 
2399         messageId: "SVC4729"
 
2401 #---------SVC4730------------------------------
 
2402     # %1 - property name
 
2403     PROPERTY_EXCEEDS_LIMIT: {
 
2405       message: "Error: Invalid Content. %1 exceeds limit.",
 
2406       messageId: "SVC4722"
 
2408 #---------SVC4731------------------------------
 
2410       # %1 - property name
 
2412       message: 'Error: Invalid Content. %1 has invalid format.',
 
2413       messageId: "SVC4723"
 
2415 #---------SVC4734------------------------------
 
2416     # %1 - list of validation errors
 
2417     INVALID_PM_DICTIONARY_FILE: {
 
2419         message: 'Error: Invalid PM Dictionary File. %1',
 
2420         messageId: "SVC4734"
 
2422 #-----------SVC4735---------------------------
 
2424     INPUT_ALREADY_EXIST: {
 
2426         message: "Error: Input with '%1' name already exists.",
 
2427         messageId: "SVC4735"
 
2429 #---------SVC4736------------------------------
 
2430     INVALID_INPUT_NAME: {
 
2432         message: "Error: Input name contains invalid characters. It should have only letters, numbers and underscores.",
 
2433         messageId: "SVC4736"
 
2435     #---------SVC4139------------------------------
 
2436     # %1 - The action that is not supported
 
2439         message: '%1 is not yet supported',
 
2440         messageId: "SVC4139"
 
2442     #---------SVC4140------------------------------
 
2443     # %1 - Component uid
 
2444     COMPONENT_FIND_ERROR: {
 
2446         message: "An unexpected error occurred while retrieving the component '%1'.",
 
2447         messageId: "SVC4140"
 
2449     #---------SVC4141------------------------------
 
2450     # %1 - Component uid
 
2451     COMPONENT_CAPABILITIES_FIND_ERROR: {
 
2453         message: "An unexpected error occurred while retrieving the component '%1' capabilities.",
 
2454         messageId: "SVC4141"
 
2456     #---------SVC4142------------------------------
 
2457     # %1 - Component uid or name
 
2458     COMPONENT_NOT_FOUND: {
 
2460         message: "Component '%1' was not found.",
 
2461         messageId: "SVC4142"
 
2463     #---------SVC4143------------------------------
 
2464     # %1 - Capability name
 
2465     COMPONENT_INSTANCE_CAPABILITY_UPDATE_ERROR: {
 
2467         message: "An unexpected error occurred while updating the capability '%1'.",
 
2468         messageId: "SVC4143"
 
2471     #---------SVC4144------------------------------
 
2473     MODEL_ALREADY_EXISTS: {
 
2475         message: "Error: Model name '%1' already exists.",
 
2476         messageId: "SVC4144"
 
2479     #---------SVC4145------------------------------
 
2483         message: "Invalid model '%1'.",
 
2484         messageId: "SVC4145"
 
2487     #---------SVC4146------------------------------
 
2488     MODEL_IMPORTS_IS_EMPTY: {
 
2490         message: "Given model imports zip is empty.",
 
2491         messageId: "SVC4146"
 
2494     #---------SVC4147------------------------------
 
2495     COULD_NOT_READ_MODEL_IMPORTS: {
 
2497         message: "Could not read imports zip.",
 
2498         messageId: "SVC4147"
 
2501     #---------SVC4148------------------------------
 
2505         message: "Error: Model name '%1' not found. Please, make sure the model is created.",
 
2506         messageId: "SVC4148"
 
2509     #---------SVC4149------------------------------
 
2510     MODEL_NAME_CANNOT_BE_EMPTY: {
 
2512         message: "Error: Model name cannot be empty.",
 
2513         messageId: "SVC4149"
 
2516     #-----------SVC4150---------------------------
 
2517     # %1 - "Component name"
 
2519     COMPONENT_WITH_MODEL_ALREADY_EXIST: {
 
2521         message: "Error: Component %1 with Model %2 already exist.",
 
2522         messageId: "SVC4150"
 
2524     #-----------SVC4151---------------------------
 
2525     # %1 - "Component name"
 
2526     # %2 - "Vendor release"
 
2528     COMPONENT_WITH_VENDOR_RELEASE_ALREADY_EXISTS_IN_MODEL: {
 
2530         message: "Error: Component '%1' with Vendor Release '%2' already exists in Model '%3'.",
 
2531         messageId: "SVC4151"
 
2533     #-----------SVC4152---------------------------
 
2534     # %1 - "Component name"
 
2535     # %2 - "Vendor release"
 
2536     COMPONENT_WITH_VENDOR_RELEASE_ALREADY_EXISTS: {
 
2538         message: "Error: Component '%1' with Vendor Release '%2' already exists.",
 
2539         messageId: "SVC4152"
 
2542     #-----------SVC4153---------------------------
 
2544     DATA_TYPES_NOT_LOADED: {
 
2546         message: "Could not fetch data types from data base with model %1",
 
2547         messageId: "SVC4153"
 
2550         #-----------SVC4154---------------------------
 
2552     UNKNOWN_MODEL_TYPE: {
 
2554         message: "Error: Model type  %1 not known in the system",
 
2555         messageId: "SVC4154"
 
2558     #-----------SVC4154---------------------------
 
2559     CSAR_TOSCA_IMPORTS_ERROR: {
 
2561         message: "Error: An error has occurred while including the default TOSCA imports in the CSAR",
 
2562         messageId: "SVC4154"
 
2565     #-----------SVC4155---------------------------
 
2567     # %2 - "VSP version id"
 
2570         message: "An error has occurred while retrieving the Vendor Software Product of id '%1', version id '%2'",
 
2571         messageId: "SVC4155"
 
2574     #-----------SVC4156---------------------------
 
2576     # %2 - "VSP version id"
 
2579         message: "Could not find Vendor Software Product of id '%1', version id '%2'",
 
2580         messageId: "SVC4156"
 
2583     #-----------SVC4157---------------------------
 
2584     # %1 - "The model name"
 
2585     # %2 - "List of allowed models"
 
2586     VSP_MODEL_NOT_ALLOWED: {
 
2588         message: "The Model '%1' is not allowed for the imported Vendor Software Product. Allowed Models: '%2'",
 
2589         messageId: "SVC4157"
 
2592     #---------SVC4158-----------------------------
 
2593     # %1 - Valid artifact label name
 
2594     INVALID_ARTIFACT_LABEL_NAME: {
 
2596         message: "Invalid label name. Only the following characters are allowed in label name: '%1'",
 
2597         messageId: "SVC4158"
 
2600     #---------SVC4159-----------------------------
 
2601     # %1 - The model name
 
2602     COULD_NOT_DELETE_MODEL: {
 
2604         message: "Could not delete the model '%1'.",
 
2605         messageId: "SVC4159"
 
2608     #---------SVC4160-----------------------------
 
2609     # %1 - The model name
 
2610     COULD_NOT_DELETE_MODEL_ELEMENTS: {
 
2612         message: "Could not delete the model '%1' elements.",
 
2613         messageId: "SVC4160"
 
2615     #---------SVC4161-----------------------------
 
2616     INVALID_NODE_TYPES_YAML: {
 
2618         message: "Invalid node_types TOSCA yaml",
 
2619         messageId: "SVC4161"
 
2622     #---------SVC4162-----------------------------
 
2623     # %1 - The janusgraph status
 
2624     FAILED_CREATE_ARTIFACTS_TYPES: {
 
2626         message: "Failed to create artifact types with status '%1'.",
 
2627         messageId: "SVC4162"
 
2630     #---------SVC4163-----------------------------
 
2631     # %1 - The janusgraph status
 
2632     ARTIFACT_TYPE_ALREADY_EXIST: {
 
2634         message: "Artifact type '%1' already exist.",
 
2635         messageId: "SVC4163"
 
2638     #---------SVC4692-----------------------------
 
2639     # %1 - Component name
 
2640     COMPONENT_NOT_ARCHIVED: {
 
2642         message: "Component '%1' is not archived",
 
2643         messageId: "SVC4692"
 
2646     #---------SVC4693-----------------------------
 
2647     # %1 - List of services
 
2648     COMPONENT_IN_USE_BY_ANOTHER_COMPONENT: {
 
2650         message: "Component is in use by '%1'",
 
2651         messageId: "SVC4693"
 
2654     #---------SVC4164-----------------------------
 
2655     # %1 - componentType
 
2656     # %2 - component name
 
2657     CANNOT_DELETE_SYSTEM_DEPLOYED_RESOURCES: {
 
2659         message: "System deployed '%1' cannot be deleted '%2'",
 
2660         messageId: "SVC4164"
 
2663     #---------SVC4165-----------------------------
 
2665     TOSCA_GET_FUNCTION_INPUTS_ONLY_SELF_ERROR: {
 
2667         message: "Invalid get_input definition. Inputs can only be get from SELF, the given origin was '%1'",
 
2668         messageId: "SVC4165"
 
2671     #---------SVC4166-----------------------------
 
2674     TOSCA_GET_FUNCTION_INPUTS_NOT_FOUND: {
 
2676         message: "The given input '%1' was not found on '%2'.",
 
2677         messageId: "SVC4166"
 
2680     #---------SVC4167-----------------------------
 
2681     # %1 - Tosca function
 
2682     # %2 - Referred input type
 
2683     # %3 - Selected property type
 
2684     TOSCA_GET_FUNCTION_TYPE_DIVERGE: {
 
2686         message: "Could not set %1. Referred input type '%2' diverges from the selected property type '%3'.",
 
2687         messageId: "SVC4167"
 
2690     #---------SVC4168-----------------------------
 
2691     # %1 - Tosca function
 
2692     # %2 - Referred input schema
 
2693     # %3 - Selected property schema
 
2694     TOSCA_GET_FUNCTION_SCHEMA_DIVERGE: {
 
2696         message: "Could not set %1. Referred input schema '%2' diverges from the selected property schema '%3'.",
 
2697         messageId: "SVC4168"
 
2700     #---------SVC4169-----------------------------
 
2701     # %1 - Property type (property|input|attribute)
 
2702     # %1 - Property name
 
2703     # %2 - Property origin
 
2704     TOSCA_GET_FUNCTION_PROPERTY_NOT_FOUND: {
 
2706         message: "The given %1 '%2' was not found on '%3'.",
 
2707         messageId: "SVC4169"
 
2710     #---------SVC4170-----------------------------
 
2711     # %1 - Property type (property|input|attribute)
 
2712     # %2 - Property name/path
 
2713     # %3 - Property data type
 
2714     TOSCA_GET_FUNCTION_PROPERTY_DATA_TYPE_NOT_FOUND: {
 
2716         message: "The %1 '%2' type '%3' was not found.",
 
2717         messageId: "SVC4170"