Skip to Content.
Sympa Menu

perfsonar-dev - r1484 - trunk/perfsonar/src/org/perfsonar/service/measurementArchive/rrdType

Subject: perfsonar development work

List archive

r1484 - trunk/perfsonar/src/org/perfsonar/service/measurementArchive/rrdType


Chronological Thread 
  • From:
  • To:
  • Subject: r1484 - trunk/perfsonar/src/org/perfsonar/service/measurementArchive/rrdType
  • Date: Mon, 24 Jul 2006 08:15:46 -0400

Author: roman
Date: 2006-07-24 08:15:46 -0400 (Mon, 24 Jul 2006)
New Revision: 1484

Modified:

trunk/perfsonar/src/org/perfsonar/service/measurementArchive/rrdType/RRDTypeMAServiceEngine.java
Log:
supportedEventType parameter is added to the new metadata in the metadata
configuration when store request is being processed (before the change
eventType was added)

Modified:
trunk/perfsonar/src/org/perfsonar/service/measurementArchive/rrdType/RRDTypeMAServiceEngine.java
===================================================================
---
trunk/perfsonar/src/org/perfsonar/service/measurementArchive/rrdType/RRDTypeMAServiceEngine.java
2006-07-24 12:13:42 UTC (rev 1483)
+++
trunk/perfsonar/src/org/perfsonar/service/measurementArchive/rrdType/RRDTypeMAServiceEngine.java
2006-07-24 12:15:46 UTC (rev 1484)
@@ -683,13 +683,24 @@

ds = new Parameter();
ds.setParameterName("dataSource");
- if (metadata.getEventType() != null)
+
+ if (metadata.getEventType() != null) {
+
if (metadata.getEventType().getEventType().trim() !=
"")

ds.setParameterValue(metadata.getEventType().getEventType().trim());
else
ds.setParameterValue("ds");
- else
+
+ Parameters params = new Parameters();
+ params.addParameter(
+ "supportedEventType",
+
metadata.getEventType().getEventType().trim());
+ metadata.setParameters(params);
+ metadata.setEventType(null);
+
+ } else {
ds.setParameterValue("ds");
+ }

}




  • r1484 - trunk/perfsonar/src/org/perfsonar/service/measurementArchive/rrdType, svnlog, 07/24/2006

Archive powered by MHonArc 2.6.16.

Top of Page