airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hes...@apache.org
Subject svn commit: r1360239 - /incubator/airavata/trunk/modules/commons/registry-api/src/main/java/org/apache/airavata/registry/api/impl/AiravataJCRRegistry.java
Date Wed, 11 Jul 2012 15:50:46 GMT
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{



Mime
View raw message