diff options
author | liamfallon <liam.fallon@est.tech> | 2021-02-07 14:51:45 +0000 |
---|---|---|
committer | liamfallon <liam.fallon@est.tech> | 2021-02-07 15:14:54 +0000 |
commit | ed54f1f94a43e9fc5e353eb2c7111dcc552be18e (patch) | |
tree | 51b38ef7203d3008bac4bcdff29199c62206fc2c /models-base | |
parent | 23dec48efae039ff961ea68358ab69d80a81531b (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: I8fcf76ee8c8497836b3286b35f928b0c341dac34
Signed-off-by: liamfallon <liam.fallon@est.tech>
Diffstat (limited to 'models-base')
0 files changed, 0 insertions, 0 deletions