diff options
author | 2021-02-07 15:23:31 +0000 | |
---|---|---|
committer | 2021-02-07 15:23:37 +0000 | |
commit | 479e03a28380d98ebd71b919797733276e2ef003 (patch) | |
tree | 6a64b0710e1b456ea4ef027e7db8375e60f7e85d /testsuites/stability | |
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/stability')
0 files changed, 0 insertions, 0 deletions