Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: the configuration of the plugin bound to the service is not updated #8481

Closed
tzssangglass opened this issue Dec 8, 2022 Discussed in #8475 · 0 comments · Fixed by #8482
Closed

bug: the configuration of the plugin bound to the service is not updated #8481

tzssangglass opened this issue Dec 8, 2022 Discussed in #8475 · 0 comments · Fixed by #8482

Comments

@tzssangglass
Copy link
Member

Discussed in #8475

Originally posted by MekelCon December 7, 2022
Version info: APISIX 3.0.0

I try to use route, grouped inside a service using the Admin API.

I created the service A with a plugin config 1:
{ "plugins" : { "pluginX" : { // plugin config 1 } } .... }

Then i PUT my route Foo with service_id A as reference :
{ "service_id" : "A" .... }

Later when I update the Service A with a new config plugin config 2:
{ "plugins" : { "pluginX" : { // plugin config 2 } } .... }

I expected the new plugin configuration to be up to date when calling again the route Foo but i appear it is not the case, the config 1 still apply.
I have to PUT again one of my sub route to make it up to date with latest service plugin config.
Is it a normal behavior ? Am i doing or expecting something wrong ?

Thank you for your help.

spacewander pushed a commit to spacewander/incubator-apisix that referenced this issue Jan 28, 2023
spacewander pushed a commit that referenced this issue Jan 30, 2023
…8482)

Fixes #8481

Signed-off-by: spacewander <spacewanderlzx@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant