Skip to Content.
Sympa Menu

perfsonar-dev - [pS-dev] [GEANT/SA2/ps-java-services] r5777 - in trunk/perfsonar-java-rrd-ma/src/main/java/org/perfsonar /service/measurementArchive/rrdType: . storage/exist

Subject: perfsonar development work

List archive

[pS-dev] [GEANT/SA2/ps-java-services] r5777 - in trunk/perfsonar-java-rrd-ma/src/main/java/org/perfsonar /service/measurementArchive/rrdType: . storage/exist


Chronological Thread 
  • From:
  • To:
  • Subject: [pS-dev] [GEANT/SA2/ps-java-services] r5777 - in trunk/perfsonar-java-rrd-ma/src/main/java/org/perfsonar /service/measurementArchive/rrdType: . storage/exist
  • Date: Wed, 20 Oct 2010 14:54:02 +0100

Author: psnc.pikusa
Date: 2010-10-20 14:54:02 +0100 (Wed, 20 Oct 2010)
New Revision: 5777

Modified:

trunk/perfsonar-java-rrd-ma/src/main/java/org/perfsonar/service/measurementArchive/rrdType/MetadataKeyMessageHandler.java

trunk/perfsonar-java-rrd-ma/src/main/java/org/perfsonar/service/measurementArchive/rrdType/storage/exist/ExistMetadataStorageDAOImpl.java
Log:
Bug 508 fixed - new meesage handler for MetadataKeyRequest


Modified:
trunk/perfsonar-java-rrd-ma/src/main/java/org/perfsonar/service/measurementArchive/rrdType/MetadataKeyMessageHandler.java
===================================================================
---
trunk/perfsonar-java-rrd-ma/src/main/java/org/perfsonar/service/measurementArchive/rrdType/MetadataKeyMessageHandler.java
2010-10-20 13:53:14 UTC (rev 5776)
+++
trunk/perfsonar-java-rrd-ma/src/main/java/org/perfsonar/service/measurementArchive/rrdType/MetadataKeyMessageHandler.java
2010-10-20 13:54:02 UTC (rev 5777)
@@ -234,6 +234,7 @@
* BUG 508 fixing begin
*/
else if (messagePairs.size() == 1 &&
messagePairs.get(0).getResponse().getText() != null &&
messagePairs.get(0).getResponse().getElement() == null){
+
StringBuffer responseText = new StringBuffer();
String t =
messagePairs.get(0).getRequest().getElement().getAttribute("type");
String type = (t == null? "": t.replaceFirst("Request",
"Response"));

Modified:
trunk/perfsonar-java-rrd-ma/src/main/java/org/perfsonar/service/measurementArchive/rrdType/storage/exist/ExistMetadataStorageDAOImpl.java
===================================================================
---
trunk/perfsonar-java-rrd-ma/src/main/java/org/perfsonar/service/measurementArchive/rrdType/storage/exist/ExistMetadataStorageDAOImpl.java
2010-10-20 13:53:14 UTC (rev 5776)
+++
trunk/perfsonar-java-rrd-ma/src/main/java/org/perfsonar/service/measurementArchive/rrdType/storage/exist/ExistMetadataStorageDAOImpl.java
2010-10-20 13:54:02 UTC (rev 5777)
@@ -211,9 +211,9 @@

sb = new StringBuffer();
String type = (request.getAttribute("type") == null? "":
request.getAttribute("type").replaceFirst("Request", "Response"));
- sb.append("<nmwg:message type=\"" + type + "\"
xmlns:nmwg=\"http://ggf.org/ns/nmwg/base/2.0/\";
xmlns=\"http://ggf.org/ns/nmwg/base/2.0/\";>");
+ //sb.append("<nmwg:message type=\"" + type + "\"
xmlns:nmwg=\"http://ggf.org/ns/nmwg/base/2.0/\";
xmlns=\"http://ggf.org/ns/nmwg/base/2.0/\";>");
sb.append(result);
- sb.append("</nmwg:message>");
+ //sb.append("</nmwg:message>");

result = sb.toString();




  • [pS-dev] [GEANT/SA2/ps-java-services] r5777 - in trunk/perfsonar-java-rrd-ma/src/main/java/org/perfsonar /service/measurementArchive/rrdType: . storage/exist, svn-noreply, 10/20/2010

Archive powered by MHonArc 2.6.16.

Top of Page