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"
62 type: ccsdk.nodes.Feed
64 feed_name: { get_input: feedName }
65 feed_description: { get_input: feedDescription }
68 type: dcae.nodes.ContainerizedServiceComponentUsingDmaap
71 - type: ccsdk.relationships.publish_files
75 cloudify.interfaces.lifecycle:
83 service_component_type: 'dcae-datafile'
85 dmaap.ftpesConfig.keyCert: "/opt/app/datafile/config/dfc.jks"
86 dmaap.ftpesConfig.keyPassword: "secret"
87 dmaap.ftpesConfig.trustedCa: "/opt/app/datafile/config/ftp.jks"
88 dmaap.ftpesConfig.trustedCaPassword: "secret"
89 dmaap.security.trustStorePath: "/opt/app/datafile/etc/cert/trust.jks"
90 dmaap.security.trustStorePasswordPath: "/opt/app/datafile/etc/cert/trust.pass"
91 dmaap.security.keyStorePath: "/opt/app/datafile/etc/cert/key.p12"
92 dmaap.security.keyStorePasswordPath: "/opt/app/datafile/etc/cert/key.pass"
93 dmaap.security.enableDmaapCertAuth: { get_input: secureEnableCert }
96 dmaap_info: <<bulk_pm_feed>>
104 { concat: [{ get_input: dmaap_mr_protocol },"://",{ get_input: dmaap_mr_host },
105 ":",{ get_input: dmaap_mr_port },"/events/unauthenticated.VES_NOTIFICATION_OUTPUT/OpenDcae-c12/C12"]}
117 get_input: tag_version
118 replicas: {get_input: replicas}
120 log_directory: "/var/log/ONAP"
122 cert_directory: '/opt/app/datafile/etc/cert/'