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