You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by di...@apache.org on 2018/10/31 05:43:04 UTC
[airavata] branch develop updated: Adding missing entries for
ParserOutputEntity
This is an automated email from the ASF dual-hosted git repository.
dimuthuupe pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/airavata.git
The following commit(s) were added to refs/heads/develop by this push:
new 3ba041d Adding missing entries for ParserOutputEntity
3ba041d is described below
commit 3ba041d121baa83bbce3729e195e00452faeed59
Author: Dimuthu Wannipurage <di...@datasprouts.com>
AuthorDate: Wed Oct 31 01:42:55 2018 -0400
Adding missing entries for ParserOutputEntity
---
.../registry/core/entities/appcatalog/ParserOutputEntity.java | 10 +++++-----
.../registry/api/service/handler/RegistryServerHandler.java | 2 +-
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/modules/registry-refactoring/src/main/java/org/apache/airavata/registry/core/entities/appcatalog/ParserOutputEntity.java b/modules/registry-refactoring/src/main/java/org/apache/airavata/registry/core/entities/appcatalog/ParserOutputEntity.java
index a86bf26..3216ae6 100644
--- a/modules/registry-refactoring/src/main/java/org/apache/airavata/registry/core/entities/appcatalog/ParserOutputEntity.java
+++ b/modules/registry-refactoring/src/main/java/org/apache/airavata/registry/core/entities/appcatalog/ParserOutputEntity.java
@@ -36,7 +36,7 @@ public class ParserOutputEntity implements Serializable {
private String name;
@Column(name = "PARSER_OUTPUT_REQUIRED")
- private boolean requiredFile;
+ private boolean requiredOutput;
@Column(name = "PARSER_ID")
private String parserId;
@@ -64,12 +64,12 @@ public class ParserOutputEntity implements Serializable {
this.name = name;
}
- public boolean isRequiredFile() {
- return requiredFile;
+ public boolean isRequiredOutput() {
+ return requiredOutput;
}
- public void setRequiredFile(boolean requiredFile) {
- this.requiredFile = requiredFile;
+ public void setRequiredOutput(boolean requiredOutput) {
+ this.requiredOutput = requiredOutput;
}
public String getParserId() {
diff --git a/modules/registry/registry-server/registry-api-service/src/main/java/org/apache/airavata/registry/api/service/handler/RegistryServerHandler.java b/modules/registry/registry-server/registry-api-service/src/main/java/org/apache/airavata/registry/api/service/handler/RegistryServerHandler.java
index 528e1b4..bf13cbf 100644
--- a/modules/registry/registry-server/registry-api-service/src/main/java/org/apache/airavata/registry/api/service/handler/RegistryServerHandler.java
+++ b/modules/registry/registry-server/registry-api-service/src/main/java/org/apache/airavata/registry/api/service/handler/RegistryServerHandler.java
@@ -4988,7 +4988,7 @@ public class RegistryServerHandler implements RegistryService.Iface {
//TODO: Fixme
@Override
public List<ParsingTemplate> getParsingTemplatesForExperiment(String experimentId) throws RegistryServiceException, TException {
- return Collections.singletonList(getParsingTemplate("001"));
+ return Collections.singletonList(getParsingTemplate("template-1"));
}
@Override