Coder Social home page Coder Social logo

etcd-client's People

Contributors

fat0wl avatar maciej avatar odd avatar omersadika avatar onsails avatar rkrzewski avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

etcd-client's Issues

get null ptr if the node doesn't exist

I call the get method of the client, if the node exist, it works fine, but if the node doesn't exist, it return the following error:

[error]   ! return in success
[error]    null (EtcdMessage.scala:52)
[error] me.maciejb.etcd.client.EtcdError$.apply(EtcdMessage.scala:52)
[error] me.maciejb.etcd.client.impl.EtcdJsonProtocol$$anon$1.read(EtcdJsonProtocol.scala:30)
[error] me.maciejb.etcd.client.impl.EtcdJsonProtocol$$anon$1.read(EtcdJsonProtocol.scala:15)
[error] spray.json.JsValue.convertTo(JsValue.scala:31)
[error] me.maciejb.etcd.client.impl.EtcdClientImpl$$anonfun$3$$anonfun$apply$4.apply(EtcdClientImpl.scala:127)
[error] me.maciejb.etcd.client.impl.EtcdClientImpl$$anonfun$3$$anonfun$apply$4.apply(EtcdClientImpl.scala:124)

Verify akka-http requirements

Currently the project depends on akka-http-experimental. I'd assume akka-http-core should be a satisfactory dependency, though.

Use docker-compose

  • Add docker-compose.yml with etcd container setup
  • Test if etcd is discovered when used with Docker Machine (like on OSX)
  • Use in .travis.yml. See this document for how to set it up.

Allow client construction with optional HTTP auth credentials

I'm using a 3rd party etcd provider and their instances require http auth. Unless I'm missing something in ClientConnectionSettings, I don't believe this is currently possible with your client library (though I really like it otherwise so don't want to switch to another). I was thinking of overriding call in EtcdClientImpl but it seems a bit too abstracted to be simply extended since this is a private method & the class is this impl class is instantiated explicitly in the client factory method. For now I will probably fork & try to add this feature unobtrusively, will be happy to submit a PR.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.