airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chath...@apache.org
Subject airavata git commit: validation queue name with trim
Date Mon, 27 Apr 2015 18:16:04 GMT
Repository: airavata
Updated Branches:
  refs/heads/master 316c78888 -> 19d8e4954


validation queue name with trim


Project: http://git-wip-us.apache.org/repos/asf/airavata/repo
Commit: http://git-wip-us.apache.org/repos/asf/airavata/commit/19d8e495
Tree: http://git-wip-us.apache.org/repos/asf/airavata/tree/19d8e495
Diff: http://git-wip-us.apache.org/repos/asf/airavata/diff/19d8e495

Branch: refs/heads/master
Commit: 19d8e495493085e337372c2ad3b22dc96a397c01
Parents: 316c788
Author: Chathuri Wimalasena <chathuri@apache.org>
Authored: Mon Apr 27 14:15:56 2015 -0400
Committer: Chathuri Wimalasena <chathuri@apache.org>
Committed: Mon Apr 27 14:15:56 2015 -0400

----------------------------------------------------------------------
 .../orchestrator/core/validator/impl/SimpleAppDataValidator.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata/blob/19d8e495/modules/orchestrator/orchestrator-core/src/main/java/org/apache/airavata/orchestrator/core/validator/impl/SimpleAppDataValidator.java
----------------------------------------------------------------------
diff --git a/modules/orchestrator/orchestrator-core/src/main/java/org/apache/airavata/orchestrator/core/validator/impl/SimpleAppDataValidator.java
b/modules/orchestrator/orchestrator-core/src/main/java/org/apache/airavata/orchestrator/core/validator/impl/SimpleAppDataValidator.java
index d3102b6..21e2ac7 100644
--- a/modules/orchestrator/orchestrator-core/src/main/java/org/apache/airavata/orchestrator/core/validator/impl/SimpleAppDataValidator.java
+++ b/modules/orchestrator/orchestrator-core/src/main/java/org/apache/airavata/orchestrator/core/validator/impl/SimpleAppDataValidator.java
@@ -89,7 +89,7 @@ public class SimpleAppDataValidator implements JobMetadataValidator {
 
             if (batchQueues != null && !batchQueues.isEmpty()){
                 if (computationalResourceScheduling != null){
-                    String queueName = computationalResourceScheduling.getQueueName();
+                    String queueName = computationalResourceScheduling.getQueueName().trim();
                     int wallTimeLimit = computationalResourceScheduling.getWallTimeLimit();
                     ValidatorResult queueNameResult = new ValidatorResult();
 


Mime
View raw message