[Apiman-user] Keycloak OAuth plugin persistence bug

Andy Yar andyyar66 at gmail.com
Fri Jun 2 03:05:06 EDT 2017


Hello,
Keycloak OAuth plugin's presence generates a certain amount of records
to pd_templates table on each action of Apiman Manager related to a
Keycloak OAuth policy (even read-only ones like listing a plan's
policies, etc.).

Over time the number of records in pd_templates table can grow to
milions resulting in Apiman Manager OoM exceptions. Given these
records are basically just text hints it is really funny.

A workaround is to periodically dedup the records.

I guess this issue should be an easy fix.

Affected version is: Apiman 1.2.9.Final + corresponding Keycloak OAuth plugin.


More information about the Apiman-user mailing list