perfsonar-dev - Re: [pS-dev] RRD MA and SQL MA change specifications
Subject: perfsonar development work
List archive
- From: Martin Swany <>
- To: Roman <>
- Cc: Verena Venus <>, ,
- Subject: Re: [pS-dev] RRD MA and SQL MA change specifications
- Date: Fri, 27 Jun 2008 12:40:43 +0200
Hi Roman,
I missed this before. I think that we've always agreed that the
value of a parameter could be a simple string, or a more complex
element. I would say that one could do what you suggest by
wrapping the elements of the map in a single element.
<nmwg:parameter name="parameter_which_is_a_map">
<complexValueMap>
<map:item name="name1">value1</map:item>
<map:item name="name2">value2</map:item>
<map:item name="name3">value3</map:item>
</complexValueMap>
</nmwg:parameter>
I think that has always been viable. But I think we also agree
that we shouldn't over-use parameters as we could structure
the entire schema as attribute/value pairs and make more
work for ourselves. So, I see this as a design tradeoff.
best,
martin
I used to propose to have structures like a list or a map inside a parameter. Maybe it would be worth to consider it again.
<nmwg:parameters>
<!-- list parameter -->
<nmwg:parameter name="parameter_which_consists_of_list">
<list:item>value1</list:item>
<list:item>value2</list:item>
<list:item>value3</list:item>
</nmwg:parameter>
<!-- map parameter -->
<nmwg:parameter name="parameter_which_consists_of_map">
<map:item name="name1">value1</map:item>
<map:item name="name2">value2</map:item>
<map:item name="name3">value3</map:item>
</nmwg:parameter>
</nmwg:parameters>
example for keyword parameter:
<nmwg:parameters>
<nmwg:parameter name="keyword">
<map:item name="project">geant2</map:item>
<map:item name="status">test</map:item>
<map:item name="expiration">2009/01/01</map:item>
<!--
<map:item name="expiration">
<nmtm:time type="ISO" value="2009-01-01T10:40:00Z"/>
</map:item>
-->
</nmwg:parameter>
</nmwg:parameters>
- Re: [pS-dev] RRD MA and SQL MA change specifications, (continued)
- Re: [pS-dev] RRD MA and SQL MA change specifications, Loukik Kudarimoti, 06/06/2008
- Re: [pS-dev] RRD MA and SQL MA change specifications, Jason Zurawski, 06/25/2008
- Re: [pS-dev] RRD MA and SQL MA change specifications, Roman, 06/26/2008
- Re: [pS-dev] RRD MA and SQL MA change specifications, Martin Swany, 06/26/2008
- Re: [pS-dev] RRD MA and SQL MA change specifications, Roman, 06/26/2008
- Re: [pS-dev] RRD MA and SQL MA change specifications, Martin Swany, 06/26/2008
- Re: [pS-dev] RRD MA and SQL MA change specifications, Verena Venus, 06/26/2008
- Re: [pS-dev] RRD MA and SQL MA change specifications, Martin Swany, 06/26/2008
- Re: [pS-dev] RRD MA and SQL MA change specifications, Roman, 06/26/2008
- Re: [pS-dev] RRD MA and SQL MA change specifications, Jeff W. Boote, 06/27/2008
- Re: [pS-dev] RRD MA and SQL MA change specifications, Martin Swany, 06/27/2008
- Re: [pS-dev] RRD MA and SQL MA change specifications, Martin Swany, 06/26/2008
- Re: [pS-dev] RRD MA and SQL MA change specifications, Roman, 06/26/2008
- Re: [pS-dev] RRD MA and SQL MA change specifications, Jeff W. Boote, 06/26/2008
- Re: [pS-dev] RRD MA and SQL MA change specifications, Roman, 06/26/2008
- Re: [pS-dev] RRD MA and SQL MA change specifications, Jason Zurawski, 06/25/2008
- Re: [pS-dev] RRD MA and SQL MA change specifications, Loukik Kudarimoti, 06/06/2008
- Re: [PS-relmgmt] Re: [pS-dev] RRD MA and SQL MA change specifications, Loukik Kudarimoti, 06/26/2008
- Re: [PS-relmgmt] Re: [pS-dev] RRD MA and SQL MA change specifications, Martin Swany, 06/26/2008
- Re: [PS-relmgmt] Re: [pS-dev] RRD MA and SQL MA change specifications, Maciej Glowiak, 06/26/2008
- Re: [PS-relmgmt] Re: [pS-dev] RRD MA and SQL MA change specifications, Verena Venus, 06/26/2008
- Re: [PS-relmgmt] Re: [pS-dev] RRD MA and SQL MA change specifications, Roman Lapacz, 06/09/2008
- Re: [PS-relmgmt] Re: [pS-dev] RRD MA and SQL MA change specifications, Loukik Kudarimoti, 06/09/2008
Archive powered by MHonArc 2.6.16.