Determe, Sebastien (sd378r) | ccb7152 | 2018-03-16 19:49:13 +0100 | [diff] [blame] | 1 | tosca_definitions_version: cloudify_dsl_1_3 |
| 2 | imports: |
| 3 | - http://www.getcloudify.org/spec/cloudify/3.4/types.yaml |
| 4 | - https://onap.org:8443/repository/solutioning01-mte2-raw/type_files/docker/2.2.0/node-type.yaml |
| 5 | - https://onap.org:8443/repository/solutioning01-mte2-raw/type_files/relationship/1.0.0/node-type.yaml |
| 6 | - http://onap.org:8081/repository/solutioning01-mte2-raw/type_files/dmaap/dmaap_mr.yaml |
| 7 | inputs: |
| 8 | location_id: |
| 9 | type: string |
| 10 | service_id: |
| 11 | type: string |
Determe, Sebastien (sd378r) | 350b411 | 2018-03-21 18:27:38 +0100 | [diff] [blame] | 12 | policy_id: |
| 13 | type: string |
Determe, Sebastien (sd378r) | ccb7152 | 2018-03-16 19:49:13 +0100 | [diff] [blame] | 14 | node_templates: |
Determe, Sebastien (sd378r) | 350b411 | 2018-03-21 18:27:38 +0100 | [diff] [blame] | 15 | policy_0: |
| 16 | type: dcae.nodes.policy |
| 17 | properties: |
| 18 | policy_id: |
| 19 | get_input: policy_id |
Determe, Sebastien (sd378r) | ccb7152 | 2018-03-16 19:49:13 +0100 | [diff] [blame] | 20 | cdap_host_host: |
| 21 | type: dcae.nodes.StreamingAnalytics.SelectedCDAPInfrastructure |
| 22 | properties: |
| 23 | location_id: |
| 24 | get_input: location_id |
| 25 | scn_override: cdap_broker.solutioning-central.dcae.onap.org |
| 26 | interfaces: |
| 27 | cloudify.interfaces.lifecycle: { |
| 28 | } |
| 29 | tca_tca: |
| 30 | type: dcae.nodes.MicroService.cdap |
| 31 | properties: |
| 32 | app_config: |
| 33 | appDescription: DCAE Analytics Threshold Crossing Alert Application |
| 34 | appName: dcae-tca |
| 35 | tcaSubscriberOutputStreamName: TCASubscriberOutputStream |
| 36 | tcaVESAlertsTableName: TCAVESAlertsTable |
| 37 | tcaVESAlertsTableTTLSeconds: '1728000' |
| 38 | tcaVESMessageStatusTableName: TCAVESMessageStatusTable |
| 39 | tcaVESMessageStatusTableTTLSeconds: '86400' |
| 40 | thresholdCalculatorFlowletInstances: '2' |
| 41 | app_preferences: |
| 42 | publisherContentType: application/json |
| 43 | publisherHostName: mrlocal-mtnjftle01.onap.org |
| 44 | publisherHostPort: '3905' |
| 45 | publisherMaxBatchSize: '10' |
| 46 | publisherMaxRecoveryQueueSize: '100000' |
| 47 | publisherPollingInterval: '20000' |
| 48 | publisherProtocol: https |
| 49 | publisherTopicName: org.onap.dcae.dmaap.mtnje2.DcaeTestVESPub |
| 50 | publisherUserName: m00502@tca.af.dcae.onap.org |
| 51 | publisherUserPassword: Te5021abc |
| 52 | subscriberConsumerGroup: OpenDCAE-c12 |
| 53 | subscriberConsumerId: c12 |
| 54 | subscriberContentType: application/json |
| 55 | subscriberHostName: mrlocal-mtnjftle01.onap.org |
| 56 | subscriberHostPort: '3905' |
| 57 | subscriberMessageLimit: '-1' |
| 58 | subscriberPollingInterval: '20000' |
| 59 | subscriberProtocol: https |
| 60 | subscriberTimeoutMS: '-1' |
| 61 | subscriberTopicName: org.onap.dcae.dmaap.mtnje2.DcaeTestVESSub |
| 62 | subscriberUserName: m00502@tca.af.dcae.onap.org |
| 63 | subscriberUserPassword: Te5021abc |
| 64 | tca_policy: null |
| 65 | artifact_name: dcae-analytics-tca |
| 66 | artifact_version: 1.0.0 |
| 67 | connections: |
| 68 | streams_publishes: [ |
| 69 | ] |
| 70 | streams_subscribes: [ |
| 71 | ] |
| 72 | jar_url: http://somejar |
| 73 | location_id: |
| 74 | get_input: location_id |
| 75 | namespace: cdap_tca_hi_lo |
| 76 | programs: |
| 77 | - program_id: TCAVESCollectorFlow |
| 78 | program_type: flows |
| 79 | - program_id: TCADMaaPMRSubscriberWorker |
| 80 | program_type: workers |
| 81 | - program_id: TCADMaaPMRPublisherWorker |
| 82 | program_type: workers |
| 83 | service_component_type: cdap_app_tca |
| 84 | service_id: |
| 85 | get_input: service_id |
| 86 | streamname: TCASubscriberOutputStream |
| 87 | relationships: |
Determe, Sebastien (sd378r) | 350b411 | 2018-03-21 18:27:38 +0100 | [diff] [blame] | 88 | - target: topic0 |
| 89 | type: dcae.relationships.subscribe_to_events |
| 90 | - target: topic1 |
| 91 | type: dcae.relationships.publish_events |
Determe, Sebastien (sd378r) | ccb7152 | 2018-03-16 19:49:13 +0100 | [diff] [blame] | 92 | - target: cdap_host_host |
Determe, Sebastien (sd378r) | 350b411 | 2018-03-21 18:27:38 +0100 | [diff] [blame] | 93 | type: dcae.relationships.component_contained_in |
| 94 | - target: policy_0 |
| 95 | type: dcae.relationships.depends_on |
| 96 | topic0: |
| 97 | type: dcae.nodes.Topic |
| 98 | properties: |
| 99 | topic_name: '' |
| 100 | topic1: |
| 101 | type: dcae.nodes.Topic |
| 102 | properties: |
| 103 | topic_name: '' |
| 104 | |