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
Remove ReloadableServletContainer #24970
Comments
…on classes. * ReloadableServletContainer constructor to call super class initialization. * DotRestApplication now invokes static method reload on ReloadableServletContainer. * Reloader class now is static and visible to register into ResourceConfig.
* Initial ReloadableServletContainer refactor * #24970 Refactoring on ReloadableServletContainer and DotRestApplication classes. * ReloadableServletContainer constructor to call super class initialization. * DotRestApplication now invokes static method reload on ReloadableServletContainer. * Reloader class now is static and visible to register into ResourceConfig. * fixup reloading and cleanup * fix reload after classes updated * remove junk * cleanup --------- Co-authored-by: spbolton <steve.bolton@dotcms.com> Co-authored-by: daniel.colina <daniel.colina@dotcms.com>
* Initial ReloadableServletContainer refactor * #24970 Refactoring on ReloadableServletContainer and DotRestApplication classes. * ReloadableServletContainer constructor to call super class initialization. * DotRestApplication now invokes static method reload on ReloadableServletContainer. * Reloader class now is static and visible to register into ResourceConfig. * fixup reloading and cleanup * fix reload after classes updated * remove junk * cleanup --------- Co-authored-by: spbolton <steve.bolton@dotcms.com> Co-authored-by: daniel.colina <daniel.colina@dotcms.com>
Needs work. If you load the REST plugin via web application, it does not appear in the plugin listing, even by forcing a refresh or restarting the framework. In addition to appearing in the plugin listing, it should be possible to hit the endpoints exposed by the plugin, but these are not available. See how it should look. This is an example on demo site: On the other hand, no error is seen in the log traces. PD: For testing I'm using com.dotcms.rest |
@dcolina |
Hi Steve, I found that I was having problems with the environment, so the first tests are not valid. I completely restored the local environment, I even had to reboot the laptop to reliably repeat the tests. Once the local environment was restored, I repeated the above test, adding and removing plugins, and found no errors. You can also see how the added plugins are listed and the endpoints exposed by that plugin can be called. I followed these steps:
Internal QA passed |
Approved QA - Tested on master_pre-release_23.08_8d30d6e // Docker // macOS 13.0 // FF v113.0 |
Parent Issue
No response
Task
The ReloadableServletContainer must be removed. @spbolton implemented most of the changes on this branch.
What is missing here:
Proposed Objective
Core Features
Proposed Priority
Priority 3 - Average
Acceptance Criteria
No response
External Links... Slack Conversations, Support Tickets, Figma Designs, etc.
No response
Assumptions & Initiation Needs
No response
Quality Assurance Notes & Workarounds
No response
Sub-Tasks & Estimates
No response
The text was updated successfully, but these errors were encountered: