You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by he...@apache.org on 2012/07/11 17:50:46 UTC
svn commit: r1360239 -
/incubator/airavata/trunk/modules/commons/registry-api/src/main/java/org/apache/airavata/registry/api/impl/AiravataJCRRegistry.java
Author: heshan
Date: Wed Jul 11 15:50:46 2012
New Revision: 1360239
URL: http://svn.apache.org/viewvc?rev=1360239&view=rev
Log:
Fixing the Monitoring URL issue.
Modified:
incubator/airavata/trunk/modules/commons/registry-api/src/main/java/org/apache/airavata/registry/api/impl/AiravataJCRRegistry.java
Modified: incubator/airavata/trunk/modules/commons/registry-api/src/main/java/org/apache/airavata/registry/api/impl/AiravataJCRRegistry.java
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/commons/registry-api/src/main/java/org/apache/airavata/registry/api/impl/AiravataJCRRegistry.java?rev=1360239&r1=1360238&r2=1360239&view=diff
==============================================================================
--- incubator/airavata/trunk/modules/commons/registry-api/src/main/java/org/apache/airavata/registry/api/impl/AiravataJCRRegistry.java (original)
+++ incubator/airavata/trunk/modules/commons/registry-api/src/main/java/org/apache/airavata/registry/api/impl/AiravataJCRRegistry.java Wed Jul 11 15:50:46 2012
@@ -703,9 +703,9 @@ public class AiravataJCRRegistry extends
if (!"nt:unstructured".equals(property.getString())) {
String x = property.getString();
Timestamp setTime = new Timestamp(new Long(property.getString().split(";")[1]));
- if (GFAC_URL_UPDATE_INTERVAL > (timestamp.getTime() - setTime.getTime())) {
+// if (GFAC_URL_UPDATE_INTERVAL > (timestamp.getTime() - setTime.getTime())) {
urlList.add(property.getString().split(";")[0]);
- }
+// }
}
}
} catch (RepositoryException e) {
@@ -1465,13 +1465,13 @@ public class AiravataJCRRegistry extends
if (!"nt:unstructured".equals(property.getString())) {
String x = property.getString();
Timestamp setTime = new Timestamp(new Long(property.getString().split(";")[1]));
- if (GFAC_URL_UPDATE_INTERVAL > (timestamp.getTime() - setTime.getTime())) {
+// if (GFAC_URL_UPDATE_INTERVAL > (timestamp.getTime() - setTime.getTime())) {
try {
urlList.add(new URI(property.getString().split(";")[0]));
} catch (URISyntaxException e) {
e.printStackTrace();
}
- }
+// }
}
}
}finally{