diff options
author | liamfallon <liam.fallon@est.tech> | 2021-02-07 15:23:31 +0000 |
---|---|---|
committer | liamfallon <liam.fallon@est.tech> | 2021-02-07 15:23:37 +0000 |
commit | 479e03a28380d98ebd71b919797733276e2ef003 (patch) | |
tree | 6a64b0710e1b456ea4ef027e7db8375e60f7e85d /testsuites | |
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>
Diffstat (limited to 'testsuites')
0 files changed, 0 insertions, 0 deletions