Fix dcaepolicyplugin dependency
[dcaegen2/platform/plugins.git] / clamp-policy / clamppolicyplugin_types.yaml
1 # =================================================================================
2 # Copyright (c) 2019 Wipro Limited Intellectual Property. All rights reserved.
3 # Modifications copyright (c) 2020 AT&T Intellectual Property. All rights reserved.
4 # =================================================================================
5 # Licensed under the Apache License, Version 2.0 (the "License");
6 # you may not use this file except in compliance with the License.
7 # You may obtain a copy of the License at
8 #
9 #      http://www.apache.org/licenses/LICENSE-2.0
10 #
11 # Unless required by applicable law or agreed to in writing, software
12 # distributed under the License is distributed on an "AS IS" BASIS,
13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 # See the License for the specific language governing permissions and
15 # limitations under the License.
16 # ============LICENSE_END=========================================================
17 #
18
19 tosca_definitions_version: cloudify_dsl_1_3
20
21 imports:
22     - http://www.getcloudify.org/spec/cloudify/4.5.5/types.yaml
23     - plugin:dcaepolicyplugin?version=2.4.0
24
25 plugins:
26   clamppolicy:
27     executor: 'central_deployment_agent'
28     package_name: clamppolicyplugin
29     package_version: 1.1.1
30
31 relationships:
32   # relationship that maintains mapping between micro-service and corresponding model id
33   clamp_node.relationships.gets_input_from:
34     derived_from: cloudify.relationships.depends_on
35
36 node_types:
37     # node that maintains mapping between micro-service and corresponding model id
38     clamp.nodes.policy:
39         derived_from: dcae.nodes.policy
40         properties:
41             policy_model_id:
42                 description: policy-model-id generated by SDC
43                 type: string