In order to use appropriate implementation and interface versions in SOFABoot applications, this topic describes how to view the version information of middleware dependencies.
You can quickly obtain the version information of each middleware dependency in an application by performing the following steps:
Enable health check features in your app.
By default, SOFABoot projects created via the New project guide on the official documentation already include health check capabilities through other components.
If not yet enabled, manually activate health checks by following Introducing health check.
In the browser, access the
http://localhost:8080/actuator/versionsto view the version information of the middleware dependency. Example:[ { GroupId:"com.alipay.sofa", Doc-Url:"https://www.cloud.alipay.com/docs/2/56003", ArtifactId:"rpc-enterprise-sofa-boot-starter", Commit-Time:"2020-02-20T16:53:47+0800", Commit-Id:"fdfaded104aafe578a3e3b741a4cedaaf07e3c26", Version:"3.3.0", Build-Time:"2020-02-20T17:00:19+0800" }, ... ]
该文章对您有帮助吗?