1 # -*- indent-tabs-mode: nil -*- # vi: set expandtab:
3 # ============LICENSE_START====================================================
4 # =============================================================================
5 # Copyright (c) 2017-2018 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
22 - "{{ ONAPTEMPLATE_RAWREPOURL_org_onap_dcaegen2_platform_plugins_releases }}/k8splugin/1.4.13/k8splugin_types.yaml"
23 - "{{ ONAPTEMPLATE_RAWREPOURL_org_onap_dcaegen2_platform_plugins_releases }}/dcaepolicyplugin/2.3.0/dcaepolicyplugin_types.yaml"
24 - "{{ ONAPTEMPLATE_RAWREPOURL_org_onap_ccsdk_platform_plugins_releases }}/type_files/pgaas/1.1.0/pgaas_types.yaml"
28 default: "http://message-router.onap.svc.cluster.local:3904/events/unauthenticated.DCAE_CL_OUTPUT"
29 #default: "http://10.0.11.1:3904/events/unauthenticated.DCAE_CL_OUTPUT"
30 ves_fault_publish_url:
32 default: "http://message-router.onap.svc.cluster.local:3904/events/unauthenticated.SEC_FAULT_OUTPUT"
33 #default: "http://10.0.11.1:3904/events/unauthenticated.SEC_FAULT_OUTPUT"
36 default: "msb-discovery.onap.svc.cluster.local"
39 default: "dcae-postgres.onap.svc.cluster.local"
40 # use the single-VM PG instance
47 default: "{{ ONAPTEMPLATE_DOCKERREGURL_org_onap_dcaegen2_releases }}/onap/holmes/engine-management:v1.0.0"
51 type: dcae.nodes.pgaas.database
53 #writerfqdn: { concat: [ { get_input: pgaas_cluster_name }, '-write.' ] }
54 writerfqdn: { get_input: pgaas_cluster_name }
55 name: { get_input: database_name }
59 type: dcae.nodes.ContainerizedPlatformComponent
61 cloudify.interfaces.lifecycle:
66 { get_attribute: [ pgaasvm, admin, host ] }
68 { get_attribute: [ pgaasvm, admin, password ] }
70 { get_attribute: [ pgaasvm, admin, user ] }
72 get_input: msb_hostname
76 name: 'holmes-engine-mgmt'
77 dns_name: 'holmes-engine-mgmt'
80 get_input: msb_hostname
81 msb.uri: /api/microservices/v1/services
87 get_input: dcae_CL_publish_url
93 get_input: ves_fault_publish_url
95 image: { get_input: he_image }
96 # need to use truncated name!!
97 #service_component_type: dcae-analytics-holmes-engin-management
99 - type: cloudify.relationships.depends_on