WSO2 APIM v3.2 - API not visible in publisher
I recently encountered a strange issue with API visibility in the publisher portal. Here is what happened and how I overcome to this issue-
Environment
- WSO2 APIM- v3.2.x
- Openshift: 4.x
- MSSQL Database 19.x
- Using PV/PVC for synapse-config and executionplans
Problem Statement: There was OpenShift upgrade happened and we have restart the server i.e. re-creation of the pods. This has caused an issue in API listing inside publisher portal. We have verified the API in the database system but the same was not visible in the publisher portal. When we tried to re-create the same via publisher portal; it didn't worked and we got an error that the API exists with the same context.
Root Cause: These issues occurs due to indexing issues and not limited to underlying infra upgrade. This may happen due to multiple reasons that causes indexing failure
Solution: Re-building the index solves this issue in following ways-
Option 1: Open the management console/ carbon portal and click on the resources > browse section > Rename lastaccesstime and restart the server (Open the indexing link and then use
Comments
Post a Comment