Details
-
Bug
-
Status: Closed
-
High
-
Resolution: Done
-
Dublin Release
-
None
-
SB-00
Description
When Traffic Distribution request is being done OSDF returns and error HTTP 400 with message PE300 - no match found. Attached debug.log from pdp with information that requested policies are being loaded by pdp but because of some reason HTTP 400 is returned.
Perhaps the problewm is with policy pattern used for policy retrieval "policyName": "OSDF_CASABLANCA..\\d."
When I invoke such query on OSDF it return 400:
wget -O - --header 'Content-Type: application/json' --header 'Accept: application/json' --header 'ClientAuth: cHl0aG9uOnRlc3Q=' --header 'Authorization: Basic dGVzdHBkcDphbHBoYTEyMw==' --header 'Environment: TEST' https://pdp:8081/pdp/api/getConfig --post-data '{ "policyName": "OSDF_CASABLANCA.*.[\\d].*"}'
but when I modify it to:
wget -O - --header 'Content-Type: application/json' --header 'Accept: application/json' --header 'ClientAuth: cHl0aG9uOnRlc3Q=' --header 'Authorization: Basic dGVzdHBkcDphbHBoYTEyMw==' --header 'Environment: TEST' https://pdp:8081/pdp/api/getConfig --post-data '{ "policyName": "OSDF_CASABLANCA.*"}'
it returns whole set of policies.
Moreover, OSDF looks for policies with scope OSDF_CASABLANCA when it should look for OSDF_DUBLIN scope instead.
Attachments
Issue Links
- blocks
-
OPTFRA-424 Extend OOF to support traffic distribution optimization
-
- Closed
-
- mentioned in
-
Page Loading...