Skip to Content.
Sympa Menu

perfsonar-dev - r1476 - trunk/perfsonar/src/org/perfsonar/service/measurementArchive/storageManager/queryGenerator

Subject: perfsonar development work

List archive

r1476 - trunk/perfsonar/src/org/perfsonar/service/measurementArchive/storageManager/queryGenerator


Chronological Thread 
  • From:
  • To:
  • Subject: r1476 - trunk/perfsonar/src/org/perfsonar/service/measurementArchive/storageManager/queryGenerator
  • Date: Fri, 21 Jul 2006 06:12:32 -0400

Author: roman
Date: 2006-07-21 06:12:31 -0400 (Fri, 21 Jul 2006)
New Revision: 1476

Modified:

trunk/perfsonar/src/org/perfsonar/service/measurementArchive/storageManager/queryGenerator/UtilizationQueryGenerator.java
Log:
eventType in metadata configuration file is replaced by parameter element:

<nmwg:parameters>
<nmwg:parameter name="supportedEventType">...</nmwg:parameter>
</nmwg:parameters>


Modified:
trunk/perfsonar/src/org/perfsonar/service/measurementArchive/storageManager/queryGenerator/UtilizationQueryGenerator.java
===================================================================
---
trunk/perfsonar/src/org/perfsonar/service/measurementArchive/storageManager/queryGenerator/UtilizationQueryGenerator.java
2006-07-20 14:49:09 UTC (rev 1475)
+++
trunk/perfsonar/src/org/perfsonar/service/measurementArchive/storageManager/queryGenerator/UtilizationQueryGenerator.java
2006-07-21 10:12:31 UTC (rev 1476)
@@ -137,7 +137,7 @@
String xpathQuery = "";

if (eventType != "")
- xpathQuery += "//nmwg:eventType[text()='" + eventType +
"']/parent::*";
+ xpathQuery += "//nmwg:parameters/nmwg:parameter[text()='" +
eventType + "' and @name='supportedEventType']/parent::*/parent::*";

if (ipAddress != "")
xpathQuery += "//nmwgt:ipAddress[text()='" + ipAddress +
"']/parent::*/parent::*/parent::*";



  • r1476 - trunk/perfsonar/src/org/perfsonar/service/measurementArchive/storageManager/queryGenerator, svnlog, 07/21/2006

Archive powered by MHonArc 2.6.16.

Top of Page