hawkular / hawkular-client-java

Java client for Hawkular
Apache License 2.0
11 stars 8 forks source link

[HAWKULAR-1126] New client builder, headers not static #42

Closed jotak closed 8 years ago

jotak commented 8 years ago

Create builder

Previously headers were store statically, which led to bugs or complicated update/remove operations when we want to use several clients in the same application.

Remove also some useless Preconditions checkArguments, and add some others

Introduce parameter object for all API-classes constructors

pilhuhn commented 8 years ago

I think that may be the same issue @garethahealy saw with LOTE. @vnugent can you please have a look?

jotak commented 8 years ago

Not sure what's wrong here... tests pass on my machine