blob: edaa0be2877f0c63c34e852d0e7cfbd6df037748 [file] [log] [blame]
Determe, Sebastien (sd378r)ccb71522018-03-16 19:49:13 +01001tosca_definitions_version: cloudify_dsl_1_3
2imports:
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
7inputs:
8 location_id:
9 type: string
10 service_id:
11 type: string
Determe, Sebastien (sd378r)350b4112018-03-21 18:27:38 +010012 policy_id:
13 type: string
Determe, Sebastien (sd378r)ccb71522018-03-16 19:49:13 +010014node_templates:
Determe, Sebastien (sd378r)350b4112018-03-21 18:27:38 +010015 policy_0:
16 type: dcae.nodes.policy
17 properties:
18 policy_id:
19 get_input: policy_id
sebdet12700b02019-04-25 12:24:45 +020020 policy_type_id: onap.policies.monitoring.cdap.tca.hi.lo.app
Determe, Sebastien (sd378r)ccb71522018-03-16 19:49:13 +010021 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
sebdet7c71ae72018-09-03 14:28:58 +020051 publisherUserName: test@tca.af.dcae.onap.org
52 publisherUserPassword: password
Determe, Sebastien (sd378r)ccb71522018-03-16 19:49:13 +010053 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
sebdet7c71ae72018-09-03 14:28:58 +020063 subscriberUserName: test@tca.af.dcae.onap.org
64 subscriberUserPassword: password
Determe, Sebastien (sd378r)ccb71522018-03-16 19:49:13 +010065 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)350b4112018-03-21 18:27:38 +010089 - target: topic0
90 type: dcae.relationships.subscribe_to_events
91 - target: topic1
92 type: dcae.relationships.publish_events
Determe, Sebastien (sd378r)ccb71522018-03-16 19:49:13 +010093 - target: cdap_host_host
Determe, Sebastien (sd378r)350b4112018-03-21 18:27:38 +010094 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: ''
sebdet7c71ae72018-09-03 14:28:58 +0200105