Skip to Content.
Sympa Menu

perfsonar-dev - Re: [pS-dev] echo messages

Subject: perfsonar development work

List archive

Re: [pS-dev] echo messages


Chronological Thread 
  • From: Roman Lapacz <>
  • To:
  • Subject: Re: [pS-dev] echo messages
  • Date: Tue, 05 Sep 2006 15:26:40 +0200


I've just created a new snapshot (and removed the previous one) with the same name because I had to remove one small bug. Available on the wiki.

Roman


Roman Lapacz wrote:


Hi,

today I've introduced new types of messages to ping pS services. Their names are: EchoRequest and EchoResponse. They should be used to monitor pS services. Now the response is very simple message but in the future it may contain the information like: institution name, contact person, etc.



Request:


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


<nmwg:metadata id="meta">
<nmwg:eventType>echo</nmwg:eventType>
</nmwg:metadata>

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


</nmwg:message>




Response:


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


<nmwg:metadata id="meta">
<nmwg:eventType>success.echo</nmwg:eventType>
</nmwg:metadata>

<nmwg:data id="data" metadataIdRef="meta">
<nmwgr:datum>
This is the echo response from the service.
</nmwgr:datum>
</nmwg:data>

</nmwg:message>




The echo functionality is added to the SQL and RRD MA. New snapshots (20060905) are available on the wiki.
To send echo request the following command can be used:

for RRD MA:

ant -f build-rrdma.xml run-echo


for SQL MA

ant -f build-sqlma.xml run-echo




Roman





  • echo messages, Roman Lapacz, 09/05/2006
    • Re: [pS-dev] echo messages, Roman Lapacz, 09/05/2006

Archive powered by MHonArc 2.6.16.

Top of Page