perfsonar-dev - r1437 - trunk/perfsonar/src/org/perfsonar/service/measurementArchive/sqlType
Subject: perfsonar development work
List archive
- From:
- To:
- Subject: r1437 - trunk/perfsonar/src/org/perfsonar/service/measurementArchive/sqlType
- Date: Tue, 18 Jul 2006 07:53:12 -0400
Author: roman
Date: 2006-07-18 07:53:11 -0400 (Tue, 18 Jul 2006)
New Revision: 1437
Modified:
trunk/perfsonar/src/org/perfsonar/service/measurementArchive/sqlType/SQLTypeMAServiceEngine.java
Log:
now SQL MA for SetupDataRequest request with eventType Path.Status returns
all metadata elements (those for paths and nodes)
Modified:
trunk/perfsonar/src/org/perfsonar/service/measurementArchive/sqlType/SQLTypeMAServiceEngine.java
===================================================================
---
trunk/perfsonar/src/org/perfsonar/service/measurementArchive/sqlType/SQLTypeMAServiceEngine.java
2006-07-18 09:14:12 UTC (rev 1436)
+++
trunk/perfsonar/src/org/perfsonar/service/measurementArchive/sqlType/SQLTypeMAServiceEngine.java
2006-07-18 11:53:11 UTC (rev 1437)
@@ -121,10 +121,17 @@
Collection<Data> _datas = dMsg.getDataMap().values();
for (Data d : _datas) {
+
response.addChild(d);
+
if (metadata != null) {
- response.addChild(metadata);
+
d.setMetadataIdRef(metadata.getId());
+
+ Collection<Metadata> metadatas = metadataMap.values();
+ for (Metadata m : metadatas)
+ response.addChild(m);
+
} else {
response.addChild(dMet);
d.setMetadataIdRef(dMet.getId());
- r1437 - trunk/perfsonar/src/org/perfsonar/service/measurementArchive/sqlType, svnlog, 07/18/2006
Archive powered by MHonArc 2.6.16.