1 # -*- indent-tabs-mode: nil -*- # vi: set expandtab:
3 # ============LICENSE_START====================================================
4 # =============================================================================
5 # Copyright (c) 2018 AT&T, NOKIA
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 - {{ ONAPTEMPLATE_RAWREPOURL_org_onap_dcaegen2_platform_plugins_releases }}/k8splugin/1.4.3/k8splugin_types.yaml
29 default: "aai.onap.svc.cluster.local"
35 description: aai user name
39 description: aai password
43 description: dmaap host
44 default: message-router.onap.svc.cluster.local
47 description: dmaap port
51 description: dmap user name
55 description: dmap password
59 default: "{{ ONAPTEMPLATE_DOCKERREGURL_org_onap_dcaegen2_releases }}/onap/org.onap.dcaegen2.services.prh.prh-app-server:1.0.0"
62 description: number of instances
65 description: port on Kubernetes host where PRH API will be exposed
71 dmaap.dmaapConsumerConfiguration.dmaapHostName: { get_input: dmaap_host }
72 dmaap.dmaapConsumerConfiguration.dmaapPortNumber: { get_input: dmaap_port }
73 dmaap.dmaapConsumerConfiguration.dmaapTopicName: "/events/unauthenticated.VES_PNFREG_OUTPUT"
74 dmaap.dmaapConsumerConfiguration.dmaapProtocol: "http"
75 dmaap.dmaapConsumerConfiguration.dmaapUserName: { get_input: dmaap_user }
76 dmaap.dmaapConsumerConfiguration.dmaapUserPassword: { get_input: dmaap_passwd }
77 dmaap.dmaapConsumerConfiguration.dmaapContentType: "application/json"
78 dmaap.dmaapConsumerConfiguration.consumerId: "c12"
79 dmaap.dmaapConsumerConfiguration.consumerGroup: "OpenDCAE-c12"
80 dmaap.dmaapConsumerConfiguration.timeoutMs: -1
81 dmaap.dmaapConsumerConfiguration.messageLimit: -1
82 dmaap.dmaapProducerConfiguration.dmaapHostName: { get_input: dmaap_host }
83 dmaap.dmaapProducerConfiguration.dmaapPortNumber: { get_input: dmaap_port }
84 dmaap.dmaapProducerConfiguration.dmaapTopicName: "/events/unauthenticated.PNF_READY"
85 dmaap.dmaapProducerConfiguration.dmaapProtocol: "http"
86 dmaap.dmaapProducerConfiguration.dmaapUserName: { get_input: dmaap_user }
87 dmaap.dmaapProducerConfiguration.dmaapUserPassword: { get_input: dmaap_passwd }
88 dmaap.dmaapProducerConfiguration.dmaapContentType: "application/json"
89 aai.aaiClientConfiguration.aaiHost: { get_input: aaiEnrichmentHost }
90 aai.aaiClientConfiguration.aaiHostPortNumber: { get_input: aaiEnrichmentPort }
91 aai.aaiClientConfiguration.aaiProtocol: "https"
92 aai.aaiClientConfiguration.aaiUserName: { get_input: aaiEnrichmentUser }
93 aai.aaiClientConfiguration.aaiUserPassword: { get_input: aaiEnrichmentPasswd }
94 aai.aaiClientConfiguration.aaiIgnoreSslCertificateErrors: true
95 aai.aaiClientConfiguration.aaiBasePath: "/aai/v12"
96 aai.aaiClientConfiguration.aaiPnfPath: "/network/pnfs/pnf"
98 { get_input: host_port }
108 get_input: tag_version
109 replicas: {get_input: replicas}
113 log_directory: "/opt/app/prh/logs"
114 type: dcae.nodes.ContainerizedPlatformComponent