summaryrefslogtreecommitdiffstats
path: root/openecomp-be/lib/openecomp-tosca-lib/src/test/resources
diff options
context:
space:
mode:
authorshiria <shiri.amichai@amdocs.com>2018-07-05 13:42:33 +0300
committershiria <shiri.amichai@amdocs.com>2018-07-05 13:42:33 +0300
commitd4cc2beaef58a4fc95bdc281efd879b1d1edf279 (patch)
tree11c9a118156d8b5c959b6ff009a39c9485d0d6bc /openecomp-be/lib/openecomp-tosca-lib/src/test/resources
parent7161627bd81110f59f071595448b645b189899ea (diff)
Fix node filter get methods
Support normative properties and capabilities as regular get methods Issue-ID: SDC-1455 Change-Id: I1ab709a17a2e03f81a7ae789b8c8fb83a1d03e81 Signed-off-by: shiria <shiri.amichai@amdocs.com>
Diffstat (limited to 'openecomp-be/lib/openecomp-tosca-lib/src/test/resources')
-rw-r--r--openecomp-be/lib/openecomp-tosca-lib/src/test/resources/mock/model/serviceTemplateWithServiceFilter.yaml21
1 files changed, 14 insertions, 7 deletions
diff --git a/openecomp-be/lib/openecomp-tosca-lib/src/test/resources/mock/model/serviceTemplateWithServiceFilter.yaml b/openecomp-be/lib/openecomp-tosca-lib/src/test/resources/mock/model/serviceTemplateWithServiceFilter.yaml
index e1a49a46c0..87a8fcd6b6 100644
--- a/openecomp-be/lib/openecomp-tosca-lib/src/test/resources/mock/model/serviceTemplateWithServiceFilter.yaml
+++ b/openecomp-be/lib/openecomp-tosca-lib/src/test/resources/mock/model/serviceTemplateWithServiceFilter.yaml
@@ -80,13 +80,20 @@ topology_template:
att2: '{ get_input: my_mysql_rootpw }'
att1: att1Val
requirements:
- - req1:
- service_filter:
- properties:
- - name : [{get_input : inParam1}]
- - req2:
- service_filter:
- tosca_id: {get_input : inParam1}
+ - req1:
+# capability: director
+ service_filter:
+ properties:
+ - vmdName: [{ equal : myName }]
+ - controllers: [{ equal : { get_input: controllers } }]
+ capabilities:
+ - director:
+ properties:
+ - url_path :
+ - { equal : { get_input: directorUrl } }
+ - req2:
+ service_filter:
+ tosca_id: {get_input : inParam1}
substitution_mappings:
node_type: myNodeType.node
capabilities: