Repository: falcon Updated Branches: refs/heads/master 2cd4f17d5 -> efa9b1441
FALCON-1621 [BUG] Lifecycle of entity gets missed when prism and falcon server communicates Author: Praveen Adlakha <[email protected]> Reviewers: Sandeep Samudrala <[email protected]>, Pallavi Rao <[email protected]> Closes #46 from PraveenAdlakha/1621 Project: http://git-wip-us.apache.org/repos/asf/falcon/repo Commit: http://git-wip-us.apache.org/repos/asf/falcon/commit/efa9b144 Tree: http://git-wip-us.apache.org/repos/asf/falcon/tree/efa9b144 Diff: http://git-wip-us.apache.org/repos/asf/falcon/diff/efa9b144 Branch: refs/heads/master Commit: efa9b1441d2082725f114732ff109de0391f9d2b Parents: 2cd4f17 Author: Praveen Adlakha <[email protected]> Authored: Fri Feb 19 18:09:19 2016 +0530 Committer: Pallavi Rao <[email protected]> Committed: Fri Feb 19 18:09:19 2016 +0530 ---------------------------------------------------------------------- .../java/org/apache/falcon/resource/channel/HTTPChannel.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/falcon/blob/efa9b144/prism/src/main/java/org/apache/falcon/resource/channel/HTTPChannel.java ---------------------------------------------------------------------- diff --git a/prism/src/main/java/org/apache/falcon/resource/channel/HTTPChannel.java b/prism/src/main/java/org/apache/falcon/resource/channel/HTTPChannel.java index 1b53120..b623a55 100644 --- a/prism/src/main/java/org/apache/falcon/resource/channel/HTTPChannel.java +++ b/prism/src/main/java/org/apache/falcon/resource/channel/HTTPChannel.java @@ -47,6 +47,7 @@ import javax.ws.rs.core.Response.Status.Family; import javax.ws.rs.core.UriBuilder; import java.lang.annotation.Annotation; import java.lang.reflect.Method; +import java.util.List; import java.util.Properties; /** @@ -161,7 +162,8 @@ public class HTTPChannel extends AbstractChannel { Annotation[][] paramAnnotations = method.getParameterAnnotations(); StringBuilder queryString = new StringBuilder("?"); for (int index = 0; index < args.length; index++) { - if (args[index] instanceof String || args[index] instanceof Boolean || args[index] instanceof Integer) { + if (args[index] instanceof String || args[index] instanceof Boolean || args[index] instanceof Integer + || args[index] instanceof List) { String arg = String.valueOf(args[index]); for (int annotation = 0; annotation < paramAnnotations[index].length; annotation++) { Annotation paramAnnotation = paramAnnotations[index][annotation];
