1 # -*- indent-tabs-mode: nil -*- # vi: set expandtab:
3 # ============LICENSE_START====================================================
4 # =============================================================================
5 # Copyright (c) 2018-2020 AT&T Intellectual Property. All rights reserved.
6 # Copyright (c) 2020 Nokia. All rights reserved.
7 # =============================================================================
8 # Licensed under the Apache License, Version 2.0 (the "License");
9 # you may not use this file except in compliance with the License.
10 # You may obtain a copy of the License at
12 # http://www.apache.org/licenses/LICENSE-2.0
14 # Unless required by applicable law or agreed to in writing, software
15 # distributed under the License is distributed on an "AS IS" BASIS,
16 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 # See the License for the specific language governing permissions and
18 # limitations under the License.
19 # ============LICENSE_END======================================================
21 tosca_definitions_version: cloudify_dsl_1_3
24 - https://www.getcloudify.org/spec/cloudify/4.5.5/types.yaml
25 - plugin:k8splugin?version=3.4.2
28 ves_other_publish_url:
30 default: "http://message-router.onap.svc.cluster.local:3904/events/unauthenticated.SEC_OTHER_OUTPUT"
31 ves_heartbeat_publish_url:
33 default: "http://message-router.onap.svc.cluster.local:3904/events/unauthenticated.SEC_HEARTBEAT_OUTPUT"
34 ves_fault_publish_url:
36 default: "http://message-router.onap.svc.cluster.local:3904/events/unauthenticated.SEC_FAULT_OUTPUT"
37 ves_measurement_publish_url:
39 default: "http://message-router.onap.svc.cluster.local:3904/events/unauthenticated.VES_MEASUREMENT_OUTPUT"
40 ves_notification_publish_url:
42 default: "http://message-router.onap.svc.cluster.local:3904/events/unauthenticated.VES_NOTIFICATION_OUTPUT"
43 ves_pnfRegistration_publish_url:
45 default: "http://message-router.onap.svc.cluster.local:3904/events/unauthenticated.VES_PNFREG_OUTPUT"
46 ves_3gpp_fault_supervision_publish_url:
48 default: "http://message-router.onap.svc.cluster.local:3904/events/unauthenticated.SEC_3GPP_FAULTSUPERVISION_OUTPUT"
49 ves_3gpp_provisioning_publish_url:
51 default: "http://message-router.onap.svc.cluster.local:3904/events/unauthenticated.SEC_3GPP_PROVISIONING_OUTPUT"
52 ves_3gpp_hearbeat_publish_url:
54 default: "http://message-router.onap.svc.cluster.local:3904/events/unauthenticated.SEC_3GPP_HEARTBEAT_OUTPUT"
55 ves_3gpp_performance_assurance_publish_url:
57 default: "http://message-router.onap.svc.cluster.local:3904/events/unauthenticated.SEC_3GPP_PERFORMANCEASSURANCE_OUTPUT"
60 default: "nexus3.onap.org:10001/onap/org.onap.dcaegen2.collectors.ves.vescollector:1.7.9"
63 description: Kubernetes node port on which collector is exposed
67 description: Kubernetes node port on which collector is exposed
71 description: Kubernetes node port on which collector is exposed
75 description: Kubernetes node port on which collector is exposed
80 service_component_type:
82 default: "dcae-ves-collector"
85 default: "dcae-ves-collector"
86 service_component_name_override:
88 default: "dcae-ves-collector"
92 external_cert_cert_type:
94 description: Output type
96 external_cert_ca_name:
98 description: Name of Certificate Authority configured on CertService side.
100 external_cert_common_name:
102 description: Common name which should be present in certificate.
103 default: "dcae-ves-collector"
106 description: "List of Subject Alternative Names (SANs) which should be present
107 in certificate. Delimiter - : Should contain common_name value and other FQDNs
108 under which given component is accessible."
109 default: "dcae-ves-collector:ves-collector:ves"
110 external_cert_use_external_tls:
112 description: Flag to indicate external tls enable/disable.
116 description: number of instances
120 description: List of user,password separated by pipe; pwd should be generated by using crypt-password tool (https://nexus.onap.org/#nexus-search;quick~crypt-password)
121 default: "sample1,$2a$10$0buh.2WeYwN868YMwnNNEuNEAMNYVU9.FSMJGyIKV3dGET/7oGOi6|demouser,$2a$10$1cc.COcqV/d3iT2N7BjPG.S6ZKv2jpb9a5MV.o7lMih/GpjJRX.Ce"
122 collector_externalSchema_checkflag:
125 collector_externalSchema_schemasLocation:
127 default: "./etc/externalRepo/"
128 collector_externalSchema_mappingFileLocation:
130 default: "./etc/externalRepo/schema-map.json"
134 cloudify.interfaces.lifecycle:
138 - concat: [{get_input: internal_port},":",{get_input: external_port}]
139 - concat: [{get_input: internal_port_tls},":",{get_input: external_port_tls}]
142 collector.dmaap.streamid: fault=ves-fault|syslog=ves-syslog|heartbeat=ves-heartbeat|measurement=ves-measurement|measurementsForVfScaling=ves-measurement|mobileFlow=ves-mobileflow|other=ves-other|stateChange=ves-statechange|thresholdCrossingAlert=ves-thresholdCrossingAlert|voiceQuality=ves-voicequality|sipSignaling=ves-sipsignaling|notification=ves-notification|pnfRegistration=ves-pnfRegistration|3GPP-FaultSupervision=ves-3gpp-fault-supervision|3GPP-Heartbeat=ves-3gpp-heartbeat|3GPP-Provisioning=ves-3gpp-provisioning|3GPP-PerformanceAssurance=ves-3gpp-performance-assurance
143 collector.inputQueue.maxPending: "8096"
144 collector.keystore.file.location: /opt/app/dcae-certificate/cert.jks
145 collector.keystore.passwordfile: /opt/app/dcae-certificate/jks.pass
146 collector.truststore.file.location: /opt/app/dcae-certificate/trust.jks
147 collector.truststore.passwordfile: /opt/app/dcae-certificate/trust.pass
148 collector.schema.checkflag: "1"
149 collector.schema.file: "{\"v1\":\"./etc/CommonEventFormat_27.2.json\",\"v2\":\"./etc/CommonEventFormat_27.2.json\",\"v3\":\"./etc/CommonEventFormat_27.2.json\",\"v4\":\"./etc/CommonEventFormat_27.2.json\",\"v5\":\"./etc/CommonEventFormat_28.4.1.json\",\"v7\":\"./etc/CommonEventFormat_30.2_ONAP.json\"}"
150 collector.externalSchema.checkflag:
151 get_input: collector_externalSchema_checkflag
152 collector.externalSchema.schemasLocation:
153 get_input: collector_externalSchema_schemasLocation
154 collector.externalSchema.mappingFileLocation:
155 get_input: collector_externalSchema_mappingFileLocation
156 event.externalSchema.schemaRefPath: $.event.stndDefinedFields.schemaReference
157 event.externalSchema.stndDefinedDataPath: $.event.stndDefinedFields.data
158 collector.service.port: "8080"
159 collector.service.secure.port: "8443"
160 event.transform.flag: "0"
162 get_input: auth_method
170 get_input: ves_fault_publish_url
175 get_input: ves_measurement_publish_url
180 get_input: ves_notification_publish_url
185 get_input: ves_pnfRegistration_publish_url
190 get_input: ves_heartbeat_publish_url
195 get_input: ves_other_publish_url
197 ves-3gpp-fault-supervision:
200 get_input: ves_3gpp_fault_supervision_publish_url
202 ves-3gpp-provisioning:
205 get_input: ves_3gpp_provisioning_publish_url
210 get_input: ves_3gpp_hearbeat_publish_url
212 ves-3gpp-performance-assurance:
215 get_input: ves_3gpp_performance_assurance_publish_url
217 collector.dynamic.config.update.frequency: "5"
220 endpoint: /healthcheck
225 get_input: tag_version
226 replicas: {get_input: replicas}
227 service_component_type: { get_input: service_component_type }
228 service_id: { get_input: service_id }
229 service_component_name_override: { get_input: service_component_name_override }
231 log_directory: "/opt/app/VESCollector/logs"
233 cert_directory: '/opt/app/dcae-certificate/'
235 get_input: enable_tls
237 external_cert_directory: '/opt/app/dcae-certificate/'
239 get_input: external_cert_use_external_tls
241 get_input: external_cert_cert_type
243 get_input: external_cert_ca_name
244 external_certificate_parameters:
246 get_input: external_cert_common_name
248 get_input: external_cert_sans
249 type: dcae.nodes.ContainerizedServiceComponent