airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chath...@apache.org
Subject airavata git commit: disable caching for app catalog and enable shared caching for experiment catalog
Date Fri, 25 Sep 2015 14:46:13 GMT
Repository: airavata
Updated Branches:
  refs/heads/master d8cbbb139 -> 40ffc3b34


disable caching for app catalog and enable shared caching for experiment catalog


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

Branch: refs/heads/master
Commit: 40ffc3b34c496cc0dbc2c647394d1ce6c85cf143
Parents: d8cbbb1
Author: Chathuri Wimalasena <chathuri@apache.org>
Authored: Fri Sep 25 10:46:08 2015 -0400
Committer: Chathuri Wimalasena <chathuri@apache.org>
Committed: Fri Sep 25 10:46:08 2015 -0400

----------------------------------------------------------------------
 .../registry/core/experiment/catalog/ExpCatResourceUtils.java       | 1 +
 .../airavata/registry/core/experiment/catalog/model/Experiment.java | 1 +
 .../registry/core/experiment/catalog/model/ExperimentError.java     | 1 +
 .../registry/core/experiment/catalog/model/ExperimentInput.java     | 1 +
 .../registry/core/experiment/catalog/model/ExperimentOutput.java    | 1 +
 .../registry/core/experiment/catalog/model/ExperimentStatus.java    | 1 +
 .../registry/core/experiment/catalog/model/ExperimentSummary.java   | 1 +
 .../airavata/registry/core/experiment/catalog/model/Gateway.java    | 1 +
 .../registry/core/experiment/catalog/model/GatewayWorker.java       | 1 +
 .../apache/airavata/registry/core/experiment/catalog/model/Job.java | 1 +
 .../airavata/registry/core/experiment/catalog/model/JobStatus.java  | 1 +
 .../airavata/registry/core/experiment/catalog/model/Process.java    | 1 +
 .../registry/core/experiment/catalog/model/ProcessError.java        | 1 +
 .../registry/core/experiment/catalog/model/ProcessInput.java        | 1 +
 .../core/experiment/catalog/model/ProcessResourceSchedule.java      | 1 +
 .../registry/core/experiment/catalog/model/ProcessStatus.java       | 1 +
 .../airavata/registry/core/experiment/catalog/model/Project.java    | 1 +
 .../registry/core/experiment/catalog/model/ProjectUser.java         | 1 +
 .../airavata/registry/core/experiment/catalog/model/Task.java       | 1 +
 .../airavata/registry/core/experiment/catalog/model/TaskError.java  | 1 +
 .../airavata/registry/core/experiment/catalog/model/TaskStatus.java | 1 +
 .../core/experiment/catalog/model/UserConfigurationData.java        | 1 +
 .../airavata/registry/core/experiment/catalog/model/Users.java      | 1 +
 23 files changed, 23 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata/blob/40ffc3b3/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/ExpCatResourceUtils.java
