diff options
author | liamfallon <liam.fallon@est.tech> | 2021-02-07 15:20:23 +0000 |
---|---|---|
committer | liamfallon <liam.fallon@est.tech> | 2021-02-07 15:20:28 +0000 |
commit | 0b0fd8d7c890a75ee1fe829c68b92cf670a4a29f (patch) | |
tree | af4541fb9f4735055db79b69fb68fc1b6265eb8e /packages/policy-api-docker | |
parent | fdaa8dc48d80d14177d9c955160e7534be505192 (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: Ibf12c757758d31ec3075119c56243e0abcf259bf
Signed-off-by: liamfallon <liam.fallon@est.tech>
Diffstat (limited to 'packages/policy-api-docker')
0 files changed, 0 insertions, 0 deletions