Skip to content
This repository has been archived by the owner on Jul 25, 2020. It is now read-only.

[JCLOUDS-500] Initial commit for docker #57

Closed
wants to merge 1 commit into from

Conversation

andreaturli
Copy link
Contributor

No description provided.

@cloudbees-pull-request-builder

jclouds-labs-pull-requests #136 SUCCESS
This pull request looks good

@buildhive
Copy link

jclouds » jclouds-labs #886 FAILURE
Looks like there's a problem with this pull request
(what's this?)

<!-- TODO: when out of labs, switch to org.jclouds.provider -->
<groupId>org.apache.jclouds.labs</groupId>
<artifactId>docker</artifactId>
<version>1.8.0-SNAPSHOT</version>
Copy link
Member

Choose a reason for hiding this comment

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

Don't think we need this since we're inheriting from the labs parent POM?

@demobox
Copy link
Member

demobox commented Mar 21, 2014

jclouds » jclouds-labs #886 FAILURE

GitHub timeout

</profile>
</profiles>

</project>
Copy link
Member

Choose a reason for hiding this comment

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

Use a 2 space indent in XML files

@buildhive
Copy link

jclouds » jclouds-labs #1150 SUCCESS
This pull request looks good
(what's this?)

@cloudbees-pull-request-builder

jclouds-labs-pull-requests #175 SUCCESS
This pull request looks good

@cloudbees-pull-request-builder

jclouds-labs-pull-requests #176 SUCCESS
This pull request looks good

@buildhive
Copy link

jclouds » jclouds-labs #1158 SUCCESS
This pull request looks good
(what's this?)

/**
* Provides synchronous access to Docker Remote API.
*
* @see <a href="http://docs.docker.io/en/latest/api/docker_remote_api_v1.8/#docker-remote-api-v1-8"></a>
Copy link
Member

Choose a reason for hiding this comment

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

The link points to version 1.8 but the api metadata uses version 1.11. Change all links accordingly or just point to a root location that does not contain the version in the URL?

@nacx
Copy link
Member

nacx commented Jun 25, 2014

Thanks @andreaturli! All the points in the checklist have been addressed, and I think it is almost ready to be merged. Could you address the last comments? (Don't forget about this one and this one).

@buildhive
Copy link

jclouds » jclouds-labs #1208 SUCCESS
This pull request looks good
(what's this?)

@cloudbees-pull-request-builder

jclouds-labs-pull-requests #184 SUCCESS
This pull request looks good

@andreaturli
Copy link
Contributor Author

Here you can find the result of mvn clean install -Plive
https://gist.github.com/andreaturli/595ce6e44a987ed5be06

unfortunately there are still issue with the DockerComputeServiceLiveTest but I think it is good to be accepted on jclouds-labs at least and fix liveTests there, if you agree

@cloudbees-pull-request-builder

jclouds-labs-pull-requests #202 UNSTABLE
Looks like there's a problem with this pull request

@buildhive
Copy link

jclouds » jclouds-labs #1242 UNSTABLE
Looks like there's a problem with this pull request
(what's this?)

@cloudbees-pull-request-builder

jclouds-labs-pull-requests #203 SUCCESS
This pull request looks good

@buildhive
Copy link

jclouds » jclouds-labs #1243 SUCCESS
This pull request looks good
(what's this?)

@cloudbees-pull-request-builder

jclouds-labs-pull-requests #204 SUCCESS
This pull request looks good

@buildhive
Copy link

jclouds » jclouds-labs #1244 SUCCESS
This pull request looks good
(what's this?)

}

public TemplateOptions cpuShares(int cpuShares) {
checkNotNull(cpuShares, "cpuShares was null");
Copy link
Contributor

Choose a reason for hiding this comment

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

Why do you do the checkNotNull then create an Optional? In fact, since this is a primitive, it cannot ever be null. If we want the null semantics, change to the following (and see also memory, plus dns and hostname which are strings, so could be null...)

public TemplateOptions cpuShares(@Nullable Integer cpuShares) {
    this.cpuShares = Optional.fromNullable(cpuShares);
    return this;
}

Copy link
Contributor Author

Choose a reason for hiding this comment

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

thanks @grkvlt, much cleaner

@buildhive
Copy link

jclouds » jclouds-labs #1258 SUCCESS
This pull request looks good
(what's this?)

@cloudbees-pull-request-builder

jclouds-labs-pull-requests #205 SUCCESS
This pull request looks good

@nacx
Copy link
Member

nacx commented Jul 7, 2014

Rebased and merged. Huge thanks @andreaturli!

@nacx nacx closed this Jul 7, 2014
@andreaturli
Copy link
Contributor Author

great @nacx! Thanks again for your valuable reviews

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
8 participants