https://github.com/cdancy/etcd-java
Java implementation of etcd v2 protocol.
https://github.com/cdancy/etcd-java
Last synced: 12 months ago
JSON representation
Java implementation of etcd v2 protocol.
- Host: GitHub
- URL: https://github.com/cdancy/etcd-java
- Owner: cdancy
- License: apache-2.0
- Created: 2016-10-06T19:49:52.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-10-19T01:24:59.000Z (over 9 years ago)
- Last Synced: 2025-01-20T15:19:22.113Z (about 1 year ago)
- Language: Java
- Homepage:
- Size: 98.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# etcd-java

Java implementation of Etcd v2.
## Status
[](https://travis-ci.org/cdancy/etcd-java)
** Project is currently in development and NOT ready for ANY sort of use **
## Setup
Start server like so:
EtcdJava etcd = new EtcdJava();
etcd.start();
// do some work...
etcd.stop();
## Latest release
Can be sourced from jcenter like so:
com.cdancy
etcd-java
0.0.1
sources|javadoc|all (Optional)
## Documentation
javadocs can be found via [github pages here](http://cdancy.github.io/etcd-java/docs/javadoc/)
## Components
- [netty-http](https://github.com/caskdata/netty-http) \- used for client communication
- [atomix-copycat](https://github.com/atomix/copycat) \- used for peer communication
## Testing
Running mock tests can be done like so:
./gradlew clean build mockTest
Running integration tests can be done like so (requires docker):
./gradlew clean build integTest
Running integration tests without invoking docker can be done like so:
./gradlew clean build integTest -PbootstrapDocker=false -PtestEtcdEndpoint=http://127.0.0.1:2379
## Additional Resources
* [Etcd grpc-to-json gateway](https://github.com/coreos/etcd/blob/master/Documentation/dev-guide/api_grpc_gateway.md)
* [Etcd grpc-to-json swagger](https://github.com/coreos/etcd/blob/master/Documentation/dev-guide/apispec/swagger/rpc.swagger.json)
* [Etcd REST API](https://github.com/coreos/etcd/blob/master/Documentation/api.md)
* [Etcd Auth API](https://github.com/coreos/etcd/blob/master/Documentation/auth_api.md)