kaihlavi | d1a1fb7 | 2019-06-13 16:11:48 +0300 | [diff] [blame] | 1 | tosca_definitions_version: tosca_simple_yaml_1_0_0 |
| 2 | capability_types: |
| 3 | dcae.capabilities.cdapHost: |
| 4 | derived_from: tosca.capabilities.Root |
| 5 | dcae.capabilities.composition.host: |
| 6 | derived_from: tosca.capabilities.Root |
| 7 | properties: |
| 8 | location_id: |
| 9 | type: string |
| 10 | service_id: |
| 11 | type: string |
| 12 | dcae.capabilities.dmmap.feed: |
| 13 | derived_from: tosca.capabilities.Root |
| 14 | properties: |
| 15 | feed_name: |
| 16 | type: string |
| 17 | location: |
| 18 | type: string |
| 19 | node_name: |
| 20 | type: string |
| 21 | dcae.capabilities.dmmap.topic: |
| 22 | derived_from: tosca.capabilities.Root |
| 23 | properties: |
| 24 | aaf_password: |
| 25 | type: string |
| 26 | aaf_username: |
| 27 | type: string |
| 28 | client_role: |
| 29 | type: string |
| 30 | location: |
| 31 | type: string |
| 32 | node_name: |
| 33 | type: string |
| 34 | topic_name: |
| 35 | type: string |
| 36 | dcae.capabilities.dockerHost: |
| 37 | derived_from: tosca.capabilities.Root |
| 38 | dcae.capabilities.policy: |
| 39 | derived_from: tosca.capabilities.Root |
| 40 | dcae.capabilities.service.provide: |
| 41 | derived_from: tosca.capabilities.Root |
| 42 | properties: |
| 43 | request_format: |
| 44 | type: string |
| 45 | request_version: |
| 46 | type: string |
| 47 | response_format: |
| 48 | type: string |
| 49 | response_version: |
| 50 | type: string |
| 51 | service_endpoint: |
| 52 | type: string |
| 53 | service_name: |
| 54 | type: string |
| 55 | verb: |
| 56 | type: string |
| 57 | dcae.capabilities.stream.subscribe: |
| 58 | derived_from: tosca.capabilities.Root |
| 59 | properties: |
| 60 | format: |
| 61 | type: string |
| 62 | route: |
| 63 | type: string |
| 64 | version: |
| 65 | type: string |
| 66 | relationship_types: |
| 67 | cloudify.relationships.depends_on: |
| 68 | derived_from: tosca.relationships.Root |
| 69 | dcae.relationships.component_contained_in: |
| 70 | derived_from: tosca.relationships.Root |
| 71 | dcae.relationships.publish_events: |
| 72 | derived_from: tosca.relationships.Root |
| 73 | dcae.relationships.publish_files: |
| 74 | derived_from: tosca.relationships.Root |
| 75 | dcae.relationships.rework_connected_to: |
| 76 | derived_from: tosca.relationships.Root |
| 77 | dcae.relationships.subscribe_to_events: |
| 78 | derived_from: tosca.relationships.Root |
| 79 | dcae.relationships.subscribe_to_files: |
| 80 | derived_from: tosca.relationships.Root |
| 81 | node_types: |
| 82 | cloudify.dcae.nodes.Root: |
| 83 | derived_from: tosca.nodes.Root |
| 84 | dcae.nodes.ContainerizedComponent: |
| 85 | derived_from: cloudify.dcae.nodes.Root |
| 86 | properties: |
| 87 | application_config: |
| 88 | required: true |
| 89 | type: map |
| 90 | docker_config: |
| 91 | type: map |
| 92 | image: |
| 93 | required: true |
| 94 | type: string |
| 95 | dcae.nodes.ContainerizedServiceComponent: |
| 96 | attributes: |
| 97 | service_component_name: |
| 98 | type: string |
| 99 | derived_from: dcae.nodes.ContainerizedComponent |
| 100 | properties: |
| 101 | location_id: |
| 102 | required: true |
| 103 | type: string |
| 104 | service_component_type: |
| 105 | required: true |
| 106 | type: string |
| 107 | dcae.nodes.ContainerizedServiceComponentUsingDmaap: |
| 108 | derived_from: dcae.nodes.ContainerizedServiceComponent |
| 109 | properties: |
| 110 | streams_publishes: |
| 111 | type: list |
| 112 | streams_subscribes: |
| 113 | type: list |
| 114 | dcae.nodes.DockerContainerForComponents: |
| 115 | attributes: |
| 116 | service_component_name: |
| 117 | type: string |
| 118 | derived_from: cloudify.dcae.nodes.Root |
| 119 | interfaces: |
| 120 | cloudify.interfaces.lifecycle: |
| 121 | start: |
| 122 | inputs: |
| 123 | host_config: |
| 124 | type: map |
| 125 | stop: |
| 126 | inputs: |
| 127 | cleanup_image: |
| 128 | type: boolean |
| 129 | type: tosca.interfaces.Root |
| 130 | properties: |
| 131 | application_config: |
| 132 | required: true |
| 133 | type: map |
| 134 | docker_config: |
| 135 | type: map |
| 136 | image: |
| 137 | required: true |
| 138 | type: string |
| 139 | location_id: |
| 140 | required: true |
| 141 | type: string |
| 142 | service_component_type: |
| 143 | required: true |
| 144 | type: string |
| 145 | requirements: |
| 146 | - host: |
| 147 | capability: dcae.capabilities.dockerHost |
| 148 | relationship: dcae.relationships.component_contained_in |
| 149 | dcae.nodes.DockerContainerForComponentsUsingDmaap: |
| 150 | derived_from: dcae.nodes.DockerContainerForComponents |
| 151 | properties: |
| 152 | application_config: |
| 153 | required: true |
| 154 | type: map |
| 155 | docker_config: |
| 156 | type: map |
| 157 | image: |
| 158 | required: true |
| 159 | type: string |
| 160 | location_id: |
| 161 | required: true |
| 162 | type: string |
| 163 | service_component_type: |
| 164 | required: true |
| 165 | type: string |
| 166 | streams_publishes: |
| 167 | type: list |
| 168 | streams_subscribes: |
| 169 | type: list |
| 170 | attributes: |
| 171 | service_component_name: |
| 172 | type: string |
| 173 | requirements: |
| 174 | - host: |
| 175 | capability: dcae.capabilities.dockerHost |
| 176 | relationship: dcae.relationships.component_contained_in |
| 177 | - stream_subscribe_0: |
| 178 | capability: dcae.capabilities.dmmap.topic |
| 179 | relationship: dcae.relationships.subscribe_to_events |
| 180 | - stream_publish_0: |
| 181 | capability: dcae.capabilities.dmmap.topic |
| 182 | relationship: dcae.relationships.publish_events |
| 183 | interfaces: |
| 184 | cloudify.interfaces.lifecycle: |
| 185 | start: |
| 186 | inputs: |
| 187 | host_config: |
| 188 | type: map |
| 189 | stop: |
| 190 | inputs: |
| 191 | cleanup_image: |
| 192 | type: boolean |
| 193 | type: tosca.interfaces.Root |
| 194 | dcae.nodes.ExistingFeed: |
| 195 | capabilities: |
| 196 | feed: |
| 197 | type: dcae.capabilities.dmmap.feed |
| 198 | derived_from: cloudify.dcae.nodes.Root |
| 199 | properties: |
| 200 | feed_id: |
| 201 | type: string |
| 202 | dcae.nodes.ExistingTopic: |
| 203 | capabilities: |
| 204 | topic: |
| 205 | type: dcae.capabilities.dmmap.topic |
| 206 | derived_from: cloudify.dcae.nodes.Root |
| 207 | properties: |
| 208 | fqtn: |
| 209 | type: string |
| 210 | dcae.nodes.ExternalTargetFeed: |
| 211 | capabilities: |
| 212 | feed: |
| 213 | type: dcae.capabilities.dmmap.feed |
| 214 | derived_from: cloudify.dcae.nodes.Root |
| 215 | properties: |
| 216 | url: |
| 217 | type: string |
| 218 | username: |
| 219 | type: string |
| 220 | userpw: |
| 221 | type: string |
| 222 | dcae.nodes.Feed: |
| 223 | capabilities: |
| 224 | feed: |
| 225 | type: dcae.capabilities.dmmap.feed |
| 226 | derived_from: cloudify.dcae.nodes.Root |
| 227 | properties: |
| 228 | feed_name: |
| 229 | type: string |
| 230 | dcae.nodes.MicroService.cdap: |
| 231 | attributes: |
| 232 | service_component_name: |
| 233 | type: string |
| 234 | derived_from: cloudify.dcae.nodes.Root |
| 235 | interfaces: |
| 236 | cloudify.interfaces.lifecycle: |
| 237 | create: |
| 238 | inputs: |
| 239 | connected_broker_dns_name: |
| 240 | type: string |
| 241 | type: tosca.interfaces.Root |
| 242 | properties: |
| 243 | app_config: |
| 244 | required: false |
| 245 | type: map |
| 246 | app_preferences: |
| 247 | required: false |
| 248 | type: map |
| 249 | artifact_name: |
| 250 | required: false |
| 251 | type: string |
| 252 | artifact_version: |
| 253 | required: false |
| 254 | type: string |
| 255 | connections: |
| 256 | required: false |
| 257 | type: map |
| 258 | jar_url: |
| 259 | type: string |
| 260 | namespace: |
| 261 | required: false |
| 262 | type: string |
| 263 | program_preferences: |
| 264 | required: false |
| 265 | type: list |
| 266 | programs: |
| 267 | required: false |
| 268 | type: list |
| 269 | service_component_type: |
| 270 | type: string |
| 271 | service_endpoints: |
| 272 | required: false |
| 273 | type: list |
| 274 | streamname: |
| 275 | required: false |
| 276 | type: string |
| 277 | requirements: |
| 278 | - host: |
| 279 | capability: dcae.capabilities.cdapHost |
| 280 | relationship: dcae.relationships.component_contained_in |
| 281 | dcae.nodes.SelectedDockerHost: |
| 282 | capabilities: |
| 283 | host: |
| 284 | type: dcae.capabilities.dockerHost |
| 285 | derived_from: cloudify.dcae.nodes.Root |
| 286 | properties: |
| 287 | docker_host_override: |
| 288 | type: string |
| 289 | location_id: |
| 290 | required: true |
| 291 | type: string |
| 292 | dcae.nodes.Topic: |
| 293 | capabilities: |
| 294 | topic: |
| 295 | type: dcae.capabilities.dmmap.topic |
| 296 | derived_from: cloudify.dcae.nodes.Root |
| 297 | properties: |
| 298 | topic_name: |
| 299 | type: string |
| 300 | dcae.nodes.composition.virtual: |
| 301 | capabilities: |
| 302 | host: |
| 303 | type: dcae.capabilities.composition.host |
| 304 | derived_from: tosca.nodes.Root |
| 305 | properties: |
| 306 | location_id: |
| 307 | required: true |
| 308 | type: string |
| 309 | service_id: |
| 310 | required: true |
| 311 | type: string |
| 312 | dcae.nodes.policies: |
| 313 | capabilities: |
| 314 | policy: |
| 315 | type: dcae.capabilities.policy |
| 316 | derived_from: cloudify.dcae.nodes.Root |
| 317 | properties: |
| 318 | policy_filter: |
| 319 | type: map |
| 320 | dcae.nodes.policy: |
| 321 | capabilities: |
| 322 | policy: |
| 323 | type: dcae.capabilities.policy |
| 324 | derived_from: cloudify.dcae.nodes.Root |
| 325 | properties: |
| 326 | policy_id: |
| 327 | required: true |
| 328 | type: string |
| 329 | policy.nodes.Root: |
| 330 | derived_from: tosca.nodes.Root |
| 331 | properties: |
| 332 | policyDescription: |
| 333 | required: false |
| 334 | type: string |
| 335 | policyName: |
| 336 | required: true |
| 337 | type: string |
| 338 | policyScope: |
| 339 | required: true |
| 340 | type: string |
| 341 | policyVersion: |
| 342 | required: true |
| 343 | type: string |
| 344 | tosca.dcae.nodes.Root: |
| 345 | derived_from: tosca.nodes.Root |
| 346 | tosca.dcae.nodes.cdapApp: |
| 347 | attributes: |
| 348 | service_component_name: |
| 349 | type: string |
| 350 | derived_from: tosca.dcae.nodes.Root |
| 351 | properties: |
| 352 | connected_broker_dns_name: |
| 353 | default: cdap_broker |
| 354 | required: true |
| 355 | type: string |
| 356 | jar_url: |
| 357 | required: true |
| 358 | type: string |
| 359 | service_component_type: |
| 360 | required: true |
| 361 | type: string |
| 362 | requirements: |
| 363 | - host: |
| 364 | capability: dcae.capabilities.cdapHost |
| 365 | relationship: dcae.relationships.component_contained_in |
| 366 | tosca.dcae.nodes.dmaap.existingFeed: |
| 367 | capabilities: |
| 368 | feed: |
| 369 | type: dcae.capabilities.dmmap.feed |
| 370 | derived_from: tosca.dcae.nodes.Root |
| 371 | properties: |
| 372 | feed_id: |
| 373 | type: string |
| 374 | location: |
| 375 | type: string |
| 376 | node_name: |
| 377 | type: string |
| 378 | requirements: |
| 379 | - composition: |
| 380 | capability: dcae.capabilities.composition.host |
| 381 | tosca.dcae.nodes.dmaap.existingTopic: |
| 382 | capabilities: |
| 383 | topic: |
| 384 | type: dcae.capabilities.dmmap.topic |
| 385 | derived_from: tosca.dcae.nodes.Root |
| 386 | properties: |
| 387 | aaf_password: |
| 388 | type: string |
| 389 | aaf_username: |
| 390 | type: string |
| 391 | client_role: |
| 392 | type: string |
| 393 | fqtn: |
| 394 | type: string |
| 395 | location: |
| 396 | type: string |
| 397 | node_name: |
| 398 | type: string |
| 399 | requirements: |
| 400 | - composition: |
| 401 | capability: dcae.capabilities.composition.host |
| 402 | tosca.dcae.nodes.dmaap.externalTargetFeed: |
| 403 | capabilities: |
| 404 | feed: |
| 405 | type: dcae.capabilities.dmmap.feed |
| 406 | derived_from: tosca.dcae.nodes.Root |
| 407 | properties: |
| 408 | location: |
| 409 | type: string |
| 410 | node_name: |
| 411 | type: string |
| 412 | url: |
| 413 | type: string |
| 414 | username: |
| 415 | type: string |
| 416 | userpw: |
| 417 | type: string |
| 418 | requirements: |
| 419 | - composition: |
| 420 | capability: dcae.capabilities.composition.host |
| 421 | tosca.dcae.nodes.dmaap.feed: |
| 422 | capabilities: |
| 423 | feed: |
| 424 | type: dcae.capabilities.dmmap.feed |
| 425 | derived_from: tosca.dcae.nodes.Root |
| 426 | properties: |
| 427 | feed_name: |
| 428 | type: string |
| 429 | location: |
| 430 | type: string |
| 431 | node_name: |
| 432 | type: string |
| 433 | requirements: |
| 434 | - composition: |
| 435 | capability: dcae.capabilities.composition.host |
| 436 | tosca.dcae.nodes.dmaap.topic: |
| 437 | capabilities: |
| 438 | topic: |
| 439 | type: dcae.capabilities.dmmap.topic |
| 440 | derived_from: tosca.dcae.nodes.Root |
| 441 | properties: |
| 442 | aaf_password: |
| 443 | type: string |
| 444 | aaf_username: |
| 445 | type: string |
| 446 | client_role: |
| 447 | type: string |
| 448 | location: |
| 449 | type: string |
| 450 | node_name: |
| 451 | type: string |
| 452 | topic_name: |
| 453 | type: string |
| 454 | requirements: |
| 455 | - composition: |
| 456 | capability: dcae.capabilities.composition.host |
| 457 | tosca.dcae.nodes.dockerApp: |
| 458 | attributes: |
| 459 | service_component_name: |
| 460 | type: string |
| 461 | derived_from: tosca.dcae.nodes.Root |
| 462 | properties: |
| 463 | cpu_period: |
| 464 | default: 10000 |
| 465 | required: true |
| 466 | type: integer |
| 467 | cpu_quota: |
| 468 | default: 30000 |
| 469 | required: true |
| 470 | type: integer |
| 471 | cpu_shares: |
| 472 | default: 256 |
| 473 | required: true |
| 474 | type: integer |
| 475 | image: |
| 476 | required: true |
| 477 | type: string |
| 478 | location_id: |
| 479 | required: true |
| 480 | type: string |
| 481 | mem_limit: |
| 482 | default: 500m |
| 483 | required: true |
| 484 | type: string |
| 485 | restart_policy.Name: |
| 486 | default: on-failure |
| 487 | required: true |
| 488 | type: string |
| 489 | restart_policy.max_retry_counts: |
| 490 | default: 3 |
| 491 | required: true |
| 492 | type: integer |
| 493 | service_component_type: |
| 494 | required: true |
| 495 | type: string |
| 496 | requirements: |
| 497 | - host: |
| 498 | capability: dcae.capabilities.dockerHost |
| 499 | relationship: dcae.relationships.component_contained_in |
| 500 | - composition: |
| 501 | capability: dcae.capabilities.composition.host |
| 502 | tosca.dcae.nodes.dockerApp.tca-docker: |
| 503 | derived_from: tosca.dcae.nodes.dockerApp |
| 504 | requirements: |
| 505 | - stream_subscribe_0: |
| 506 | capability: dcae.capabilities.dmmap.topic |
| 507 | relationship: dcae.relationships.subscribe_to_events |
| 508 | - stream_publish_0: |
| 509 | capability: dcae.capabilities.dmmap.topic |
| 510 | relationship: dcae.relationships.publish_events |
| 511 | tosca.dcae.nodes.dockerHost: |
| 512 | capabilities: |
| 513 | host: |
| 514 | type: dcae.capabilities.dockerHost |
| 515 | derived_from: tosca.dcae.nodes.Root |
| 516 | properties: |
| 517 | docker_host_override: |
| 518 | type: string |
| 519 | location_id: |
| 520 | required: true |
| 521 | type: string |
| 522 | requirements: |
| 523 | - composition: |
| 524 | capability: dcae.capabilities.composition.host |
| 525 | tosca.dcae.nodes.policies: |
| 526 | capabilities: |
| 527 | policy: |
| 528 | type: dcae.capabilities.policy |
| 529 | derived_from: tosca.dcae.nodes.Root |
| 530 | properties: |
| 531 | configAttributes: |
| 532 | type: string |
| 533 | configName: |
| 534 | type: string |
| 535 | onapName: |
| 536 | type: string |
| 537 | policyName: |
| 538 | type: string |
| 539 | unique: |
| 540 | type: boolean |
| 541 | tosca.dcae.nodes.policy: |
| 542 | capabilities: |
| 543 | policy: |
| 544 | type: dcae.capabilities.policy |
| 545 | derived_from: tosca.dcae.nodes.Root |
| 546 | properties: |
| 547 | policy_id: |
| 548 | required: true |
| 549 | type: string |
| 550 | policy_name: |
| 551 | type: string |