Lusheng Ji | 8fe7093 | 2017-10-11 22:08:26 +0000 | [diff] [blame] | 1 | tosca_definitions_version: cloudify_dsl_1_3 |
| 2 | imports: |
| 3 | - {{ ONAPTEMPLATE_RAWREPOURL_org_onap_dcaegen2_platform_plugins_releases }}/type_files/dockerplugin/2/dockerplugin_types.yaml |
| 4 | - {{ ONAPTEMPLATE_RAWREPOURL_org_onap_dcaegen2_platform_plugins_releases }}/type_files/cdapcloudify/14/cdapcloudify_types.yaml |
| 5 | - {{ ONAPTEMPLATE_RAWREPOURL_org_onap_dcaegen2_platform_plugins_releases }}/type_files/dcaepolicyplugin/1/dcaepolicyplugin_types.yaml |
Hansen, Tony (th1395) | 68765fc | 2018-04-27 00:37:31 +0000 | [diff] [blame] | 6 | - {{ ONAPTEMPLATE_RAWREPOURL_org_onap_dcaegen2_platform_plugins_releases }}/relationshipplugin/1.0.0/relationshipplugin_types.yaml |
Lusheng Ji | 8fe7093 | 2017-10-11 22:08:26 +0000 | [diff] [blame] | 7 | |
| 8 | inputs: |
| 9 | connected_broker_dns_name: |
| 10 | type: string |
| 11 | default: cdap_broker |
an4828 | 0b2698b | 2017-11-01 09:54:14 -0400 | [diff] [blame] | 12 | aaiEnrichmentHost: |
| 13 | type: string |
| 14 | enableAAIEnrichment: |
| 15 | type: string |
| 16 | default: false |
| 17 | subscriberHostName: |
| 18 | type: string |
| 19 | publisherHostName: |
Lusheng Ji | 8fe7093 | 2017-10-11 22:08:26 +0000 | [diff] [blame] | 20 | type: string |
| 21 | node_templates: |
Lusheng Ji | 8fe7093 | 2017-10-11 22:08:26 +0000 | [diff] [blame] | 22 | tca_tca: |
| 23 | type: dcae.nodes.MicroService.cdap |
| 24 | properties: |
| 25 | app_config: |
| 26 | appDescription: DCAE Analytics Threshold Crossing Alert Application |
| 27 | appName: dcae-tca |
| 28 | tcaAlertsAbatementTableName: TCAAlertsAbatementTable |
| 29 | tcaAlertsAbatementTableTTLSeconds: '1728000' |
| 30 | tcaSubscriberOutputStreamName: TCASubscriberOutputStream |
| 31 | tcaVESAlertsTableName: TCAVESAlertsTable |
| 32 | tcaVESAlertsTableTTLSeconds: '1728000' |
| 33 | tcaVESMessageStatusTableName: TCAVESMessageStatusTable |
| 34 | tcaVESMessageStatusTableTTLSeconds: '86400' |
| 35 | thresholdCalculatorFlowletInstances: '2' |
| 36 | app_preferences: |
an4828 | 0b2698b | 2017-11-01 09:54:14 -0400 | [diff] [blame] | 37 | aaiEnrichmentHost: |
| 38 | get_input: aaiEnrichmentHost |
Lusheng Ji | 8fe7093 | 2017-10-11 22:08:26 +0000 | [diff] [blame] | 39 | aaiEnrichmentIgnoreSSLCertificateErrors: 'true' |
| 40 | aaiEnrichmentPortNumber: '8443' |
| 41 | aaiEnrichmentProtocol: https |
Lusheng Ji | 8fe7093 | 2017-10-11 22:08:26 +0000 | [diff] [blame] | 42 | aaiEnrichmentUserName: DCAE |
| 43 | aaiEnrichmentUserPassword: DCAE |
| 44 | aaiVMEnrichmentAPIPath: /aai/v11/search/nodes-query |
| 45 | aaiVNFEnrichmentAPIPath: /aai/v11/network/generic-vnfs/generic-vnf |
an4828 | 0b2698b | 2017-11-01 09:54:14 -0400 | [diff] [blame] | 46 | enableAAIEnrichment: |
| 47 | get_input: enableAAIEnrichment |
Lusheng Ji | 8fe7093 | 2017-10-11 22:08:26 +0000 | [diff] [blame] | 48 | enableAlertCEFFormat: 'false' |
| 49 | publisherContentType: application/json |
an4828 | 0b2698b | 2017-11-01 09:54:14 -0400 | [diff] [blame] | 50 | publisherHostName: |
| 51 | get_input: publisherHostName |
| 52 | publisherHostPort: '3904' |
Lusheng Ji | 8fe7093 | 2017-10-11 22:08:26 +0000 | [diff] [blame] | 53 | publisherMaxBatchSize: '1' |
| 54 | publisherMaxRecoveryQueueSize: '100000' |
| 55 | publisherPollingInterval: '20000' |
an4828 | 0b2698b | 2017-11-01 09:54:14 -0400 | [diff] [blame] | 56 | publisherProtocol: http |
| 57 | publisherTopicName: unauthenticated.DCAE_CL_OUTPUT |
Lusheng Ji | 8fe7093 | 2017-10-11 22:08:26 +0000 | [diff] [blame] | 58 | subscriberConsumerGroup: OpenDCAE-c12 |
| 59 | subscriberConsumerId: c12 |
| 60 | subscriberContentType: application/json |
an4828 | 0b2698b | 2017-11-01 09:54:14 -0400 | [diff] [blame] | 61 | subscriberHostName: |
| 62 | get_input: subscriberHostName |
| 63 | subscriberHostPort: '3904' |
Lusheng Ji | 8fe7093 | 2017-10-11 22:08:26 +0000 | [diff] [blame] | 64 | subscriberMessageLimit: '-1' |
| 65 | subscriberPollingInterval: '30000' |
an4828 | 0b2698b | 2017-11-01 09:54:14 -0400 | [diff] [blame] | 66 | subscriberProtocol: http |
Lusheng Ji | 8fe7093 | 2017-10-11 22:08:26 +0000 | [diff] [blame] | 67 | subscriberTimeoutMS: '-1' |
Lusheng Ji | 42f9508 | 2018-05-11 11:16:27 -0400 | [diff] [blame] | 68 | subscriberTopicName: unauthenticated.VES_MEASUREMENT_OUTPUT |
Vijay | 02d875c | 2017-10-17 15:49:33 +0000 | [diff] [blame] | 69 | tca_policy: '{"domain":"measurementsForVfScaling","metricsPerEventName":[{"eventName":"vFirewallBroadcastPackets","controlLoopSchemaType":"VNF","policyScope":"DCAE","policyName":"DCAE.Config_tca-hi-lo","policyVersion":"v0.0.1","thresholds":[{"closedLoopControlName":"ControlLoop-vFirewall-d0a1dfc6-94f5-4fd4-a5b5-4630b438850a","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.vNicUsageArray[*].receivedTotalPacketsDelta","thresholdValue":300,"direction":"LESS_OR_EQUAL","severity":"MAJOR","closedLoopEventStatus":"ONSET"},{"closedLoopControlName":"ControlLoop-vFirewall-d0a1dfc6-94f5-4fd4-a5b5-4630b438850a","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.vNicUsageArray[*].receivedTotalPacketsDelta","thresholdValue":700,"direction":"GREATER_OR_EQUAL","severity":"CRITICAL","closedLoopEventStatus":"ONSET"}]},{"eventName":"vLoadBalancer","controlLoopSchemaType":"VM","policyScope":"DCAE","policyName":"DCAE.Config_tca-hi-lo","policyVersion":"v0.0.1","thresholds":[{"closedLoopControlName":"ControlLoop-vDNS-6f37f56d-a87d-4b85-b6a9-cc953cf779b3","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.vNicUsageArray[*].receivedTotalPacketsDelta","thresholdValue":300,"direction":"GREATER_OR_EQUAL","severity":"CRITICAL","closedLoopEventStatus":"ONSET"}]},{"eventName":"Measurement_vGMUX","controlLoopSchemaType":"VNF","policyScope":"DCAE","policyName":"DCAE.Config_tca-hi-lo","policyVersion":"v0.0.1","thresholds":[{"closedLoopControlName":"ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[0].value","thresholdValue":0,"direction":"EQUAL","severity":"MAJOR","closedLoopEventStatus":"ABATED"},{"closedLoopControlName":"ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[0].value","thresholdValue":0,"direction":"GREATER","severity":"CRITICAL","closedLoopEventStatus":"ONSET"}]}]}' |
Lusheng Ji | 8fe7093 | 2017-10-11 22:08:26 +0000 | [diff] [blame] | 70 | artifact_name: dcae-analytics-cdap-tca |
| 71 | artifact_version: 2.0.0 |
| 72 | connections: |
| 73 | streams_publishes: [] |
| 74 | streams_subscribes: [] |
Lusheng Ji | 4865d6d | 2017-11-14 22:39:50 -0500 | [diff] [blame] | 75 | jar_url: https://nexus.onap.org/service/local/repositories/releases/content/org/onap/dcaegen2/analytics/tca/dcae-analytics-cdap-tca/2.0.0/dcae-analytics-cdap-tca-2.0.0.jar |
Lusheng Ji | 8fe7093 | 2017-10-11 22:08:26 +0000 | [diff] [blame] | 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 | streamname: TCASubscriberOutputStream |
Lusheng Ji | 8fe7093 | 2017-10-11 22:08:26 +0000 | [diff] [blame] | 86 | interfaces: |
| 87 | cloudify.interfaces.lifecycle: |
| 88 | create: |
| 89 | inputs: |
| 90 | connected_broker_dns_name: |
| 91 | get_input: connected_broker_dns_name |
| 92 | |