Determe, Sebastien (sd378r) | 0ad329e | 2017-09-28 15:25:59 +0200 | [diff] [blame] | 1 | tosca_definitions_version: cloudify_dsl_1_3 |
Determe, Sebastien (sd378r) | 7c08374 | 2018-02-14 15:31:55 +0100 | [diff] [blame] | 2 | imports: ['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) | 0ad329e | 2017-09-28 15:25:59 +0200 | [diff] [blame] | 5 | inputs: |
| 6 | location_id: {type: string} |
| 7 | service_id: {type: string} |
| 8 | node_templates: |
| 9 | cdap_host_host: |
| 10 | type: dcae.nodes.StreamingAnalytics.SelectedCDAPInfrastructure |
| 11 | properties: |
| 12 | location_id: {get_input: location_id} |
Determe, Sebastien (sd378r) | 7c08374 | 2018-02-14 15:31:55 +0100 | [diff] [blame] | 13 | scn_override: cdap_broker.solutioning-central.dcae.onap.org |
Determe, Sebastien (sd378r) | 0ad329e | 2017-09-28 15:25:59 +0200 | [diff] [blame] | 14 | 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) | 7c08374 | 2018-02-14 15:31:55 +0100 | [diff] [blame] | 24 | app_preferences: {publisherContentType: application/json, publisherHostName: mrlocal-mtnjftle01.onap.org, |
Determe, Sebastien (sd378r) | 0ad329e | 2017-09-28 15:25:59 +0200 | [diff] [blame] | 25 | publisherHostPort: '3905', publisherMaxBatchSize: '10', publisherMaxRecoveryQueueSize: '100000', |
Determe, Sebastien (sd378r) | 7c08374 | 2018-02-14 15:31:55 +0100 | [diff] [blame] | 26 | publisherPollingInterval: '20000', publisherProtocol: https, publisherTopicName: org.onap.dcae.dmaap.mtnje2.DcaeTestVESPub, |
| 27 | publisherUserName: m00502@tca.af.dcae.onap.org, publisherUserPassword: Te5021abc, |
Determe, Sebastien (sd378r) | 0ad329e | 2017-09-28 15:25:59 +0200 | [diff] [blame] | 28 | subscriberConsumerGroup: OpenDCAE-c12, subscriberConsumerId: c12, subscriberContentType: application/json, |
Determe, Sebastien (sd378r) | 7c08374 | 2018-02-14 15:31:55 +0100 | [diff] [blame] | 29 | subscriberHostName: mrlocal-mtnjftle01.onap.org, subscriberHostPort: '3905', |
Determe, Sebastien (sd378r) | 0ad329e | 2017-09-28 15:25:59 +0200 | [diff] [blame] | 30 | subscriberMessageLimit: '-1', subscriberPollingInterval: '20000', subscriberProtocol: https, |
Determe, Sebastien (sd378r) | 7c08374 | 2018-02-14 15:31:55 +0100 | [diff] [blame] | 31 | subscriberTimeoutMS: '-1', subscriberTopicName: org.onap.dcae.dmaap.mtnje2.DcaeTestVESSub, |
| 32 | subscriberUserName: m00502@tca.af.dcae.onap.org, subscriberUserPassword: Te5021abc, |
Determe, Sebastien (sd378r) | 39b4c05 | 2018-04-16 14:22:37 +0200 | [diff] [blame^] | 33 | tca_policy: '{"domain":"measurementsForVfScaling","metricsPerEventName":[{"eventName":"vFirewallBroadcastPackets","controlLoopSchemaType":"VNF","policyScope":"CLAMP","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) | 0ad329e | 2017-09-28 15:25:59 +0200 | [diff] [blame] | 34 | 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} |