Re: [jclouds-labs] JCloud ProfitBricks provider implementation (#72)

2014-09-10 Thread Reijhanniel Jearl Campos
> + > @Payload("{id}") > + @XMLResponseParser(GetVDCResponseHandler.class) > + @Fallback(NullOnNotFoundOr404.class) > + VirtualDataCenter getDataCenter(@PayloadParam("id") String identifier); > + > + /** > +* Creates and saves a new, empty Virtual Data Center. Returns its > identifi

Re: [jclouds] Token based authentication in openstack-keystone (#433)

2014-09-10 Thread BuildHive
[jclouds » jclouds #1628](https://buildhive.cloudbees.com/job/jclouds/job/jclouds/1628/) SUCCESS This pull request looks good [(what's this?)](https://www.cloudbees.com/what-is-buildhive) --- Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds/pull/433#issuecomme

Jenkins build is back to normal : jclouds » jclouds-labs #1511

2014-09-10 Thread BuildHive
See

[jira] [Commented] (JCLOUDS-458) Google Cloud Storage support

2014-09-10 Thread ASF subversion and git services (JIRA)
[ https://issues.apache.org/jira/browse/JCLOUDS-458?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14129215#comment-14129215 ] ASF subversion and git services commented on JCLOUDS-458: - Commit

[jira] [Commented] (JCLOUDS-458) Google Cloud Storage support

2014-09-10 Thread ASF subversion and git services (JIRA)
[ https://issues.apache.org/jira/browse/JCLOUDS-458?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14129217#comment-14129217 ] ASF subversion and git services commented on JCLOUDS-458: - Commit

[jira] [Commented] (JCLOUDS-458) Google Cloud Storage support

2014-09-10 Thread ASF subversion and git services (JIRA)
[ https://issues.apache.org/jira/browse/JCLOUDS-458?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14129216#comment-14129216 ] ASF subversion and git services commented on JCLOUDS-458: - Commit

[jira] [Commented] (JCLOUDS-458) Google Cloud Storage support

2014-09-10 Thread ASF subversion and git services (JIRA)
[ https://issues.apache.org/jira/browse/JCLOUDS-458?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14129218#comment-14129218 ] ASF subversion and git services commented on JCLOUDS-458: - Commit

Re: [jclouds] Token based authentication in openstack-keystone (#433)

2014-09-10 Thread BuildHive
[jclouds » jclouds #1627](https://buildhive.cloudbees.com/job/jclouds/job/jclouds/1627/) SUCCESS This pull request looks good [(what's this?)](https://www.cloudbees.com/what-is-buildhive) --- Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds/pull/433#issuecomme

Re: [jclouds] Token based authentication in openstack-keystone (#433)

2014-09-10 Thread pimenas
Sorry for the delayed response, I did a rebase and implemented your feedback, except the ones that I don't yet understand :). One of the feedback I couldn't understand is @jdaggett 's suggestion to use ParseAccessTest, to which I commented the following: *... I can't find a way to get an Acces

Re: [jclouds] Token based authentication in openstack-keystone (#433)

2014-09-10 Thread CloudBees pull request builder plugin
[jclouds-pull-requests #1167](https://jclouds.ci.cloudbees.com/job/jclouds-pull-requests/1167/) SUCCESS This pull request looks good --- Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds/pull/433#issuecomment-55181900

Re: [jclouds] Token based authentication in openstack-keystone (#433)

2014-09-10 Thread CloudBees pull request builder plugin
[jclouds-pull-requests #1168](https://jclouds.ci.cloudbees.com/job/jclouds-pull-requests/1168/) UNSTABLE Looks like there's a problem with this pull request --- Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds/pull/433#issuecomment-55181482

Build failed in Jenkins: jclouds #2752

2014-09-10 Thread jenkins-no-reply
See Changes: [Jeremy Daggett] Fail build on checkstyle warnings -- [...truncated 38515 lines...] [JENKINS] Archiving

Build failed in Jenkins: jclouds » jclouds Rackspace Cloud Load Balancers UK provider #2752

2014-09-10 Thread jenkins-no-reply
See -- [INFO] [INFO] --

[jira] [Commented] (JCLOUDS-704) Unable to create Virtual guest in SoftLayer

2014-09-10 Thread Jaiganesh Mathaiyan (JIRA)
[ https://issues.apache.org/jira/browse/JCLOUDS-704?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14129006#comment-14129006 ] Jaiganesh Mathaiyan commented on JCLOUDS-704: - Hi Andrea, I believe I got

Re: [jclouds] Token based authentication in openstack-keystone (#433)

2014-09-10 Thread CloudBees pull request builder plugin
[jclouds-pull-requests-java-6 #79](https://jclouds.ci.cloudbees.com/job/jclouds-pull-requests-java-6/79/) SUCCESS This pull request looks good --- Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds/pull/433#issuecomment-55172810

Re: [jclouds] Token based authentication in openstack-keystone (#433)

2014-09-10 Thread CloudBees pull request builder plugin
[jclouds-pull-requests-java-6 #78](https://jclouds.ci.cloudbees.com/job/jclouds-pull-requests-java-6/78/) SUCCESS This pull request looks good --- Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds/pull/433#issuecomment-55171601

Re: [jclouds] Token based authentication in openstack-keystone (#433)

2014-09-10 Thread pimenas
> @@ -87,6 +87,41 @@ public HttpRequest > initialAuthWithAccessKeyAndSecretKeyAndTenantId(String access > accessKey, secretKey, > getTenantId()), "application/json")).build(); > } > > + public HttpRequest initialAuthWithTokenAndTenantName(

Re: [jclouds] Backport PR 499 to 1.8.x (#517)

2014-09-10 Thread CloudBees pull request builder plugin
[jclouds-pull-requests-java-6 #77](https://jclouds.ci.cloudbees.com/job/jclouds-pull-requests-java-6/77/) SUCCESS This pull request looks good --- Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds/pull/517#issuecomment-55165511

Re: [jclouds] Token based authentication in openstack-keystone (#433)

2014-09-10 Thread pimenas
> @@ -31,6 +32,11 @@ public void testCredentialTypeOfWhenValid() { > "password")), CredentialTypes.PASSWORD_CREDENTIALS); > } > > + public void testCredentialTypeOfWhenValidToken() { > + > assertEquals(CredentialTypes.credentialTypeOf(TokenCredentials.createWithToken("

Re: [jclouds] Backport PR 499 to 1.8.x (#517)

2014-09-10 Thread BuildHive
[jclouds » jclouds #1625](https://buildhive.cloudbees.com/job/jclouds/job/jclouds/1625/) SUCCESS This pull request looks good [(what's this?)](https://www.cloudbees.com/what-is-buildhive) --- Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds/pull/517#issuecomme

Re: [jclouds] Token based authentication in openstack-keystone (#433)

2014-09-10 Thread pimenas
> + > +import com.google.common.base.Optional; > + > +@CredentialType(CredentialTypes.TOKEN_CREDENTIALS) > +@Singleton > +public class AuthenticateTokenCredentials extends > BaseAuthenticator { > + protected final AuthenticationApi api; > + > + @Inject > + public AuthenticateTokenCredentials

Re: [jclouds] Token based authentication in openstack-keystone (#433)

2014-09-10 Thread pimenas
> @@ -32,6 +32,8 @@ > > public static final String PASSWORD_CREDENTIALS = "passwordCredentials"; > > + public static final String TOKEN_CREDENTIALS = "token"; In that case I should make changes to `BindAuthToJsonPayload` because this value is used to create the `token` JSONt field. Wh

Re: [jclouds-labs-openstack] Backport JCLOUDS-630 to 1.8.x (#142)

2014-09-10 Thread CloudBees pull request builder plugin
[jclouds-labs-openstack-pull-requests #426](https://jclouds.ci.cloudbees.com/job/jclouds-labs-openstack-pull-requests/426/) UNSTABLE Looks like there's a problem with this pull request --- Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds-labs-openstack/pull/1

Re: [jclouds-labs-openstack] Backport JCLOUDS-630 to 1.8.x (#142)

2014-09-10 Thread BuildHive
[jclouds » jclouds-labs-openstack #1711](https://buildhive.cloudbees.com/job/jclouds/job/jclouds-labs-openstack/1711/) SUCCESS This pull request looks good [(what's this?)](https://www.cloudbees.com/what-is-buildhive) --- Reply to this email directly or view it on GitHub: https://github.com/jclo

Re: [jclouds] Token based authentication in openstack-keystone (#433)

2014-09-10 Thread pimenas
> @@ -99,4 +100,33 @@ Access authenticateWithTenantNameAndCredentials(@Nullable > @PayloadParam("tenantN > @MapBinder(BindAuthToJsonPayload.class) > Access authenticateWithTenantIdAndCredentials(@Nullable > @PayloadParam("tenantId") String tenantId, > ApiAccessKeyCredentials api

[jclouds-labs-openstack] Backport JCLOUDS-630 to 1.8.x (#142)

2014-09-10 Thread Jeremy Daggett
Master: 007a3b7 JIRA: https://issues.apache.org/jira/browse/JCLOUDS-630 You can merge this Pull Request by running: git pull https://github.com/rackerlabs/jclouds-labs-openstack fix/jclouds-630-1.8.x Or you can view, comment on it, or merge it online at: https://github.com/jclouds/jclouds-l

[jclouds] Backport PR 499 to 1.8.x (#517)

2014-09-10 Thread Jeremy Daggett
Backport of #499 to the 1.8.x branch JIRA: https://issues.apache.org/jira/browse/JCLOUDS-686 You can merge this Pull Request by running: git pull https://github.com/rackspace/jclouds bp499-1.8.x Or you can view, comment on it, or merge it online at: https://github.com/jclouds/jclouds/pull/5

Re: [jclouds] JCLOUDS-686: Remove changesSince() query from base PaginationOptions (#499)

2014-09-10 Thread CloudBees pull request builder plugin
[jclouds-pull-requests #1165](https://jclouds.ci.cloudbees.com/job/jclouds-pull-requests/1165/) SUCCESS This pull request looks good --- Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds/pull/499#issuecomment-55156566

[jira] [Commented] (JCLOUDS-704) Unable to create Virtual guest in SoftLayer

2014-09-10 Thread Jaiganesh Mathaiyan (JIRA)
[ https://issues.apache.org/jira/browse/JCLOUDS-704?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14128775#comment-14128775 ] Jaiganesh Mathaiyan commented on JCLOUDS-704: - Ahh ha.. I see you are pointi

[jira] [Commented] (JCLOUDS-704) Unable to create Virtual guest in SoftLayer

2014-09-10 Thread Andrea Turli (JIRA)
[ https://issues.apache.org/jira/browse/JCLOUDS-704?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14128752#comment-14128752 ] Andrea Turli commented on JCLOUDS-704: -- I'm a bit confused now. Could you run https

[jira] [Commented] (JCLOUDS-704) Unable to create Virtual guest in SoftLayer

2014-09-10 Thread Jaiganesh Mathaiyan (JIRA)
[ https://issues.apache.org/jira/browse/JCLOUDS-704?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14128739#comment-14128739 ] Jaiganesh Mathaiyan commented on JCLOUDS-704: - I did not modify the location

[jira] [Commented] (JCLOUDS-704) Unable to create Virtual guest in SoftLayer

2014-09-10 Thread Andrea Turli (JIRA)
[ https://issues.apache.org/jira/browse/JCLOUDS-704?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14128733#comment-14128733 ] Andrea Turli commented on JCLOUDS-704: -- [~jmathaiy] from the log I can see that jav

Re: [jclouds] JCLOUDS-686: Remove changesSince() query from base PaginationOptions (#499)

2014-09-10 Thread Jeremy Daggett
@demobox I simplified the message to state "This option will be removed in 2.1" so that this can be backported to the 1.8.x branch. --- Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds/pull/499#issuecomment-55145873

Re: [jclouds] JCLOUDS-686: Remove changesSince() query from base PaginationOptions (#499)

2014-09-10 Thread CloudBees pull request builder plugin
[jclouds-pull-requests-java-6 #76](https://jclouds.ci.cloudbees.com/job/jclouds-pull-requests-java-6/76/) SUCCESS This pull request looks good --- Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds/pull/499#issuecomment-55145588

Re: [jclouds-labs-openstack] Backports all neutron changes from master for 1.8.1 (#141)

2014-09-10 Thread BuildHive
[jclouds » jclouds-labs-openstack #1708](https://buildhive.cloudbees.com/job/jclouds/job/jclouds-labs-openstack/1708/) SUCCESS This pull request looks good [(what's this?)](https://www.cloudbees.com/what-is-buildhive) --- Reply to this email directly or view it on GitHub: https://github.com/jclo

Re: [jclouds-labs-openstack] Backports all neutron changes from master for 1.8.1 (#141)

2014-09-10 Thread CloudBees pull request builder plugin
[jclouds-labs-openstack-pull-requests #425](https://jclouds.ci.cloudbees.com/job/jclouds-labs-openstack-pull-requests/425/) SUCCESS This pull request looks good --- Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds-labs-openstack/pull/141#issuecomment-55135235

Re: [jclouds-labs-openstack] Backports all neutron changes from master for 1.8.1 (#141)

2014-09-10 Thread Zack Shoylev
Closed #141. --- Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds-labs-openstack/pull/141#event-163705395

Re: [jclouds-labs-openstack] Backports all neutron changes from master for 1.8.1 (#141)

2014-09-10 Thread Zack Shoylev
rebased, merged. --- Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds-labs-openstack/pull/141#issuecomment-55134335

Re: [jclouds-labs-openstack] Backports all neutron changes from master for 1.8.1 (#141)

2014-09-10 Thread Zack Shoylev
Looks good. About to rebase and merge. --- Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds-labs-openstack/pull/141#issuecomment-55133233

Re: [jclouds-labs-openstack] Backports all neutron changes from master for 1.8.1 (#141)

2014-09-10 Thread CloudBees pull request builder plugin
[jclouds-labs-openstack-pull-requests #424](https://jclouds.ci.cloudbees.com/job/jclouds-labs-openstack-pull-requests/424/) SUCCESS This pull request looks good --- Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds-labs-openstack/pull/141#issuecomment-55132969

Re: [jclouds-labs-openstack] Backports all neutron changes from master for 1.8.1 (#141)

2014-09-10 Thread BuildHive
[jclouds » jclouds-labs-openstack #1707](https://buildhive.cloudbees.com/job/jclouds/job/jclouds-labs-openstack/1707/) SUCCESS This pull request looks good [(what's this?)](https://www.cloudbees.com/what-is-buildhive) --- Reply to this email directly or view it on GitHub: https://github.com/jclo

Re: [jclouds-labs-openstack] Backports all neutron changes from master for 1.8.1 (#141)

2014-09-10 Thread Zack Shoylev
This should fix it now. I hope. --- Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds-labs-openstack/pull/141#issuecomment-55131056

[jira] [Updated] (JCLOUDS-704) Unable to create Virtual guest in SoftLayer

2014-09-10 Thread Jaiganesh Mathaiyan (JIRA)
[ https://issues.apache.org/jira/browse/JCLOUDS-704?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jaiganesh Mathaiyan updated JCLOUDS-704: Attachment: [TestNG] Running_SLComputeServiceLiveTest.log Hi Andrea, Apologize fo

Re: [jclouds-labs-openstack] Backports all neutron changes from master for 1.8.1 (#141)

2014-09-10 Thread CloudBees pull request builder plugin
[jclouds-labs-openstack-pull-requests #423](https://jclouds.ci.cloudbees.com/job/jclouds-labs-openstack-pull-requests/423/) UNSTABLE Looks like there's a problem with this pull request --- Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds-labs-openstack/pull/1

Re: [jclouds-labs-openstack] Backports all neutron changes from master for 1.8.1 (#141)

2014-09-10 Thread CloudBees pull request builder plugin
[jclouds-labs-openstack-pull-requests #422](https://jclouds.ci.cloudbees.com/job/jclouds-labs-openstack-pull-requests/422/) UNSTABLE Looks like there's a problem with this pull request --- Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds-labs-openstack/pull/1

Re: [jclouds-labs-openstack] Backports all neutron changes from master for 1.8.1 (#141)

2014-09-10 Thread BuildHive
[jclouds » jclouds-labs-openstack #1705](https://buildhive.cloudbees.com/job/jclouds/job/jclouds-labs-openstack/1705/) SUCCESS This pull request looks good [(what's this?)](https://www.cloudbees.com/what-is-buildhive) --- Reply to this email directly or view it on GitHub: https://github.com/jclo

Re: [jclouds-labs-openstack] Backports all neutron changes from master for 1.8.1 (#141)

2014-09-10 Thread Zack Shoylev
Reopened #141. --- Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds-labs-openstack/pull/141#event-163628018

Re: [jclouds-labs-openstack] Backports all neutron changes from master for 1.8.1 (#141)

2014-09-10 Thread Zack Shoylev
Closed #141. --- Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds-labs-openstack/pull/141#event-163628014

Re: [jclouds-labs] CloudSigma2 ComputeService and SecurityGroupExtension (#70)

2014-09-10 Thread Ignasi Barrera
I just want someone else to have a look at the changes. @demobox could you have a look a this? --- Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds-labs/pull/70#issuecomment-55111328

Re: [jclouds-labs] CloudSigma2 ComputeService and SecurityGroupExtension (#70)

2014-09-10 Thread Viktor Petersson
Is there anything holding this back, @nacx? --- Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds-labs/pull/70#issuecomment-55107533

Re: [jclouds-labs] JCloud ProfitBricks provider implementation (#72)

2014-09-10 Thread Ignasi Barrera
It would be something like: ```java Predicate blockUntilRunning = Predicates2.retry(new Predicate() { @Override public boolean apply(Server input){ Server refreshed = api.serversApi().getServer(input.getServerId()); return VirtualMachineState.RUNNING == refreshed.getVirtualMachin

Re: [jclouds-labs] JCloud ProfitBricks provider implementation (#72)

2014-09-10 Thread Reijhanniel Jearl Campos
Hi @nacx . I've seen in your https://github.com/jclouds/jclouds-labs/pull/61#issuecomment-47100656";>comment in this PR regards the use of Predicates2.retry helper. How is this used exactly? Use case for instance: For max 1 minute, execute a method every 2 seconds. (The method will actually poll

Re: [jclouds-labs] JCloud ProfitBricks provider implementation (#72)

2014-09-10 Thread Reijhanniel Jearl Campos
> +import org.jclouds.compute.domain.ImageBuilder; > +import org.jclouds.compute.domain.OperatingSystem; > +import org.jclouds.compute.domain.OsFamily; > +import org.jclouds.profitbricks.domain.OSType; > + > +public class PBImageToImage implements > Function { > + > + @Override > + public Imag

Re: [jclouds-labs] JCloud ProfitBricks provider implementation (#72)

2014-09-10 Thread Ignasi Barrera
> +import org.jclouds.compute.domain.ImageBuilder; > +import org.jclouds.compute.domain.OperatingSystem; > +import org.jclouds.compute.domain.OsFamily; > +import org.jclouds.profitbricks.domain.OSType; > + > +public class PBImageToImage implements > Function { > + > + @Override > + public Imag

Re: [jclouds-labs] JCloud ProfitBricks provider implementation (#72)

2014-09-10 Thread Ignasi Barrera
> + logger.info("Image %s not found in the image cache. Trying to get it > from the provider...", imageId); > + // Note that this will generate make a call to the provider instead of > using a cache, but > + // this will be executed rarely, only when an image is not present in > t

Re: [jclouds-labs] JCloud ProfitBricks provider implementation (#72)

2014-09-10 Thread Reijhanniel Jearl Campos
> +import org.jclouds.compute.domain.ImageBuilder; > +import org.jclouds.compute.domain.OperatingSystem; > +import org.jclouds.compute.domain.OsFamily; > +import org.jclouds.profitbricks.domain.OSType; > + > +public class PBImageToImage implements > Function { > + > + @Override > + public Imag