perfsonar-dev - Re: [pS-dev] time types in requests to SQL MA and E2Emon MP
Subject: perfsonar development work
List archive
- From: Roman Lapacz <>
- To: Mark Yampolskiy <>
- Cc: "Matthias K. Hamm" <>, Loukik Kudarimoti <>, "Jeff W. Boote" <>, "" <>, Jason Zurawski <>
- Subject: Re: [pS-dev] time types in requests to SQL MA and E2Emon MP
- Date: Thu, 26 Apr 2007 16:27:15 +0200
Mark Yampolskiy wrote:
Hi Roman,
the idea to use time seams to be the right one.
However (hehe, how aren't there always some "however"s ;-)) from the discussion in the mailing list it is not really clear whether schema specification is already agreed and changed. Matthias and me have agreed not to make any changes in our SW which support undocumented/undefined/not-agreed futures of NMWG schema (ask Loukik, he will tell you how bullheaded we are in this respect ;-))
I checked the schema
http://anonsvn.internet2.edu/svn/nmwg/trunk/nmwg/schema/rnc/nmbase.rnc
and I see that using time inside parameter is fine. Jason, could you confirm?
Roman
Moreover, there still one very important point not covered - how should MPs/MAs react if time parameter is not specified ? Should they act as before (at least for some time of transition) ? This question relies on production installation of E2Emon by the E2ECU as well as MPs/MAs by different domains.
Cheers,
M&M
Roman Lapacz schrieb:
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
- time types in requests to SQL MA and E2Emon MP, Roman Lapacz, 04/25/2007
- Re: [pS-dev] time types in requests to SQL MA and E2Emon MP, Roman Lapacz, 04/26/2007
- Re: [pS-dev] time types in requests to SQL MA and E2Emon MP, Mark Yampolskiy, 04/26/2007
- Re: [pS-dev] time types in requests to SQL MA and E2Emon MP, Roman Lapacz, 04/26/2007
- Re: [pS-dev] time types in requests to SQL MA and E2Emon MP, Mark Yampolskiy, 04/26/2007
- Re: [pS-dev] time types in requests to SQL MA and E2Emon MP, Roman Lapacz, 04/26/2007
- Re: [pS-dev] time types in requests to SQL MA and E2Emon MP, Jason Zurawski, 04/26/2007
- Re: [pS-dev] time types in requests to SQL MA and E2Emon MP, Jeff W. Boote, 04/26/2007
- Re: [pS-dev] time types in requests to SQL MA and E2Emon MP, Roman Lapacz, 04/26/2007
- Re: [pS-dev] time types in requests to SQL MA and E2Emon MP, Roman Lapacz, 04/26/2007
- Re: [pS-dev] time types in requests to SQL MA and E2Emon MP, Mark Yampolskiy, 04/26/2007
- Re: [pS-dev] time types in requests to SQL MA and E2Emon MP, Roman Lapacz, 04/26/2007
Archive powered by MHonArc 2.6.16.