dfarrelly | 5e40fbf | 2019-02-20 14:26:37 +0000 | [diff] [blame] | 1 | tosca_definitions_version: tosca_simple_yaml_1_0_0 |
| 2 | metadata: |
| 3 | template_name: dcaegen2.services.pm-mapper_translate |
| 4 | imports: |
| 5 | - schema: schema.yaml |
| 6 | topology_template: |
| 7 | inputs: |
| 8 | buscontroller_feed_subscription_endpoint: |
| 9 | type: string |
| 10 | cpu_period: |
| 11 | type: integer |
| 12 | default: 10000 |
| 13 | cpu_quota: |
| 14 | type: integer |
| 15 | default: 30000 |
| 16 | cpu_shares: |
| 17 | type: integer |
| 18 | default: 256 |
| 19 | dmaap_dr_delete_endpoint: |
| 20 | type: string |
| 21 | dmaap_dr_feed_id: |
| 22 | type: string |
| 23 | filter: |
| 24 | type: string |
| 25 | image: |
| 26 | type: string |
| 27 | location_id: |
| 28 | type: string |
| 29 | mem_limit: |
| 30 | type: string |
| 31 | default: 500m |
| 32 | policy: |
| 33 | type: string |
| 34 | restart_policy.Name: |
| 35 | type: string |
| 36 | default: on-failure |
| 37 | restart_policy.max_retry_counts: |
| 38 | type: integer |
| 39 | default: 3 |
| 40 | service_component_type: |
| 41 | type: string |
| 42 | service_name: |
| 43 | type: string |
| 44 | substitution_mappings: |
| 45 | node_type: tosca.dcae.nodes.dockerApp.dcaegen2.services.pm-mapper |
| 46 | capabilities: {} |
| 47 | requirements: |
| 48 | host: |
| 49 | - dcaegen2.services.pm-mapper |
| 50 | - host |
| 51 | policy: |
| 52 | - dcaegen2.services.pm-mapper |
| 53 | - policy |
| 54 | stream_publish_0: |
| 55 | - dcaegen2.services.pm-mapper |
| 56 | - stream_publish_0 |
| 57 | stream_subscribe_0: |
| 58 | - dcaegen2.services.pm-mapper |
| 59 | - stream_subscribe_0 |
| 60 | node_templates: |
| 61 | dcaegen2.services.pm-mapper: |
| 62 | type: dcae.nodes.DockerContainerForComponentsUsingDmaap |
| 63 | properties: |
| 64 | application_config: |
| 65 | buscontroller_feed_subscription_endpoint: |
| 66 | get_input: buscontroller_feed_subscription_endpoint |
| 67 | dmaap_dr_delete_endpoint: |
| 68 | get_input: dmaap_dr_delete_endpoint |
| 69 | dmaap_dr_feed_id: |
| 70 | get_input: dmaap_dr_feed_id |
| 71 | filter: |
| 72 | get_input: filter |
| 73 | policy: |
| 74 | get_input: policy |
| 75 | service_name: |
| 76 | get_input: service_name |
| 77 | services_calls: {} |
| 78 | streams_publishes: |
| 79 | pm_mapper_publish_mr: |
| 80 | aaf_password: |
| 81 | get_property: |
| 82 | - SELF |
| 83 | - stream_publish_0 |
| 84 | - aaf_password |
| 85 | aaf_username: |
| 86 | get_property: |
| 87 | - SELF |
| 88 | - stream_publish_0 |
| 89 | - aaf_username |
| 90 | dmaap_info: |
| 91 | concat: |
| 92 | - '<<' |
| 93 | - get_property: |
| 94 | - SELF |
| 95 | - stream_publish_0 |
| 96 | - node_name |
| 97 | - '>>' |
| 98 | type: message_router |
| 99 | streams_subscribes: |
| 100 | pm_mapper_subscribe_dr: |
| 101 | dmaap_info: |
| 102 | concat: |
| 103 | - '<<' |
| 104 | - get_property: |
| 105 | - SELF |
| 106 | - stream_subscribe_0 |
| 107 | - node_name |
| 108 | - '>>' |
| 109 | type: data_router |
| 110 | docker_config: |
| 111 | healthcheck: |
| 112 | endpoint: /healthcheck |
| 113 | interval: 30s |
| 114 | timeout: 10s |
| 115 | type: http |
| 116 | policy: |
| 117 | script_path: /opt/app/reconfigure.sh |
| 118 | trigger_type: docker |
| 119 | image: nexus3.onap.org:10001/onap/org.onap.dcaegen2.services.pm-mapper:1.0-SNAPSHOT |
| 120 | location_id: |
| 121 | get_input: location_id |
| 122 | service_component_type: dcaegen2.services.pm-mapper |
| 123 | streams_publishes: |
| 124 | - client_role: |
| 125 | get_property: |
| 126 | - SELF |
| 127 | - stream_publish_0 |
| 128 | - client_role |
| 129 | location: |
| 130 | get_property: |
| 131 | - SELF |
| 132 | - stream_publish_0 |
| 133 | - location |
| 134 | name: |
| 135 | get_property: |
| 136 | - SELF |
| 137 | - stream_publish_0 |
| 138 | - node_name |
| 139 | type: message_router |
| 140 | streams_subscribes: |
| 141 | - location: |
| 142 | get_property: |
| 143 | - SELF |
| 144 | - stream_subscribe_0 |
| 145 | - location |
| 146 | name: |
| 147 | get_property: |
| 148 | - SELF |
| 149 | - stream_subscribe_0 |
| 150 | - node_name |
| 151 | type: data_router |
| 152 | interfaces: |
| 153 | cloudify.interfaces.lifecycle: |
| 154 | type: tosca.interfaces.Root |
| 155 | start: |
| 156 | inputs: |
| 157 | host_config: null |
| 158 | stop: |
| 159 | inputs: |
| 160 | cleanup_image: null |