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
63 type: cloudify.relationships.depends_on
65 service_component_type: 'dcaegen2-analytics-tca'
66 application_config: {}
69 get_input: tag_version
71 log_directory: "/opt/app/TCAnalytics/logs"
74 appDescription: DCAE Analytics Threshold Crossing Alert Application
76 tcaAlertsAbatementTableName: TCAAlertsAbatementTable
77 tcaAlertsAbatementTableTTLSeconds: '1728000'
78 tcaSubscriberOutputStreamName: TCASubscriberOutputStream
79 tcaVESAlertsTableName: TCAVESAlertsTable
80 tcaVESAlertsTableTTLSeconds: '1728000'
81 tcaVESMessageStatusTableName: TCAVESMessageStatusTable
82 tcaVESMessageStatusTableTTLSeconds: '86400'
83 thresholdCalculatorFlowletInstances: '2'
86 get_input: aaiEnrichmentHost
87 aaiEnrichmentIgnoreSSLCertificateErrors: 'true'
88 aaiEnrichmentPortNumber: '8443'
89 aaiEnrichmentProtocol: https
90 aaiEnrichmentUserName: dcae@dcae.onap.org
91 aaiEnrichmentUserPassword: demo123456!
92 aaiVMEnrichmentAPIPath: /aai/v11/search/nodes-query
93 aaiVNFEnrichmentAPIPath: /aai/v11/network/generic-vnfs/generic-vnf
95 get_input: enableAAIEnrichment
97 get_input: enableRedisCaching
100 enableAlertCEFFormat: 'false'
101 publisherContentType: application/json
103 get_input: dmaap_host
105 get_input: dmaap_port
106 publisherMaxBatchSize: '1'
107 publisherMaxRecoveryQueueSize: '100000'
108 publisherPollingInterval: '20000'
109 publisherProtocol: http
110 publisherTopicName: unauthenticated.DCAE_CL_OUTPUT
111 subscriberConsumerGroup: OpenDCAE-c12
112 subscriberConsumerId: c12
113 subscriberContentType: application/json
115 get_input: dmaap_host
117 get_input: dmaap_port
118 subscriberMessageLimit: '-1'
119 subscriberPollingInterval: '30000'
120 subscriberProtocol: http
121 subscriberTimeoutMS: '-1'
122 subscriberTopicName: unauthenticated.VES_MEASUREMENT_OUTPUT
124 service_component_type: dcaegen2-analytics_tca
126 cloudify.interfaces.lifecycle:
131 { get_input: dmaap_host }
133 { get_input: dmaap_port }
134 DMAAPPUBTOPIC: "unauthenticated.DCAE_CL_OUTPUT"
135 DMAAPSUBTOPIC: "unauthenticated.VES_MEASUREMENT_OUTPUT"
137 { get_input: aaiEnrichmentHost }
139 { get_input: aaiEnrichmentPort }
141 { get_input: consul_host }
143 { get_input: consul_port }
145 { get_input: cbs_host }
147 { get_input: cbs_port }
148 CONFIG_BINDING_SERVICE: "config_binding_service"
150 - concat: ["11011:", { get_input: external_port }]
152 type: dcae.nodes.policy
157 get_input: policy_model_id