Skip to Content.
Sympa Menu

perfsonar-dev - Re: [pS-dev] Re: eventType not checked in EchoRequest

Subject: perfsonar development work

List archive

Re: [pS-dev] Re: eventType not checked in EchoRequest


Chronological Thread 
  • From: "Jeff W. Boote" <>
  • To: Loukik Kudarimoti <>
  • Cc: Michael Michalis <>, Maciej Glowiak <>, Roman Lapacz <>, "" <>, Nicolas Simar <>
  • Subject: Re: [pS-dev] Re: eventType not checked in EchoRequest
  • Date: Fri, 16 Feb 2007 12:54:55 -0700

Loukik Kudarimoti wrote:
I can imagine different values for eventType being used for different types of tests. For example, if the eventType says 'checkDatabase' or 'fullHealthCheck' or something like that, the service could make more effort in checking various components. If the eventType says 'simple' or maybe no eventType at all, the service could simply give a response. These checks could be defined of course. But again, this is for the future (if we ever find time to work on this)

Regardless of that, not caring about the eventType sounds like a loose implementation of the protocol. Tightening it up or at least defining well might be required.

I absolutely agree. Please look at:

http://wiki.perfsonar.net/jra1-wiki/index.php/Generalities

This has a description on what the eventType should look like. (I'm not suggesting it change for this release - but it does need to change to insure interoperability in the long-term.)

thanks,
jeff

Michael Michalis wrote:


Hi Maciej, Roman,


I did some functional testing concerning the Echo request, and it seems that the services response with a success response code even if there are some problems with the event type element (wrong event type, element no present or with no value). Its not a big deal, but I thought it was best to report it J .



Best regards,


Michalis Michael



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

<?xml version="1.0" encoding="UTF-8"?>
<nmwg:message xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"; type="EchoRequest" id="id1">
<nmwg:metadata id="meta" />
<nmwg:data metadataIdRef="meta" id="data" />
</nmwg:message>

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

<?xml version="1.0" encoding="UTF-8"?>
<nmwg:message xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"; type="EchoRequest" id="id1">
<nmwg:metadata id="meta">
<nmwg:eventType />
</nmwg:metadata>
<nmwg:data metadataIdRef="meta" id="data" />
</nmwg:message>

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

<?xml version="1.0" encoding="UTF-8"?>
<nmwg:message xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"; type="EchoRequest" id="id1">
<nmwg:metadata id="meta">
<nmwg:eventType>1=1</nmwg:eventType>
</nmwg:metadata>
<nmwg:data metadataIdRef="meta" id="data" />
</nmwg:message>







Archive powered by MHonArc 2.6.16.

Top of Page