Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 6B43E200B41 for ; Thu, 7 Jul 2016 21:29:51 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 6A4A8160AA1; Thu, 7 Jul 2016 19:29:51 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 39DF8160A95 for ; Thu, 7 Jul 2016 21:29:50 +0200 (CEST) Received: (qmail 64701 invoked by uid 500); 7 Jul 2016 19:29:49 -0000 Mailing-List: contact commits-help@airavata.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@airavata.apache.org Delivered-To: mailing list commits@airavata.apache.org Received: (qmail 62534 invoked by uid 99); 7 Jul 2016 19:29:47 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Jul 2016 19:29:47 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id AAFE5E0844; Thu, 7 Jul 2016 19:29:47 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: shameera@apache.org To: commits@airavata.apache.org Date: Thu, 07 Jul 2016 19:30:18 -0000 Message-Id: In-Reply-To: <19c725741cd34970a324f6eab174e4f9@git.apache.org> References: <19c725741cd34970a324f6eab174e4f9@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [32/53] [abbrv] airavata git commit: fixing query typo archived-at: Thu, 07 Jul 2016 19:29:51 -0000 fixing query typo Project: http://git-wip-us.apache.org/repos/asf/airavata/repo Commit: http://git-wip-us.apache.org/repos/asf/airavata/commit/233e6142 Tree: http://git-wip-us.apache.org/repos/asf/airavata/tree/233e6142 Diff: http://git-wip-us.apache.org/repos/asf/airavata/diff/233e6142 Branch: refs/heads/master Commit: 233e6142915ddc5973e8a15dd56d9d4a628c4cd7 Parents: 4e53f23 Author: scnakandala Authored: Mon Jun 27 18:05:38 2016 -0400 Committer: scnakandala Committed: Mon Jun 27 18:05:38 2016 -0400 ---------------------------------------------------------------------- .../registry/core/experiment/catalog/resources/WorkerResource.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/airavata/blob/233e6142/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/resources/WorkerResource.java ---------------------------------------------------------------------- diff --git a/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/resources/WorkerResource.java b/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/resources/WorkerResource.java index bddeae4..44e474b 100644 --- a/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/resources/WorkerResource.java +++ b/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/resources/WorkerResource.java @@ -601,7 +601,7 @@ public class WorkerResource extends AbstractExpCatResource { query += " e.experimentId IN ("; for(String id : accessibleIds) query += (id + ","); - query = query.substring(0, query.length()-1) + ") "; + query = query.substring(0, query.length()-1) + ") AND "; } if (filters.get(ExperimentStatusConstants.STATE) != null) {