Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

another possible fix for GH-84

  • Loading branch information...
commit ece2c0fd10fa4f0d6f337d37c728f438d0fc92d0 1 parent 3b3a391
@buzztroll buzztroll authored
View
15 messaging/query/java/source/src/org/nimbustools/messaging/query/v2009_08_15/ElasticService.java
@@ -430,6 +430,13 @@ public DescribeImagesResponseType handleGet(
final List<String> imageNames =
getParameterList(uriInfo, "ImageId");
+ return this.handle(executableBy, owner, imageNames);
+ }
+
+ private DescribeImagesResponseType handle(String executableBy,
+ String owner,
+ List<String> imageNames) {
+
final DescribeImagesType request = new DescribeImagesType();
if (executableBy != null) {
@@ -473,8 +480,12 @@ public DescribeImagesResponseType handleGet(
public DescribeImagesResponseType handlePost(
@FormParam("ExecutableBy") String executableBy,
@FormParam("Owner") String owner,
- @Context UriInfo uriInfo) {
- return handleGet(executableBy, owner, uriInfo);
+ MultivaluedMap<String,String> formParams) {
+
+ final List<String> imageNames =
+ getParameterList(formParams, "ImageId");
+
+ return this.handle(executableBy, owner, imageNames);
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.