Skip to content
This repository has been archived by the owner on May 7, 2024. It is now read-only.

Konga Add plugins on route not loading sometimes. #768

Open
jeremyjpj0916 opened this issue Apr 21, 2022 · 5 comments
Open

Konga Add plugins on route not loading sometimes. #768

jeremyjpj0916 opened this issue Apr 21, 2022 · 5 comments

Comments

@jeremyjpj0916
Copy link
Contributor

jeremyjpj0916 commented Apr 21, 2022

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

@jeremyjpj0916
Copy link
Contributor Author

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

image

@jeremyjpj0916
Copy link
Contributor Author

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

image

@jeremyjpj0916
Copy link
Contributor Author

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?

@jeremyjpj0916
Copy link
Contributor Author

@jeremyjpj0916
Copy link
Contributor Author

jeremyjpj0916 commented Apr 21, 2022

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?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant