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

PDP-X getConfig issues

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Highest Highest
    • Amsterdam Release
    • None
    • None
    • None

      Keep getting issues in the getConfig area (this time different than POLICY-20):

      curl -vvv -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' --header 'ClientAuth: cHl0aG9uOnRlc3Q=' --header 'Authorization: Basic dGVzdHBkcDphbHBoYTEyMw==' --header 'Environment: TEST' -d '{
      "policyName": ".*"
      }' 'http://pdp:8081/pdp/api/getConfig'

      • Hostname was NOT found in DNS cache
      • Trying 172.18.0.7...
      • Connected to pdp (172.18.0.7) port 8081 (#0)
        > POST /pdp/api/getConfig HTTP/1.1
        > User-Agent: curl/7.35.0
        > Host: pdp:8081
        > Content-Type: application/json
        > Accept: application/json
        > ClientAuth: cHl0aG9uOnRlc3Q=
        > Authorization: Basic dGVzdHBkcDphbHBoYTEyMw==
        > Environment: TEST
        > Content-Length: 22
        >
      • upload completely sent off: 22 out of 22 bytes
        < HTTP/1.1 400 Bad Request
      • Server Apache-Coyote/1.1 is not blacklisted
        < Server: Apache-Coyote/1.1
        < Content-Type: application/json;charset=UTF-8
        < Transfer-Encoding: chunked
        < Date: Thu, 15 Jun 2017 14:01:41 GMT
        < Connection: close
        <
      • Closing connection 0
        [\{"policyConfigMessage":"PE300 - Data Issue: Incorrect Params passed: Decision not a Permit.","policyConfigStatus":"CONFIG_NOT_FOUND","type":null,"config":null,"policyName":null,"policyVersion":null,"matchingConditions":null,"responseAttributes":null,"property":null}]

            rb7147 rb7147
            jhh jhh
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: