添加server sdk检查server api的工具
This commit is contained in:
@@ -29,6 +29,11 @@
|
||||
<directory>../systemd/</directory>
|
||||
<outputDirectory>/systemd</outputDirectory>
|
||||
</fileSet>
|
||||
|
||||
<fileSet>
|
||||
<directory>src/main/checker/</directory>
|
||||
<outputDirectory>checker/</outputDirectory>
|
||||
</fileSet>
|
||||
</fileSets>
|
||||
|
||||
<files>
|
||||
@@ -75,6 +80,11 @@
|
||||
<outputDirectory>server_sdk/</outputDirectory>
|
||||
<destName>common-${project.version}.jar</destName>
|
||||
</file>
|
||||
|
||||
<file>
|
||||
<source>../sdk/target/checker.jar</source>
|
||||
<outputDirectory>checker/</outputDirectory>
|
||||
</file>
|
||||
</files>
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
部署IM服务后,可以使用Server SDK通过API来检查服务的部署情况,可以执行:
|
||||
```shell
|
||||
java -jar checker.jar http://127.0.0.1:18080 123456 http://127.0.0.1 true false
|
||||
```
|
||||
来检查。检查之后会产生垃圾数据,请在检查之后停掉IM服务后,再删除掉IM服务数据库。此检查仅检查API,检查通过并不代表部署肯定成功,还需要客户端来验证。
|
||||
Reference in New Issue
Block a user