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