-
Notifications
You must be signed in to change notification settings - Fork 227
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
希望增加热部署 #267
Comments
路由器有移除接口的。。。可以参考下官网的热插拨示例 |
另外 solon 有官网的“热插拨”开发方法,官网也有。 |
https://solon.noear.org/article/273 solon 的“热插拨”插件,看下。。。上面有示例 |
Solon 2.8.4-SNAPSHOT ,增强了控制器的操作:
你接着研究看看 |
另外,移除 bean 的接口:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
热部署解决方案:https://github.com/Liubsyy/HotSecondsIDEA
Springboot 是校验过的:
尝试测试 Solon
简单尝试
通过测试,编写扩展代码,运行期间增加 Controller 接口能通过 postman 访问.
发现问题
但是会导致 main router 数组不断增加 一整个 Controller 的 API,因为 Solon 内部只是 add,并没有存在性的判断。
阶段性结论
所以,这件事只能官方来做,我提个建议。
附录
通过扩展 HotSecondsIDEA 实现
The text was updated successfully, but these errors were encountered: