airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sma...@apache.org
Subject [2/3] airavata git commit: Workflow Catalog Repositories
Date Fri, 30 Sep 2016 19:34:07 GMT
Workflow Catalog Repositories


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

Branch: refs/heads/registry-refactoring
Commit: 727dfb733fb18e64219b50b60ce042bc157edfab
Parents: ec2ecff
Author: Abhiit Karanjkar <aykaranj@indiana.edu>
Authored: Fri Sep 30 10:02:33 2016 -0400
Committer: Abhiit Karanjkar <aykaranj@indiana.edu>
Committed: Fri Sep 30 10:02:33 2016 -0400

----------------------------------------------------------------------
 .../ComponentStatusRepository.java              | 20 +++++++++++++++++++
 .../workflowcatalog/EdgeRepository.java         | 21 ++++++++++++++++++++
 .../workflowcatalog/NodeRepository.java         | 21 ++++++++++++++++++++
 .../workflowcatalog/PortRepository.java         | 20 +++++++++++++++++++
 .../workflowcatalog/WorkflowRepository.java     | 20 +++++++++++++++++++
 .../WorkflowStatusRepository.java               | 20 +++++++++++++++++++
 6 files changed, 122 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata/blob/727dfb73/modules/registry-refactoring/src/main/java/org/apache/airavata/registry/core/repositories/workflowcatalog/ComponentStatusRepository.java
----------------------------------------------------------------------
diff --git a/modules/registry-refactoring/src/main/java/org/apache/airavata/registry/core/repositories/workflowcatalog/ComponentStatusRepository.java
b/modules/registry-refactoring/src/main/java/org/apache/airavata/registry/core/repositories/workflowcatalog/ComponentStatusRepository.java
new file mode 100644
index 0000000..8e439e1
--- /dev/null
+++ b/modules/registry-refactoring/src/main/java/org/apache/airavata/registry/core/repositories/workflowcatalog/ComponentStatusRepository.java
@@ -0,0 +1,20 @@
+package org.apache.airavata.registry.core.repositories.workflowcatalog;
+
+import org.apache.airavata.model.ComponentStatus;
+import org.apache.airavata.registry.core.entities.workflowcatalog.ComponentStatusEntity;
+import org.apache.airavata.registry.core.repositories.AbstractRepository;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+/**
+ * Created by abhij on 9/28/2016.
+ */
+public class ComponentStatusRepository extends AbstractRepository<ComponentStatus, ComponentStatusEntity,
String> {
+
+
+    private final static Logger logger = LoggerFactory.getLogger(ComponentStatusRepository.class);
+
+    public ComponentStatusRepository(Class<ComponentStatus> thriftGenericClass, Class<ComponentStatusEntity>
dbEntityGenericClass) {
+        super(thriftGenericClass, dbEntityGenericClass);
+    }
+}

http://git-wip-us.apache.org/repos/asf/airavata/blob/727dfb73/modules/registry-refactoring/src/main/java/org/apache/airavata/registry/core/repositories/workflowcatalog/EdgeRepository.java
----------------------------------------------------------------------
diff --git a/modules/registry-refactoring/src/main/java/org/apache/airavata/registry/core/repositories/workflowcatalog/EdgeRepository.java
b/modules/registry-refactoring/src/main/java/org/apache/airavata/registry/core/repositories/workflowcatalog/EdgeRepository.java
new file mode 100644
index 0000000..fece56b
--- /dev/null
+++ b/modules/registry-refactoring/src/main/java/org/apache/airavata/registry/core/repositories/workflowcatalog/EdgeRepository.java
@@ -0,0 +1,21 @@
+package org.apache.airavata.registry.core.repositories.workflowcatalog;
+
+import org.apache.airavata.model.EdgeModel;
+import org.apache.airavata.registry.core.entities.workflowcatalog.EdgeEntity;
+import org.apache.airavata.registry.core.entities.workflowcatalog.EdgePK;
+import org.apache.airavata.registry.core.repositories.AbstractRepository;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+/**
+ * Created by abhij on 9/28/2016.
+ */
+public class EdgeRepository extends AbstractRepository<EdgeModel, EdgeEntity, EdgePK>
{
+
+
+    private final static Logger logger = LoggerFactory.getLogger(EdgeRepository.class);
+
+    public EdgeRepository(Class<EdgeModel> thriftGenericClass, Class<EdgeEntity>
dbEntityGenericClass) {
+        super(thriftGenericClass, dbEntityGenericClass);
+    }
+}

http://git-wip-us.apache.org/repos/asf/airavata/blob/727dfb73/modules/registry-refactoring/src/main/java/org/apache/airavata/registry/core/repositories/workflowcatalog/NodeRepository.java
----------------------------------------------------------------------
diff --git a/modules/registry-refactoring/src/main/java/org/apache/airavata/registry/core/repositories/workflowcatalog/NodeRepository.java
b/modules/registry-refactoring/src/main/java/org/apache/airavata/registry/core/repositories/workflowcatalog/NodeRepository.java
new file mode 100644
index 0000000..0d914e6
--- /dev/null
+++ b/modules/registry-refactoring/src/main/java/org/apache/airavata/registry/core/repositories/workflowcatalog/NodeRepository.java
@@ -0,0 +1,21 @@
+package org.apache.airavata.registry.core.repositories.workflowcatalog;
+
+import org.apache.airavata.model.NodeModel;
+import org.apache.airavata.registry.core.entities.workflowcatalog.NodeEntity;
+import org.apache.airavata.registry.core.entities.workflowcatalog.NodePK;
+import org.apache.airavata.registry.core.repositories.AbstractRepository;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+/**
+ * Created by abhij on 9/28/2016.
+ */
+public class NodeRepository extends AbstractRepository<NodeModel, NodeEntity, NodePK>
{
+
+
+    private final static Logger logger = LoggerFactory.getLogger(NodeRepository.class);
+
+    public NodeRepository(Class<NodeModel> thriftGenericClass, Class<NodeEntity>
dbEntityGenericClass) {
+        super(thriftGenericClass, dbEntityGenericClass);
+    }
+}

http://git-wip-us.apache.org/repos/asf/airavata/blob/727dfb73/modules/registry-refactoring/src/main/java/org/apache/airavata/registry/core/repositories/workflowcatalog/PortRepository.java
----------------------------------------------------------------------
diff --git a/modules/registry-refactoring/src/main/java/org/apache/airavata/registry/core/repositories/workflowcatalog/PortRepository.java
b/modules/registry-refactoring/src/main/java/org/apache/airavata/registry/core/repositories/workflowcatalog/PortRepository.java
new file mode 100644
index 0000000..311324a
--- /dev/null
+++ b/modules/registry-refactoring/src/main/java/org/apache/airavata/registry/core/repositories/workflowcatalog/PortRepository.java
@@ -0,0 +1,20 @@
+package org.apache.airavata.registry.core.repositories.workflowcatalog;
+
+import org.apache.airavata.model.PortModel;
+import org.apache.airavata.registry.core.entities.workflowcatalog.PortEntity;
+import org.apache.airavata.registry.core.entities.workflowcatalog.PortPK;
+import org.apache.airavata.registry.core.repositories.AbstractRepository;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+/**
+ * Created by abhij on 9/28/2016.
+ */
+public class PortRepository extends AbstractRepository<PortModel, PortEntity, PortPK>
{
+
+    private final static Logger logger = LoggerFactory.getLogger(PortRepository.class);
+
+    public PortRepository(Class<PortModel> thriftGenericClass, Class<PortEntity>
dbEntityGenericClass) {
+        super(thriftGenericClass, dbEntityGenericClass);
+    }
+}

http://git-wip-us.apache.org/repos/asf/airavata/blob/727dfb73/modules/registry-refactoring/src/main/java/org/apache/airavata/registry/core/repositories/workflowcatalog/WorkflowRepository.java
----------------------------------------------------------------------
diff --git a/modules/registry-refactoring/src/main/java/org/apache/airavata/registry/core/repositories/workflowcatalog/WorkflowRepository.java
b/modules/registry-refactoring/src/main/java/org/apache/airavata/registry/core/repositories/workflowcatalog/WorkflowRepository.java
new file mode 100644
index 0000000..2547631
--- /dev/null
+++ b/modules/registry-refactoring/src/main/java/org/apache/airavata/registry/core/repositories/workflowcatalog/WorkflowRepository.java
@@ -0,0 +1,20 @@
+package org.apache.airavata.registry.core.repositories.workflowcatalog;
+
+import org.apache.airavata.model.WorkflowModel;
+import org.apache.airavata.registry.core.entities.workflowcatalog.WorkflowEntity;
+import org.apache.airavata.registry.core.repositories.AbstractRepository;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+/**
+ * Created by abhijit on 9/28/2016.
+ */
+public class WorkflowRepository extends AbstractRepository<WorkflowModel, WorkflowEntity,
String> {
+
+    private final static Logger logger = LoggerFactory.getLogger(WorkflowRepository.class);
+
+
+    public WorkflowRepository(Class<WorkflowModel> thriftGenericClass, Class<WorkflowEntity>
dbEntityGenericClass) {
+        super(thriftGenericClass, dbEntityGenericClass);
+    }
+}

http://git-wip-us.apache.org/repos/asf/airavata/blob/727dfb73/modules/registry-refactoring/src/main/java/org/apache/airavata/registry/core/repositories/workflowcatalog/WorkflowStatusRepository.java
----------------------------------------------------------------------
diff --git a/modules/registry-refactoring/src/main/java/org/apache/airavata/registry/core/repositories/workflowcatalog/WorkflowStatusRepository.java
b/modules/registry-refactoring/src/main/java/org/apache/airavata/registry/core/repositories/workflowcatalog/WorkflowStatusRepository.java
new file mode 100644
index 0000000..a0a9468
--- /dev/null
+++ b/modules/registry-refactoring/src/main/java/org/apache/airavata/registry/core/repositories/workflowcatalog/WorkflowStatusRepository.java
@@ -0,0 +1,20 @@
+package org.apache.airavata.registry.core.repositories.workflowcatalog;
+
+import org.apache.airavata.model.WorkflowStatus;
+import org.apache.airavata.registry.core.entities.workflowcatalog.WorkflowStatusEntity;
+import org.apache.airavata.registry.core.entities.workflowcatalog.WorkflowStatusPK;
+import org.apache.airavata.registry.core.repositories.AbstractRepository;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+/**
+ * Created by abhijit on 9/28/2016.
+ */
+public class WorkflowStatusRepository extends AbstractRepository<WorkflowStatus, WorkflowStatusEntity,
WorkflowStatusPK> {
+
+    private final static Logger logger = LoggerFactory.getLogger(WorkflowStatusRepository.class);
+
+    public WorkflowStatusRepository(Class<WorkflowStatus> thriftGenericClass, Class<WorkflowStatusEntity>
dbEntityGenericClass) {
+        super(thriftGenericClass, dbEntityGenericClass);
+    }
+}


Mime
View raw message