Uploaded image for project: 'Policy Framework'
  1. Policy Framework
  2. POLICY-4067

Fetch all versions of a policyType API returning only the latest version

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Low Low
    • Kohn Release
    • Honolulu Release, Istanbul Release, Jakarta Release
    • api
    • 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.

       

            rashmi.pujar rashmi.pujar
            a.sreekumar a.sreekumar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: