1 # ================================================================================
2 # Copyright (c) 2017-2020 AT&T Intellectual Property. All rights reserved.
3 # ================================================================================
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
8 # http://www.apache.org/licenses/LICENSE-2.0
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
15 # ============LICENSE_END=========================================================
17 tosca_definitions_version: cloudify_dsl_1_3
20 - http://www.getcloudify.org/spec/cloudify/3.4/types.yaml
21 - {{ ONAPTEMPLATE_RAWREPOURL_org_onap_dcaegen2 }}/type_files/relationship/1.0.0/node-type.yaml
26 type: cloudify.nodes.Root
28 - type: dcae.relationships.component_registered_to
29 target: tgt #agree this is kind of weird to be a relationship type now with a dummy target
31 cloudify.interfaces.relationship_lifecycle:
34 address_to_register: "666.666.666.666"
35 port_to_register: "666"
36 name_to_register: "TEST_REGISTERED_TO_SERVICE"
37 location_id: "rework-central"
39 tgt: #do relationships always need targets?
40 type: cloudify.nodes.Root