perfsonar-dev - perfsonar: r2849 - branches/perfsonarui/src/org/perfsonar/perfsonarui/ma
Subject: perfsonar development work
List archive
- From:
- To:
- Subject: perfsonar: r2849 - branches/perfsonarui/src/org/perfsonar/perfsonarui/ma
- Date: Sat, 15 Sep 2007 09:59:10 -0400
Author: nina
Date: 2007-09-15 09:59:09 -0400 (Sat, 15 Sep 2007)
New Revision: 2849
Modified:
branches/perfsonarui/src/org/perfsonar/perfsonarui/ma/MARequestPerfsonar2_0.java
Log:
bug fix - time interval is cleared when processing metadata
Modified:
branches/perfsonarui/src/org/perfsonar/perfsonarui/ma/MARequestPerfsonar2_0.java
===================================================================
---
branches/perfsonarui/src/org/perfsonar/perfsonarui/ma/MARequestPerfsonar2_0.java
2007-09-14 17:39:53 UTC (rev 2848)
+++
branches/perfsonarui/src/org/perfsonar/perfsonarui/ma/MARequestPerfsonar2_0.java
2007-09-15 13:59:09 UTC (rev 2849)
@@ -81,7 +81,12 @@
protected void processMetadata(Node metadata, UserData userData) {
if (isInterrupted()) return;
- userData.clear();
+ String starttime =
userData.getQuery(UserData.names[UserData.INDEX_STARTTIME]);
+ String endtime =
userData.getQuery(UserData.names[UserData.INDEX_ENDTIME]);
+ userData.clear(); //need to clear properties, but not
timeinterval... TODO do it in a better way
+
userData.setQuery(UserData.names[UserData.INDEX_STARTTIME],starttime);
+ userData.setQuery(UserData.names[UserData.INDEX_ENDTIME],endtime);
+
//System.out.println("Process
metadata\t"+((Element)metadata).getAttribute("id"));
NodeList subject =
((Element)metadata).getElementsByTagNameNS(URI_perfsonar[perfsonar_version][1],
"subject");
if (subject.getLength() == 0) return;
- perfsonar: r2849 - branches/perfsonarui/src/org/perfsonar/perfsonarui/ma, svnlog, 09/15/2007
Archive powered by MHonArc 2.6.16.