Re: [jclouds-labs] BlobStore API for Orion based back-ends (#45)

2013-12-01 Thread Andrew Phillips
@timur87: Thanks for fixing the compilation error. Now we're on to a test failure and a problem with the bundle configuration: ``` Failed tests: getBlob(org.jclouds.orion.OrionApiMockTest): Connection refused connecting to GET

Re: Next board report?

2013-12-01 Thread Andrew Phillips
for three months. I'll be handling it next week. Thanks, abayer! If you have something like a draft for review, please ping! ap

Re: [jclouds] Delete objects in a container efficiently. (#214)

2013-12-03 Thread Andrew Phillips
I'll dig deeper into that. Hm. Strange! Thanks for looking into this... --- Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds/pull/214#issuecomment-29691969

Re: [jclouds] Remove LocalAsyncBlobStore. (#220)

2013-12-03 Thread Andrew Phillips
* @author Alfredo Rainbowbreeze Morresi */ public class FilesystemBlobStoreContextModule extends AbstractModule { @Override protected void configure() { - bind(AsyncBlobStore.class).to(LocalAsyncBlobStore.class).asEagerSingleton(); - // forward all requests from

Re: [jclouds] Remove LocalAsyncBlobStore. (#220)

2013-12-03 Thread Andrew Phillips
@@ -41,7 +41,7 @@ import org.jclouds.atmos.domain.UserMetadata; import org.jclouds.atmos.options.ListOptions; import org.jclouds.atmos.options.PutOptions; -import org.jclouds.blobstore.LocalAsyncBlobStore; +import org.jclouds.blobstore.config.LocalBlobStore; Any reason why

Re: [jclouds] Remove LocalAsyncBlobStore. (#220)

2013-12-03 Thread Andrew Phillips
@@ -72,7 +72,9 @@ private final Closer closer; @Inject - private StubAtmosAsyncClient(LocalAsyncBlobStore blobStore, AtmosObject.Factory objectProvider, + private StubAtmosAsyncClient( +LocalBlobStore blobStore, +AtmosObject.Factory objectProvider,

Re: [jclouds] Remove LocalAsyncBlobStore. (#220)

2013-12-03 Thread Andrew Phillips
@@ -197,7 +203,8 @@ private StubS3AsyncClient(@Named(Constants.PROPERTY_USER_THREADS) ListeningExecu final PutObjectOptions options = (nullableOptions.length == 0) ? new PutObjectOptions() : nullableOptions[0]; if (options.getAcl() != null) keyToAcl.put(bucketName +

Re: [jclouds] Remove LocalAsyncBlobStore. (#220)

2013-12-03 Thread Andrew Phillips
@@ -160,22 +162,26 @@ private StubS3AsyncClient(@Named(Constants.PROPERTY_USER_THREADS) ListeningExecu Blob object = source.get(sourceObject); if (options.getIfMatch() != null) { if (!object.getMetadata().getETag().equals(options.getIfMatch())) -

Re: [jclouds] Remove LocalAsyncBlobStore. (#220)

2013-12-03 Thread Andrew Phillips
@@ -104,7 +103,8 @@ @Inject private StubS3AsyncClient(@Named(Constants.PROPERTY_USER_THREADS) ListeningExecutorService userExecutor, -LocalAsyncBlobStore blobStore, ConcurrentMapString, ConcurrentMapString, Blob containerToBlobs, +LocalBlobStore

Re: [jclouds] Remove LocalAsyncBlobStore. (#220)

2013-12-03 Thread Andrew Phillips
} if (options.getIfUnmodifiedSince() != null) { Date unmodifiedSince = dateService.rfc822DateParse(options.getIfUnmodifiedSince()); if (unmodifiedSince.before(object.getMetadata().getLastModified())) - return

Re: [jclouds] Remove LocalAsyncBlobStore. (#220)

2013-12-03 Thread Andrew Phillips
+ if (!options.isDetailed()) { +for (StorageMetadata md : contents) { + md.getUserMetadata().clear(); +} + } + } + + return new PageSetImplStorageMetadata(contents, marker); + + } + + private ContainerNotFoundException

Re: [jclouds] Remove LocalAsyncBlobStore. (#220)

2013-12-03 Thread Andrew Phillips
@@ -80,9 +79,8 @@ @Inject MarkersDeleteDirectoryStrategy( @Named(Constants.PROPERTY_USER_THREADS) ListeningExecutorService userExecutor, -AsyncBlobStore ablobstore, BlobStore blobstore) { + BlobStore blobstore) { Formatting? Alignment is not

Re: [jclouds] Remove LocalAsyncBlobStore. (#220)

2013-12-03 Thread Andrew Phillips
@@ -72,7 +69,7 @@ public BlobStore getBlobStore() { @Override public AsyncBlobStore getAsyncBlobStore() { - return ablobStore; + return null; } I'm guessing this should disappear? But that's in the other pull request, from what I recall... --- Reply to this email

Re: [jclouds] Remove LocalAsyncBlobStore. (#220)

2013-12-03 Thread Andrew Phillips
In general, looks good. Only a couple of minor questions, and comments about formatting. Glad to see so much code hopefully go away soon! --- Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds/pull/220#issuecomment-29693590

Re: [jclouds] [JCLOUDS-392] Remove dependency from Maps2. Make jclouds-core packages optionally imported from jclouds-scriptbuilder. (#219)

2013-12-03 Thread Andrew Phillips
@@ -34,8 +34,14 @@ jclouds.test.listener / jclouds.osgi.activatororg.jclouds.scriptbuilder.functionloader.osgi.Activator/jclouds.osgi.activator - jclouds.osgi.exportorg.jclouds.scriptbuilder*;version=${project.version}/jclouds.osgi.export -

Re: Template builder with no predefined hardware profiles

2013-12-03 Thread Andrew Phillips
Hi all. The cloud compute provider I faced with (ProfitBricks) doesn't have any predefined hardware profiles. Does it mean I need to have my own /TemplateBuilder/ implementation since base /TemplateBuilderImpl/ will throw an exception if there is no hardware profiles to satisfy user requirements?

Re: [jclouds-labs] Cloudsigma2 subscription calc fix (#41)

2013-12-03 Thread Andrew Phillips
Thanks for the cleanup, @shevchenator - looks good to me! @nacx: whenever you're ready, I'd say squash'n'rebase and then good to merge..? --- Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds-labs/pull/41#issuecomment-29695355

Re: [jclouds] Remove BlobBuilder.calculateMD5 (#218)

2013-12-03 Thread Andrew Phillips
Could you explain the background for this? Where previously jclouds could do work for you (and work that it should seemingly be able to do, i.e. calculate the MD5 for content you've already given it), we now expect you to do the work yourself, and get the implementation right? Is there any

Re: [jclouds-labs-openstack] OS Neutron Extension Router (#47)

2013-12-03 Thread Andrew Phillips
+ authenticatedGET().endpoint(endpoint + /routers).addQueryParam(fields, id, tenant_id, name).build(), + HttpResponse.builder().statusCode(200).payload(payloadFromResourceWithContentType(/list_routers.json, APPLICATION_JSON)).build()) +

Re: [jclouds] Remove BlobBuilder.calculateMD5 (#218)

2013-12-03 Thread Andrew Phillips
For repeatable payloads like InputSupplier it incurs IO twice and for non-repeatable payloads like InputStream it buffers the entire bolus in-memory, often times causing OutOfMemoryError Rather than removing it, would it be feasible to simply fix/amend those implementations to be less

Re: [jclouds] Remove LocalAsyncBlobStore. (#220)

2013-12-03 Thread Andrew Phillips
jclouds-java-7-pull-requests #892 UNSTABLE Unrelated [test

Re: [jclouds] [JCLOUDS-392] Remove dependency from Maps2. Make jclouds-core packages optionally imported from jclouds-scriptbuilder. (#219)

2013-12-04 Thread Andrew Phillips
@@ -34,8 +34,14 @@ jclouds.test.listener / jclouds.osgi.activatororg.jclouds.scriptbuilder.functionloader.osgi.Activator/jclouds.osgi.activator - jclouds.osgi.exportorg.jclouds.scriptbuilder*;version=${project.version}/jclouds.osgi.export -

Re: [jclouds] [JCLOUDS-392] Remove dependency from Maps2. Make jclouds-core packages optionally imported from jclouds-scriptbuilder. (#219)

2013-12-04 Thread Andrew Phillips
@@ -34,8 +34,14 @@ jclouds.test.listener / jclouds.osgi.activatororg.jclouds.scriptbuilder.functionloader.osgi.Activator/jclouds.osgi.activator - jclouds.osgi.exportorg.jclouds.scriptbuilder*;version=${project.version}/jclouds.osgi.export -

Re: [jclouds] [JCLOUDS-263] Usage of internalURL services' endpoints (#142)

2013-12-04 Thread Andrew Phillips
It should be properly working now (I have just run it on my openstack instance). Great to hear! Could you post the sample code you used to test this somewhere (in a comment, Gist, Pastie etc.)? Thanks, @sallum! --- Reply to this email directly or view it on GitHub:

Re: [jclouds-labs] Cloudsigma2 subscription calc fix (#41)

2013-12-05 Thread Andrew Phillips
This is not just the test failing, but the equals method not being properly implemented. Could you kindly fix that? Good catch, @nacx! --- Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds-labs/pull/41#issuecomment-29961986

Re: [jclouds] JCLOUDS-394. Add note to ec2 README in re: live tests and new accounts (#221)

2013-12-06 Thread Andrew Phillips
Does http://jclouds.apache.org/documentation/userguide/using-ec2/ also need to be modified? --- Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds/pull/221#issuecomment-30045097

Re: [jclouds] JCLOUDS-356 multipart uploads with InputStream payloads (#192)

2013-12-06 Thread Andrew Phillips
Thanks for the updates, @eevans. Almost there, I think. Would this functionality be exercised by any of the existing live tests? If so, could you run those and add the results here? Just to ensure this works in real life too ;-) --- Reply to this email directly or view it on GitHub:

Re: [jclouds] JCLOUDS-356 multipart uploads with InputStream payloads (#192)

2013-12-07 Thread Andrew Phillips
+import com.google.common.base.Charsets; +import com.google.common.io.ByteStreams; + +@Test +public class BasePayloadSlicerTest { + + @Test + public void testIterableSliceExpectedSingle() throws IOException { + PayloadSlicer slicer = new BasePayloadSlicer(); + String data =

Re: [jclouds] JCLOUDS-356 multipart uploads with InputStream payloads (#192)

2013-12-07 Thread Andrew Phillips
exercises this new code, is that what you're looking for? Almost...but these look like the _unit_ tests, not the [_live_ tests](http://jclouds.apache.org/documentation/devguides/provider-testing/) (which are run against a real OpenStack instance). Everett Toews and/or Zack Shoylev would be

Re: Setup Firewall (Security groups) via compute service

2013-12-08 Thread Andrew Phillips
Quoting ssiv...@gmail.com ssiv...@gmail.com: Hi all! Sorry guys, I'll duplicate my question posted on the #jclouds. Is there an uniform way to add node firewall settings via compute service? Or it's too specific for each provider so I need to you provider API directly? I'm a little bit confused

Re: [jclouds] JCLOUDS-394. Add note to ec2 README in re: live tests and new accounts (#221)

2013-12-08 Thread Andrew Phillips
Thanks for rewording, @abayer! +1 - looks good to me! --- Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds/pull/221#issuecomment-30095021

Re: [jclouds] Remove LocalAsyncBlobStore. (#220)

2013-12-08 Thread Andrew Phillips
@andrewgaul: would you have a chance to take a quick look at this, as one of the BlobStore experts? --- Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds/pull/220#issuecomment-30095087

Open PRs

2013-12-08 Thread Andrew Phillips
There are 20 open PRs against jclouds/jclouds [1] at present. Quite a few are over 3 months old. Would it be worth having a quick sweep through especially the older ones and closing out any that do not seem viable at present, or for 1.7.0? Regards ap [1]

Re: [jclouds-labs] Cloudsigma2 subscription calc fix (#41)

2013-12-08 Thread Andrew Phillips
Thanks for the fix, @Kentzo and @shevchenator! Could you run the live tests and post the results here, in a Gist or Pastie? Or would you have time to run the live tests again, @nacx? --- Reply to this email directly or view it on GitHub:

Re: Setup Firewall (Security groups) via compute service

2013-12-08 Thread Andrew Phillips
Just to complete Andrew's answer, there is also the SecurityGroupExtension for the ComputeService. Thanks for clarifying that, Ignasi! Learned something new again ;-) Note that this extension is in beta and is only available on 1.7.0-SNAPSHOT [1]. ap [1]

Re: [jclouds] [JCLOUDS-392] Remove dependency from Maps2. Make jclouds-core packages optionally imported from jclouds-scriptbuilder. (#219)

2013-12-09 Thread Andrew Phillips
@iocanel: Any chance of adding a short comment in the POM to explain what you explained in the review comments? Then hopefully we can get this in for 1.7.0? --- Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds/pull/219#issuecomment-30169890

Re: [jclouds] Remove BlobBuilder.calculateMD5 (#218)

2013-12-09 Thread Andrew Phillips
@andrewgaul: irrespective of whether it makes sense to try to fix the implementation rather than remove it - I guess this would count as a breaking change? Or do we feel this is used internally only, so we wouldn't be impacting users here? --- Reply to this email directly or view it on GitHub:

Re: [jclouds] Support exists checks with DreamObjects Swift API (#165)

2013-12-09 Thread Andrew Phillips
@andrewgaul: ping? Something to try to get in for 1.7.0? --- Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds/pull/165#issuecomment-30170255

Re: [jclouds] JCLOUDS-32: Using less magic in route53 signature (#222)

2013-12-09 Thread Andrew Phillips
@Override public String sign(String toSign) { try { - ByteProcessorbyte[] hmacSHA256 = asByteProcessor(crypto.hmacSHA256(creds.get().credential.getBytes(UTF_8))); - return base64().encode(readBytes(toInputStream(toSign), hmacSHA256)); +

Re: [jclouds] Deprecate BlobBuilder.calculateMD5 (#223)

2013-12-09 Thread Andrew Phillips
@@ -146,6 +146,7 @@ public PayloadBlobBuilder payload(Payload payload) { return builder.payload(payload); } + @Deprecated See previous comment? --- Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds/pull/223/files#r8213984

Re: [jclouds] Make BlobName Function type-safe (#38)

2013-12-09 Thread Andrew Phillips
+1 too. It's been 6 months, but can we merge this one? Quick JIRA issue merge? Will close'n'reopen now to re-trigger the PR builders. --- Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds/pull/38#issuecomment-30186748

Re: [jclouds] Remove BlobBuilder.calculateMD5 (#218)

2013-12-09 Thread Andrew Phillips
Still the same [clojure failure](https://jclouds.ci.cloudbees.com/job/jclouds-pull-requests/441/console) by the way, it seems: ``` org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.theoryinpractise:clojure-maven-plugin:1.3.10:test (test-clojure) on project

Re: [jclouds] Allow Guava MediaType for Content-Type (#44)

2013-12-09 Thread Andrew Phillips
or is still some investigation pending regarding the test? I still think `MediaType` should be non-nullable. Ideally, I'd like to try a variant of this PR with a `checkNotNull` to see if that works too. --- Reply to this email directly or view it on GitHub:

Re: [jclouds] JCLOUDS-32: Using less magic in route53 signature (#222)

2013-12-09 Thread Andrew Phillips
Committed to [master](https://git-wip-us.apache.org/repos/asf?p=jclouds.git;a=commit;h=acde2beff1d04301af69a68ce598d7d3a96a92f0). Any fixes we want to make to avoid potential OOMEs can be added in a separate PR, I think. --- Reply to this email directly or view it on GitHub:

Re: [jclouds] Deprecate BlobBuilder.calculateMD5 (#223)

2013-12-09 Thread Andrew Phillips
@@ -121,6 +121,7 @@ * * @see Payloads#calculateMD5 */ + @Deprecated Use the [`@deprecated` Javadoc tag](http://docs.oracle.com/javase/1.5.0/docs/guide/javadoc/deprecation/deprecation.html#javadoc_tag)? Renders more nicely in the Javadoc, then. Happy to amend

Re: Open PRs

2013-12-09 Thread Andrew Phillips
I've added comments to all old PRs I've found. Let's see if we get some feedback and can merge/close! :) Thanks, Ignasi! ap

Re: [jclouds] Make BlobName Function type-safe (#38)

2013-12-09 Thread Andrew Phillips
jclouds-java-7-pull-requests #908 UNSTABLE Weird [failure](https://jclouds.ci.cloudbees.com/job/jclouds-java-7-pull-requests/org.apache.jclouds.common$azure-common/908/testReport/junit/org.jclouds.azure.storage.filters/SharedKeyLiteAuthenticationTest/testIdempotent/). Not obviously related,

[jclouds] Allowing Guava MediaType for Content-Type (#225)

2013-12-09 Thread Andrew Phillips
Alternative version of #44 You can merge this Pull Request by running: git pull https://github.com/jclouds/jclouds pr-44-alternative Or you can view, comment on it, or merge it online at: https://github.com/jclouds/jclouds/pull/225 -- Commit Summary -- * Allowing Guava MediaType for

Re: [jclouds] Allowing Guava MediaType for Content-Type (#225)

2013-12-09 Thread Andrew Phillips
Let's see what the PR builders say! --- Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds/pull/225#issuecomment-30190231

Re: [jclouds] Make BlobName Function type-safe (#38)

2013-12-09 Thread Andrew Phillips
jclouds-pull-requests #446 UNSTABLE Egads! Not **again**. [This one](https://jclouds.ci.cloudbees.com/job/jclouds-pull-requests/org.apache.jclouds$jclouds-compute/446/testReport/junit/org.jclouds.compute.util/ConcurrentOpenSocketFinderTest/testChecksSocketsConcurrently/) also looks weird,

Re: [jclouds] Allowing Guava MediaType for Content-Type (#225)

2013-12-09 Thread Andrew Phillips
jclouds-pull-requests #447 FAILURE They say: sucks boo, it seems ;-) Clojure fix coming up... --- Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds/pull/225#issuecomment-30195108

Re: [jclouds] Make BlobName Function type-safe (#38)

2013-12-09 Thread Andrew Phillips
Yay. Finally! Only JIRA, rebase'n'merge to go now... --- Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds/pull/38#issuecomment-30195194

Re: [jclouds] JCLOUDS-356 multipart uploads with InputStream payloads (#192)

2013-12-09 Thread Andrew Phillips
Thanks for the explanations, @eevans! Perhaps add a comment in the test to explain why `InputStream` is used rather than `File`? Otherwise, fine to leave as-is. --- Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds/pull/192#issuecomment-30200199

Re: [jclouds] Allowing Guava MediaType for Content-Type (#225)

2013-12-09 Thread Andrew Phillips
The Clojure ugliness looks pretty significant, at least to me. And if one variant of `contentType` is nullable, why not the other one, I guess. Closing this one out - let's stick with #44... --- Reply to this email directly or view it on GitHub:

Re: [jclouds-labs-openstack] Replacing strange chars in pom.xml with spaces (#53)

2013-12-09 Thread Andrew Phillips
@nacx: _I_ certainly think so! Was waiting for someone else to have a look and +1... --- Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds-labs-openstack/pull/53#issuecomment-30201486

Re: [jclouds] Allow Guava MediaType for Content-Type (#44)

2013-12-09 Thread Andrew Phillips
@andrewgaul: one small comment left about potentially marking the `contentType` args as `@Nullable`? Otherwise, JIRA issue is [JCLOUDS-402](https://issues.apache.org/jira/browse/JCLOUDS-402). --- Reply to this email directly or view it on GitHub:

Re: [jclouds] Allow Guava MediaType for Content-Type (#44)

2013-12-09 Thread Andrew Phillips
@@ -107,6 +108,8 @@ PayloadBlobBuilder contentMD5(byte[] md5); + PayloadBlobBuilder contentType(MediaType contentType); Mark `MediaType` (and the `String` version below, actually) as `@Nullable`? --- Reply to this email directly or view it on GitHub:

Re: [jclouds-karaf] Allow stdin local file for streaming writes (#23)

2013-12-09 Thread Andrew Phillips
Can this be merged? I think we first need to address a bunch of new [Checkstyle violations](https://jclouds.ci.cloudbees.com/job/jclouds-karaf-pull-requests/18/org.apache.jclouds.karaf$cache/violations/)? --- Reply to this email directly or view it on GitHub:

Re: [jclouds] Allow the HeaderParam annotation to be used in a Caller. (#226)

2013-12-09 Thread Andrew Phillips
MultimapString, Object queryParams = addQueryParams(tokenValues, invocation); - MultimapString, String headers = buildHeaders(tokenValues, invocation); + + MultimapString, String headers; + + if (caller != null) { + headers = buildHeaders(tokenValues,

Re: [jclouds-karaf] [JCLOUDS-189] Upgrade to Karaf 2.3.2. Explicitly specify jclouds feature... (#24)

2013-12-10 Thread Andrew Phillips
Hmmm, isn't this the good old use install goal issue? Let's find out! Just changed the job config... --- Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds-karaf/pull/24#issuecomment-30232378

Re: [jclouds] JCLOUDS-356 multipart uploads with InputStream payloads (#192)

2013-12-10 Thread Andrew Phillips
@@ -128,6 +132,31 @@ public void testMultipartChunkedFileStream() throws IOException, InterruptedExce } } + @Test(groups = { integration, live }) + public void testMultipartChunkedInputStream() throws InterruptedException, IOException { + String container =

Re: [jclouds] Allow the HeaderParam annotation to be used in a Caller. (#226)

2013-12-10 Thread Andrew Phillips
MultimapString, Object queryParams = addQueryParams(tokenValues, invocation); - MultimapString, String headers = buildHeaders(tokenValues, invocation); + + MultimapString, String headers; + + if (caller != null) { + headers = buildHeaders(tokenValues,

Re: [jclouds] Allow the HeaderParam annotation to be used in a Caller. (#226)

2013-12-10 Thread Andrew Phillips
Just to be sure this is not unnoticed, this change will also propagate the @Produces and @Consumes annotations I guess the only place we might need to worry about this is where a call currently assumes default produces/consumes (i.e. doesn't set anything explicitly), but might now be

Re: [jclouds] Allow the HeaderParam annotation to be used in a Caller. (#226)

2013-12-10 Thread Andrew Phillips
Agree, but as long as we are including them in the header propagation logic, we should add the tests to make sure that (even if rarely used) the code actually works as expected for them too. Indeed. Do we also have tests on the _callee_ side to verify expected header params which would

Re: [jclouds-karaf] [JCLOUDS-189] Upgrade to Karaf 2.3.2. Explicitly specify jclouds feature... (#24)

2013-12-10 Thread Andrew Phillips
Are we sure this has been configured? I haven't been able to change BuildHive yet, but here's the screenshot from the DEV@cloud config: ![image](https://f.cloud.github.com/assets/223702/1716307/0d595e80-61bf-11e3-9b3d-3a10d628c241.png) And I can see a bunch of install invocations in the

Re: [jclouds-karaf] [JCLOUDS-189] Upgrade to Karaf 2.3.2. Explicitly specify jclouds feature... (#24)

2013-12-10 Thread Andrew Phillips
PS: Perhaps the Maven setup is wrong, and we need to run `install` on the **whole** project, with tests disabled, before running the tests again? --- Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds-karaf/pull/24#issuecomment-30248229

Re: [jclouds-karaf] [JCLOUDS-189] Upgrade to Karaf 2.3.2. Explicitly specify jclouds feature... (#24)

2013-12-10 Thread Andrew Phillips
Let's quickly try again with this new setup... --- Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds-karaf/pull/24#issuecomment-30248561

Re: [jclouds] Allow the HeaderParam annotation to be used in a Caller. (#226)

2013-12-10 Thread Andrew Phillips
Personally (no offense) I wouldn't like to merge this without a complete test set. No offence taken ;-) I certainly agree we should have tests to ensure the change works as intended. I was just wondering whether we have tests that would be able to verify that the new behaviour doesn't

Re: [jclouds] JCLOUDS-356 multipart uploads with InputStream payloads (#192)

2013-12-10 Thread Andrew Phillips
Looks good to me - only squash'n'rebase to go, from my perspective. @andrewgaul: you OK with investigating ByteStreams as a follow-up improvement, or would you like to see that tackled first? --- Reply to this email directly or view it on GitHub:

Re: [jclouds-karaf] [JCLOUDS-189] Upgrade to Karaf 2.3.2. Explicitly specify jclouds feature... (#24)

2013-12-10 Thread Andrew Phillips
jclouds ยป jclouds-karaf #615 SUCCESS This is unfortunately wrong :-( The tests actually [failed](https://buildhive.cloudbees.com/job/jclouds/job/jclouds-karaf/615/console) ``` Tests run: 57, Failures: 55, Errors: 0, Skipped: 2 [ERROR] There are test failures. ``` --- Reply to this email

[jclouds-site] WIP for the 1.6.3 release notes (#35)

2013-12-10 Thread Andrew Phillips
You can merge this Pull Request by running: git pull https://github.com/jclouds/jclouds-site release-notes-1.6.3 Or you can view, comment on it, or merge it online at: https://github.com/jclouds/jclouds-site/pull/35 -- Commit Summary -- * WIP for the 1.6.3 release notes -- File

Re: [ANNOUNCE] Apache jclouds 1.6.3 released

2013-12-10 Thread Andrew Phillips
Quick update... Javadocs available and permalinks updated: http://demobox.github.com/jclouds-maven-site/latest/ http://demobox.github.com/jclouds-maven-site/1.6.x/ (Incomplete) PR to update site release notes open too [1]. @gaul: I guess you'll want to amend that one - it's a branch in the

Re: [jclouds] JCLOUDS-356 multipart uploads with InputStream payloads (#192)

2013-12-11 Thread Andrew Phillips
or is that left to whomever does the merge? If you could do that and force push this PR branch, it would be appreciated. Reason being: we then get the PR build jobs to run over this once more. Thanks! --- Reply to this email directly or view it on GitHub:

Re: [jclouds] Allow the HeaderParam annotation to be used in a Caller. (#226)

2013-12-11 Thread Andrew Phillips
Looks good to me, too. @nacx: good to go on this one? --- Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds/pull/226#issuecomment-30303663

Re: [jclouds-karaf] [JCLOUDS-189] Upgrade to Karaf 2.3.2. Explicitly specify jclouds feature... (#24)

2013-12-11 Thread Andrew Phillips
haven't tried on a clean repo. It does indeed look like a problem with _this_ PR :-( The [jobs](https://jclouds.ci.cloudbees.com/job/jclouds-karaf-pull-requests/lastBuild/testReport/) [for](https://buildhive.cloudbees.com/job/jclouds/job/jclouds-karaf/616/testReport/) #28 seem to be almost

Re: [jclouds-karaf] Remove Sonatype extension profile (#28)

2013-12-11 Thread Andrew Phillips
jclouds-karaf-pull-requests #22 UNSTABLE No failures but [two tests skipped](https://jclouds.ci.cloudbees.com/job/jclouds-karaf-pull-requests/org.apache.jclouds.karaf$itests/22/testReport/), for some reason..? --- Reply to this email directly or view it on GitHub:

Re: [jclouds-karaf] Remove Sonatype extension profile (#28)

2013-12-11 Thread Andrew Phillips
jclouds-karaf-pull-requests #22 UNSTABLE Ah...the skipped tests are intended (also skipped in BuildHive). It's _Checkstyle_ that's causing the build to go unstable in DEV@cloud. --- Reply to this email directly or view it on GitHub:

Re: [jclouds-examples] JCLOUDS-215 Add autoscale examples (#24)

2013-12-11 Thread Andrew Phillips
One small comment, but otherwise looks good to me - thanks, @zack-shoylev! --- Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds-examples/pull/24#issuecomment-30312466

Re: [jclouds] Allow the HeaderParam annotation to be used in a Caller. (#226)

2013-12-11 Thread Andrew Phillips
Committed to [master](https://git-wip-us.apache.org/repos/asf?p=jclouds.git;a=commit;h=c40dc996d96b05ce755f28728a4fb2bcd632b247). Thanks, @everett-toews and @nacx! --- Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds/pull/226#issuecomment-30316146

Re: [jclouds-site] JCLOUDS-215 Adds autoscale documentation. (#32)

2013-12-11 Thread Andrew Phillips
@zack-shoylev: this is merged but not deployed yet? Can't seem to find autoscale anywhere on [the rendered page](http://jclouds.apache.org/documentation/quickstart/rackspace/)? --- Reply to this email directly or view it on GitHub:

Re: [jclouds-labs-openstack] Sample refactoring of GroupApiExpectTest to use MockWebServer (#59)

2013-12-11 Thread Andrew Phillips
+ */ + assertNotNull(g); + assertEquals(g.getId(),6791761b-821a-4d07-820d-0b2afc7dd7f6); + assertEquals(g.getLinks().size(), 1); + assertEquals(g.getLinks().get(0).getHref().toString(),

Re: [jclouds-labs-openstack] Sample refactoring of GroupApiExpectTest to use MockWebServer (#59)

2013-12-11 Thread Andrew Phillips
+ assertRequest(server.takeRequest(), GET, /v1.0/88/groups); + + /* + * Check response + */ + assertEquals(groupStates.size(),2); + + assertEquals(groupStates.get(0).getGroupInstances().size(), 0); +

Re: [jclouds-labs-openstack] Sample refactoring of GroupApiExpectTest to use MockWebServer (#59)

2013-12-11 Thread Andrew Phillips
+ .maxEntities(100) + .metadata(ImmutableMap.of(firstkey, this is a string, secondkey, 1)) + .build(); + + boolean result = api.updateGroupConfiguration(1234567890, gc); + + /* + * Check request + */ +

Re: [jclouds] JCLOUDS-356 multipart uploads with InputStream payloads (#192)

2013-12-11 Thread Andrew Phillips
@@ -128,6 +132,31 @@ public void testMultipartChunkedFileStream() throws IOException, InterruptedExce } } + @Test(groups = { integration, live }) + public void testMultipartChunkedInputStream() throws InterruptedException, IOException { + String container =

Re: [jclouds] JCLOUDS-356 multipart uploads with InputStream payloads (#192)

2013-12-11 Thread Andrew Phillips
Thanks, @eevans! Did we lose a comment somewhere in the tests about using an `InputStream` vs. a `File`? --- Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds/pull/192#issuecomment-30327046

Re: [jclouds] JCLOUDS-356 multipart uploads with InputStream payloads (#192)

2013-12-11 Thread Andrew Phillips
Nope, it's right here Doh! Some change blindness on my side there...thanks. --- Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds/pull/192#issuecomment-30328796

Re: [jclouds] JCLOUDS-356 multipart uploads with InputStream payloads (#192)

2013-12-11 Thread Andrew Phillips
Committed to [master](https://git-wip-us.apache.org/repos/asf?p=jclouds.git;h=15a3c04). Thanks, @eevans! --- Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds/pull/192#issuecomment-30330191

Re: [jclouds] JCLOUDS-356 multipart uploads with InputStream payloads (#192)

2013-12-11 Thread Andrew Phillips
jclouds-pull-requests #463 FAILURE jclouds-java-7-pull-requests #925 FAILURE Infra failure, nothing wrong with the PR, I think: ``` Looks like the node went offline during the build. ``` --- Reply to this email directly or view it on GitHub:

Re: [jclouds-labs-openstack] Sample refactoring of GroupApiExpectTest to use MockWebServer (#59)

2013-12-11 Thread Andrew Phillips
+ assertEquals(g.getLaunchConfiguration().getPersonalities().get(0).getContents(), VGhpcyBpcyBhIHRlc3QgZmlsZS4=); + assertEquals(g.getLaunchConfiguration().getNetworks().size(), 2); + assertEquals(g.getLaunchConfiguration().getNetworks().get(0),

Re: [jclouds-site] JCLOUDS-215 Adds autoscale documentation. (#32)

2013-12-11 Thread Andrew Phillips
I am not sure what the process is for deploying. Is it automatic? No, not as far as I know...see [the README](https://github.com/jclouds/jclouds-site/blob/master/README.md) --- Reply to this email directly or view it on GitHub:

Re: [jclouds] Adds some easy-of-use for openstack mock tests (#224)

2013-12-11 Thread Andrew Phillips
*/ public class BaseOpenStackMockTestA extends Closeable { - public static final String accessRackspace =

Re: [jclouds] Map BlobBuilder.expires to Swift X-Delete-At (#227)

2013-12-11 Thread Andrew Phillips
@@ -72,6 +73,14 @@ public BindSwiftObjectMetadataToRequest(ObjectToBlob object2Blob, BindUserMetada .build(); } + Date expires = object.getPayload().getContentMetadata().getExpires(); + if (expires != null) { + // Swizzle Expires to X-Delete-At

Re: [jclouds] Map BlobBuilder.expires to Swift X-Delete-At (#227)

2013-12-11 Thread Andrew Phillips
@@ -67,6 +70,7 @@ public void testExtendedPropertiesBind() { BindSwiftObjectMetadataToRequest binder = injector.getInstance(BindSwiftObjectMetadataToRequest.class); assertEquals(binder.bindToRequest(request, object), HttpRequest.builder().method(PUT) +

Re: [jclouds] Map BlobBuilder.expires to Swift X-Delete-At (#227)

2013-12-11 Thread Andrew Phillips
JIRA issue for this? And will close'n'reopen to see what the PR builders say this time... --- Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds/pull/227#issuecomment-30343973

Re: [jclouds-site] JCLOUDS-215 Adds autoscale documentation. (#32)

2013-12-11 Thread Andrew Phillips
Thanks, @zack-shoylev! Numbering's gone a bit weird again..? ![image](https://f.cloud.github.com/assets/223702/1728185/60e326ee-62aa-11e3-8203-7e8147de8bfa.png) --- Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds-site/pull/32#issuecomment-30365345

Re: [jclouds-site] JCLOUDS-215 Adds autoscale documentation. (#32)

2013-12-11 Thread Andrew Phillips
Also, one of the links seems broken: ![image](https://f.cloud.github.com/assets/223702/1728196/a1eaae32-62aa-11e3-9c1e-e8915c1280cc.png) results in a 404 --- Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds-site/pull/32#issuecomment-30365796

Re: [jclouds-site] JCLOUDS-215 Adds autoscale documentation. (#32)

2013-12-11 Thread Andrew Phillips
Couple more points: ![image](https://f.cloud.github.com/assets/223702/1728238/66d1249c-62ab-11e3-81c7-5f98968ff697.png) looks like the wrong package? And here: ![image](https://f.cloud.github.com/assets/223702/1728243/7a78e6ec-62ab-11e3-8143-018e3b57df09.png) I'm guessing that should be

Re: [jclouds] Map BlobBuilder.expires to Swift X-Delete-At (#227)

2013-12-11 Thread Andrew Phillips
+1 - looks good to me. Thanks, @andrewgaul! Has this been run against any live cloud so far, by the way? --- Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds/pull/227#issuecomment-30367992

Re: [jclouds] Adds some easy-of-use for openstack mock tests (#224)

2013-12-11 Thread Andrew Phillips
*/ public class BaseOpenStackMockTestA extends Closeable { - public static final String accessRackspace =

Re: [jclouds-site] Remove styling for HTML lists (#36)

2013-12-11 Thread Andrew Phillips
-1 - doesn't look good to me :-( All the lists are squashed now: compare ![image](https://f.cloud.github.com/assets/223702/1728456/32128af8-62af-11e3-9ca9-c8dbfec4b954.png) with the old version ![image](https://f.cloud.github.com/assets/223702/1728458/4485fc74-62af-11e3-8931-101fec777648.png)

<    1   2   3   4   5   6   7   8   9   10   >