airavata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AIRAVATA-2728) Refactoring Experiment Catalog Implementation
Date Fri, 27 Apr 2018 20:47:00 GMT

    [ https://issues.apache.org/jira/browse/AIRAVATA-2728?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16457044#comment-16457044
] 

ASF GitHub Bot commented on AIRAVATA-2728:
------------------------------------------

machristie commented on a change in pull request #191: [AIRAVATA-2728] Refactoring Experiment
Catalog Implementation
URL: https://github.com/apache/airavata/pull/191#discussion_r184799667
 
 

 ##########
 File path: modules/registry-refactoring/src/main/java/org/apache/airavata/registry/core/entities/expcatalog/GatewayEntity.java
 ##########
 @@ -18,35 +18,83 @@
  * under the License.
  *
 */
-package org.apache.airavata.registry.core.entities.workspacecatalog;
+package org.apache.airavata.registry.core.entities.expcatalog;
+
+import org.apache.airavata.model.workspace.GatewayApprovalStatus;
 
 import javax.persistence.*;
+import java.io.Serializable;
+import java.sql.Timestamp;
 
+/**
+ * The persistent class for the gateway database table.
+ */
 @Entity
-@Table(name="WORKSPACE_GATEWAY")
-public class GatewayEntity {
+@Table(name="GATEWAY")
+public class GatewayEntity implements Serializable {
+    private static final long serialVersionUID = 1L;
+
+    @Id
+    @Column(name = "GATEWAY_ID")
     private String gatewayId;
+
+    @Column(name = "GATEWAY_NAME")
     private String gatewayName;
+
+    @Column(name = "GATEWAY_DOMAIN")
     private String domain;
+
+    @Column(name = "EMAIL_ADDRESS")
     private String emailAddress;
-    private String gatewayApprovalStatus;
+
+    @Column(name = "GATEWAY_APPROVAL_STATUS")
+    private GatewayApprovalStatus gatewayApprovalStatus;
+
+    @Column(name = "GATEWAY_ACRONYM")
     private String gatewayAcronym;
+
+    @Column(name = "GATEWAY_URL")
     private String gatewayUrl;
+
+    @Column(name = "GATEWAY_PUBLIC_ABSTRACT")
     private String gatewayPublicAbstract;
+
+    @Column(name = "REVIEW_PROPOSAL_DESCRIPTION")
 
 Review comment:
   The name of the column is GATEWAY_REVIEW_PROPOSAL_DESCRIPTION.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> Refactoring Experiment Catalog Implementation
> ---------------------------------------------
>
>                 Key: AIRAVATA-2728
>                 URL: https://issues.apache.org/jira/browse/AIRAVATA-2728
>             Project: Airavata
>          Issue Type: Improvement
>          Components: Registry API
>            Reporter: Sneha Tilak
>            Assignee: Sneha Tilak
>            Priority: Major
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message