pantsel / konga

More than just another GUI to Kong Admin API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Konga Add plugins on route not loading sometimes.

jeremyjpj0916 opened this issue · comments

I imagine a query is not optimized here or a size of scale things because I click the add plugin button and many of times lately its never loading the box of all plugins I can put on a proxy, just does the loading bar thing across the UI and then dies out with nothing:

image

I see in network calls its able to load the available/enabled on the cluster:

image

Then the plugins network element on left of chrome shows this:

image

Does per "add plugin" parse/go through all the plugins and their schema configs before the selecting of one to use? Could that be broken up to be done AFTER a plugin has been selected to add and then load their schema when 1 has been picked to add 1 by one?

And then that load DOES do a blank generic query of ALL Kong plugins?
https://github.com/pantsel/konga/blob/master/assets/js/app/plugins/plugins-service.js#L16

Why would that be necessary? Isn't the goal to just see enabled plugins on the Kong node and to load a selector box on what plugin we would want to add to said route?