Skip to Content.
Sympa Menu

perfsonar-dev - Re: [pS-dev] time types in requests to SQL MA and E2Emon MP

Subject: perfsonar development work

List archive

Re: [pS-dev] 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" <>
  • Cc: "" <>
  • Subject: Re: [pS-dev] time types in requests to SQL MA and E2Emon MP
  • Date: Thu, 26 Apr 2007 14:07:27 +0200

Roman Lapacz wrote:

Hi Matthias, Mark, others

Hi again,

Now the SQL MA (trunk) supports point 1) and 2) in the request. I'm going to add support for 3) but I'm waiting for your acceptance of using nmtm:time element in time parameters. 1) and 2) keeps backward compatibility, 3) probably not (I don't know the visualization application used in JRA4 but it may not know how to interpret 3)).

please, don't forget about this topic in Brasil (I think it is important also for other services)


Roman





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