kbase / shock_java_client

Basic java client for Shock.
MIT License
0 stars 2 forks source link

Blobstore client

This is a basic client for the Blobstore, which replaced Shock some years ago but has a mostly compatible API.

The client mostly exists for backwards compatibility purposes. If you're starting a new project using the blobstore, you'd probably be fine with a REST client like the Java 11+ HTTP client, the Jersey client, etc.

The client supports node creation, deletion and retrieval of node data, streaming file up/download, and viewing and modifying ACLs.

Including the client in your build

See https://jitpack.io/#kbase/shock_java_client for instructions on how to include JitPack built dependencies in your build.

JavaDoc

JavaDoc is available at

https://javadoc.jitpack.io/com/github/kbase/shock_java_client/<version>/javadoc/

For example:

https://javadoc.jitpack.io/com/github/kbase/shock_java_client/0.2.0/javadoc/

Basic Usage

See the TryShock example.

Development

Adding and releasing code

Testing

Copy test.cfg.example to test.cfg and fill it in appropriately. Then:

./gradlew test

Known issues