2 # ============LICENSE_START=======================================================
3 # Copyright (C) 2021 Nokia
4 # Copyright (c) 2021 AT&T Intellectual Property. All rights reserved
5 # ================================================================================
6 # Licensed under the Apache License, Version 2.0 (the 'License');
7 # you may not use this file except in compliance with the License.
8 # You may obtain a copy of the License at
10 # http://www.apache.org/licenses/LICENSE-2.0
12 # Unless required by applicable law or agreed to in writing, software
13 # distributed under the License is distributed on an 'AS IS' BASIS,
14 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 # See the License for the specific language governing permissions and
16 # limitations under the License.
18 # SPDX-License-Identifier: Apache-2.0
19 # ============LICENSE_END=========================================================
22 #description: Docker application to collect log file from PNF
23 #blueprint_version: 1.0.0
25 tosca_definitions_version: cloudify_dsl_1_3
26 description: Docker application to collect log file from PNF
28 - http://www.getcloudify.org/spec/cloudify/4.5.5/types.yaml
29 - plugin:k8splugin?version=>=3.4.3,<4.0.0
30 - plugin:dmaap?version=>=1.5.1,<2.0.0
32 PM_MEAS_FILES_feed0_location:
37 default: "/opt/app/datafile/etc/cert/"
38 datafile-collector_cpu_limit:
41 datafile-collector_cpu_request:
44 datafile-collector_memory_limit:
47 datafile-collector_memory_request:
57 default: "bulk_pm_feed"
60 default: "unauthenticated.VES_NOTIFICATION_OUTPUT"
63 default: "OpenDcae-c12"
69 default: "/var/log/ONAP"
72 description: number of instances
76 default: "nexus3.onap.org:10001/onap/org.onap.dcaegen2.collectors.datafile.datafile-app-server:1.6.1"
80 external_cert_ca_name:
82 description: Name of Certificate Authority configured on CertService side.
84 external_cert_cert_type:
86 description: Format of provided certificates
88 external_cert_common_name:
90 description: Common name which should be present in certificate.
91 default: "dcae-datafile-collector"
94 description: '"List of Subject Alternative Names (SANs) which should be present
95 in certificate. Delimiter - , Should contain common_name value and other FQDNs
96 under which given component is accessible."'
97 default: "dcae-datafile-collector,datafile-collector,datafile"
98 external_cert_use_external_tls:
100 description: Flag to indicate external tls enable/disable.
104 type: dcae.nodes.ContainerizedServiceComponentUsingDmaap
106 cloudify.interfaces.lifecycle:
116 dmaap_info: <<feed0>>
118 dmaap.certificateConfig.keyCert: /opt/app/datafile/etc/cert/cert.p12
119 dmaap.certificateConfig.keyPasswordPath: /opt/app/datafile/etc/cert/p12.pass
120 dmaap.certificateConfig.trustedCa: /opt/app/datafile/etc/cert/trust.jks
121 dmaap.certificateConfig.trustedCaPasswordPath: /opt/app/datafile/etc/cert/trust.pass
122 dmaap.security.enableDmaapCertAuth: true
123 dmaap.security.keyStorePasswordPath: /opt/app/datafile/etc/cert/jks.pass
124 dmaap.security.keyStorePath: /opt/app/datafile/etc/cert/cert.jks
125 dmaap.security.trustStorePasswordPath: /opt/app/datafile/etc/cert/trust.pass
126 dmaap.security.trustStorePath: /opt/app/datafile/etc/cert/trust.jks
127 dmaap.dmaapConsumerConfiguration.consumerGroup:
128 get_input: consumer_group
129 dmaap.dmaapConsumerConfiguration.consumerId:
130 get_input: consumer_id
131 dmaap.dmaapConsumerConfiguration.timeoutMs: -1
132 sftp.security.strictHostKeyChecking: true
137 topic_url: { concat: ['https://message-router:3905/events/',{ get_input: topic_name }] }
145 - concat: ["8100", {get_input: external_port}]
146 - concat: ["8433", {get_input: external_port}]
148 get_input: tag_version
149 service_component_type: datafile-collector
152 get_input: log_directory
158 get_input: PM_MEAS_FILES_feed0_location
162 get_input: cert_directory
166 external_cert_directory:
167 get_input: cert_directory
169 get_input: external_cert_use_external_tls
171 get_input: external_cert_ca_name
173 get_input: external_cert_cert_type
174 external_certificate_parameters:
176 get_input: external_cert_common_name
178 get_input: external_cert_sans
182 get_input: datafile-collector_cpu_limit
184 get_input: datafile-collector_memory_limit
187 get_input: datafile-collector_cpu_request
189 get_input: datafile-collector_memory_request
191 - type: dcaegen2.relationships.publish_files
194 type: dcaegen2.nodes.Feed
197 get_input: feed0_name