Policy Import Does Not Detect Differences To Filters in OAG 11.1.2 (Doc ID 2144888.1)

Last updated on JUNE 08, 2016

Applies to:

Oracle API Gateway - Version 11.1.2 and later
Information in this document applies to any platform.

Symptoms

ACTUAL BEHAVIOR
---------------
OAG 11.1.2.4.0 + Patch 22695601

If changing a policy, for example, removing a query string validate from filter "Validate Rest Filter" already implemented and exporting it, after it is imported on another instance, with the same old policy, the differences tree does not show any differences and does not apply the policy correctly.

STEPS
-----------------------
The issue can be reproduced at will with the following steps:
01 - Create a policy with any filter, ie "Validate Rest Filter", and add query string "bla" validate and path validate.
02 - Deploy the policy
03 - Export the policy and name the file like "PATCH - Bla V1.xml"
04 - Change the policy previous deployed: remove the query string "bla" validate from filter "Validate Rest Filter".
05 - Deploy the policy
06 - Export the changed policy and name the file like " PATCH - Bla V2.xml "
07 - Delete the policy from policy studio.
08 - Deploy the changes (for delete policy from server)
09 - Import the file "OAG - Bla policy V1.xml"
10 - Check if filter "Validate Rest Filter" contains query string "bla" validate. Ok, it contains! great!
11 - Deploy the policy
12 - Now import file " PATCH - Bla V2.xml". Note: this export does not contain the query string "bla" validate from filter "Validate Rest Filter"!
13 - Check if filter "Validate Rest Filter" contains query string "bla" validate. Ok, it contains! not great!


Due to this issue, the changes made to the policies are lost.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms