Skip to content

Latest commit

 

History

History
48 lines (37 loc) · 2.27 KB

README.md

File metadata and controls

48 lines (37 loc) · 2.27 KB

rocket-chat-rest-client

Lightweight Java client for Rocket.Chat's REST API using Unirest and Jackson.

Build Status Build Status Codacy Badge

Notes

  • Requires Rocket.Chat v0.49.2 due to massive changes from Rocket.Chat, also v0.48 rewrote the REST API, see the pull request #5140 for details
  • This api is still a work in progress, feel free to submit pull requests to add functionality
  • Server url doesn't require api/ anymore, but it can still be provided
  • None of the results are cached, every time a method is called it goes out and gets it
  • The method calls are sync and blocking
  • Maven is configured to startup Rocket.Chat v.0.48-develop via docker therefore docker must be installed.

JavaDoc

The JavaDoc is generated per build: https://ci.craftyn.com/job/rocket-chat-rest-client/javadoc/

Maven

<repositories>
    <repository>
        <id>repo-snapshots</id>
        <url>https://repo.craftyn.com/repository/snapshots/</url>
    </repository>
</repositories>

<dependencies>
    <dependency>
        <groupId>com.github.baloise</groupId>
        <artifactId>rocket-chat-rest-client</artifactId>
        <version>0.1.2-SNAPSHOT</version>
    </dependency>
</dependencies>

Compiling

The maven build needs Docker for integration testing. Please install it for your platform before running and also make sure your user has permission to use the docker command (Linux, add your user to the docker group).

mvn clean install

To keep the docker containers running:

mvn -Ddocker.keepRunning clean install