----------------------------------------------------------------------
diff --git a/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/ExpCatResourceUtils.java
b/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/ExpCatResourceUtils.java
index 1dc2625..36fd822 100644
--- a/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/ExpCatResourceUtils.java
+++ b/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/ExpCatResourceUtils.java
@@ -59,6 +59,7 @@ public class ExpCatResourceUtils {
             properties.put("openjpa.RuntimeUnenhancedClasses", "unsupported");
             properties.put("openjpa.DataCache","" + Utils.isCachingEnabled() + "(CacheSize="
+ Utils.getJPACacheSize() + ", SoftReferenceSize=0)");
             properties.put("openjpa.QueryCache","" + Utils.isCachingEnabled() + "(CacheSize="
+ Utils.getJPACacheSize() + ", SoftReferenceSize=0)");
+            properties.put("javax.persistence.sharedCache.mode","ALL");
             properties.put("openjpa.RemoteCommitProvider","sjvm");
             properties.put("openjpa.Log","DefaultLevel=INFO, Runtime=INFO, Tool=INFO, SQL=INFO");
             properties.put("openjpa.jdbc.SynchronizeMappings", "buildSchema(ForeignKeys=true)");

http://git-wip-us.apache.org/repos/asf/airavata/blob/40ffc3b3/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/model/Experiment.java
----------------------------------------------------------------------
diff --git a/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/model/Experiment.java
b/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/model/Experiment.java
index 00ca2bc..aff04c8 100644
--- a/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/model/Experiment.java
+++ b/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/model/Experiment.java
@@ -28,6 +28,7 @@ import java.sql.Timestamp;
 import java.util.Collection;
 
 @Entity
+@Cacheable
 @Table(name = "EXPERIMENT")
 public class Experiment {
     private final static Logger logger = LoggerFactory.getLogger(Experiment.class);

http://git-wip-us.apache.org/repos/asf/airavata/blob/40ffc3b3/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/model/ExperimentError.java
----------------------------------------------------------------------
diff --git a/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/model/ExperimentError.java
b/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/model/ExperimentError.java
index 5b84c6e..652249d 100644
--- a/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/model/ExperimentError.java
+++ b/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/model/ExperimentError.java
@@ -27,6 +27,7 @@ import javax.persistence.*;
 import java.sql.Timestamp;
 
 @Entity
+@Cacheable
 @Table(name = "EXPERIMENT_ERROR")
 @IdClass(ExperimentErrorPK.class)
 public class ExperimentError {

http://git-wip-us.apache.org/repos/asf/airavata/blob/40ffc3b3/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/model/ExperimentInput.java
----------------------------------------------------------------------
diff --git a/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/model/ExperimentInput.java
b/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/model/ExperimentInput.java
index ffb6713..f6f233b 100644
--- a/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/model/ExperimentInput.java
+++ b/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/model/ExperimentInput.java
@@ -26,6 +26,7 @@ import org.slf4j.LoggerFactory;
 import javax.persistence.*;
 
 @Entity
+@Cacheable
 @Table(name = "EXPERIMENT_INPUT")
 @IdClass(ExperimentInputPK.class)
 public class ExperimentInput {

http://git-wip-us.apache.org/repos/asf/airavata/blob/40ffc3b3/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/model/ExperimentOutput.java
----------------------------------------------------------------------
diff --git a/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/model/ExperimentOutput.java
b/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/model/ExperimentOutput.java
index bd8b288..36e28b0 100644
--- a/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/model/ExperimentOutput.java
+++ b/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/model/ExperimentOutput.java
@@ -26,6 +26,7 @@ import org.slf4j.LoggerFactory;
 import javax.persistence.*;
 
 @Entity
+@Cacheable
 @Table(name = "EXPERIMENT_OUTPUT")
 @IdClass(ExperimentOutputPK.class)
 public class ExperimentOutput {

http://git-wip-us.apache.org/repos/asf/airavata/blob/40ffc3b3/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/model/ExperimentStatus.java
----------------------------------------------------------------------
diff --git a/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/model/ExperimentStatus.java
b/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/model/ExperimentStatus.java
index 0ccd5b0..c9553f0 100644
--- a/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/model/ExperimentStatus.java
+++ b/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/model/ExperimentStatus.java
@@ -27,6 +27,7 @@ import javax.persistence.*;
 import java.sql.Timestamp;
 
 @Entity
+@Cacheable
 @Table(name = "EXPERIMENT_STATUS")
 @IdClass(ExperimentStatusPK.class)
 public class ExperimentStatus {

http://git-wip-us.apache.org/repos/asf/airavata/blob/40ffc3b3/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/model/ExperimentSummary.java
----------------------------------------------------------------------
diff --git a/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/model/ExperimentSummary.java
b/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/model/ExperimentSummary.java
index 288543b..cdfc5fd 100644
--- a/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/model/ExperimentSummary.java
+++ b/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/model/ExperimentSummary.java
@@ -27,6 +27,7 @@ import javax.persistence.*;
 import java.sql.Timestamp;
 
 @Entity
+@Cacheable
 @Table(name = "EXPERIMENT_SUMMARY")
 public class ExperimentSummary {
     private final static Logger logger = LoggerFactory.getLogger(ExperimentSummary.class);

http://git-wip-us.apache.org/repos/asf/airavata/blob/40ffc3b3/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/model/Gateway.java
----------------------------------------------------------------------
diff --git a/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/model/Gateway.java
b/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/model/Gateway.java
index b8ee5f5..b097255 100644
--- a/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/model/Gateway.java
+++ b/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/model/Gateway.java
@@ -27,6 +27,7 @@ import javax.persistence.*;
 import java.util.Collection;
 
 @Entity
+@Cacheable
 @Table(name = "GATEWAY")
 public class Gateway {
     private final static Logger logger = LoggerFactory.getLogger(Gateway.class);

http://git-wip-us.apache.org/repos/asf/airavata/blob/40ffc3b3/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/model/GatewayWorker.java
----------------------------------------------------------------------
diff --git a/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/model/GatewayWorker.java
b/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/model/GatewayWorker.java
index 7097209..4600284 100644
--- a/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/model/GatewayWorker.java
+++ b/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/model/GatewayWorker.java
@@ -26,6 +26,7 @@ import org.slf4j.LoggerFactory;
 import javax.persistence.*;
 
 @Entity
+@Cacheable
 @Table(name = "GATEWAY_WORKER")
 @IdClass(GatewayWorkerPK.class)
 public class GatewayWorker {

http://git-wip-us.apache.org/repos/asf/airavata/blob/40ffc3b3/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/model/Job.java
----------------------------------------------------------------------
diff --git a/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/model/Job.java
b/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/model/Job.java
index ea4aa96..9133a7e 100644
--- a/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/model/Job.java
+++ b/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/model/Job.java
@@ -28,6 +28,7 @@ import java.sql.Timestamp;
 import java.util.Collection;
 
 @Entity
+@Cacheable
 @Table(name = "JOB")
 @IdClass(JobPK.class)
 public class Job {

http://git-wip-us.apache.org/repos/asf/airavata/blob/40ffc3b3/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/model/JobStatus.java
----------------------------------------------------------------------
diff --git a/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/model/JobStatus.java
b/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/model/JobStatus.java
index b4a4905..152f468 100644
--- a/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/model/JobStatus.java
+++ b/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/model/JobStatus.java
@@ -27,6 +27,7 @@ import javax.persistence.*;
 import java.sql.Timestamp;
 
 @Entity
+@Cacheable
 @Table(name = "JOB_STATUS")
 @IdClass(JobStatusPK.class)
 public class JobStatus {

http://git-wip-us.apache.org/repos/asf/airavata/blob/40ffc3b3/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/model/Process.java
----------------------------------------------------------------------
diff --git a/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/model/Process.java
b/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/model/Process.java
index c96c335..871be59 100644
--- a/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/model/Process.java
+++ b/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/model/Process.java
@@ -28,6 +28,7 @@ import java.sql.Timestamp;
 import java.util.Collection;
 
 @Entity
+@Cacheable
 @Table(name = "PROCESS")
 public class Process {
     private final static Logger logger = LoggerFactory.getLogger(Process.class);

http://git-wip-us.apache.org/repos/asf/airavata/blob/40ffc3b3/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/model/ProcessError.java
----------------------------------------------------------------------
diff --git a/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/model/ProcessError.java
b/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/model/ProcessError.java
index 63fbdb2..eeda573 100644
--- a/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/model/ProcessError.java
+++ b/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/model/ProcessError.java
@@ -28,6 +28,7 @@ import java.lang.*;
 import java.sql.Timestamp;
 
 @Entity
+@Cacheable
 @Table(name = "PROCESS_ERROR")
 @IdClass(ProcessErrorPK.class)
 public class ProcessError {

http://git-wip-us.apache.org/repos/asf/airavata/blob/40ffc3b3/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/model/ProcessInput.java
----------------------------------------------------------------------
diff --git a/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/model/ProcessInput.java
b/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/model/ProcessInput.java
index 57721c1..67a97b0 100644
--- a/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/model/ProcessInput.java
+++ b/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/model/ProcessInput.java
@@ -27,6 +27,7 @@ import javax.persistence.*;
 import java.lang.*;
 
 @Entity
+@Cacheable
 @Table(name = "PROCESS_INPUT")
 @IdClass(ProcessInputPK.class)
 public class ProcessInput {

http://git-wip-us.apache.org/repos/asf/airavata/blob/40ffc3b3/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/model/ProcessResourceSchedule.java
----------------------------------------------------------------------
diff --git a/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/model/ProcessResourceSchedule.java
b/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/model/ProcessResourceSchedule.java
index a473271..1c4cefc 100644
--- a/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/model/ProcessResourceSchedule.java
+++ b/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/model/ProcessResourceSchedule.java
@@ -27,6 +27,7 @@ import javax.persistence.*;
 import java.lang.*;
 
 @Entity
+@Cacheable
 @Table(name = "PROCESS_RESOURCE_SCHEDULE")
 public class ProcessResourceSchedule {
     private final static Logger logger = LoggerFactory.getLogger(ProcessResourceSchedule.class);

http://git-wip-us.apache.org/repos/asf/airavata/blob/40ffc3b3/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/model/ProcessStatus.java
----------------------------------------------------------------------
diff --git a/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/model/ProcessStatus.java
b/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/model/ProcessStatus.java
index b816df2..e36d1a4 100644
--- a/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/model/ProcessStatus.java
+++ b/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/model/ProcessStatus.java
@@ -28,6 +28,7 @@ import java.lang.*;
 import java.sql.Timestamp;
 
 @Entity
+@Cacheable
 @Table(name = "PROCESS_STATUS")
 @IdClass(ProcessStatusPK.class)
 public class ProcessStatus {

http://git-wip-us.apache.org/repos/asf/airavata/blob/40ffc3b3/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/model/Project.java
----------------------------------------------------------------------
diff --git a/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/model/Project.java
b/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/model/Project.java
index b605a8e..8a2cb51 100644
--- a/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/model/Project.java
+++ b/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/model/Project.java
@@ -28,6 +28,7 @@ import java.sql.Timestamp;
 import java.util.Collection;
 
 @Entity
+@Cacheable
 @Table(name = "PROJECT")
 public class Project {
     private final static Logger logger = LoggerFactory.getLogger(Project.class);

http://git-wip-us.apache.org/repos/asf/airavata/blob/40ffc3b3/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/model/ProjectUser.java
----------------------------------------------------------------------
diff --git a/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/model/ProjectUser.java
b/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/model/ProjectUser.java
index 72c52b8..a3f5132 100644
--- a/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/model/ProjectUser.java
+++ b/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/model/ProjectUser.java
@@ -26,6 +26,7 @@ import org.slf4j.LoggerFactory;
 import javax.persistence.*;
 
 @Entity
+@Cacheable
 @Table(name = "PROJECT_USER")
 @IdClass(ProjectUserPK.class)
 public class ProjectUser {

http://git-wip-us.apache.org/repos/asf/airavata/blob/40ffc3b3/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/model/Task.java
----------------------------------------------------------------------
diff --git a/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/model/Task.java
b/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/model/Task.java
index 57814d0..c9da812 100644
--- a/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/model/Task.java
+++ b/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/model/Task.java
@@ -29,6 +29,7 @@ import java.sql.Timestamp;
 import java.util.Collection;
 
 @Entity
+@Cacheable
 @Table(name = "TASK")
 public class Task {
     private final static Logger logger = LoggerFactory.getLogger(Task.class);

http://git-wip-us.apache.org/repos/asf/airavata/blob/40ffc3b3/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/model/TaskError.java
----------------------------------------------------------------------
diff --git a/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/model/TaskError.java
b/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/model/TaskError.java
index 281b9f3..eef036e 100644
--- a/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/model/TaskError.java
+++ b/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/model/TaskError.java
@@ -27,6 +27,7 @@ import javax.persistence.*;
 import java.sql.Timestamp;
 
 @Entity
+@Cacheable
 @Table(name = "TASK_ERROR")
 @IdClass(TaskErrorPK.class)
 public class TaskError {

http://git-wip-us.apache.org/repos/asf/airavata/blob/40ffc3b3/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/model/TaskStatus.java
----------------------------------------------------------------------
diff --git a/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/model/TaskStatus.java
b/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/model/TaskStatus.java
index 544e29e..d777e6b 100644
--- a/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/model/TaskStatus.java
+++ b/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/model/TaskStatus.java
@@ -27,6 +27,7 @@ import javax.persistence.*;
 import java.sql.Timestamp;
 
 @Entity
+@Cacheable
 @Table(name = "TASK_STATUS")
 @IdClass(TaskStatusPK.class)
 public class TaskStatus {

http://git-wip-us.apache.org/repos/asf/airavata/blob/40ffc3b3/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/model/UserConfigurationData.java
----------------------------------------------------------------------
diff --git a/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/model/UserConfigurationData.java
b/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/model/UserConfigurationData.java
index 8039ce1..a8bc5f5 100644
--- a/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/model/UserConfigurationData.java
+++ b/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/model/UserConfigurationData.java
@@ -26,6 +26,7 @@ import org.slf4j.LoggerFactory;
 import javax.persistence.*;
 
 @Entity
+@Cacheable
 @Table(name = "USER_CONFIGURATION_DATA")
 public class UserConfigurationData {
     private final static Logger logger = LoggerFactory.getLogger(UserConfigurationData.class);

http://git-wip-us.apache.org/repos/asf/airavata/blob/40ffc3b3/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/model/Users.java
----------------------------------------------------------------------
diff --git a/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/model/Users.java
b/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/model/Users.java
index f0f1fbb..f6dc587 100644
--- a/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/model/Users.java
+++ b/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/model/Users.java
@@ -27,6 +27,7 @@ import javax.persistence.*;
 import java.util.Collection;
 
 @Entity
+@Cacheable
 @Table(name = "USERS")
 public class Users {
     private final static Logger logger = LoggerFactory.getLogger(Users.class);


Mime
View raw message