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

Decision API not returning monitoring policies when calling api with policy-type

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Highest Highest
    • El Alto Release
    • Dublin Release, El Alto Release
    • None

      SB04 testing resulted in empty list returned:

      curl -k --user 'healthcheck:zb!XztG34' -X POST https://10.43.2.195:6969/policy/pdpx/v1/decision -H "Accept: application/json" -H "Content-Type: application/json" -d@decision.policytype.json

      {"policies":{}}

       

      request:

      {

        "ONAPName": "DCAE",

        "ONAPComponent": "PolicyHandler",

        "ONAPInstance": "622431a4-9dea-4eae-b443-3b2164639c64",

        "action": "configure",

        "resource":

      {      "policy-type": "onap.policies.monitoring.cdap.tca.hi.lo.app"   }

      }

            pdragosh pdragosh
            pdragosh pdragosh
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: