Skip to Content.
Sympa Menu

perfsonar-dev - perfsonar: r2323 - in trunk/perfsonar/src/org/perfsonar: commons/messages service/commons/engine

Subject: perfsonar development work

List archive

perfsonar: r2323 - in trunk/perfsonar/src/org/perfsonar: commons/messages service/commons/engine


Chronological Thread 
  • From:
  • To:
  • Subject: perfsonar: r2323 - in trunk/perfsonar/src/org/perfsonar: commons/messages service/commons/engine
  • Date: Thu, 12 Apr 2007 08:28:05 -0400

Author: roman
Date: 2007-04-12 08:28:04 -0400 (Thu, 12 Apr 2007)
New Revision: 2323

Added:
trunk/perfsonar/src/org/perfsonar/commons/messages/LookupInfoRequest.java
Modified:
trunk/perfsonar/src/org/perfsonar/service/commons/engine/ActionType.java
Log:

New message handler which gives the ability to request the service (any pS
service using pS base) for the lookup information.
This should be useful if LS service is unavailable but the client application
needs general information about the service.

------------------------------------

Request:

<nmwg:message type="LookupInfoRequest"
id="id1"
xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/";>

<nmwg:metadata id="meta">

<nmwg:eventType>http://schemas.perfsonar.net/tools/admin/lookupinfo/2.0</nmwg:eventType>
</nmwg:metadata>

<nmwg:data id="data" metadataIdRef="meta"/>

</nmwg:message>

------------------------------------

Example response:

<nmwg:message id="id1_resp" messageIdRef="id1" type="LookupInfoResponse"
xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/";>
<nmwg:metadata id="meta1"/>
<nmwg:data id="data1" metadataIdRef="meta1">
<psservice:datum
xmlns:psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/";>
<psservice:service>
<psservice:serviceName>Java RRD MA</psservice:serviceName>
<psservice:serviceType>RRD MA</psservice:serviceType>
<psservice:serviceDescription>Java RRD MA, perfSONAR
project</psservice:serviceDescription>
</psservice:service>
</psservice:datum>
</nmwg:data>
</nmwg:message>





Added:
trunk/perfsonar/src/org/perfsonar/commons/messages/LookupInfoRequest.java


Property changes on:
trunk/perfsonar/src/org/perfsonar/commons/messages/LookupInfoRequest.java
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native

Modified:
trunk/perfsonar/src/org/perfsonar/service/commons/engine/ActionType.java
===================================================================
--- trunk/perfsonar/src/org/perfsonar/service/commons/engine/ActionType.java
2007-04-11 14:02:53 UTC (rev 2322)
+++ trunk/perfsonar/src/org/perfsonar/service/commons/engine/ActionType.java
2007-04-12 12:28:04 UTC (rev 2323)
@@ -61,17 +61,34 @@
*/
public static final String LS_DEREGISTER = "LS_DEREGISTER";

+
/**
* Action type to request a measurement
*/
public static final String LS_KEEPALIVE = "LS_KEEPALIVE";

- // -----------------------------------------


+ // ----------------------------------------- Echo Action

+
+
+ /**
+ * Action type to check service status
+ */
public static final String ECHO = "ECHO";

+
+
+ // ----------------------------------------- Lookup Info Action
+
+
+
+ /**
+ * Action type to request information set of the service
+ */
+ public static final String GET_LOOKUP_INFO = "GET_LOOKUP_INFO";
+


// ------------------------------------------ Measurement Point Actions
@@ -81,16 +98,19 @@
/**
* Action type to request a measurement
*/
-
public static final String MAKE_MEASUREMENT = "MeasurementRequest";


+
// ------------------------------------------ Topology Service Actions

+
+
/**
* Action type to request a full topology database download
*/
-
public static final String SETUP_DATA_DB = "SETUP_DATA_DB";

-}
+
+
+} //ActionType



  • perfsonar: r2323 - in trunk/perfsonar/src/org/perfsonar: commons/messages service/commons/engine, svnlog, 04/12/2007

Archive powered by MHonArc 2.6.16.

Top of Page