Starts v0.10.0 by mfulgo · Pull Request #37 · docker-java/docker-java
added 14 commits
July 31, 2014 16:23The Command and Response objects should have names that follow the same form. I've arbitrarily decided on VerbNoun. Since this is an API-breaking change and we're in pre-1.0.0, I've bumped the minor version from 9 to 10.
This moves the Response objects into the same package as their associated commands, since they're so tightly coupled.
This changes the CopyFileFromContainer's impl method to not call toString on the copyConfig that it uses in the POST body, instead relying on the default JSON serializer and marked fields. This will allow us to use a reflection-based toString. This commit also creates a test around the use of the CopyFileFromContainer command.
This cuts down on some of the boilerplate code. Since we're already bringing Apache Commons Lang, we might as well use it.
If you don't have any of your own containers, the InfoCmd integration test can fail. This commit makes sure there's at least one container present.
This effectively hides the config objects from the public API, as I expect they'll either go away or get simplified.
DockerClient is now an immutable class. The only way to set credentials now is at construction of the DockerClient, using the DockerClientConfig object.
mfulgo
deleted the
for-upstream-v0.10.0
branch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters