commit | 479e03a28380d98ebd71b919797733276e2ef003 | [log] [tgz] |
---|---|---|
author | liamfallon <liam.fallon@est.tech> | Sun Feb 07 15:23:31 2021 +0000 |
committer | liamfallon <liam.fallon@est.tech> | Sun Feb 07 15:23:37 2021 +0000 |
tree | 6a64b0710e1b456ea4ef027e7db8375e60f7e85d | |
parent | 4e5bcfe2a7aeccebcea55c0146a38a931567ea75 [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: I7cc0ffa23fb12ab5b6e7617491dccd6f3289fa22 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 Administration Point Backend code.
To build it using Maven 3, run: mvn clean install