perfsonar-dev - Re: SQL MA Functional Testing
Subject: perfsonar development work
List archive
- From: Roman Lapacz <>
- To: Michael Michalis <>
- Cc: Loukik Kudarimoti <>,
- Subject: Re: SQL MA Functional Testing
- Date: Thu, 04 Jan 2007 14:43:44 +0100
Michael Michalis wrote:
Hi Roman,
Hi Michael
I’ve started to work on the parsing class for the MetadataKeyRequest and I’m browsing more carefully on the responses I got from the MA. I have some questions about what the response should be when:
1) I ask a key for a link that doesn’t exist. I get a warning.ma.metadata_configuration result code.
2) I ask a key but one of the nodes doesn’t exist. In this case a get keys for all of the links that are stored in the MA
3) I ask a key for a link that both its nodes don’t exist. In this case I get an error.common.storage.xmldb result code which I think is strange.
4) I ask a key for a time range that is not valid(out of range). I get a normal response from the service.
Xml metadata file for the L2 path status is much more complicated than for the utilization and thus xquery statements must be more complicated as well. Those statements in SQL MA are not well tested yet so I'm not surprised reading your comments about such strange behavior in certain situations (for example if something is missing in the request). Now I have to focus on the Ant scripts of SQL MA but after this I will come back to the implementation work and improve xquery statements (I will be keeping in mind your observations).
Also can you send me what are the must have elements of the MetadataKeyRequest and what are the result codes suppose to be. Or could send me a link to where I can find this information? I have attached the four requests.
There's no good documentation for SQL MA yet :( For now I would suggest to use requests which follows examples shown in the installation guide ('Testing' section)
http://monstera.man.poznan.pl/jra1-wiki/index.php/Java_SQL_MA_Service_Installation_Guide
Roman
- SQL MA Functional Testing, Michael Michalis, 01/04/2007
- Re: SQL MA Functional Testing, Roman Lapacz, 01/04/2007
- <Possible follow-up(s)>
- FW: SQL MA Functional Testing, Michael Michalis, 01/04/2007
- Re: SQL MA Functional Testing, Roman Lapacz, 01/17/2007
- RE: [pS-dev] Re: SQL MA Functional Testing, Michael Michalis, 01/17/2007
Archive powered by MHonArc 2.6.16.