You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/framework/fit/java/articles/FIT框架:重新定义模块隔离与部署自由,让Swagger从生产环境“优雅消失”.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -108,7 +108,7 @@ FIT 框架默认配置`Swagger`功能插件,基于上面的操作步骤,访
108
108
109
109
若不希望部署`Swagger`插件,只需要在 FIT 内置插件目录中将`Swagger`插件移除:
110
110
111
-
首先结束`fit`进程,打开`build/plugins`,该目录存放了编译 FIT 框架后生成的所有内置插件,删除插件`fit-http-openapi3-swagger-3.6.0-SNAPSHOT.jar`,重新启动 FIT 框架,此时环境中并没有部署`Swagger`插件,访问 `http://localhost:8080/openapi.html` 将得到 404 响应:
111
+
首先结束`fit`进程,打开`build/plugins`,该目录存放了编译 FIT 框架后生成的所有内置插件,删除插件`fit-http-openapi3-swagger-3.6.1-SNAPSHOT.jar`,重新启动 FIT 框架,此时环境中并没有部署`Swagger`插件,访问 `http://localhost:8080/openapi.html` 将得到 404 响应:
112
112
113
113
```json
114
114
{
@@ -126,7 +126,7 @@ FIT 框架默认配置`Swagger`功能插件,基于上面的操作步骤,访
[yyyy-MM-dd hh:mm:ss.SSS][INFO ][main][modelengine.fitframework.runtime.direct.DirectFitRuntime] Prepare to start FIT application... [version=3.6.0-SNAPSHOT]
763
+
[yyyy-MM-dd hh:mm:ss.SSS][INFO ][main][modelengine.fitframework.runtime.direct.DirectFitRuntime] Prepare to start FIT application... [version=3.6.1-SNAPSHOT]
764
764
[yyyy-MM-dd hh:mm:ss.SSS][INFO ][main][modelengine.fit.http.server.handler.ReflectibleHttpHandlerRegistry] Register http handler group successfully. [group=modelengine.fit.http.openapi3.swagger.DocumentController]
765
765
[yyyy-MM-dd hh:mm:ss.SSS][INFO ][main][modelengine.fit.http.server.handler.ReflectibleHttpHandlerRegistry] Register http handler group successfully. [group=modelengine.fit.http.server.handler.OptionsHttpHandler]
766
766
[yyyy-MM-dd hh:mm:ss.SSS][INFO ][main][modelengine.fit.http.server.handler.ReflectibleHttpHandlerRegistry] Register http handler group successfully. [group=modelengine.fit.http.server.handler.StaticResourceHttpHandler]
767
767
[yyyy-MM-dd hh:mm:ss.SSS][INFO ][main][modelengine.fit.http.server.handler.ReflectibleHttpHandlerRegistry] Register http handler group successfully. [group=modelengine.fit.service.RegistryListener]
768
768
[yyyy-MM-dd hh:mm:ss.SSS][INFO ][main][modelengine.fit.http.server.handler.ReflectibleHttpHandlerRegistry] Register http handler group successfully. [group=modelengine.fit.service.CheckController]
769
-
[yyyy-MM-dd hh:mm:ss.SSS][INFO ][main][modelengine.fitframework.runtime.direct.DirectFitRuntime] FIT application started. [version=3.6.0-SNAPSHOT]
769
+
[yyyy-MM-dd hh:mm:ss.SSS][INFO ][main][modelengine.fitframework.runtime.direct.DirectFitRuntime] FIT application started. [version=3.6.1-SNAPSHOT]
770
770
[yyyy-MM-dd hh:mm:ss.SSS][INFO ][registry-client-thread-0][modelengine.fit.service.RegistryClient] Register fitables successfully. All fitable services are ready.
771
771
[yyyy-MM-dd hh:mm:ss.SSS][INFO ][netty-http-server-thread-0][modelengine.fit.http.server.netty.NettyHttpClassicServer] Start netty http server successfully. [httpPort=8090]
772
772
```
773
773
774
774
- default-weather 的启动日志:
775
775
776
776
```
777
-
[yyyy-MM-dd hh:mm:ss.SSS][INFO ][main][modelengine.fitframework.runtime.direct.DirectFitRuntime] Prepare to start FIT application... [version=3.6.0-SNAPSHOT]
778
-
[yyyy-MM-dd hh:mm:ss.SSS][INFO ][main][modelengine.fitframework.runtime.direct.DirectFitRuntime] FIT application started. [version=3.6.0-SNAPSHOT]
777
+
[yyyy-MM-dd hh:mm:ss.SSS][INFO ][main][modelengine.fitframework.runtime.direct.DirectFitRuntime] Prepare to start FIT application... [version=3.6.1-SNAPSHOT]
778
+
[yyyy-MM-dd hh:mm:ss.SSS][INFO ][main][modelengine.fitframework.runtime.direct.DirectFitRuntime] FIT application started. [version=3.6.1-SNAPSHOT]
779
779
[yyyy-MM-dd hh:mm:ss.SSS][INFO ][netty-http-server-thread-0][modelengine.fit.http.server.netty.NettyHttpClassicServer] Start netty http server successfully. [httpPort=8081]
780
780
[yyyy-MM-dd hh:mm:ss.SSS][INFO ][registry-client-thread-0][modelengine.fit.service.RegistryClient] Register fitables successfully. All fitable services are ready.
781
781
```
782
782
783
783
- assistant 的启动日志:
784
784
785
785
```
786
-
[yyyy-MM-dd hh:mm:ss.SSS][INFO ][main][modelengine.fitframework.runtime.direct.DirectFitRuntime] Prepare to start FIT application... [version=3.6.0-SNAPSHOT]
786
+
[yyyy-MM-dd hh:mm:ss.SSS][INFO ][main][modelengine.fitframework.runtime.direct.DirectFitRuntime] Prepare to start FIT application... [version=3.6.1-SNAPSHOT]
787
787
[yyyy-MM-dd hh:mm:ss.SSS][INFO ][main][modelengine.fit.http.server.handler.ReflectibleHttpHandlerRegistry] Register http handler group successfully. [group=modelengine.fit.demo4.controller.AssistantController]
788
788
[yyyy-MM-dd hh:mm:ss.SSS][INFO ][main][modelengine.fit.http.server.handler.ReflectibleHttpHandlerRegistry] Register http handler group successfully. [group=modelengine.fit.http.server.handler.OptionsHttpHandler]
789
789
[yyyy-MM-dd hh:mm:ss.SSS][INFO ][main][modelengine.fit.http.server.handler.ReflectibleHttpHandlerRegistry] Register http handler group successfully. [group=modelengine.fit.http.server.handler.StaticResourceHttpHandler]
790
790
[yyyy-MM-dd hh:mm:ss.SSS][INFO ][main][modelengine.fit.http.server.handler.ReflectibleHttpHandlerRegistry] Register http handler group successfully. [group=modelengine.fit.service.RegistryListener]
791
-
[yyyy-MM-dd hh:mm:ss.SSS][INFO ][main][modelengine.fitframework.runtime.direct.DirectFitRuntime] FIT application started. [version=3.6.0-SNAPSHOT]
791
+
[yyyy-MM-dd hh:mm:ss.SSS][INFO ][main][modelengine.fitframework.runtime.direct.DirectFitRuntime] FIT application started. [version=3.6.1-SNAPSHOT]
792
792
[yyyy-MM-dd hh:mm:ss.SSS][INFO ][netty-http-server-thread-0][modelengine.fit.http.server.netty.NettyHttpClassicServer] Start netty http server successfully. [httpPort=8080]
793
793
[yyyy-MM-dd hh:mm:ss.SSS][INFO ][registry-client-thread-0][modelengine.fit.service.RegistryClient] Register fitables successfully. All fitable services are ready.
0 commit comments