1 # -*- indent-tabs-mode: nil -*- # vi: set expandtab:
3 # ============LICENSE_START====================================================
4 # =============================================================================
5 # Copyright (c) 2018-2019 AT&T Intellectual Property, 2019 Nordix Foundation. 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"
25 - "https://nexus.onap.org/service/local/repositories/raw/content/org.onap.ccsdk.platform.plugins/type_files/dmaap/dmaap.yaml"
30 description: dmaap messagerouter host
31 default: message-router.onap.svc.cluster.local
34 description: dmaap messagerouter port
38 description: dmaap messagerouter protocol
42 description: DFC image tag/version
43 default: "nexus3.onap.org:10001/onap/org.onap.dcaegen2.collectors.datafile.datafile-app-server:1.2.0"
46 description: number of instances
50 description: enable certificate base connection with PNF and DMaap
54 description: feed name for dmaap producerconfiguration
55 default: "bulk_pm_feed"
58 default: "Feed for Bulk PM files"
61 description: type of different files
62 default: "PM_MEAS_FILES"
66 type: ccsdk.nodes.Feed
68 feed_name: { get_input: feedName }
69 feed_description: { get_input: feedDescription }
72 type: dcae.nodes.ContainerizedServiceComponentUsingDmaap
75 - type: ccsdk.relationships.publish_files
79 cloudify.interfaces.lifecycle:
87 service_component_type: 'dcae-datafile'
89 dmaap.ftpesConfig.keyCert: "/opt/app/datafile/config/dfc.jks"
90 dmaap.ftpesConfig.keyPassword: "secret"
91 dmaap.ftpesConfig.trustedCa: "/opt/app/datafile/config/ftp.jks"
92 dmaap.ftpesConfig.trustedCaPassword: "secret"
93 dmaap.security.trustStorePath: "/opt/app/datafile/etc/cert/trust.jks"
94 dmaap.security.trustStorePasswordPath: "/opt/app/datafile/etc/cert/trust.pass"
95 dmaap.security.keyStorePath: "/opt/app/datafile/etc/cert/key.p12"
96 dmaap.security.keyStorePasswordPath: "/opt/app/datafile/etc/cert/key.pass"
97 dmaap.security.enableDmaapCertAuth: { get_input: secureEnableCert }
98 dmaap.dmaapProducerConfiguration:
99 changeIdentifier: {get_input: changeIdentifier}
100 feedName: {get_input: feedName}
107 { concat: [{ get_input: dmaap_mr_protocol },"://",{ get_input: dmaap_mr_host },
108 ":",{ get_input: dmaap_mr_port },"/events/unauthenticated.VES_NOTIFICATION_OUTPUT/OpenDcae-c12/C12"]}
120 get_input: tag_version
121 replicas: {get_input: replicas}
123 log_directory: "/var/log/ONAP"
125 cert_directory: '/opt/app/datafile/etc/cert/'