2 # ============LICENSE_START=======================================================
3 # Copyright (C) 2021 Nokia
4 # ================================================================================
5 # Licensed under the Apache License, Version 2.0 (the 'License');
6 # you may not use this file except in compliance with the License.
7 # You may obtain a copy of the License at
9 # http://www.apache.org/licenses/LICENSE-2.0
11 # Unless required by applicable law or agreed to in writing, software
12 # distributed under the License is distributed on an 'AS IS' BASIS,
13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 # See the License for the specific language governing permissions and
15 # limitations under the License.
17 # SPDX-License-Identifier: Apache-2.0
18 # ============LICENSE_END=========================================================
21 #description: Docker application to collect log file from PNF
22 #blueprint_version: 1.0.0
24 tosca_definitions_version: cloudify_dsl_1_3
25 description: Docker application to collect log file from PNF
27 - http://www.getcloudify.org/spec/cloudify/4.5.5/types.yaml
28 - plugin:k8splugin?version=>=3.4.3,<4.0.0
29 - plugin:dmaap?version=>=1.5.1,<2.0.0
31 PM_MEAS_FILES_feed0_location:
36 default: "/opt/app/datafile/etc/cert/"
37 datafile-collector_cpu_limit:
40 datafile-collector_cpu_request:
43 datafile-collector_memory_limit:
46 datafile-collector_memory_request:
56 default: "bulk_pm_feed"
59 default: "unauthenticated.VES_NOTIFICATION_OUTPUT"
62 default: "OpenDcae-c12"
68 default: "/var/log/ONAP"
71 description: number of instances
75 default: "nexus3.onap.org:10001/onap/org.onap.dcaegen2.collectors.datafile.datafile-app-server:1.5.5"
79 external_cert_ca_name:
81 description: Name of Certificate Authority configured on CertService side.
83 external_cert_cert_type:
85 description: Format of provided certificates
87 external_cert_common_name:
89 description: Common name which should be present in certificate.
90 default: "dcae-datafile-collector"
93 description: '"List of Subject Alternative Names (SANs) which should be present
94 in certificate. Delimiter - , Should contain common_name value and other FQDNs
95 under which given component is accessible."'
96 default: "dcae-datafile-collector,datafile-collector,datafile"
97 external_cert_use_external_tls:
99 description: Flag to indicate external tls enable/disable.
103 type: dcae.nodes.ContainerizedServiceComponentUsingDmaap
105 cloudify.interfaces.lifecycle:
115 dmaap_info: <<feed0>>
117 dmaap.certificateConfig.keyCert: /opt/app/datafile/etc/cert/cert.p12
118 dmaap.certificateConfig.keyPasswordPath: /opt/app/datafile/etc/cert/p12.pass
119 dmaap.certificateConfig.trustedCa: /opt/app/datafile/etc/cert/trust.jks
120 dmaap.certificateConfig.trustedCaPasswordPath: /opt/app/datafile/etc/cert/trust.pass
121 dmaap.security.enableDmaapCertAuth: true
122 dmaap.security.keyStorePasswordPath: /opt/app/datafile/etc/cert/jks.pass
123 dmaap.security.keyStorePath: /opt/app/datafile/etc/cert/cert.jks
124 dmaap.security.trustStorePasswordPath: /opt/app/datafile/etc/cert/trust.pass
125 dmaap.security.trustStorePath: /opt/app/datafile/etc/cert/trust.jks
126 dmaap.dmaapConsumerConfiguration.consumerGroup:
127 get_input: consumer_group
128 dmaap.dmaapConsumerConfiguration.consumerId:
129 get_input: consumer_id
130 dmaap.dmaapConsumerConfiguration.timeoutMs: -1
131 sftp.security.strictHostKeyChecking: true
136 topic_url: { concat: ['https://message-router:3905/events/',{ get_input: topic_name }] }
144 - concat: ["8100", {get_input: external_port}]
145 - concat: ["8433", {get_input: external_port}]
147 get_input: tag_version
148 service_component_type: datafile-collector
151 get_input: log_directory
157 get_input: PM_MEAS_FILES_feed0_location
161 get_input: cert_directory
165 external_cert_directory:
166 get_input: cert_directory
168 get_input: external_cert_use_external_tls
170 get_input: external_cert_ca_name
172 get_input: external_cert_cert_type
173 external_certificate_parameters:
175 get_input: external_cert_common_name
177 get_input: external_cert_sans
181 get_input: datafile-collector_cpu_limit
183 get_input: datafile-collector_memory_limit
186 get_input: datafile-collector_cpu_request
188 get_input: datafile-collector_memory_request
190 - type: dcaegen2.relationships.publish_files
193 type: dcaegen2.nodes.Feed
196 get_input: feed0_name