1 # -*- indent-tabs-mode: nil -*- # vi: set expandtab:
3 # ============LICENSE_START====================================================
4 # =============================================================================
5 # Copyright (c) 2017-2020 AT&T Intellectual Property. All rights reserved.
6 # Copyright (c) 2020 Nokia Intellectual Property. All rights reserved.
7 # =============================================================================
8 # Licensed under the Apache License, Version 2.0 (the "License");
9 # you may not use this file except in compliance with the License.
10 # You may obtain a copy of the License at
12 # http://www.apache.org/licenses/LICENSE-2.0
14 # Unless required by applicable law or agreed to in writing, software
15 # distributed under the License is distributed on an "AS IS" BASIS,
16 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 # See the License for the specific language governing permissions and
18 # limitations under the License.
19 # ============LICENSE_END=====================================================
21 tosca_definitions_version: cloudify_dsl_1_3
23 - https://www.getcloudify.org/spec/cloudify/4.5.5/types.yaml
24 - plugin:k8splugin?version=3.4.3
25 - plugin:dcaepolicyplugin?version=2.4.0
26 - plugin:pgaas?version=1.3.0
30 default: "http://message-router.onap:3904/events/unauthenticated.DCAE_CL_OUTPUT"
31 ves_fault_publish_url:
33 default: "http://message-router.onap:3904/events/unauthenticated.SEC_FAULT_OUTPUT"
36 default: "msb-iag.onap"
39 default: "dcae-pg-primary.onap"
40 # use the single-VM PG instance
47 default: "nexus3.onap.org:10001/onap/holmes/engine-management:1.2.9"
48 service_component_type:
50 default: "holmes-engine-mgmt"
53 default: "holmes-engine-mgmt"
54 service_component_name_override:
56 default: "holmes-engine-mgmt"
57 dcae-analytics-holmes-engine-mgt_cpu_limit:
60 dcae-analytics-holmes-engine-mgt_cpu_request:
63 dcae-analytics-holmes-engine-mgt_memory_limit:
66 dcae-analytics-holmes-engine-mgt_memory_request:
71 type: dcae.nodes.pgaas.database
73 #writerfqdn: { concat: [ { get_input: pgaas_cluster_name }, '-write.' ] }
74 writerfqdn: { get_input: pgaas_cluster_name }
75 name: { get_input: database_name }
79 type: dcae.nodes.ContainerizedServiceComponent
81 cloudify.interfaces.lifecycle:
86 { get_attribute: [ pgaasvm, admin, host ] }
88 { get_attribute: [ pgaasvm, admin, password ] }
90 { get_attribute: [ pgaasvm, admin, user ] }
92 get_input: msb_hostname
96 service_component_type: { get_input: service_component_type }
97 service_id: { get_input: service_id }
98 service_component_name_override: { get_input: service_component_name_override }
101 get_input: msb_hostname
102 msb.uri: /api/microservices/v1/services
108 get_input: dcae_CL_publish_url
114 get_input: ves_fault_publish_url
116 image: { get_input: he_image }
117 # need to use truncated name!!
118 #service_component_type: dcae-analytics-holmes-engin-management
122 get_input: dcae-analytics-holmes-engine-mgt_cpu_limit
124 get_input: dcae-analytics-holmes-engine-mgt_memory_limit
127 get_input: dcae-analytics-holmes-engine-mgt_cpu_request
129 get_input: dcae-analytics-holmes-engine-mgt_memory_request
131 - type: cloudify.relationships.depends_on