blob: 8739bb22f7b3a0be5f0d9c85742ef6f2609afe42 [file] [log] [blame]
Determe, Sebastien (sd378r)0ad329e2017-09-28 15:25:59 +02001tosca_definitions_version: cloudify_dsl_1_3
Determe, Sebastien (sd378r)7c083742018-02-14 15:31:55 +01002imports: ['http://www.getcloudify.org/spec/cloudify/3.4/types.yaml', 'https://onap.org:8443/repository/solutioning01-mte2-raw/type_files/docker/2.2.0/node-type.yaml',
3 'https://onap.org:8443/repository/solutioning01-mte2-raw/type_files/relationship/1.0.0/node-type.yaml',
4 'http://onap.org:8081/repository/solutioning01-mte2-raw/type_files/dmaap/dmaap_mr.yaml']
Determe, Sebastien (sd378r)0ad329e2017-09-28 15:25:59 +02005inputs:
6 location_id: {type: string}
7 service_id: {type: string}
8node_templates:
9 cdap_host_host:
10 type: dcae.nodes.StreamingAnalytics.SelectedCDAPInfrastructure
11 properties:
12 location_id: {get_input: location_id}
Determe, Sebastien (sd378r)7c083742018-02-14 15:31:55 +010013 scn_override: cdap_broker.solutioning-central.dcae.onap.org
Determe, Sebastien (sd378r)0ad329e2017-09-28 15:25:59 +020014 interfaces:
15 cloudify.interfaces.lifecycle: {}
16 tca_tca:
17 type: dcae.nodes.MicroService.cdap
18 properties:
19 app_config: {appDescription: DCAE Analytics Threshold Crossing Alert Application,
20 appName: dcae-tca, tcaSubscriberOutputStreamName: TCASubscriberOutputStream,
21 tcaVESAlertsTableName: TCAVESAlertsTable, tcaVESAlertsTableTTLSeconds: '1728000',
22 tcaVESMessageStatusTableName: TCAVESMessageStatusTable, tcaVESMessageStatusTableTTLSeconds: '86400',
23 thresholdCalculatorFlowletInstances: '2'}
Determe, Sebastien (sd378r)7c083742018-02-14 15:31:55 +010024 app_preferences: {publisherContentType: application/json, publisherHostName: mrlocal-mtnjftle01.onap.org,
Determe, Sebastien (sd378r)0ad329e2017-09-28 15:25:59 +020025 publisherHostPort: '3905', publisherMaxBatchSize: '10', publisherMaxRecoveryQueueSize: '100000',
Determe, Sebastien (sd378r)7c083742018-02-14 15:31:55 +010026 publisherPollingInterval: '20000', publisherProtocol: https, publisherTopicName: org.onap.dcae.dmaap.mtnje2.DcaeTestVESPub,
27 publisherUserName: m00502@tca.af.dcae.onap.org, publisherUserPassword: Te5021abc,
Determe, Sebastien (sd378r)0ad329e2017-09-28 15:25:59 +020028 subscriberConsumerGroup: OpenDCAE-c12, subscriberConsumerId: c12, subscriberContentType: application/json,
Determe, Sebastien (sd378r)7c083742018-02-14 15:31:55 +010029 subscriberHostName: mrlocal-mtnjftle01.onap.org, subscriberHostPort: '3905',
Determe, Sebastien (sd378r)0ad329e2017-09-28 15:25:59 +020030 subscriberMessageLimit: '-1', subscriberPollingInterval: '20000', subscriberProtocol: https,
Determe, Sebastien (sd378r)7c083742018-02-14 15:31:55 +010031 subscriberTimeoutMS: '-1', subscriberTopicName: org.onap.dcae.dmaap.mtnje2.DcaeTestVESSub,
32 subscriberUserName: m00502@tca.af.dcae.onap.org, subscriberUserPassword: Te5021abc,
Determe, Sebastien (sd378r)9aea2472018-04-18 17:57:09 +020033 tca_policy: '{"domain":"measurementsForVfScaling","metricsPerEventName":[{"eventName":"vFirewallBroadcastPackets","controlLoopSchemaType":"VNF","policyScope":"DCAE","policyName":"example_model01.ClosedLoop_FRWL_SIG_fad4dcae_e498_11e6_852e_0050568c4ccf_TCA_1jy9to4","policyVersion":"v0.0.1","thresholds":[{"closedLoopControlName":"ClosedLoop_FRWL_SIG_fad4dcae_e498_11e6_852e_0050568c4ccf_null","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedDiscardedPacketsDelta","thresholdValue":123,"direction":"GREATER_OR_EQUAL","severity":"MAJOR","closedLoopEventStatus":"ONSET"},{"closedLoopControlName":"ClosedLoop_FRWL_SIG_fad4dcae_e498_11e6_852e_0050568c4ccf_null","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedDiscardedPacketsDelta","thresholdValue":123,"direction":"GREATER_OR_EQUAL","severity":"MAJOR","closedLoopEventStatus":"ONSET"}]}]}'}
Determe, Sebastien (sd378r)0ad329e2017-09-28 15:25:59 +020034 artifact_name: dcae-analytics-tca
35 artifact_version: 1.0.0
36 connections:
37 streams_publishes: []
38 streams_subscribes: []
39 jar_url: http://somejar
40 location_id: {get_input: location_id}
41 namespace: cdap_tca_hi_lo
42 programs:
43 - {program_id: TCAVESCollectorFlow, program_type: flows}
44 - {program_id: TCADMaaPMRSubscriberWorker, program_type: workers}
45 - {program_id: TCADMaaPMRPublisherWorker, program_type: workers}
46 service_component_type: cdap_app_tca
47 service_id: {get_input: service_id}
48 streamname: TCASubscriberOutputStream
49 relationships:
50 - {target: cdap_host_host, type: dcae.relationships.component_contained_in}