X Tutup
Skip to content

Made the client swarm-compatible#443

Closed
ottes wants to merge 6 commits intodocker-java:masterfrom
ottes:master
Closed

Made the client swarm-compatible#443
ottes wants to merge 6 commits intodocker-java:masterfrom
ottes:master

Conversation

@ottes
Copy link
Copy Markdown

@ottes ottes commented Jan 29, 2016

  1. InfoCmd sends info about the SwarmNodes, had to parse that
  2. The Containers-Names array is a bit confusing, but i managed to clean it up + get the swarmhostname that container is running on

Tested what i was able to test. Didn't manage to create a swarm inside the test-suite, so an integration test of all this is missing atm.

Please discuss, i will make all suggested and useful changes, in 2 weeks at the latest.


This change is Reviewable

@ottes
Copy link
Copy Markdown
Author

ottes commented Jan 29, 2016

oh, i just saw the other pull requests... sorry for duplicated stuff.... but all i wrote, was written weeks ago, i just wanted to give back stuff

@ottes
Copy link
Copy Markdown
Author

ottes commented Jan 29, 2016

another thing => if i would be able to retrieve the value of isSwarmEndpoint inside the PullImageResultItem, the check for " downloaded" could be better

also the "Cast Info to SwarmInfo" thing could be better i guess

@sray7965
Copy link
Copy Markdown

By when do you guys plan to release Snapshot 3.0.0 into maven.

@marcuslinke
Copy link
Copy Markdown
Contributor

@xFragger What we need for swarm related changes is an integration test case. See #337 please for a proposal. I've currently no time for implementing a setup as described there. Feel free to provide an PR with an integration test setup and we can start to merge swarm related things into master. @KostyaSha : Do you agree?

@marcuslinke
Copy link
Copy Markdown
Contributor

@sray7965 I'm planning to release v3.0.0 until 15th of february.

@marcuslinke marcuslinke added this to the 3.1.0 milestone Jan 30, 2016
@KostyaSha
Copy link
Copy Markdown
Member

@marcuslinke i would prefer to split integration tests into separate module and reorganise to multi-module before.

@marcuslinke
Copy link
Copy Markdown
Contributor

@KostyaSha Makes sense. 👍

@marcuslinke
Copy link
Copy Markdown
Contributor

Related to issue #395

@marcuslinke marcuslinke mentioned this pull request Feb 12, 2016
private String status;

@JsonIgnore
private String name;
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if it temp, then should be transient

michael.freund added 4 commits February 12, 2016 11:12
- reverted arraychecking in PullResponseItem
# Conflicts:
#	src/main/java/com/github/dockerjava/core/DockerClientConfig.java
#	src/test/java/com/github/dockerjava/core/DockerClientConfigTest.java
@ottes
Copy link
Copy Markdown
Author

ottes commented Feb 12, 2016

Well.... look like it works... but one problem => had to hardcode the TLS Stuff, any ideas how to do this better?

private static final String IMAGE_UP_TO_DATE = "Image is up to date";

private static final String DOWNLOAD_COMPLETE = "Download complete";
private static final String SWARM_DOWNLOADED = " downloaded"; //Swarm sends another text, when download is complete!
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove comment

@KostyaSha
Copy link
Copy Markdown
Member

Could you check whether master contains this functionality?

@KostyaSha KostyaSha modified the milestones: 3.1.0-rc-1, 3.1.0-rc-2 Feb 19, 2018
@KostyaSha KostyaSha closed this Aug 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

X Tutup