Skip to Content.
Sympa Menu

perfsonar-dev - time types in requests to SQL MA and E2Emon MP

Subject: perfsonar development work

List archive

time types in requests to SQL MA and E2Emon MP


Chronological Thread 
  • From: Roman Lapacz <>
  • To: "Matthias K. Hamm" <>, Mark Yampolskiy <>, Loukik Kudarimoti <>, "Jeff W. Boote" <>, Jason Zurawski <>, "" <>
  • Subject: time types in requests to SQL MA and E2Emon MP
  • Date: Wed, 25 Apr 2007 13:02:34 +0200


Hi Matthias, Mark, others


I'd like to propose using strict rules for time parameters in requests to SQL MA and E2Emon MP. The proposal derives from the discussion about time types we had recently on the mailing list. The implementation to use this proposal is ready in ggf package.

If you don't have any objections I will update SQL MA to support it (please do the same with E2Emon MP)


1) examples for unix time type


<nmwg:parameter name="startTime">1121472000</nmwg:parameter>

or

<nmwg:parameter name="startTime">
<nmtm:time type="UNIX" value="1121472000"/>
</nmwg:parameter>


the first one is default (no need to use time element inside parameter)


2) example for ISO 8601 time type


<nmwg:parameter name="startTime">
<nmtm:time type="ISO" value="2005-07-16T00:00:00Z"/>
</nmwg:parameter>


3) example for symbolic time type


<nmwg:parameter name="time">
<nmtm:time type="SYMBOLIC" value="now"/>
</nmwg:parameter>



Roman



Archive powered by MHonArc 2.6.16.

Top of Page