dengliming opened a new pull request, #7189: URL: https://github.com/apache/shenyu/pull/7189
Publish the plugin-created event after a config import successfully inserts a new plugin. This keeps imported plugins on the same initialization path as plugins created through the normal API, including resource and permission setup. The unit test now verifies that a successful import invokes `PluginEventPublisher.onCreated`. Tested with: `./mvnw -q -pl shenyu-admin -am -DskipTests=false -Dcheckstyle.skip=false -Dtest=PluginServiceTest -DfailIfNoTests=false test` Fixes #6619 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
