1 tosca_definitions_version: cloudify_dsl_1_3
4 This blueprint deploys/manages the TCA module as a Docker container
7 - http://www.getcloudify.org/spec/cloudify/3.4/types.yaml
8 - https://nexus.onap.org/service/local/repositories/raw/content/org.onap.dcaegen2.platform.plugins/R4/k8splugin/1.4.12/k8splugin_types.yaml
9 - https://nexus.onap.org/service/local/repositories/raw/content/org.onap.dcaegen2.platform.plugins/R4/dcaepolicyplugin/2.3.0/dcaepolicyplugin_types.yaml
13 default: "aai.onap.svc.cluster.local"
22 default: message-router.onap.svc.cluster.local
31 default: dcae-redis.onap.svc.cluster.local:6379
34 default: "nexus3.onap.org:10001/onap/org.onap.dcaegen2.deployments.tca-cdap-container:1.1.0-STAGING-latest"
37 default: consul-server.onap.svc.cluster.local
43 default: "config-binding-service.dcae.svc.cluster.local"
52 description: Kubernetes node port on which CDAPgui is exposed
56 default: "onap.policies.monitoring.cdap.tca.hi.lo.app"
60 type: dcae.nodes.ContainerizedServiceComponent
62 service_component_type: 'dcaegen2-analytics-tca'
63 application_config: {}
66 get_input: tag_version
68 log_directory: "/opt/app/TCAnalytics/logs"
70 - target: tca_policy_1
71 type: cloudify.relationships.depends_on
73 type: dcae.nodes.ContainerizedServiceComponent
75 - target: tca_policy_2
76 type: cloudify.relationships.depends_on
77 - type: clamp_node.relationships.gets_input_from
80 service_component_type: 'dcaegen2-analytics-tca'
81 application_config: {}
84 get_input: tag_version
86 log_directory: "/opt/app/TCAnalytics/logs"
89 appDescription: DCAE Analytics Threshold Crossing Alert Application
91 tcaAlertsAbatementTableName: TCAAlertsAbatementTable
92 tcaAlertsAbatementTableTTLSeconds: '1728000'
93 tcaSubscriberOutputStreamName: TCASubscriberOutputStream
94 tcaVESAlertsTableName: TCAVESAlertsTable
95 tcaVESAlertsTableTTLSeconds: '1728000'
96 tcaVESMessageStatusTableName: TCAVESMessageStatusTable
97 tcaVESMessageStatusTableTTLSeconds: '86400'
98 thresholdCalculatorFlowletInstances: '2'
101 get_input: aaiEnrichmentHost
102 aaiEnrichmentIgnoreSSLCertificateErrors: 'true'
103 aaiEnrichmentPortNumber: '8443'
104 aaiEnrichmentProtocol: https
105 aaiEnrichmentUserName: dcae@dcae.onap.org
106 aaiEnrichmentUserPassword: demo123456!
107 aaiVMEnrichmentAPIPath: /aai/v11/search/nodes-query
108 aaiVNFEnrichmentAPIPath: /aai/v11/network/generic-vnfs/generic-vnf
110 get_input: enableAAIEnrichment
112 get_input: enableRedisCaching
114 get_input: redisHosts
115 enableAlertCEFFormat: 'false'
116 publisherContentType: application/json
118 get_input: dmaap_host
120 get_input: dmaap_port
121 publisherMaxBatchSize: '1'
122 publisherMaxRecoveryQueueSize: '100000'
123 publisherPollingInterval: '20000'
124 publisherProtocol: http
125 publisherTopicName: unauthenticated.DCAE_CL_OUTPUT
126 subscriberConsumerGroup: OpenDCAE-c12
127 subscriberConsumerId: c12
128 subscriberContentType: application/json
130 get_input: dmaap_host
132 get_input: dmaap_port
133 subscriberMessageLimit: '-1'
134 subscriberPollingInterval: '30000'
135 subscriberProtocol: http
136 subscriberTimeoutMS: '-1'
137 subscriberTopicName: unauthenticated.VES_MEASUREMENT_OUTPUT
139 service_component_type: dcaegen2-analytics_tca
141 cloudify.interfaces.lifecycle:
146 { get_input: dmaap_host }
148 { get_input: dmaap_port }
149 DMAAPPUBTOPIC: "unauthenticated.DCAE_CL_OUTPUT"
150 DMAAPSUBTOPIC: "unauthenticated.VES_MEASUREMENT_OUTPUT"
152 { get_input: aaiEnrichmentHost }
154 { get_input: aaiEnrichmentPort }
156 { get_input: consul_host }
158 { get_input: consul_port }
160 { get_input: cbs_host }
162 { get_input: cbs_port }
163 CONFIG_BINDING_SERVICE: "config_binding_service"
165 - concat: ["11011:", { get_input: external_port }]
167 type: dcae.nodes.ContainerizedServiceComponent
169 service_component_type: 'dcaegen2-analytics-tca'
170 application_config: {}
173 get_input: tag_version
175 log_directory: "/opt/app/TCAnalytics/logs"
177 - target: tca_policy_3
178 type: cloudify.relationships.depends_on
179 - type: clamp_node.relationships.gets_input_from
182 type: dcae.nodes.policy
187 get_input: policy_model_id
189 type: dcae.nodes.policy
194 get_input: policy_model_id
197 type: dcae.nodes.policy
202 get_input: policy_model_id