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

Create API to fetch policy using only the policyName & policyVersion

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Medium Medium
    • Guilin Release
    • None
    • None

      As a ONAP developer, I would like to create API to fetch policy using only the policyName & policyVersion.

      The API we have currently needs policyTypeName & policyTypeVersion to be specified in the URL as well. Which is not expected to be known by the all users.

      Hence, having below API's for GET & DELETE will improve usability.

      GET - /policy/api/v1/policies

      GET - /policy/api/v1/policies/{policyName}/versions/{policyVersion}

      DELETE - /policy/api/v1/policies/{policyName}/versions/{policyVersion}

            aditya.puthuparambil aditya.puthuparambil
            ramverma ramverma
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: