commit | 0b0fd8d7c890a75ee1fe829c68b92cf670a4a29f | [log] [tgz] |
---|---|---|
author | liamfallon <liam.fallon@est.tech> | Sun Feb 07 15:20:23 2021 +0000 |
committer | liamfallon <liam.fallon@est.tech> | Sun Feb 07 15:20:28 2021 +0000 |
tree | af4541fb9f4735055db79b69fb68fc1b6265eb8e | |
parent | fdaa8dc48d80d14177d9c955160e7534be505192 [diff] |
Make filters on TOSCA entities generic The classes PolicyTypeFilter and PolicyFilter only work on Policy types and policies. However they just filter on name/version/type/typeversion so there is no reason that the filters could not be applied to other entities. This commit adapts the PolicyTypeFilter to EntityFilter and PolicyFilter to TypedEntityFilter, so the filters can be applied to collections of any ToscaEntity class. Issue-ID: POLICY-2995 Change-Id: Ibf12c757758d31ec3075119c56243e0abcf259bf Signed-off-by: liamfallon <liam.fallon@est.tech>
Copyright 2017-2018 AT&T Intellectual Property. All rights reserved. This file is licensed under the CREATIVE COMMONS ATTRIBUTION 4.0 INTERNATIONAL LICENSE Full license text at https://creativecommons.org/licenses/by/4.0/legalcode
This source repository contains the ONAP Policy API code.
To build it using Maven 3, run: mvn clean install