1 # -*- indent-tabs-mode: nil -*- # vi: set expandtab:
3 # ============LICENSE_START====================================================
4 # =============================================================================
5 # Copyright (c) 2018-2019 AT&T Intellectual Property. All rights reserved.
6 # =============================================================================
7 # Licensed under the Apache License, Version 2.0 (the "License");
8 # you may not use this file except in compliance with the License.
9 # You may obtain a copy of the License at
11 # http://www.apache.org/licenses/LICENSE-2.0
13 # Unless required by applicable law or agreed to in writing, software
14 # distributed under the License is distributed on an "AS IS" BASIS,
15 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 # See the License for the specific language governing permissions and
17 # limitations under the License.
18 # ============LICENSE_END======================================================
20 tosca_definitions_version: cloudify_dsl_1_3
23 - "http://www.getcloudify.org/spec/cloudify/3.4/types.yaml"
24 - "https://nexus.onap.org/service/local/repositories/raw/content/org.onap.dcaegen2.platform.plugins/R4/k8splugin/1.4.13/k8splugin_types.yaml"
29 description: dmaap messagerouter host
30 default: message-router.onap.svc.cluster.local
33 description: dmaap messagerouter port
37 description: dmaap messagerouter user name
41 description: dmaap messagerouter password
45 description: dmaap datarouter host
46 default: dmaap-dr-prov.onap.svc.cluster.local
49 description: dmaap datarouter port
53 description: dmaap datarouter user name
57 description: dmaap datarouter password
61 default: "nexus3.onap.org:10001/onap/org.onap.dcaegen2.collectors.datafile.datafile-app-server:1.1.3"
64 description: number of instances
68 description: port on Kubernetes host where datafile API will be exposed
72 description: secure port on Kubernetes host where datafile API will be exposed
76 description: enable certificate base connection with PNF and DMaap
81 cloudify.interfaces.lifecycle:
89 dmaap.dmaapConsumerConfiguration.dmaapHostName: { get_input: dmaap_mr_host }
90 dmaap.dmaapConsumerConfiguration.dmaapPortNumber: { get_input: dmaap_mr_port }
91 dmaap.dmaapConsumerConfiguration.dmaapTopicName: "/events/unauthenticated.VES_NOTIFICATION_OUTPUT"
92 dmaap.dmaapConsumerConfiguration.dmaapProtocol: "http"
93 dmaap.dmaapConsumerConfiguration.dmaapUserName: { get_input: dmaap_mr_user }
94 dmaap.dmaapConsumerConfiguration.dmaapUserPassword: { get_input: dmaap_mr_passwd }
95 dmaap.dmaapConsumerConfiguration.dmaapContentType: "application/json"
96 dmaap.dmaapConsumerConfiguration.consumerId: "C12"
97 dmaap.dmaapConsumerConfiguration.consumerGroup: "OpenDCAE-c12"
98 dmaap.dmaapConsumerConfiguration.timeoutMs: -1
99 dmaap.dmaapConsumerConfiguration.messageLimit: -1
100 dmaap.dmaapProducerConfiguration.dmaapHostName: { get_input: dmaap_dr_host }
101 dmaap.dmaapProducerConfiguration.dmaapPortNumber: { get_input: dmaap_dr_port }
102 dmaap.dmaapProducerConfiguration.dmaapTopicName: "publish"
103 dmaap.dmaapProducerConfiguration.dmaapProtocol: "https"
104 dmaap.dmaapProducerConfiguration.dmaapUserName: { get_input: dmaap_dr_user }
105 dmaap.dmaapProducerConfiguration.dmaapUserPassword: { get_input: dmaap_dr_passwd }
106 dmaap.dmaapProducerConfiguration.dmaapContentType: "application/octet-stream"
107 dmaap.ftp.ftpesConfiguration.keyCert: "/opt/app/datafile/config/dfc.jks"
108 dmaap.ftp.ftpesConfiguration.keyPassword: "secret"
109 dmaap.ftp.ftpesConfiguration.trustedCa: "/opt/app/datafile/config/ftp.jks"
110 dmaap.ftp.ftpesConfiguration.trustedCaPassword: "secret"
111 dmaap.security.trustStorePath: "/opt/app/datafile/etc/cert/trust.jks"
112 dmaap.security.trustStorePasswordPath: "/opt/app/datafile/etc/cert/trust.pass"
113 dmaap.security.keyStorePath: "/opt/app/datafile/etc/cert/key.p12"
114 dmaap.security.keyStorePasswordPath: "/opt/app/datafile/etc/cert/key.pass"
115 dmaap.security.enableDmaapCertAuth: { get_input: secureEnableCert }
123 get_input: tag_version
124 replicas: {get_input: replicas}
125 name: 'dcae-datafile-collector'
126 dns_name: 'dcae-datafile-collector'
128 log_directory: "/opt/app/datafile/logs"
130 cert_directory: '/opt/app/datafile/etc/cert/'
132 type: dcae.nodes.ContainerizedPlatformComponent