aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorliamfallon <liam.fallon@est.tech>2021-02-07 15:23:31 +0000
committerliamfallon <liam.fallon@est.tech>2021-02-07 15:23:37 +0000
commit479e03a28380d98ebd71b919797733276e2ef003 (patch)
tree6a64b0710e1b456ea4ef027e7db8375e60f7e85d /packages
parent4e5bcfe2a7aeccebcea55c0146a38a931567ea75 (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 'packages')
0 files changed, 0 insertions, 0 deletions