-
Story
-
Resolution: Done
-
Low
-
Honolulu Release, Istanbul Release, Jakarta Release
-
None
Fetch all versions of a policyType in API component is returning only the latest version of that policyType.
Steps to reproduce:
1) Create PolicyType onap.policies.controlloop.operational.common.Apex : 1.0.0
2) Create PolicyType onap.policies.controlloop.operational.common.Apex : 2.0.0
3) Fetch all policyType using API POLICY-API-URL/policy/api/v1/policytypes/onap.policies.controlloop.operational.common.Apex
This should return both versions of the policy type, but only the latest version i.e. 2.0.0 is returned.