Michael Lando | b3d4898 | 2017-06-11 14:22:02 +0300 | [diff] [blame] | 1 | # Errors |
| 2 | errors: |
| 3 | OK: { |
| 4 | code: 200, |
| 5 | message: "OK" |
| 6 | } |
| 7 | CREATED: { |
| 8 | code: 201, |
| 9 | message: "OK" |
| 10 | } |
| 11 | NO_CONTENT: { |
| 12 | code: 204, |
| 13 | message: "No Content" |
| 14 | } |
| 15 | #--------POL4050----------------------------- |
| 16 | NOT_ALLOWED: { |
| 17 | code: 405, |
| 18 | message: "Error: Method not allowed.", |
| 19 | messageId: "POL4050" |
| 20 | } |
| 21 | #--------POL5000----------------------------- |
| 22 | GENERAL_ERROR: { |
| 23 | code: 500, |
| 24 | message: "Error: Internal Server Error. Please try again later.", |
| 25 | messageId: "POL5000" |
| 26 | } |
| 27 | #---------POL5001------------------------------ |
| 28 | MISSING_X_ECOMP_INSTANCE_ID: { |
| 29 | code: 400 , |
| 30 | message: "Error: Missing 'X-ECOMP-InstanceID' HTTP header.", |
| 31 | messageId: "POL5001" |
| 32 | } |
| 33 | #---------POL5002------------------------------ |
| 34 | AUTH_REQUIRED: { |
| 35 | code: 401 , |
| 36 | message: "Error: Authentication is required to use the API.", |
| 37 | messageId: "POL5002" |
| 38 | } |
| 39 | #---------POL5003------------------------------ |
| 40 | AUTH_FAILED: { |
| 41 | code: 403 , |
| 42 | message: "Error: Not authorized to use the API.", |
| 43 | messageId: "POL5003" |
| 44 | } |
| 45 | #---------POL5004------------------------------ |
| 46 | MISSING_USER_ID: { |
| 47 | code: 400 , |
| 48 | message: "Error: Missing 'USER_ID' HTTP header.", |
| 49 | messageId: "POL5004" |
| 50 | } |
| 51 | #---------SVC4000----------------------------- |
| 52 | INVALID_CONTENT: { |
| 53 | code: 400, |
| 54 | message: "Error: Invalid content.", |
| 55 | messageId: "SVC4000" |
| 56 | } |
| 57 | #---------SVC4002----------------------------- |
| 58 | MISSING_INFORMATION: { |
| 59 | code: 403, |
| 60 | message: "Error: Missing information.", |
| 61 | messageId: "SVC4002" |
| 62 | } |
| 63 | #---------SVC4003------------------------------ |
| 64 | # %1 - Users's ID |
| 65 | USER_NOT_FOUND: { |
| 66 | code: 404, |
| 67 | message: "Error: User '%1' was not found.", |
| 68 | messageId: "SVC4003" |
| 69 | } |
| 70 | #---------SVC4004----------------------------- |
| 71 | # %1 - Users's email address |
| 72 | INVALID_EMAIL_ADDRESS: { |
| 73 | code: 400, |
| 74 | message: "Error: Invalid email address '%1'.", |
| 75 | messageId: "SVC4004" |
| 76 | } |
| 77 | #---------SVC4005------------------------------ |
| 78 | # %1 - role |
| 79 | INVALID_ROLE: { |
| 80 | code: 400, |
| 81 | message: "Error: Invalid role '%1'.", |
| 82 | messageId: "SVC4005" |
| 83 | } |
| 84 | #---------SVC4006------------------------------ |
| 85 | # %1 - Users's USER_ID |
| 86 | USER_ALREADY_EXIST: { |
| 87 | code: 409, |
| 88 | message: "Error: User with '%1' ID already exists.", |
| 89 | messageId: "SVC4006" |
| 90 | } |
| 91 | #---------SVC4007------------------------------ |
| 92 | DELETE_USER_ADMIN_CONFLICT: { |
| 93 | code: 409, |
| 94 | message: "Error: An administrator can only be deleted by another administrator.", |
| 95 | messageId: "SVC4007" |
| 96 | } |
| 97 | #---------SVC4008----------------------------- |
| 98 | # %1 - Users's userId |
| 99 | INVALID_USER_ID: { |
| 100 | code: 400, |
| 101 | message: "Error: Invalid userId '%1'.", |
| 102 | messageId: "SVC4008" |
| 103 | } |
| 104 | #---------SVC4049------------------------------ |
| 105 | # %1 - service/resource |
| 106 | COMPONENT_MISSING_CONTACT: { |
| 107 | code: 400, |
| 108 | message: "Error: Invalid Content. Missing %1 contact.", |
| 109 | messageId: "SVC4049" |
| 110 | } |
| 111 | #---------SVC4050----------------------------- |
| 112 | # %1 - Service/Resource/Additional parameter |
| 113 | # %2 - service/resource/label name |
| 114 | COMPONENT_NAME_ALREADY_EXIST: { |
| 115 | code: 409, |
| 116 | message: "Error: %1 with name '%2' already exists.", |
| 117 | messageId: "SVC4050" |
| 118 | } |
| 119 | #---------SVC4051------------------------------ |
| 120 | # %1 - resource/service |
| 121 | COMPONENT_MISSING_CATEGORY: { |
| 122 | code: 400, |
| 123 | message: "Error: Invalid Content. Missing %1 category.", |
| 124 | messageId: "SVC4051" |
| 125 | } |
| 126 | |
| 127 | #---------SVC4052------------------------------ |
| 128 | COMPONENT_MISSING_TAGS: { |
| 129 | code: 400, |
| 130 | message: "Error: Invalid Content. At least one tag has to be specified.", |
| 131 | messageId: "SVC4052" |
| 132 | } |
| 133 | |
| 134 | #---------SVC4053------------------------------ |
| 135 | # %1 - service/resource |
| 136 | COMPONENT_MISSING_DESCRIPTION: { |
| 137 | code: 400, |
| 138 | message: "Error: Invalid Content. Missing %1 description.", |
| 139 | messageId: "SVC4053" |
| 140 | } |
| 141 | #---------SVC4054------------------------------ |
| 142 | # %1 - resource/service |
| 143 | COMPONENT_INVALID_CATEGORY: { |
| 144 | code: 400, |
| 145 | message: "Error: Invalid Content. Invalid %1 category.", |
| 146 | messageId: "SVC4054" |
| 147 | } |
| 148 | #---------SVC4055------------------------------ |
| 149 | MISSING_VENDOR_NAME: { |
| 150 | code: 400, |
| 151 | message: "Error: Invalid Content. Missing vendor name.", |
| 152 | messageId: "SVC4055" |
| 153 | } |
| 154 | #---------SVC4056------------------------------ |
| 155 | MISSING_VENDOR_RELEASE: { |
| 156 | code: 400, |
| 157 | message: "Error: Invalid Content. Missing vendor release.", |
| 158 | messageId: "SVC4056" |
| 159 | } |
| 160 | |
| 161 | #---------SVC4057------------------------------ |
| 162 | MISSING_DERIVED_FROM_TEMPLATE: { |
| 163 | code: 400, |
| 164 | message: "Error: Invalid Content. Missing derived from template specification.", |
| 165 | messageId: "SVC4057" |
| 166 | } |
| 167 | |
| 168 | #---------SVC4058------------------------------ |
| 169 | # %1 - service/resource |
| 170 | COMPONENT_MISSING_ICON: { |
| 171 | code: 400, |
| 172 | message: "Error: Invalid Content. Missing %1 icon.", |
| 173 | messageId: "SVC4058" |
| 174 | } |
| 175 | #---------SVC4059------------------------------ |
| 176 | # %1 - service/resource |
| 177 | COMPONENT_INVALID_ICON: { |
| 178 | code: 400, |
| 179 | message: "Error: Invalid Content. Invalid %1 icon.", |
| 180 | messageId: "SVC4059" |
| 181 | } |
| 182 | #---------SVC4060------------------------------ |
| 183 | PARENT_RESOURCE_NOT_FOUND: { |
| 184 | code: 400, |
| 185 | message: "Error: Invalid Content. Derived from resource template was not found.", |
| 186 | messageId: "SVC4060" |
| 187 | } |
| 188 | #---------SVC4061------------------------------ |
| 189 | MULTIPLE_PARENT_RESOURCE_FOUND: { |
| 190 | code: 400, |
| 191 | message: "Error: Invalid Content. Multiple derived from resource template is not allowed.", |
| 192 | messageId: "SVC4061" |
| 193 | } |
| 194 | |
| 195 | #---------SVC4062------------------------------ |
| 196 | # %1 - service/resource |
| 197 | MISSING_COMPONENT_NAME: { |
| 198 | code: 400, |
| 199 | message: "Error: Invalid Content. Missing %1 name.", |
| 200 | messageId: "SVC4062" |
| 201 | } |
| 202 | #---------SVC4063------------------------------ |
| 203 | #%1 - resource/service name |
| 204 | RESOURCE_NOT_FOUND: { |
| 205 | code: 404, |
| 206 | message: "Error: Requested '%1' resource was not found.", |
| 207 | messageId: "SVC4063" |
| 208 | } |
| 209 | |
| 210 | #---------SVC4064------------------------------ |
| 211 | # %1 - Service/Resource/Property |
| 212 | COMPONENT_INVALID_DESCRIPTION: { |
| 213 | code: 400, |
| 214 | message: "Error: Invalid Content. %1 description contains non-english characters.", |
| 215 | messageId: "SVC4064" |
| 216 | } |
| 217 | #---------SVC4065------------------------------ |
| 218 | # %1 - Service/Resource/Property |
| 219 | # %2 - max resource/service name length |
| 220 | COMPONENT_DESCRIPTION_EXCEEDS_LIMIT: { |
| 221 | code: 400, |
| 222 | message: "Error: Invalid Content. %1 description exceeds limit of %2 characters.", |
| 223 | messageId: "SVC4065" |
| 224 | } |
| 225 | #---------SVC4066------------------------------ |
| 226 | # %1 - max length |
| 227 | COMPONENT_TAGS_EXCEED_LIMIT: { |
| 228 | code: 400, |
| 229 | message: "Error: Invalid Content. Tags overall length exceeds limit of %1 characters.", |
| 230 | messageId: "SVC4066" |
| 231 | } |
| 232 | #---------SVC4067------------------------------ |
| 233 | # %1 - max length |
| 234 | VENDOR_NAME_EXCEEDS_LIMIT: { |
| 235 | code: 400, |
| 236 | message: "Error: Invalid Content. Vendor name exceeds limit of %1 characters.", |
| 237 | messageId: "SVC4067" |
| 238 | } |
| 239 | #---------SVC4068------------------------------ |
| 240 | # %1 - max length |
| 241 | VENDOR_RELEASE_EXCEEDS_LIMIT: { |
| 242 | code: 400, |
| 243 | message: "Error: Invalid Content. Vendor release exceeds limit of %1 characters.", |
| 244 | messageId: "SVC4068" |
| 245 | } |
| 246 | |
| 247 | #---------SVC4069------------------------------ |
| 248 | # %1 - Service/Resource/Product |
| 249 | COMPONENT_INVALID_CONTACT: { |
| 250 | code: 400, |
| 251 | 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", |
| 252 | messageId: "SVC4069" |
| 253 | } |
| 254 | #---------SVC4070------------------------------ |
| 255 | # %1 - Service/Resource |
| 256 | INVALID_COMPONENT_NAME: { |
| 257 | code: 400, |
| 258 | message: 'Error: Invalid Content. %1 name is not allowed to contain characters like <>:"\/|?* and space characters other than regular space.', |
| 259 | messageId: "SVC4070" |
| 260 | } |
| 261 | |
| 262 | #---------SVC4071------------------------------ |
| 263 | INVALID_VENDOR_NAME: { |
| 264 | code: 400, |
| 265 | message: 'Error: Invalid Content. Vendor name is not allowed to contain characters like <>:"\/|?* and space characters other than regular space.', |
| 266 | messageId: "SVC4071" |
| 267 | } |
| 268 | #---------SVC4072------------------------------ |
| 269 | INVALID_VENDOR_RELEASE: { |
| 270 | code: 400, |
| 271 | message: 'Error: Invalid Content. Vendor release is not allowed to contain characters like <>:"\/|?* and space characters other than regular space.', |
| 272 | messageId: "SVC4072" |
| 273 | } |
| 274 | #---------SVC4073------------------------------ |
| 275 | # %1 - Service/Resource |
| 276 | # %2 - max resource/service name |
| 277 | COMPONENT_NAME_EXCEEDS_LIMIT: { |
| 278 | code: 400, |
| 279 | message: "Error: Invalid Content. %1 name exceeds limit of %2 characters.", |
| 280 | messageId: "SVC4073" |
| 281 | } |
| 282 | #---------SVC4080------------------------------ |
| 283 | # %1 - resource/service name |
| 284 | # %2 - resource/service |
| 285 | # %3 - First name of last modifier |
| 286 | # %4 - Last name of last modifier |
| 287 | # %5 - USER_ID of last modifier |
| 288 | COMPONENT_IN_CHECKOUT_STATE: { |
| 289 | code: 403, |
| 290 | message: "Error: Requested '%1' %2 is locked for modification by %3 %4(%5).", |
| 291 | messageId: "SVC4080" |
| 292 | } |
| 293 | #---------SVC4081----------------------------- |
| 294 | # %1 - resource/service name |
| 295 | # %2 - resource/service |
| 296 | # %3 - First name of last modifier |
| 297 | # %4 - Last name of last modifier |
| 298 | # %5 - USER_ID of last modifier |
| 299 | COMPONENT_IN_CERT_IN_PROGRESS_STATE: { |
| 300 | code: 403, |
| 301 | message: "Error: Requested '%1' %2 is locked for certification by %3 %4(%5).", |
| 302 | messageId: "SVC4081" |
| 303 | } |
| 304 | |
| 305 | #-----------SVC4082--------------------------- |
| 306 | # %1 - resource/service name |
| 307 | # %2 - resource/service |
| 308 | # %3 - First name of last modifier |
| 309 | # %4 - Last name of last modifier |
| 310 | # %5 - USER_ID of last modifier |
| 311 | COMPONENT_SENT_FOR_CERTIFICATION: { |
| 312 | code: 403, |
| 313 | message: "Error: Requested '%1' %2 is sent for certification by %3 %4(%5).", |
| 314 | messageId: "SVC4082" |
| 315 | } |
| 316 | #-----------SVC4083--------------------------- |
| 317 | COMPONENT_VERSION_ALREADY_EXIST: { |
| 318 | code: 409, |
| 319 | message: "Error: Version of this %1 was already promoted.", |
| 320 | messageId: "SVC4083" |
| 321 | } |
| 322 | #-----------SVC4084--------------------------- |
| 323 | # %1 - resource/service/product name |
| 324 | # %2 - resource/service/product |
| 325 | # %3 - First name of last modifier |
| 326 | # %4 - Last name of last modifier |
| 327 | # %5 - USER_ID of last modifier |
| 328 | COMPONENT_ALREADY_CHECKED_IN: { |
| 329 | code: 409, |
| 330 | message: "Error: The current version of '%1' %2 was already checked-in by %3 %4(%5).", |
| 331 | messageId: "SVC4084" |
| 332 | } |
| 333 | #-----------SVC4085--------------------------- |
| 334 | # %1 - resource/service/product name |
| 335 | # %2 - resource/service/product |
| 336 | # %3 - First name of last modifier |
| 337 | # %4 - Last name of last modifier |
| 338 | # %5 - USER_ID of last modifier |
| 339 | COMPONENT_CHECKOUT_BY_ANOTHER_USER: { |
| 340 | code: 403, |
| 341 | message: "Error: %1 %2 has already been checked out by %3 %4(%5).", |
| 342 | messageId: "SVC4085" |
| 343 | } |
| 344 | #-----------SVC4086--------------------------- |
| 345 | # %1 - resource/service name |
| 346 | # %2 - resource/service |
| 347 | COMPONENT_IN_USE: { |
| 348 | code: 403, |
| 349 | message: "Error: Requested '%1' %2 is in use by another user.", |
| 350 | messageId: "SVC4086" |
| 351 | } |
| 352 | #-----------SVC4087--------------------------- |
| 353 | # %1 - component name |
| 354 | # %2 - resource/service/product |
| 355 | COMPONENT_HAS_NEWER_VERSION: { |
| 356 | code: 409, |
| 357 | message: "Error: Checking out of the requested version of the '%1' %2 is not allowed as a newer version exists.", |
| 358 | messageId: "SVC4087" |
| 359 | } |
| 360 | #-----------SVC4088--------------------------- |
| 361 | # %1 - resource/service name |
| 362 | # %2 - resource/service |
| 363 | # %3 - First name of last modifier |
| 364 | # %4 - Last name of last modifier |
| 365 | # %5 - USER_ID of last modifier |
| 366 | COMPONENT_ALREADY_CERTIFIED: { |
| 367 | code: 403, |
| 368 | message: "Error: Requested %1 %2 has already been certified by %3 %4(%5).", |
| 369 | messageId: "SVC4088" |
| 370 | } |
| 371 | #-----------SVC4089--------------------------- |
| 372 | # %1 - resource/service name |
| 373 | # %2 - resource/service |
| 374 | COMPONENT_NOT_READY_FOR_CERTIFICATION: { |
| 375 | code: 403, |
| 376 | message: "Error: Requested '%1' %2 is not ready for certification.", |
| 377 | messageId: "SVC4089" |
| 378 | } |
| 379 | #-----------SVC4100--------------------------- |
| 380 | #%1 - property name |
| 381 | PROPERTY_NOT_FOUND: { |
| 382 | code: 404, |
| 383 | message: "Error: Requested '%1' property was not found.", |
| 384 | messageId: "SVC4100" |
| 385 | } |
| 386 | #-----------SVC4101--------------------------- |
| 387 | #%1 - property name |
| 388 | PROPERTY_ALREADY_EXIST: { |
| 389 | code: 409, |
| 390 | message: "Error: Property with '%1' name already exists.", |
| 391 | messageId: "SVC4101" |
| 392 | } |
| 393 | |
| 394 | #-----------SVC4102--------------------------- |
| 395 | # %1 - capability type name |
| 396 | CAPABILITY_TYPE_ALREADY_EXIST: { |
| 397 | code: 409, |
| 398 | message: "Error: Capability Type with name '%1' already exists.", |
| 399 | messageId: "SVC4102" |
| 400 | } |
| 401 | #-----------SVC4114--------------------------- |
| 402 | AUTH_FAILED_INVALIDE_HEADER: { |
| 403 | code: 400, |
| 404 | message: "Error: Invalid Authorization header.", |
| 405 | messageId: "SVC4114" |
| 406 | } |
| 407 | #-----------SVC4115--------------------------- |
| 408 | # %1 - capability type name |
| 409 | MISSING_CAPABILITY_TYPE: { |
| 410 | code: 400, |
| 411 | message: "Error: Invalid Content. Missing Capability Type '%1'.", |
| 412 | messageId: "SVC4115" |
| 413 | } |
| 414 | RESOURCE_INSTANCE_BAD_REQUEST: { |
| 415 | code: 400, |
| 416 | message: "Error: Invalid Content.", |
| 417 | messageId: "SVC4116" |
| 418 | } |
| 419 | #-----------SVC4117--------------------------- |
| 420 | # %1 - resource instance name |
| 421 | # %2 - resource instance name |
| 422 | # %3 - requirement name |
| 423 | RESOURCE_INSTANCE_MATCH_NOT_FOUND: { |
| 424 | code: 404, |
| 425 | message: "Error: Match not found between resource instance '%1' and resource instance '%2' for requirement '%3'.", |
| 426 | messageId: "SVC4117" |
| 427 | } |
| 428 | #-----------SVC4118--------------------------- |
| 429 | # %1 - resource instance name |
| 430 | # %2 - resource instance name |
| 431 | # %3 - requirement name |
| 432 | RESOURCE_INSTANCE_ALREADY_EXIST: { |
| 433 | code: 409, |
| 434 | message: "Error: Resource instances '%1' and '%2' are already associated with requirement '%3'.", |
| 435 | messageId: "SVC4118" |
| 436 | } |
| 437 | #-----------SVC4119--------------------------- |
| 438 | # %1 - resource instance name |
| 439 | # %2 - resource instance name |
| 440 | # %3 - requirement name |
| 441 | RESOURCE_INSTANCE_RELATION_NOT_FOUND: { |
| 442 | code: 404, |
| 443 | message: "Error: No relation found between resource instances '%1' and '%2' for requirement '%3'.", |
| 444 | messageId: "SVC4119" |
| 445 | } |
| 446 | #-----------SVC4120--------------------------- |
| 447 | # %1 - User's USER_ID |
| 448 | USER_INACTIVE: { |
| 449 | code: 404, |
| 450 | message: "Error: User %1 was not found.", |
| 451 | messageId: "SVC4120" |
| 452 | } |
| 453 | #-----------SVC4121--------------------------- |
| 454 | # %1 - User's USER_ID |
| 455 | USER_HAS_ACTIVE_ELEMENTS: { |
| 456 | code: 403, |
| 457 | message: "Error: User with %1 ID can not be deleted since it has active elements(resources/services/artifacts).", |
| 458 | messageId: "SVC4121" |
| 459 | } |
| 460 | #-----------SVC4122--------------------------- |
| 461 | # %1 - artifact type |
| 462 | ARTIFACT_TYPE_NOT_SUPPORTED: { |
| 463 | code: 400, |
| 464 | message: "Error: Invalid artifact type '%1'.", |
| 465 | messageId: "SVC4122" |
| 466 | } |
| 467 | #-----------SVC4123--------------------------- |
| 468 | ARTIFACT_LOGICAL_NAME_CANNOT_BE_CHANGED: { |
| 469 | code: 400, |
| 470 | message: "Error: Artifact logical name cannot be changed.", |
| 471 | messageId: "SVC4123" |
| 472 | } |
| 473 | #-----------SVC4124--------------------------- |
| 474 | MISSING_ARTIFACT_TYPE: { |
| 475 | code: 400, |
| 476 | message: "Error: Missing artifact type.", |
| 477 | messageId: "SVC4124" |
| 478 | } |
| 479 | #-----------SVC4125--------------------------- |
| 480 | # %1-artifact name |
| 481 | ARTIFACT_EXIST: { |
| 482 | code: 400, |
| 483 | message: "Error: Artifact '%1' already exists.", |
| 484 | messageId: "SVC4125" |
| 485 | } |
| 486 | #---------SVC4126------------------------------ |
| 487 | # %1 - resource/service/product/... |
| 488 | # %2 - field (tag, vendor name...) |
| 489 | INVALID_FIELD_FORMAT: { |
| 490 | code: 400, |
| 491 | message: "Error: Invalid %1 %2 format.", |
| 492 | messageId: "SVC4126" |
| 493 | } |
| 494 | #-----------SVC4127--------------------------- |
| 495 | ARTIFACT_INVALID_MD5: { |
| 496 | code: 400, |
| 497 | message: "Error: Invalid artifact checksum.", |
| 498 | messageId: "SVC4127" |
| 499 | } |
| 500 | #-----------SVC4128--------------------------- |
| 501 | MISSING_ARTIFACT_NAME: { |
| 502 | code: 400, |
| 503 | message: "Error: Invalid content. Missing artifact name.", |
| 504 | messageId: "SVC4128" |
| 505 | } |
| 506 | #-----------SVC4129--------------------------- |
| 507 | MISSING_PROJECT_CODE: { |
| 508 | code: 400, |
| 509 | message: "Error: Invalid Content. Missing PROJECT_CODE number.", |
| 510 | messageId: "SVC4129" |
| 511 | } |
| 512 | #-----------SVC4130--------------------------- |
| 513 | INVALID_PROJECT_CODE: { |
| 514 | code: 400, |
| 515 | message: "Error: Invalid Content. PROJECT_CODE must be from 3 up to 50 characters.", |
| 516 | messageId: "SVC4130" |
| 517 | } |
| 518 | #-----------SVC4131--------------------------- |
| 519 | # %1-resource/service |
| 520 | # %2-srtifact/artifacts |
| 521 | # %3-semicolomn separated list of artifact |
| 522 | COMPONENT_MISSING_MANDATORY_ARTIFACTS: { |
| 523 | code: 403, |
| 524 | message: "Error: Missing mandatory informational %1 %2: [%3].", |
| 525 | messageId: "SVC4131" |
| 526 | } |
| 527 | #-----------SVC4132--------------------------- |
| 528 | # %1 - lifecycle type name |
| 529 | LIFECYCLE_TYPE_ALREADY_EXIST: { |
| 530 | code: 409, |
| 531 | message: "Error: Lifecycle Type with name '%1' already exists.", |
| 532 | messageId: "SVC4132" |
| 533 | } |
| 534 | #-----------SVC4133--------------------------- |
| 535 | # %1 - service version |
| 536 | # %2 - service name |
| 537 | SERVICE_NOT_AVAILABLE_FOR_DISTRIBUTION: { |
| 538 | code: 403, |
| 539 | message: "Error: Version %1 of '%2' service is not available for distribution.", |
| 540 | messageId: "SVC4133" |
| 541 | } |
| 542 | #-----------SVC4134--------------------------- |
| 543 | MISSING_LIFECYCLE_TYPE: { |
| 544 | code: 400, |
| 545 | message: "Error: Invalid Content. Missing interface life-cycle type.", |
| 546 | messageId: "SVC4134" |
| 547 | } |
| 548 | #---------SVC4135------------------------------ |
| 549 | SERVICE_CATEGORY_CANNOT_BE_CHANGED: { |
| 550 | code: 400, |
| 551 | message: "Error: Service category cannot be changed once the service is certified.", |
| 552 | messageId: "SVC4135" |
| 553 | } |
| 554 | #---------SVC4136------------------------------ |
| 555 | # %1 - distribution environment name |
| 556 | DISTRIBUTION_ENVIRONMENT_NOT_AVAILABLE: { |
| 557 | code: 500, |
| 558 | message: "Error: Requested distribution environment '%1' is not available.", |
| 559 | messageId: "SVC4136" |
| 560 | } |
| 561 | #---------SVC4137------------------------------ |
| 562 | # %1 - distribution environment name |
| 563 | DISTRIBUTION_ENVIRONMENT_NOT_FOUND: { |
| 564 | code: 400, |
| 565 | message: "Error: Requested distribution environment '%1' was not found.", |
| 566 | messageId: "SVC4137" |
| 567 | } |
| 568 | #---------SVC4138------------------------------ |
| 569 | DISTRIBUTION_ENVIRONMENT_INVALID: { |
| 570 | code: 400, |
| 571 | message: "Error: Invalid distribution environment.", |
| 572 | messageId: "SVC4138" |
| 573 | } |
| 574 | #---------SVC4139------------------------------ |
| 575 | # %1 - service name |
| 576 | DISTRIBUTION_ARTIFACT_NOT_FOUND: { |
| 577 | code: 409, |
| 578 | message: "Error: Service '%1' cannot be distributed due to missing deployment artifacts.", |
| 579 | messageId: "SVC4139" |
| 580 | } |
| 581 | #---------SVC4200------------------------------ |
| 582 | # %1 - Service/Resource |
| 583 | # %2 - max icon name length |
| 584 | COMPONENT_ICON_EXCEEDS_LIMIT: { |
| 585 | code: 400, |
| 586 | message: "Error: Invalid Content. %1 icon name exceeds limit of %2 characters.", |
| 587 | messageId: "SVC4200" |
| 588 | } |
| 589 | #---------SVC4300------------------------------ |
| 590 | RESTRICTED_ACCESS: { |
| 591 | code: 403, |
| 592 | message: "Error: Restricted access.", |
| 593 | messageId: "SVC4300" |
| 594 | } |
| 595 | #---------SVC4301------------------------------ |
| 596 | RESTRICTED_OPERATION: { |
| 597 | code: 409, |
| 598 | message: "Error: Restricted operation.", |
| 599 | messageId: "SVC4301" |
| 600 | } |
| 601 | #---------SVC4500------------------------------ |
| 602 | MISSING_BODY: { |
| 603 | code: 400 , |
| 604 | message: "Error: Missing request body.", |
| 605 | messageId: "SVC4500" |
| 606 | } |
| 607 | #---------SVC4501------------------------------ |
| 608 | MISSING_PUBLIC_KEY: { |
| 609 | code: 400 , |
| 610 | message: "Error: Invalid Content. Missing mandatory parameter 'apiPublicKey'." , |
| 611 | messageId: "SVC4501" |
| 612 | } |
| 613 | #---------SVC4502------------------------------ |
| 614 | DISTRIBUTION_ENV_DOES_NOT_EXIST: { |
| 615 | code: 400 , |
| 616 | message: "Error: Invalid Body : Missing mandatory parameter 'distrEnvName'." , |
| 617 | messageId: "SVC4502" |
| 618 | } |
| 619 | #-----------SVC4503--------------------------- |
| 620 | # %1 - service name |
| 621 | SERVICE_NOT_FOUND: { |
| 622 | code: 404, |
| 623 | message: "Error: Requested '%1' service was not found.", |
| 624 | messageId: "SVC4503" |
| 625 | } |
| 626 | |
| 627 | #---------SVC4504------------------------------ |
| 628 | # %1 - Service/Resource |
| 629 | # %2 - service/resource version |
| 630 | COMPONENT_VERSION_NOT_FOUND: { |
| 631 | code: 404, |
| 632 | message: "Error: %1 version %2 was not found.", |
| 633 | messageId: "SVC4504" |
| 634 | } |
| 635 | #-----------SVC4505--------------------------- |
| 636 | #%1-artifact name |
| 637 | |
| 638 | ARTIFACT_NOT_FOUND: { |
| 639 | code: 404, |
| 640 | message: "Error: Artifact '%1' was not found.", |
| 641 | messageId: "SVC4505" |
| 642 | } |
| 643 | #---------SVC4506------------------------------ |
| 644 | MISSING_ENV_NAME: { |
| 645 | code: 400 , |
| 646 | message: "Error: Invalid Content. Missing mandatory parameter 'distrEnvName'.", |
| 647 | messageId: "SVC4506" |
| 648 | } |
| 649 | #---------SVC4507------------------------------ |
| 650 | COMPONENT_INVALID_TAGS_NO_COMP_NAME: { |
| 651 | code: 400, |
| 652 | message: "Error: Invalid Content. One of the tags should be the component name.", |
| 653 | messageId: "SVC4507" |
| 654 | } |
| 655 | |
| 656 | #---------SVC4508------------------------------ |
| 657 | SERVICE_NAME_CANNOT_BE_CHANGED: { |
| 658 | code: 400, |
| 659 | message: "Error: Service name cannot be changed once the service is certified.", |
| 660 | messageId: "SVC4508" |
| 661 | } |
| 662 | |
| 663 | #---------SVC4509------------------------------ |
| 664 | SERVICE_ICON_CANNOT_BE_CHANGED: { |
| 665 | code: 400, |
| 666 | message: "Error: Icon cannot be changed once the service is certified.", |
| 667 | messageId: "SVC4509" |
| 668 | } |
| 669 | #---------SVC4510------------------------------ |
| 670 | # %1 - icon name max length |
| 671 | SERVICE_ICON_EXCEEDS_LIMIT: { |
| 672 | code: 400, |
| 673 | message: "Error: Invalid Content. Icon name exceeds limit of %1 characters.", |
| 674 | messageId: "SVC4510" |
| 675 | } |
| 676 | #---------SVC4511------------------------------ |
| 677 | DISTRIBUTION_REQUESTED_NOT_FOUND: { |
| 678 | code: 404, |
| 679 | message: "Error: Requested distribution was not found.", |
| 680 | messageId: "SVC4511" |
| 681 | } |
| 682 | #---------SVC4512------------------------------ |
| 683 | # %1 - Distribution ID |
| 684 | DISTRIBUTION_REQUESTED_FAILED: { |
| 685 | code: 403, |
| 686 | message: "Error: Requested distribution '%1' failed.", |
| 687 | messageId: "SVC4512" |
| 688 | } |
| 689 | #---------SVC4513------------------------------ |
| 690 | RESOURCE_CATEGORY_CANNOT_BE_CHANGED: { |
| 691 | code: 400, |
| 692 | message: "Error: Resource category cannot be changed once the resource is certified.", |
| 693 | messageId: "SVC4513" |
| 694 | } |
| 695 | #---------SVC4514------------------------------ |
| 696 | RESOURCE_NAME_CANNOT_BE_CHANGED: { |
| 697 | code: 400, |
| 698 | message: "Error: Resource name cannot be changed once the resource is certified.", |
| 699 | messageId: "SVC4514" |
| 700 | } |
| 701 | #---------SVC4515------------------------------ |
| 702 | RESOURCE_ICON_CANNOT_BE_CHANGED: { |
| 703 | code: 400, |
| 704 | message: "Error: Icon cannot be changed once the resource is certified.", |
| 705 | messageId: "SVC4515" |
| 706 | } |
| 707 | #---------SVC4516------------------------------ |
| 708 | RESOURCE_VENDOR_NAME_CANNOT_BE_CHANGED: { |
| 709 | code: 400, |
| 710 | message: "Error: Vendor name cannot be changed once the resource is certified.", |
| 711 | messageId: "SVC4516" |
| 712 | } |
| 713 | #---------SVC4517------------------------------ |
| 714 | RESOURCE_DERIVED_FROM_CANNOT_BE_CHANGED: { |
| 715 | code: 400, |
| 716 | message: "Error: Derived from resource template cannot be changed once the resource is certified.", |
| 717 | messageId: "SVC4517" |
| 718 | } |
| 719 | #---------SVC4518------------------------------ |
| 720 | # %1 - max length |
| 721 | COMPONENT_SINGLE_TAG_EXCEED_LIMIT: { |
| 722 | code: 400, |
| 723 | message: "Error: Invalid Content. Single tag exceeds limit of %1 characters.", |
| 724 | messageId: "SVC4518" |
| 725 | } |
| 726 | #---------SVC4519------------------------------ |
| 727 | INVALID_DEFAULT_VALUE: { |
| 728 | code: 400, |
| 729 | message: "Error: mismatch in data-type occurred for property %1. data type is %2 and default value found is %3.", |
| 730 | messageId: "SVC4519" |
| 731 | } |
| 732 | #---------SVC4520------------------------------ |
| 733 | # %1 - service or resource |
| 734 | ADDITIONAL_INFORMATION_MAX_NUMBER_REACHED: { |
| 735 | code: 409, |
| 736 | message: "Error: Maximal number of additional %1 parameters was reached.", |
| 737 | messageId: "SVC4520" |
| 738 | } |
| 739 | #---------SVC4521------------------------------ |
| 740 | ADDITIONAL_INFORMATION_EMPTY_STRING_NOT_ALLOWED: { |
| 741 | code: 400, |
| 742 | message: "Error: Invalid Content. The Additional information label and value cannot be empty.", |
| 743 | messageId: "SVC4521" |
| 744 | } |
| 745 | #---------SVC4522------------------------------ |
| 746 | # %1 - label/value |
| 747 | # %2 - Maximal length of %1 |
| 748 | ADDITIONAL_INFORMATION_EXCEEDS_LIMIT: { |
| 749 | code: 400, |
| 750 | message: "Error: Invalid Content. Additional information %1 exceeds limit of %2 characters.", |
| 751 | messageId: "SVC4522" |
| 752 | } |
| 753 | #---------SVC4523------------------------------ |
| 754 | ADDITIONAL_INFORMATION_KEY_NOT_ALLOWED_CHARACTERS: { |
| 755 | code: 400, |
| 756 | message: 'Error: Invalid Content. Additional information label is not allowed to contain characters like <>:"\/|?* and space characters other than regular space.', |
| 757 | messageId: "SVC4523" |
| 758 | } |
| 759 | #---------SVC4524------------------------------ |
| 760 | ADDITIONAL_INFORMATION_NOT_FOUND: { |
| 761 | code: 409, |
| 762 | message: "Error: Requested additional information was not found.", |
| 763 | messageId: "SVC4524" |
| 764 | } |
| 765 | #---------SVC4525------------------------------ |
| 766 | ADDITIONAL_INFORMATION_VALUE_NOT_ALLOWED_CHARACTERS: { |
| 767 | code: 400, |
| 768 | message: 'Error: Invalid Content. Additional information contains non-english characters.', |
| 769 | messageId: "SVC4525" |
| 770 | } |
| 771 | #---------SVC4526------------------------------ |
| 772 | RESOURCE_INSTANCE_NOT_FOUND: { |
| 773 | code: 404, |
| 774 | message: "Error: Requested '%1' resource instance was not found.", |
| 775 | messageId: "SVC4526" |
| 776 | } |
| 777 | #---------SVC4527------------------------------ |
| 778 | ASDC_VERSION_NOT_FOUND: { |
| 779 | code: 500, |
| 780 | message: 'Error: ASDC version cannot be displayed.', |
| 781 | messageId: "SVC4527" |
| 782 | } |
| 783 | #---------SVC4528------------------------------ |
| 784 | # %1-artifact url/artifact label/artifact description/VNF Service Indicator |
| 785 | MISSING_DATA: { |
| 786 | code: 400, |
| 787 | message: "Error: Invalid content. Missing %1.", |
| 788 | messageId: "SVC4528" |
| 789 | } |
| 790 | #---------SVC4529------------------------------ |
| 791 | # %1-artifact url/artifact label/artifact description/artifact name |
| 792 | # %2 - Maximal length of %1 |
| 793 | EXCEEDS_LIMIT: { |
| 794 | code: 400, |
| 795 | message: "Error: Invalid Content. %1 exceeds limit of %2 characters.", |
| 796 | messageId: "SVC4529" |
| 797 | } |
| 798 | #---------SVC4530------------------------------ |
| 799 | ARTIFACT_INVALID_TIMEOUT: { |
| 800 | code: 400, |
| 801 | message: "Error: Invalid Content. Artifact Timeout should be set to valid positive non-zero number of minutes.", |
| 802 | messageId: "SVC4530" |
| 803 | } |
| 804 | #---------SVC4531------------------------------ |
| 805 | SERVICE_IS_VNF_CANNOT_BE_CHANGED: { |
| 806 | code: 400, |
| 807 | message: "Error: VNF Indicator cannot be updated for certified service.", |
| 808 | messageId: "SVC4531" |
| 809 | } |
| 810 | #---------SVC4532------------------------------ |
| 811 | RESOURCE_INSTANCE_NOT_FOUND_ON_SERVICE: { |
| 812 | code: 404, |
| 813 | message: "Error: Requested '%1' resource instance was not found on the service '%2.", |
| 814 | messageId: "SVC4532" |
| 815 | } |
| 816 | #---------SVC4533------------------------------ |
| 817 | # %1 - "HEAT"/"HEAT_ENV"/"MURANO_PKG"/"YANG_XML" |
| 818 | WRONG_ARTIFACT_FILE_EXTENSION: { |
| 819 | code: 400, |
| 820 | message: "Error: Invalid file extension for %1 artifact type.", |
| 821 | messageId: "SVC4533" |
| 822 | } |
| 823 | |
| 824 | #---------SVC4534------------------------------ |
| 825 | # %1 - "HEAT"/"HEAT_ENV" |
| 826 | INVALID_YAML: { |
| 827 | code: 400, |
| 828 | message: "Error: Uploaded YAML file for %1 artifact is invalid.", |
| 829 | messageId: "SVC4534" |
| 830 | } |
| 831 | |
| 832 | #---------SVC4535------------------------------ |
| 833 | # %1 - "HEAT" |
| 834 | INVALID_DEPLOYMENT_ARTIFACT_HEAT: { |
| 835 | code: 400, |
| 836 | message: "Error: Invalid %1 artifact.", |
| 837 | messageId: "SVC4535" |
| 838 | } |
| 839 | #---------SVC4536------------------------------ |
| 840 | # %1 - "Resource"/"Service" |
| 841 | # %2 - resource/service name |
| 842 | # %3 - "HEAT"/"HEAT_ENV"/"MURANO_PKG" |
| 843 | # %4 - "HEAT"/"HEAT_ENV"/"MURANO_PKG |
| 844 | DEPLOYMENT_ARTIFACT_OF_TYPE_ALREADY_EXISTS: { |
| 845 | code: 400, |
| 846 | message: "Error: %1 '%2' already has a deployment artifact of %3 type .Please delete or update an existing %4 artifact.", |
| 847 | messageId: "SVC4536" |
| 848 | } |
| 849 | |
| 850 | #---------SVC4537------------------------------ |
| 851 | MISSING_HEAT: { |
| 852 | code: 400, |
| 853 | message: "Error: Missing HEAT artifact. HEAT_ENV artifact cannot be uploaded without corresponding HEAT template.", |
| 854 | messageId: "SVC4537" |
| 855 | } |
| 856 | #---------SVC4538------------------------------ |
| 857 | MISMATCH_HEAT_VS_HEAT_ENV: { |
| 858 | code: 400, |
| 859 | message: "Error: Invalid artifact content. Parameter's set in HEAT_ENV '%1' artifact doesn't match the parameters in HEAT '%2' artifact.", |
| 860 | messageId: "SVC4538" |
| 861 | } |
| 862 | #---------SVC4539------------------------------ |
| 863 | INVALID_RESOURCE_PAYLOAD: { |
| 864 | code: 400, |
| 865 | message: "Error: Invalid resource payload.", |
| 866 | messageId: "SVC4539" |
| 867 | } |
| 868 | #---------SVC4540------------------------------ |
| 869 | INVALID_TOSCA_FILE_EXTENSION: { |
| 870 | code: 400, |
| 871 | message: "Error: Invalid file extension for TOSCA template.", |
| 872 | messageId: "SVC4540" |
| 873 | } |
| 874 | #---------SVC4541------------------------------ |
| 875 | INVALID_YAML_FILE: { |
| 876 | code: 400, |
| 877 | message: "Error: Invalid YAML file.", |
| 878 | messageId: "SVC4541" |
| 879 | } |
| 880 | #---------SVC4542------------------------------ |
| 881 | INVALID_TOSCA_TEMPLATE: { |
| 882 | code: 400, |
| 883 | message: "Error: Invalid TOSCA template.", |
| 884 | messageId: "SVC4542" |
| 885 | } |
| 886 | #---------SVC4543------------------------------ |
| 887 | NOT_RESOURCE_TOSCA_TEMPLATE: { |
| 888 | code: 400, |
| 889 | message: "Error: Imported Service TOSCA template.", |
| 890 | messageId: "SVC4543" |
| 891 | } |
| 892 | #---------SVC4544------------------------------ |
| 893 | NOT_SINGLE_RESOURCE: { |
| 894 | code: 400, |
| 895 | message: "Error: Imported TOSCA template should contain one resource definition.", |
| 896 | messageId: "SVC4544" |
| 897 | } |
| 898 | #---------SVC4545------------------------------ |
| 899 | INVALID_RESOURCE_NAMESPACE: { |
| 900 | code: 400, |
| 901 | message: "Error: Invalid resource namespace.", |
| 902 | messageId: "SVC4545" |
| 903 | } |
| 904 | #---------SVC4546------------------------------ |
| 905 | RESOURCE_ALREADY_EXISTS: { |
| 906 | code: 400, |
| 907 | message: "Error: Imported resource already exists in ASDC Catalog.", |
| 908 | messageId: "SVC4546" |
| 909 | } |
| 910 | #---------SVC4549------------------------------ |
| 911 | INVALID_RESOURCE_CHECKSUM: { |
| 912 | code: 400, |
| 913 | message: "Error: Invalid resource checksum.", |
| 914 | messageId: "SVC4549" |
| 915 | } |
| 916 | #---------SVC4550------------------------------ |
| 917 | #%1 - Consumer salt |
| 918 | INVALID_LENGTH: { |
| 919 | code: 400, |
| 920 | message: "Error: Invalid %1 length.", |
| 921 | messageId: "SVC4550" |
| 922 | } |
| 923 | #---------SVC4551------------------------------ |
| 924 | #%1 - ECOMP User name |
| 925 | ECOMP_USER_NOT_FOUND: { |
| 926 | code: 404, |
| 927 | message: "Error: ECOMP User '%1' was not found.", |
| 928 | messageId: "SVC4551" |
| 929 | } |
| 930 | #---------SVC4552------------------------------ |
| 931 | CONSUMER_ALREADY_EXISTS: { |
| 932 | code: 409, |
| 933 | message: "Error: ECOMP User already exists.", |
| 934 | messageId: "SVC4552" |
| 935 | } |
| 936 | #---------SVC4553----------------------------- |
| 937 | #%1 - Consumer name / Consumer password/ Consumer salt |
| 938 | INVALID_CONTENT_PARAM: { |
| 939 | code: 400, |
| 940 | message: "Error: %1 is invalid.", |
| 941 | messageId: "SVC4553" |
| 942 | } |
| 943 | #---------SVC4554------------------------------ |
| 944 | # %1 - "Resource"/"Service" |
| 945 | COMPONENT_ARTIFACT_NOT_FOUND: { |
| 946 | code: 404, |
| 947 | message: "Error: Requested artifact doesn't belong to specified %1.", |
| 948 | messageId: "SVC4554" |
| 949 | } |
| 950 | #---------SVC4554------------------------------ |
| 951 | # %1 - "Service name" |
| 952 | SERVICE_DEPLOYMENT_ARTIFACT_NOT_FOUND: { |
| 953 | code: 403, |
| 954 | message: "Error: Requested '%1' service is not ready for certification. Service has to have at least one deployment artifact.", |
| 955 | messageId: "SVC4554" |
| 956 | } |
| 957 | #---------SVC4555------------------------------ |
| 958 | #%1 - "Resource"/"Service"/"Product" |
| 959 | #%2 - "category" |
| 960 | COMPONENT_ELEMENT_INVALID_NAME_LENGTH: { |
| 961 | code: 400, |
| 962 | message: "Error: Invalid %1 %2 name length.", |
| 963 | messageId: "SVC4555" |
| 964 | } |
| 965 | #---------SVC4556------------------------------ |
| 966 | #%1 - "Resource"/"Service"/"Product" |
| 967 | #%2 - "category" |
| 968 | COMPONENT_ELEMENT_INVALID_NAME_FORMAT: { |
| 969 | code: 400, |
| 970 | message: "Error: Invalid %1 %2 name format.", |
| 971 | messageId: "SVC4556" |
| 972 | } |
| 973 | #---------SVC4557------------------------------ |
| 974 | #%1 - "Resource"/"Service"/"Product" |
| 975 | #%2 - "category name" |
| 976 | COMPONENT_CATEGORY_ALREADY_EXISTS: { |
| 977 | code: 409, |
| 978 | message: "Error: %1 category name '%2' already exists.", |
| 979 | messageId: "SVC4557" |
| 980 | } |
| 981 | #---------SVC4558------------------------------ |
| 982 | # %1 - "service"/"VF" |
| 983 | # %2 - "Resource name" |
| 984 | VALIDATED_RESOURCE_NOT_FOUND: { |
| 985 | code: 403, |
| 986 | message: "Error: Submit for Testing is not permitted as your '%1' includes non-validated '%2' resource.", |
| 987 | messageId: "SVC4558" |
| 988 | } |
| 989 | #---------SVC4559------------------------------ |
| 990 | # %1 - "service"/"VF" |
| 991 | # %2 - "Resource name" |
| 992 | FOUND_ALREADY_VALIDATED_RESOURCE: { |
| 993 | code: 403, |
| 994 | message: "Error: Submit for Testing is not permitted as your '%1' includes non-validated '%2' resource. Please use already available validated resource version.", |
| 995 | messageId: "SVC4559" |
| 996 | } |
| 997 | #---------SVC4560------------------------------ |
| 998 | # %1 - "service"/"VF" |
| 999 | # %2 - "Resource name" |
| 1000 | FOUND_LIST_VALIDATED_RESOURCES: { |
| 1001 | code: 403, |
| 1002 | message: "Error: Submit for Testing is not permitted as your '%1' includes non-validated '%2' resource. Please use one of available validated resource versions.", |
| 1003 | messageId: "SVC4560" |
| 1004 | } |
| 1005 | #---------SVC4561------------------------------ |
| 1006 | # %1 - "resource"/"product" |
| 1007 | # %2 - "category" |
| 1008 | # %3 - "category name" |
| 1009 | COMPONENT_CATEGORY_NOT_FOUND: { |
| 1010 | code: 404, |
| 1011 | message: "Error: Requested %1 %2 '%3' was not found.", |
| 1012 | messageId: "SVC4561" |
| 1013 | } |
| 1014 | #---------SVC4562------------------------------ |
| 1015 | # %1 - "Resource"/"Product" |
| 1016 | # %2 - "sub-category name" |
| 1017 | # %3 - "category name" |
| 1018 | COMPONENT_SUB_CATEGORY_EXISTS_FOR_CATEGORY: { |
| 1019 | code: 409, |
| 1020 | message: "Error: %1 sub-category '%2' already exists under '%3' category.", |
| 1021 | messageId: "SVC4562" |
| 1022 | } |
| 1023 | #---------SVC4563------------------------------ |
| 1024 | # %1 - "Product" |
| 1025 | # %2 - "grouping name" |
| 1026 | # %3 - "sub-category name" |
| 1027 | COMPONENT_GROUPING_EXISTS_FOR_SUB_CATEGORY: { |
| 1028 | code: 409, |
| 1029 | message: "Error: %1 grouping '%2' already exists under '%3' sub-category.", |
| 1030 | messageId: "SVC4563" |
| 1031 | } |
| 1032 | #---------SVC4564------------------------------ |
| 1033 | # %1 - product name |
| 1034 | PRODUCT_NOT_FOUND: { |
| 1035 | code: 404, |
| 1036 | message: "Error: Requested '%1' product was not found.", |
| 1037 | messageId: "SVC4564" |
| 1038 | } |
| 1039 | #---------SVC4565------------------------------ |
| 1040 | # %1 - "HEAT" |
| 1041 | # %2 - parameter type ("string" , "boolean" , "number") |
| 1042 | # %3 - parameter name |
| 1043 | INVALID_HEAT_PARAMETER_VALUE: { |
| 1044 | code: 400, |
| 1045 | message: "Error: Invalid %1 artifact. Invalid %2 value set for '%3' parameter.", |
| 1046 | messageId: "SVC4565" |
| 1047 | } |
| 1048 | #---------SVC4566------------------------------ |
| 1049 | # %1 - "HEAT" |
| 1050 | # %2 - parameter type ("string" , "boolean" , "number") |
| 1051 | INVALID_HEAT_PARAMETER_TYPE: { |
| 1052 | code: 400, |
| 1053 | message: "Error: Invalid %1 artifact. Unsupported '%2' parameter type.", |
| 1054 | messageId: "SVC4566" |
| 1055 | } |
| 1056 | #---------SVC4567------------------------------ |
| 1057 | # %1 - "YANG_XML" |
| 1058 | INVALID_XML: { |
| 1059 | code: 400, |
| 1060 | message: "Error: Uploaded XML file for %1 artifact is invalid.", |
| 1061 | messageId: "SVC4567" |
| 1062 | } |
| 1063 | #---------SVC4567------------------------------ |
| 1064 | # %1 - "User Name and UserId" |
| 1065 | # %2 -"checked-out"/"in-certification" |
| 1066 | CANNOT_DELETE_USER_WITH_ACTIVE_ELEMENTS: { |
| 1067 | code: 409, |
| 1068 | message: "Error: User cannot be deleted. User '%1' has %2 projects.", |
| 1069 | messageId: "SVC4567" |
| 1070 | } |
| 1071 | #---------SVC4568------------------------------ |
| 1072 | # %1 - "User Name and UserId" |
| 1073 | # %2 -"checked-out"/"in-certification" |
| 1074 | CANNOT_UPDATE_USER_WITH_ACTIVE_ELEMENTS: { |
| 1075 | code: 409, |
| 1076 | message: "Error: Role cannot be changed. User '%1' has %2 projects.", |
| 1077 | messageId: "SVC4568" |
| 1078 | } |
| 1079 | #---------SVC4570------------------------------ |
| 1080 | UPDATE_USER_ADMIN_CONFLICT: { |
| 1081 | code: 409, |
| 1082 | message: "Error: An administrator is not allowed to change his/her role.", |
| 1083 | messageId: "SVC4570" |
| 1084 | } |
| 1085 | #---------SVC4571------------------------------ |
| 1086 | SERVICE_CANNOT_CONTAIN_SUBCATEGORY: { |
| 1087 | code: 400, |
| 1088 | message: "Error: Sub category cannot be defined for service", |
| 1089 | messageId: "SVC4571" |
| 1090 | } |
| 1091 | #---------SVC4572------------------------------ |
| 1092 | # %1 - "Resource"/"Service" |
| 1093 | COMPONENT_TOO_MUCH_CATEGORIES: { |
| 1094 | code: 400, |
| 1095 | message: "Error: %1 must have only 1 category", |
| 1096 | messageId: "SVC4572" |
| 1097 | } |
| 1098 | #---------SVC4574------------------------------ |
| 1099 | RESOURCE_TOO_MUCH_SUBCATEGORIES: { |
| 1100 | code: 400, |
| 1101 | message: "Error: Resource must have only 1 sub category", |
| 1102 | messageId: "SVC4574" |
| 1103 | } |
| 1104 | #---------SVC4575------------------------------ |
| 1105 | COMPONENT_MISSING_SUBCATEGORY: { |
| 1106 | code: 400, |
| 1107 | message: "Error: Missing sub category", |
| 1108 | messageId: "SVC4575" |
| 1109 | } |
| 1110 | #---------SVC4576------------------------------ |
| 1111 | # %1 - "component type" |
| 1112 | UNSUPPORTED_ERROR: { |
| 1113 | code: 400, |
| 1114 | message: "Error : Requested component type %1 is unsupported.", |
| 1115 | messageId: "SVC4576" |
| 1116 | } |
| 1117 | #---------SVC4577------------------------------ |
| 1118 | # %1 - "resource type" |
| 1119 | RESOURCE_CANNOT_CONTAIN_RESOURCE_INSTANCES: { |
| 1120 | code: 409, |
| 1121 | message: "Error : Resource of type %1 cannot contain resource instances.", |
| 1122 | messageId: "SVC4577" |
| 1123 | } |
| 1124 | #---------SVC4578------------------------------ |
| 1125 | # %1 - "Resource"/"Service" |
| 1126 | # %2 - resource/service name |
| 1127 | # %3 - "artifact name" |
| 1128 | DEPLOYMENT_ARTIFACT_NAME_ALREADY_EXISTS: { |
| 1129 | code: 400, |
| 1130 | message: "Error: %1 '%2' already has a deployment artifact named '%3'.", |
| 1131 | messageId: "SVC4578" |
| 1132 | } |
| 1133 | #---------SVC4579------------------------------ |
| 1134 | # %1 - "Category"/"Sub-Category"/"Group" |
| 1135 | # %2 - category/sub-category/grouping name. |
| 1136 | INVALID_GROUP_ASSOCIATION: { |
| 1137 | code: 400, |
| 1138 | message: "Error: Invalid group association. %1 '%2' was not found.", |
| 1139 | messageId: "SVC4579" |
| 1140 | } |
| 1141 | #---------SVC4580------------------------------ |
| 1142 | EMPTY_PRODUCT_CONTACTS_LIST: { |
| 1143 | code: 400, |
| 1144 | message: "Error: Invalid content. At least one Product Contact has to be specified.", |
| 1145 | messageId: "SVC4580" |
| 1146 | } |
| 1147 | #---------SVC4581------------------------------ |
| 1148 | # %1 - UserId |
| 1149 | INVALID_PRODUCT_CONTACT: { |
| 1150 | code: 400, |
| 1151 | message: "Error: Invalid content. User '%1' cannot be set as Product Contact.", |
| 1152 | messageId: "SVC4581" |
| 1153 | } |
| 1154 | #---------SVC4582------------------------------ |
| 1155 | # %1 - Product |
| 1156 | # %2 - "abbreviated"/"full" |
| 1157 | MISSING_ONE_OF_COMPONENT_NAMES: { |
| 1158 | code: 400, |
| 1159 | message: "Error: Invalid content. Missing %1 %2 name.", |
| 1160 | messageId: "SVC4582" |
| 1161 | } |
| 1162 | #---------SVC4583------------------------------ |
| 1163 | # %1 - "Icon" |
| 1164 | # %2 - "resource"/"service"/"product" |
| 1165 | COMPONENT_PARAMETER_CANNOT_BE_CHANGED: { |
| 1166 | code: 400, |
| 1167 | message: "Error: %1 cannot be changed once the %2 is certified.", |
| 1168 | messageId: "SVC4583" |
| 1169 | } |
| 1170 | #---------SVC4584------------------------------ |
| 1171 | # %1 - service/VF name |
| 1172 | # %2 - "service" /"VF" |
| 1173 | # %3 - resource instance origin type |
| 1174 | # %4 - resource instance name |
| 1175 | # %5 - requirement/capability |
| 1176 | # %6 - requirement/capability name |
| 1177 | # %7 - "fulfilled" (for req)/"consumed (for cap)" |
| 1178 | REQ_CAP_NOT_SATISFIED_BEFORE_CERTIFICATION: { |
| 1179 | code: 403, |
| 1180 | message: "Error: Requested '%1' %2 is not ready for certification. %3 '%4' has to have %5 '%6' %7.", |
| 1181 | messageId: "SVC4584" |
| 1182 | } |
| 1183 | #---------SVC4585------------------------------ |
| 1184 | INVALID_OCCURRENCES: { |
| 1185 | code: 400, |
| 1186 | message: "Error: Invalid occurrences format.", |
| 1187 | messageId: "SVC4585" |
| 1188 | } |
| 1189 | #---------SVC4586------------------------------ |
| 1190 | #---------SVC4586------------------------------ |
| 1191 | INVALID_SERVICE_API_URL: { |
| 1192 | code: 400, |
| 1193 | message: 'Error: Invalid Service API URL. Please check whether your URL has a valid domain extension and does not contain the following characters - #?&@%+;,=$<>~^`\[]{}|"*!', |
| 1194 | messageId: "SVC4586" |
| 1195 | } |
| 1196 | #---------SVC4587------------------------------ |
| 1197 | # %1 - Data type name |
| 1198 | DATA_TYPE_ALREADY_EXIST: { |
| 1199 | code: 409, |
| 1200 | message: 'Error: Data type %1 already exists.', |
| 1201 | messageId: "SVC4587" |
| 1202 | } |
| 1203 | #---------SVC4588------------------------------ |
| 1204 | # %1 - Data type name |
| 1205 | DATA_TYPE_NOR_PROPERTIES_NEITHER_DERIVED_FROM: { |
| 1206 | code: 400, |
| 1207 | message: 'Error: Invalid Data type %1. Data type must have either a valid derived from declaration or at least one valid property', |
| 1208 | messageId: "SVC4588" |
| 1209 | } |
| 1210 | #---------SVC4589------------------------------ |
| 1211 | # %1 - Data type name |
| 1212 | DATA_TYPE_PROPERTIES_CANNOT_BE_EMPTY: { |
| 1213 | code: 400, |
| 1214 | message: "Error: Invalid Data type %1. 'properties' parameter cannot be empty if provided.", |
| 1215 | messageId: "SVC4589" |
| 1216 | } |
| 1217 | #---------SVC4590------------------------------ |
| 1218 | # %1 - Property type name |
| 1219 | # %2 - Property name |
| 1220 | INVALID_PROPERTY_TYPE: { |
| 1221 | code: 400, |
| 1222 | message: "Error: Invalid Property type %1 in property %2.", |
| 1223 | messageId: "SVC4590" |
| 1224 | } |
| 1225 | #---------SVC4591------------------------------ |
| 1226 | # %1 - Property inner type |
| 1227 | # %2 - Property name |
| 1228 | INVALID_PROPERTY_INNER_TYPE: { |
| 1229 | code: 400, |
| 1230 | message: "Error: Invalid property inner type %1, in property %2", |
| 1231 | messageId: "SVC4591" |
| 1232 | } |
| 1233 | #---------SVC4592------------------------------ |
| 1234 | # %1 - component instance name |
| 1235 | # %2 - "resource instance"/"service instance" |
| 1236 | COMPONENT_INSTANCE_NOT_FOUND: { |
| 1237 | code: 404, |
| 1238 | message: "Error: Requested '%1' %2 was not found.", |
| 1239 | messageId: "SVC4592" |
| 1240 | } |
| 1241 | #---------SVC4593------------------------------ |
| 1242 | # %1 - component instance name |
| 1243 | # %2 - "resource instance"/"service instance" |
| 1244 | # %3 - "resource/"service"/"product" |
| 1245 | # %4 - container name |
| 1246 | COMPONENT_INSTANCE_NOT_FOUND_ON_CONTAINER: { |
| 1247 | code: 404, |
| 1248 | message: "Error: Requested '%1' %2 was not found on the %3 '%4'.", |
| 1249 | messageId: "SVC4593" |
| 1250 | } |
| 1251 | #---------SVC4594------------------------------ |
| 1252 | #%1 - requirement / capability |
| 1253 | #%2 - requirement name |
| 1254 | IMPORT_DUPLICATE_REQ_CAP_NAME: { |
| 1255 | code: 400, |
| 1256 | message: "Error: Imported TOSCA template contains more than one %1 named '%2'.", |
| 1257 | messageId: "SVC4594" |
| 1258 | } |
| 1259 | #---------SVC4595------------------------------ |
| 1260 | #%1 - requirement / capability |
| 1261 | #%2 - requirement name |
| 1262 | #%3 - parent containing the requirement |
| 1263 | IMPORT_REQ_CAP_NAME_EXISTS_IN_DERIVED: { |
| 1264 | code: 400, |
| 1265 | message: "Error: Imported TOSCA template contains %1 '%2' that is already defined by derived template %3.", |
| 1266 | messageId: "SVC4595" |
| 1267 | } |
| 1268 | #---------SVC4596------------------------------ |
| 1269 | # %1 - Data type name |
| 1270 | DATA_TYPE_DERIVED_IS_MISSING: { |
| 1271 | code: 400, |
| 1272 | message: "Error: Invalid Content. The ancestor data type %1 cannot be found in the system.", |
| 1273 | messageId: "SVC4596" |
| 1274 | } |
| 1275 | #---------SVC4597------------------------------ |
| 1276 | # %1 - Data type name |
| 1277 | # %2 - Property names |
| 1278 | DATA_TYPE_PROPERTY_ALREADY_DEFINED_IN_ANCESTOR: { |
| 1279 | code: 400, |
| 1280 | message: "Error: Invalid Content. The data type %1 contains properties named %2 which are already defined in one of its ancestors.", |
| 1281 | messageId: "SVC4597" |
| 1282 | } |
| 1283 | #---------SVC4598------------------------------ |
| 1284 | # %1 - Data type name |
| 1285 | DATA_TYPE_DUPLICATE_PROPERTY: { |
| 1286 | code: 400, |
| 1287 | message: "Error: Invalid Content. The data type %1 contains duplicate property.", |
| 1288 | messageId: "SVC4598" |
| 1289 | } |
| 1290 | #---------SVC4599------------------------------ |
| 1291 | # %1 - Data type name |
| 1292 | # %2 - Property names |
| 1293 | DATA_TYPE_PROEPRTY_CANNOT_HAVE_SAME_TYPE_OF_DATA_TYPE: { |
| 1294 | code: 400, |
| 1295 | message: "Error: Invalid Content. The data type %1 contains properties %2 which their type is this data type.", |
| 1296 | messageId: "SVC4599" |
| 1297 | } |
| 1298 | #---------SVC4600------------------------------ |
| 1299 | # %1 - Data type name |
| 1300 | DATA_TYPE_CANNOT_HAVE_PROPERTIES: { |
| 1301 | code: 400, |
| 1302 | message: "Error: Invalid Content. The data type %1 cannot have properties since it is of type scalar", |
| 1303 | messageId: "SVC4600" |
| 1304 | } |
| 1305 | #---------SVC4601------------------------------ |
| 1306 | NOT_TOPOLOGY_TOSCA_TEMPLATE: { |
| 1307 | code: 400, |
| 1308 | message: "Error: TOSCA yaml file %1 cannot be modeled to VF as it does not contain 'topology_template.", |
| 1309 | messageId: "SVC4601" |
| 1310 | } |
| 1311 | #---------SVC4602-------------------------------- |
| 1312 | # %1 - yaml file name |
| 1313 | # %2 - node_template label |
| 1314 | # %3 - node_template type |
| 1315 | INVALID_NODE_TEMPLATE: { |
| 1316 | code: 400, |
| 1317 | message: "Error: TOSCA yaml file '%1' contains node_template '%2' of type '%3' that does not represent existing VFC/CP/VL", |
| 1318 | messageId: "SVC4602" |
| 1319 | } |
| 1320 | #---------SVC4603------------------------------ |
| 1321 | # %1 - component type |
| 1322 | # %2 - component name |
| 1323 | # %3 - state |
| 1324 | ILLEGAL_COMPONENT_STATE: { |
| 1325 | code: 403, |
| 1326 | message: "Error: Component instance of %1 can not be created because the component '%2' is in an illegal state %3.", |
| 1327 | messageId: "SVC4603" |
| 1328 | } |
| 1329 | #---------SVC4604------------------------------ |
| 1330 | # %1 - csar file name |
| 1331 | CSAR_INVALID: { |
| 1332 | code: 400, |
| 1333 | message: "Error: TOSCA CSAR '%1' is invalid. 'TOSCA-Metadata/Tosca.meta' file must be provided.", |
| 1334 | messageId: "SVC4604" |
| 1335 | } |
| 1336 | #---------SVC4605------------------------------ |
| 1337 | # %1 - csar file name |
| 1338 | CSAR_INVALID_FORMAT: { |
| 1339 | code: 400, |
| 1340 | message: "Error: TOSCA CSAR '%1' is invalid. Invalid 'TOSCA-Metadata/Tosca.meta' file format.", |
| 1341 | messageId: "SVC4605" |
| 1342 | } |
| 1343 | #---------SVC4606------------------------------ |
| 1344 | # %1 - property name |
| 1345 | # %2 - property type |
| 1346 | # %3 - property innerType |
| 1347 | # %4 - default value is |
| 1348 | INVALID_COMPLEX_DEFAULT_VALUE: { |
| 1349 | code: 400, |
| 1350 | message: "Error: Invalid default value of property %1. Data type is %2 with inner type %3 and default value found is %4.", |
| 1351 | messageId: "SVC4606" |
| 1352 | } |
| 1353 | #---------SVC4607------------------------------ |
| 1354 | # %1 - csar file name |
| 1355 | CSAR_NOT_FOUND: { |
| 1356 | code: 400, |
| 1357 | message: "Error: TOSCA CSAR '%1' is not found.", |
| 1358 | messageId: "SVC4607" |
| 1359 | } |
| 1360 | #---------SVC4608------------------------------ |
| 1361 | # %1 - artifact name |
| 1362 | # %2 - component type |
| 1363 | # %3 - actual component type |
| 1364 | MISMATCH_BETWEEN_ARTIFACT_TYPE_AND_COMPONENT_TYPE: { |
| 1365 | code: 400, |
| 1366 | message: "Error: Artifact %1 is only compatible with component of type %2, but component type is %3.", |
| 1367 | messageId: "SVC4608" |
| 1368 | } |
| 1369 | |
| 1370 | #---------SVC4609------------------------------ |
| 1371 | # %1 - "INVALID_JSON" |
| 1372 | INVALID_JSON: { |
| 1373 | code: 400, |
| 1374 | message: "Error: Uploaded JSON file for %1 artifact is invalid.", |
| 1375 | messageId: "SVC4609" |
| 1376 | } |
| 1377 | #---------SVC4610------------------------------ |
| 1378 | # %1 - csar file name |
| 1379 | # %2 - missing file name |
| 1380 | YAML_NOT_FOUND_IN_CSAR: { |
| 1381 | code: 400, |
| 1382 | message: "Error - TOSCA CSAR %1 is invalid. TOSCA-Metadata/Tosca.meta refers to file %2 that is not provided.", |
| 1383 | messageId: "SVC4610" |
| 1384 | } |
| 1385 | #---------SVC4611------------------------------ |
| 1386 | # %1 - group name |
| 1387 | GROUP_MEMBER_EMPTY: { |
| 1388 | code: 400, |
| 1389 | message: "Error: Invalid Content. Group %1 member list was provided but does not have values", |
| 1390 | messageId: "SVC4611" |
| 1391 | } |
| 1392 | #---------SVC4612------------------------------ |
| 1393 | # %1 - group name |
| 1394 | GROUP_TYPE_ALREADY_EXIST: { |
| 1395 | code: 409, |
| 1396 | message: 'Error: Group type %1 already exists.', |
| 1397 | messageId: "SVC4612" |
| 1398 | } |
| 1399 | #---------SVC4613------------------------------ |
| 1400 | # %1 - group name |
| 1401 | # %2 - VF name(component name) |
| 1402 | # %3 - actual component type [VF] |
| 1403 | GROUP_ALREADY_EXIST: { |
| 1404 | code: 409, |
| 1405 | message: "Error: Group with name '%1' already exists in %2 %3.", |
| 1406 | messageId: "SVC4613" |
| 1407 | } |
| 1408 | #---------SVC4614------------------------------ |
| 1409 | # %1 - group type |
| 1410 | GROUP_TYPE_IS_INVALID: { |
| 1411 | code: 400, |
| 1412 | message: "Error: Invalid content. Group type %1 does not exist", |
| 1413 | messageId: "SVC4614" |
| 1414 | } |
| 1415 | #---------SVC4615------------------------------ |
| 1416 | # %1 - group name |
| 1417 | GROUP_MISSING_GROUP_TYPE: { |
| 1418 | code: 400, |
| 1419 | message: "Error: Invalid Content. Missing Group Type for group '%1'", |
| 1420 | messageId: "SVC4615" |
| 1421 | } |
| 1422 | #---------SVC4616------------------------------ |
| 1423 | # %1 - member name |
| 1424 | # %2 - group name |
| 1425 | # %3 - VF name |
| 1426 | # %4 - component type [VF ] |
| 1427 | GROUP_INVALID_COMPONENT_INSTANCE: { |
| 1428 | code: 400, |
| 1429 | message: "Error: Member '%1' listed in group '%2' is not part of '%3' %4.", |
| 1430 | messageId: "SVC4616" |
| 1431 | } |
| 1432 | #---------SVC4617------------------------------ |
| 1433 | # %1 - member name |
| 1434 | # %2 - group name |
| 1435 | # %3 - group type |
| 1436 | GROUP_INVALID_TOSCA_NAME_OF_COMPONENT_INSTANCE: { |
| 1437 | code: 400, |
| 1438 | message: "Error: member %1 listed in group %2 is not part of allowed members of group type %3.", |
| 1439 | messageId: "SVC4617" |
| 1440 | } |
| 1441 | #---------SVC4618------------------------------ |
| 1442 | # %1 - missing file name |
| 1443 | # %2 - csar file name |
| 1444 | ARTIFACT_NOT_FOUND_IN_CSAR: { |
| 1445 | code: 400, |
| 1446 | message: "Error: artifact %1 is defined in CSAR %2 manifest but is not provided", |
| 1447 | messageId: "SVC4618" |
| 1448 | } |
| 1449 | #---------SVC4619------------------------------ |
| 1450 | # %1 - artifact name |
| 1451 | # %2 - artifact type |
| 1452 | # %3 - existing artifact type |
| 1453 | ARTIFACT_ALRADY_EXIST_IN_DIFFERENT_TYPE_IN_CSAR: { |
| 1454 | code: 400, |
| 1455 | message: "Error: artifact %1 in type %2 already exists in type %3.", |
| 1456 | messageId: "SVC4619" |
| 1457 | } |
| 1458 | #---------SVC4620------------------------------ |
| 1459 | FAILED_RETRIVE_ARTIFACTS_TYPES: { |
| 1460 | code: 400, |
| 1461 | message: "Error: Failed to retrieve list of suported artifact types.", |
| 1462 | messageId: "SVC4620" |
| 1463 | } |
| 1464 | #---------SVC4621------------------------------ |
| 1465 | # %1 - artifact name |
| 1466 | # %2 - master |
| 1467 | ARTIFACT_ALRADY_EXIST_IN_MASTER_IN_CSAR: { |
| 1468 | code: 400, |
| 1469 | message: "Error: artifact %1 already exists in master %2 .", |
| 1470 | messageId: "SVC4621" |
| 1471 | } |
| 1472 | #---------SVC4622------------------------------ |
| 1473 | # %1 - artifact name |
| 1474 | # %2 - artifact type |
| 1475 | # %3 - master name |
| 1476 | # %4 - master type |
| 1477 | ARTIFACT_NOT_VALID_IN_MASTER: { |
| 1478 | code: 400, |
| 1479 | message: "Error: artifact %1 in type %2 can not be exists under master %3 in type %4.", |
| 1480 | messageId: "SVC4622" |
| 1481 | } |
| 1482 | #---------SVC4623------------------------------ |
| 1483 | # %1 - artifact name |
| 1484 | # %2 - artifact type |
| 1485 | # %3 - env name |
| 1486 | # %4 - existing env |
| 1487 | ARTIFACT_NOT_VALID_ENV: { |
| 1488 | code: 400, |
| 1489 | message: "Error: Artifact %1 in type %2 with env %3 already exists with another env %4", |
| 1490 | messageId: "SVC4623" |
| 1491 | } |
| 1492 | #---------SVC4624------------------------------ |
| 1493 | # %1 - groups names |
| 1494 | # %2 - VF name |
| 1495 | # %3 - component type [VF ] |
| 1496 | GROUP_IS_MISSING: { |
| 1497 | code: 400, |
| 1498 | message: "Error: Invalid Content. The groups '%1' cannot be found under %2 %3.", |
| 1499 | messageId: "SVC4624" |
| 1500 | } |
| 1501 | #---------SVC4625------------------------------ |
| 1502 | # %1 - groups name |
| 1503 | GROUP_ARTIFACT_ALREADY_ASSOCIATED: { |
| 1504 | code: 400, |
| 1505 | message: "Error: Invalid Content. Artifact already associated to group '%1'.", |
| 1506 | messageId: "SVC4625" |
| 1507 | } |
| 1508 | #---------SVC4626------------------------------ |
| 1509 | # %1 - groups name |
| 1510 | GROUP_ARTIFACT_ALREADY_DISSOCIATED: { |
| 1511 | code: 400, |
| 1512 | message: "Error: Invalid Content. Artifact already dissociated from group '%1'.", |
| 1513 | messageId: "SVC4626" |
| 1514 | } |
| 1515 | #---------SVC4627------------------------------ |
| 1516 | # %1 - property name |
| 1517 | # %2 - group name |
| 1518 | # %3 - group type name |
| 1519 | GROUP_PROPERTY_NOT_FOUND: { |
| 1520 | code: 400, |
| 1521 | message: "Error: property %1 listed in group %2 is not exist in group type %3.", |
| 1522 | messageId: "SVC4627" |
| 1523 | } |
| 1524 | #---------SVC4628------------------------------ |
| 1525 | # %1 - csarUUID |
| 1526 | # %2 - VF name |
| 1527 | VSP_ALREADY_EXISTS: { |
| 1528 | code: 400, |
| 1529 | message: "Error: The VSP with UUID %1 was already imported for VF %2. Please select another or update the existing VF.", |
| 1530 | messageId: "SVC4628" |
| 1531 | } |
| 1532 | #---------SVC4629------------------------------ |
| 1533 | # %1 - VF name |
| 1534 | MISSING_CSAR_UUID: { |
| 1535 | code: 400, |
| 1536 | message: "Error: The Csar UUID or payload name is missing for VF %1.", |
| 1537 | messageId: "SVC4629" |
| 1538 | } |
| 1539 | #---------SVC4630------------------------------ |
| 1540 | # %1 - VF name |
| 1541 | # %2 - new csarUUID |
| 1542 | # %3 - old csarUUID |
| 1543 | RESOURCE_LINKED_TO_DIFFERENT_VSP: { |
| 1544 | code: 400, |
| 1545 | message: "Error: Resource %1 cannot be updated using CsarUUID %2 since the resource is linked to a different VSP with csarUUID %3.", |
| 1546 | messageId: "SVC4630" |
| 1547 | } |
| 1548 | #---------SVC4631------------------------------ |
| 1549 | # %1 - policy name |
| 1550 | POLICY_TYPE_ALREADY_EXIST: { |
| 1551 | code: 409, |
| 1552 | message: "Error: Policy type %1 already exists.", |
| 1553 | messageId: "SVC4631" |
| 1554 | } |
| 1555 | #---------SVC4632------------------------------ |
| 1556 | # %1 - target name |
| 1557 | # %2 - policy type name |
| 1558 | TARGETS_NON_VALID: { |
| 1559 | code: 400, |
| 1560 | message: "Error: target %1 listed in policy type %2 is not a group or resource.", |
| 1561 | messageId: "SVC4632" |
| 1562 | } |
| 1563 | #---------SVC4633------------------------------ |
| 1564 | # %1 - policy name |
| 1565 | TARGETS_EMPTY: { |
| 1566 | code: 400, |
| 1567 | message: "Error: Invalid Content. Policy %1 target list was provided but does not have values", |
| 1568 | messageId: "SVC4633" |
| 1569 | } |
| 1570 | #---------SVC4634------------------------------ |
| 1571 | DATA_TYPE_CANNOT_BE_EMPTY: { |
| 1572 | code: 500, |
| 1573 | message: "Error: Data types are empty. Please import the data types.", |
| 1574 | messageId: "SVC4634" |
| 1575 | } |
| 1576 | #---------SVC4635------------------------------ |
| 1577 | # %1 - csar uuid |
| 1578 | RESOURCE_FROM_CSAR_NOT_FOUND: { |
| 1579 | code: 400, |
| 1580 | message: "Error: resource from csar uuid %1 not found", |
| 1581 | messageId: "SVC4635" |
| 1582 | } |
| 1583 | #---------SVC4636------------------------------ |
| 1584 | # %1 - Data type name |
| 1585 | DATA_TYPE_CANNOT_BE_UPDATED_BAD_REQUEST: { |
| 1586 | code: 400, |
| 1587 | 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.', |
| 1588 | messageId: "SVC4636" |
| 1589 | } |
| 1590 | #-----------SVC4637--------------------------- |
| 1591 | #%1 - attribute name |
| 1592 | ATTRIBUTE_NOT_FOUND: { |
| 1593 | code: 404, |
| 1594 | message: "Error: Requested '%1' attribute was not found.", |
| 1595 | messageId: "SVC4637" |
| 1596 | } |
| 1597 | #-----------SVC4638--------------------------- |
| 1598 | #%1 - attribute name |
| 1599 | ATTRIBUTE_ALREADY_EXIST: { |
| 1600 | code: 409, |
| 1601 | message: "Error: Attribute with '%1' name already exists.", |
| 1602 | messageId: "SVC4638" |
| 1603 | } |
| 1604 | #-----------SVC4639--------------------------- |
| 1605 | #%1 - property name |
| 1606 | PROPERTY_NAME_ALREADY_EXISTS: { |
| 1607 | code: 409, |
| 1608 | message: "Error: Property with '%1' name and different type already exists.", |
| 1609 | messageId: "SVC4639" |
| 1610 | } |
| 1611 | #-----------SVC4640--------------------------- |
| 1612 | #%1 - property name |
| 1613 | INVALID_PROPERTY: { |
| 1614 | code: 409, |
| 1615 | message: "Error: Invalid property received.", |
| 1616 | messageId: "SVC4640" |
| 1617 | } |
| 1618 | #---------SVC4641----------------------------- |
| 1619 | #%1 - invalid filter |
| 1620 | #%2 - valid filters |
| 1621 | INVALID_FILTER_KEY: { |
| 1622 | code: 400, |
| 1623 | message: "Error: The filter %1 is not applicable. Please use one of the following filters: %2", |
| 1624 | messageId: "SVC4641" |
| 1625 | } |
| 1626 | #---------SVC4642----------------------------- |
| 1627 | #%1 - asset type |
| 1628 | #%2 - filter |
| 1629 | NO_ASSETS_FOUND: { |
| 1630 | code: 404, |
| 1631 | message: "No %1 were found to match criteria %2", |
| 1632 | messageId: "SVC4642" |
| 1633 | } |
| 1634 | #---------SVC4643------------------------------ |
| 1635 | # %1 - "Resource"/"Product" |
| 1636 | # %2 - "sub-category name" |
| 1637 | # %3 - "category name" |
| 1638 | COMPONENT_SUB_CATEGORY_NOT_FOUND_FOR_CATEGORY: { |
| 1639 | code: 404, |
| 1640 | message: "Error: %1 sub-category '%2' not found under category '%3'.", |
| 1641 | messageId: "SVC4643" |
| 1642 | } |
| 1643 | #---------SVC4644------------------------------ |
| 1644 | # %1 - Format |
| 1645 | CORRUPTED_FORMAT: { |
| 1646 | code: 400, |
| 1647 | message: "Error: %1 format is corrupted.", |
| 1648 | messageId: "SVC4644" |
| 1649 | } |
| 1650 | #---------SVC4645------------------------------ |
| 1651 | # %1 - "groupType" |
| 1652 | INVALID_VF_MODULE_TYPE: { |
| 1653 | code: 400, |
| 1654 | message: "Error: Invalid group type '%1' (should be VfModule).", |
| 1655 | messageId: "SVC4645" |
| 1656 | } |
| 1657 | #---------SVC4646------------------------------ |
| 1658 | # %1 - "groupName" |
| 1659 | INVALID_VF_MODULE_NAME: { |
| 1660 | code: 400, |
| 1661 | message: "Error: Invalid Content. VF Module name '%1' contains invalid characters", |
| 1662 | messageId: "SVC4646" |
| 1663 | } |
| 1664 | |
| 1665 | #---------SVC4647------------------------------ |
| 1666 | # %1 - "modifiedName" |
| 1667 | INVALID_VF_MODULE_NAME_MODIFICATION: { |
| 1668 | code: 400, |
| 1669 | message: "Error: Invalid VF Module name modification, can not modify '%1'", |
| 1670 | messageId: "SVC4647" |
| 1671 | } |
| 1672 | #---------SVC4648------------------------------ |
| 1673 | # %1 - "inputId" |
| 1674 | # %2 - "componentId" |
| 1675 | INPUT_IS_NOT_CHILD_OF_COMPONENT: { |
| 1676 | code: 400, |
| 1677 | message: "Error: Input id: '%1' is not child of component id: '%2'", |
| 1678 | messageId: "SVC4648" |
| 1679 | } |
| 1680 | #---------SVC4649------------------------------ |
| 1681 | # %1 - "groupName" |
| 1682 | GROUP_HAS_CYCLIC_DEPENDENCY: { |
| 1683 | code: 400, |
| 1684 | message: "Error: The group '%1' has cyclic dependency", |
| 1685 | messageId: "SVC4649" |
| 1686 | } |
| 1687 | #---------SVC4650------------------------------ |
| 1688 | # %1 - "Component Type" |
| 1689 | # %2 - <ServiceName> |
| 1690 | # %3 - error description |
| 1691 | AAI_ARTIFACT_GENERATION_FAILED: { |
| 1692 | code: 500, |
| 1693 | message: "Error: %1 %2 automatic generation of artifacts failed. Description: %3", |
| 1694 | messageId: "SVC4650" |
| 1695 | } |
| 1696 | #---------SVC4651------------------------------ |
| 1697 | PARENT_RESOURCE_DOES_NOT_EXTEND: { |
| 1698 | code: 400, |
| 1699 | message: "Error: Once resource is certified, derived_from can be changed only to a sibling", |
| 1700 | messageId: "SVC4651" |
| 1701 | } |
| 1702 | #---------SVC4652------------------------------ |
| 1703 | # %1 - resource/service |
| 1704 | COMPONENT_INVALID_SUBCATEGORY: { |
| 1705 | code: 400, |
| 1706 | message: "Error: Invalid Content. Invalid %1 sub category.", |
| 1707 | messageId: "SVC4652" |
| 1708 | } |
| 1709 | #---------SVC4653------------------------------ |
| 1710 | # %1 - group instance uniqueId |
| 1711 | # %2 - service uniqueId |
| 1712 | GROUP_INSTANCE_NOT_FOUND_ON_COMPONENT_INSTANCE: { |
| 1713 | code: 404, |
| 1714 | message: "Error: Requested group instance %1 was not found on component %2.", |
| 1715 | messageId: "SVC4653" |
| 1716 | } |
| 1717 | #---------SVC4654------------------------------ |
| 1718 | # %1 - group property name |
| 1719 | # %2 - valid min limit value |
| 1720 | # %3 - valid max limit value |
| 1721 | INVALID_GROUP_MIN_MAX_INSTANCES_PROPERTY_VALUE: { |
| 1722 | code: 400, |
| 1723 | message: "Error: Value of %1 must be not higher than %2, and not lower than %3.", |
| 1724 | messageId: "SVC4654" |
| 1725 | } |
| 1726 | #---------SVC4655------------------------------ |
| 1727 | # %1 - group property name |
| 1728 | # %2 - valid min limit value |
| 1729 | # %3 - valid max limit value |
| 1730 | INVALID_GROUP_INITIAL_COUNT_PROPERTY_VALUE: { |
| 1731 | code: 400, |
| 1732 | message: "Error: Value of %1 must be between %2 and %3.", |
| 1733 | messageId: "SVC4655" |
| 1734 | } |
| 1735 | #---------SVC4656------------------------------ |
| 1736 | # %1 - group property name |
| 1737 | # %2 - lower/higher |
| 1738 | # %3 - valid max/min value |
| 1739 | INVALID_GROUP_PROPERTY_VALUE_LOWER_HIGHER: { |
| 1740 | code: 400, |
| 1741 | message: "Error: Value of %1 must be %2 or equals to %3.", |
| 1742 | messageId: "SVC4656" |
| 1743 | } |
| 1744 | #---------SVC4657------------------------------ |
| 1745 | # %1 - certificationRequest / startTesting |
| 1746 | RESOURCE_VFCMT_LIFECYCLE_STATE_NOT_VALID: { |
| 1747 | code: 400, |
| 1748 | message: "Error - Lifecycle state %1 is not valid for resource of type VFCMT", |
| 1749 | messageId: "SVC4657" |
| 1750 | } |
| 1751 | #---------SVC4658------------------------------ |
| 1752 | # %1 – asset type [service / resource ] |
| 1753 | # %2 – main asset uuid |
| 1754 | # %3 – not found asset type [service / resource] |
| 1755 | # %4 – not found asset name |
| 1756 | ASSET_NOT_FOUND_DURING_CSAR_CREATION: { |
| 1757 | code: 400, |
| 1758 | message: "Error: CSAR packaging failed for %1 %2. %3 %4 was not found", |
| 1759 | messageId: "SVC4658" |
| 1760 | } |
| 1761 | #---------SVC4659------------------------------ |
| 1762 | # %1 – asset type [service / resource ] |
| 1763 | # %2 – main asset uuid |
| 1764 | # %3 – Artifact name |
| 1765 | # %4 – Artifact uuid |
| 1766 | ARTIFACT_PAYLOAD_NOT_FOUND_DURING_CSAR_CREATION: { |
| 1767 | code: 400, |
| 1768 | message: " Error: CSAR packaging failed for %1 %2. Artifact %3 [%4] was not found", |
| 1769 | messageId: "SVC4659" |
| 1770 | } |
| 1771 | #---------SVC4660------------------------------ |
| 1772 | # %1 - assetType |
| 1773 | # %2 - matching generic node type name |
| 1774 | GENERIC_TYPE_NOT_FOUND: { |
| 1775 | code: 404, |
| 1776 | message: "Creation of %1 failed. Generic type %2 was not found", |
| 1777 | messageId: "SVC4660" |
| 1778 | } |
Michael Lando | 75aacbb | 2017-07-17 21:12:03 +0300 | [diff] [blame] | 1779 | #---------SVC4669----------------------------- |
| 1780 | INVALID_RESOURCE_TYPE: { |
| 1781 | code: 400, |
| 1782 | message: "Error: Invalid resource type.", |
| 1783 | messageId: "SVC4669" |
| 1784 | } |