perfsonar-dev - r2158 - in tags/CL-MP-1.0-RC4: schema/example-instances/perfSONAR src/org/perfsonar/commons/messages
Subject: perfsonar development work
List archive
r2158 - in tags/CL-MP-1.0-RC4: schema/example-instances/perfSONAR src/org/perfsonar/commons/messages
Chronological Thread
- From:
- To:
- Subject: r2158 - in tags/CL-MP-1.0-RC4: schema/example-instances/perfSONAR src/org/perfsonar/commons/messages
- Date: Wed, 28 Feb 2007 13:06:32 -0500
Author: fernandes
Date: 2007-02-28 13:06:32 -0500 (Wed, 28 Feb 2007)
New Revision: 2158
Modified:
tags/CL-MP-1.0-RC4/schema/example-instances/perfSONAR/Echo-Req.xml
tags/CL-MP-1.0-RC4/src/org/perfsonar/commons/messages/EchoRequest.java
Log:
New echo namespace
Modified: tags/CL-MP-1.0-RC4/schema/example-instances/perfSONAR/Echo-Req.xml
===================================================================
--- tags/CL-MP-1.0-RC4/schema/example-instances/perfSONAR/Echo-Req.xml
2007-02-28 14:58:39 UTC (rev 2157)
+++ tags/CL-MP-1.0-RC4/schema/example-instances/perfSONAR/Echo-Req.xml
2007-02-28 18:06:32 UTC (rev 2158)
@@ -7,7 +7,7 @@
<nmwg:metadata id="meta">
- <nmwg:eventType>echo</nmwg:eventType>
+
<nmwg:eventType>http://schemas.perfsonar.net/tools/admin/echo/2.0</nmwg:eventType>
</nmwg:metadata>
<nmwg:data id="data" metadataIdRef="meta"/>
Modified:
tags/CL-MP-1.0-RC4/src/org/perfsonar/commons/messages/EchoRequest.java
===================================================================
--- tags/CL-MP-1.0-RC4/src/org/perfsonar/commons/messages/EchoRequest.java
2007-02-28 14:58:39 UTC (rev 2157)
+++ tags/CL-MP-1.0-RC4/src/org/perfsonar/commons/messages/EchoRequest.java
2007-02-28 18:06:32 UTC (rev 2158)
@@ -32,6 +32,14 @@
+ // ---------------------------------- fields
+
+
+
+ public static final String ECHO_NAMESPACE =
"http://schemas.perfsonar.net/tools/admin/echo/2.0";
+
+
+
// ---------------------------------- constructors
@@ -121,7 +129,7 @@
Message response = null;
- if (eventType.getEventType().equals("echo")) {
+ if (eventType.getEventType().equals(ECHO_NAMESPACE)) {
response = executeSimpleEcho();
} else if (eventType.getEventType().equals("")) {
response = getEmptyEventTypeResponse();
- r2158 - in tags/CL-MP-1.0-RC4: schema/example-instances/perfSONAR src/org/perfsonar/commons/messages, svnlog, 02/28/2007
Archive powered by MHonArc 2.6.16.