1 # ================================================================================
2 # Copyright (c) 2017-2018 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 # ECOMP is a trademark and service mark of AT&T Intellectual Property.
18 tosca_definitions_version: cloudify_dsl_1_3
21 - http://www.getcloudify.org/spec/cloudify/3.4/types.yaml
22 - {{ ONAPTEMPLATE_RAWREPOURL_org_onap_dcaegen2 }}/type_files/relationship/1.0.0/node-type.yaml
27 type: cloudify.nodes.Root
29 - type: dcae.relationships.component_registered_to
30 target: tgt #agree this is kind of weird to be a relationship type now with a dummy target
32 cloudify.interfaces.relationship_lifecycle:
35 address_to_register: "666.666.666.666"
36 port_to_register: "666"
37 name_to_register: "TEST_REGISTERED_TO_SERVICE"
38 location_id: "rework-central"
40 tgt: #do relationships always need targets?
41 type: cloudify.nodes.Root