perfsonar-dev - SQL MA Functional Testing
Subject: perfsonar development work
List archive
- From: Michael Michalis <>
- To: Roman Lapacz <>
- Cc: Loukik Kudarimoti <>,
- Subject: SQL MA Functional Testing
- Date: Thu, 04 Jan 2007 09:47:29 +0200
Hi Roman, 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. 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. Best regards, Michalis Michael |
<?xml version="1.0" encoding="UTF-8"?> <nmwg:message id="localhost.41879a4f:10fc8582965:-478b_resp" messageIdRef="localhost.41879a4f:10fc8582965:-478b" type="MetadataKeyResponse" xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"> <nmwg:metadata id="resultCodeMetadata"> <nmwg:eventType>warning.ma.metadata_configuration</nmwg:eventType> </nmwg:metadata> <nmwg:data id="resultDescriptionData_for_resultCodeMetadata" metadataIdRef="resultCodeMetadata"> <nmwgr:datum xmlns:nmwgr="http://ggf.org/ns/nmwg/result/2.0/">MetadataConfigurationStorageManager.fetch: No metadata in rrd metadata configuration file</nmwgr:datum> </nmwg:data> </nmwg:message>
<?xml version="1.0" encoding="UTF-8"?> <nmwg:message id="localhost.41879a4f:10fc8582965:-471f_resp" messageIdRef="localhost.41879a4f:10fc8582965:-471f" type="MetadataKeyResponse" xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"> <nmwg:metadata id="md2"> <nmwg:subject id="sub-DFN-MUE"> <nmwgtopo3:node id="DFN-MUE" xmlns:nmwgtopo3="http://ggf.org/ns/nmwg/topology/base/3.0/"> <nmwgtopo3:type>TopologyPoint</nmwgtopo3:type> <nmwgtopo3:name type="logical">DFN-MUE</nmwgtopo3:name> <nmwgtopo3:country>Germany</nmwgtopo3:country> <nmwgtopo3:city>Muenster</nmwgtopo3:city> <nmwgtopo3:longitude>Y</nmwgtopo3:longitude> <nmwgtopo3:latitude>X</nmwgtopo3:latitude> <nmwgtopo3:institution>DFN-Verein</nmwgtopo3:institution> </nmwgtopo3:node> </nmwg:subject> </nmwg:metadata> <nmwg:metadata id="md4"> <nmwg:subject id="sub-PSNC-PL"> <nmwgtopo3:node id="PSNC-PL" xmlns:nmwgtopo3="http://ggf.org/ns/nmwg/topology/base/3.0/"> <nmwgtopo3:type>TopologyPoint</nmwgtopo3:type> <nmwgtopo3:name type="logical">PSNC-PL</nmwgtopo3:name> <nmwgtopo3:country>Poland</nmwgtopo3:country> <nmwgtopo3:city>Poznan</nmwgtopo3:city> <nmwgtopo3:longitude>Y</nmwgtopo3:longitude> <nmwgtopo3:latitude>X</nmwgtopo3:latitude> <nmwgtopo3:institution>PSNC</nmwgtopo3:institution> </nmwgtopo3:node> </nmwg:subject> </nmwg:metadata> <nmwg:metadata id="md-link-PSNC-DFN-MUE-003"> <nmwg:subject id="sub1"> <nmtl2:link id="localhost.41879a4f:10fc8582965:-4717" xmlns:nmtl2="http://ggf.org/ns/nmwg/topology/l2/3.0/"> <nmtl2:type>ID_Link</nmtl2:type> <nmtl2:name type="logical">PSNC-DFN-MUE-Link-1001</nmtl2:name> <nmtl2:globalName type="logical">PSNC-DFN-MUE-003</nmtl2:globalName> <nmwgtopo3:node id="localhost.41879a4f:10fc8582965:-4711" nodeIdRef="DFN-MUE" xmlns:nmwgtopo3="http://ggf.org/ns/nmwg/topology/base/3.0/"> <nmwgtopo3:role>DemarcPoint</nmwgtopo3:role> </nmwgtopo3:node> <nmwgtopo3:node id="localhost.41879a4f:10fc8582965:-4713" nodeIdRef="PSNC-PL" xmlns:nmwgtopo3="http://ggf.org/ns/nmwg/topology/base/3.0/"> <nmwgtopo3:role>DemarcPoint</nmwgtopo3:role> </nmwgtopo3:node> </nmtl2:link> </nmwg:subject> <nmwg:parameters id="localhost.41879a4f:10fc8582965:-470f"> <nmwg:parameter name="supportedEventType">Path.Status</nmwg:parameter> </nmwg:parameters> </nmwg:metadata> <nmwg:data id="d3" metadataIdRef="md-link-PSNC-DFN-MUE-003"> <nmwg:key id="localhost.41879a4f:10fc8582965:-46fc"> <nmwg:parameters id="localhost.41879a4f:10fc8582965:-46fb"> <nmwg:parameter name="pathId">PSNC-DFN-MUE-Link-1001</nmwg:parameter> <nmwg:parameter name="startTime">1004318523</nmwg:parameter> <nmwg:parameter name="eventType" value="Path.Status"/> <nmwg:parameter name="ibatisConfig">ibatis-SqlMapConfig-L2-status-domain.xml</nmwg:parameter> <nmwg:parameter name="endTime">1007960133</nmwg:parameter> </nmwg:parameters> </nmwg:key> </nmwg:data> </nmwg:message>
<?xml version="1.0" encoding="UTF-8"?> <nmwg:message id="localhost.41879a4f:10fc8582965:-4785_resp" messageIdRef="localhost.41879a4f:10fc8582965:-4785" type="MetadataKeyResponse" xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"> <nmwg:metadata id="md-link-LRZ-SARA-DEISA-002"> <nmwg:subject id="sub1"> <nmtl2:link id="localhost.41879a4f:10fc8582965:-4762" xmlns:nmtl2="http://ggf.org/ns/nmwg/topology/l2/3.0/"> <nmtl2:type>ID_Link</nmtl2:type> <nmtl2:name type="logical">DFN-Surfnet-Link-5678</nmtl2:name> <nmtl2:globalName type="logical">LRZ-SARA-DEISA-002</nmtl2:globalName> <nmwgtopo3:node id="localhost.41879a4f:10fc8582965:-475c" nodeIdRef="SURFnet-MUE" xmlns:nmwgtopo3="http://ggf.org/ns/nmwg/topology/base/3.0/"> <nmwgtopo3:role>DemarcPoint</nmwgtopo3:role> </nmwgtopo3:node> <nmwgtopo3:node id="localhost.41879a4f:10fc8582965:-475e" nodeIdRef="DFN-MUE" xmlns:nmwgtopo3="http://ggf.org/ns/nmwg/topology/base/3.0/"> <nmwgtopo3:role>DemarcPoint</nmwgtopo3:role> </nmwgtopo3:node> </nmtl2:link> </nmwg:subject> <nmwg:parameters id="localhost.41879a4f:10fc8582965:-475a"> <nmwg:parameter name="supportedEventType">Path.Status</nmwg:parameter> </nmwg:parameters> </nmwg:metadata> <nmwg:metadata id="md2"> <nmwg:subject id="sub-DFN-MUE"> <nmwgtopo3:node id="DFN-MUE" xmlns:nmwgtopo3="http://ggf.org/ns/nmwg/topology/base/3.0/"> <nmwgtopo3:type>TopologyPoint</nmwgtopo3:type> <nmwgtopo3:name type="logical">DFN-MUE</nmwgtopo3:name> <nmwgtopo3:country>Germany</nmwgtopo3:country> <nmwgtopo3:city>Muenster</nmwgtopo3:city> <nmwgtopo3:longitude>Y</nmwgtopo3:longitude> <nmwgtopo3:latitude>X</nmwgtopo3:latitude> <nmwgtopo3:institution>DFN-Verein</nmwgtopo3:institution> </nmwgtopo3:node> </nmwg:subject> </nmwg:metadata> <nmwg:metadata id="md-link-LRZ-SARA-DEISA-001"> <nmwg:subject id="sub1"> <nmtl2:link id="localhost.41879a4f:10fc8582965:-476d" xmlns:nmtl2="http://ggf.org/ns/nmwg/topology/l2/3.0/"> <nmtl2:type>NREN_Link</nmtl2:type> <nmtl2:name type="logical">DFN-link-1234</nmtl2:name> <nmtl2:globalName type="logical">LRZ-SARA-DEISA-001</nmtl2:globalName> <nmwgtopo3:node id="localhost.41879a4f:10fc8582965:-4769" nodeIdRef="DFN-LRZ" xmlns:nmwgtopo3="http://ggf.org/ns/nmwg/topology/base/3.0/"> <nmwgtopo3:role>EndPoint</nmwgtopo3:role> </nmwgtopo3:node> <nmwgtopo3:node id="localhost.41879a4f:10fc8582965:-4767" nodeIdRef="DFN-MUE" xmlns:nmwgtopo3="http://ggf.org/ns/nmwg/topology/base/3.0/"> <nmwgtopo3:role>DemarcPoint</nmwgtopo3:role> </nmwgtopo3:node> </nmtl2:link> </nmwg:subject> <nmwg:parameters id="localhost.41879a4f:10fc8582965:-4765"> <nmwg:parameter name="supportedEventType">Path.Status</nmwg:parameter> </nmwg:parameters> </nmwg:metadata> <nmwg:metadata id="md-link-PSNC-DFN-MUE-003"> <nmwg:subject id="sub1"> <nmtl2:link id="localhost.41879a4f:10fc8582965:-4757" xmlns:nmtl2="http://ggf.org/ns/nmwg/topology/l2/3.0/"> <nmtl2:type>ID_Link</nmtl2:type> <nmtl2:name type="logical">PSNC-DFN-MUE-Link-1001</nmtl2:name> <nmtl2:globalName type="logical">PSNC-DFN-MUE-003</nmtl2:globalName> <nmwgtopo3:node id="localhost.41879a4f:10fc8582965:-4751" nodeIdRef="DFN-MUE" xmlns:nmwgtopo3="http://ggf.org/ns/nmwg/topology/base/3.0/"> <nmwgtopo3:role>DemarcPoint</nmwgtopo3:role> </nmwgtopo3:node> <nmwgtopo3:node id="localhost.41879a4f:10fc8582965:-4753" nodeIdRef="PSNC-PL" xmlns:nmwgtopo3="http://ggf.org/ns/nmwg/topology/base/3.0/"> <nmwgtopo3:role>DemarcPoint</nmwgtopo3:role> </nmwgtopo3:node> </nmtl2:link> </nmwg:subject> <nmwg:parameters id="localhost.41879a4f:10fc8582965:-474f"> <nmwg:parameter name="supportedEventType">Path.Status</nmwg:parameter> </nmwg:parameters> </nmwg:metadata> <nmwg:metadata id="md-link-PSNC-2-DFN-MUE-004"> <nmwg:subject id="sub1"> <nmtl2:link id="localhost.41879a4f:10fc8582965:-474c" xmlns:nmtl2="http://ggf.org/ns/nmwg/topology/l2/3.0/"> <nmtl2:type>ID_Link</nmtl2:type> <nmtl2:name type="logical">PSNC-2-DFN-MUE-Link-1002</nmtl2:name> <nmtl2:globalName type="logical">PSNC-2-DFN-MUE-004</nmtl2:globalName> <nmwgtopo3:node id="localhost.41879a4f:10fc8582965:-4746" nodeIdRef="DFN-MUE" xmlns:nmwgtopo3="http://ggf.org/ns/nmwg/topology/base/3.0/"> <nmwgtopo3:role>DemarcPoint</nmwgtopo3:role> </nmwgtopo3:node> <nmwgtopo3:node id="localhost.41879a4f:10fc8582965:-4748" nodeIdRef="PSNC-PL-2" xmlns:nmwgtopo3="http://ggf.org/ns/nmwg/topology/base/3.0/"> <nmwgtopo3:role>DemarcPoint</nmwgtopo3:role> </nmwgtopo3:node> </nmtl2:link> </nmwg:subject> <nmwg:parameters id="localhost.41879a4f:10fc8582965:-4744"> <nmwg:parameter name="supportedEventType">Path.Status</nmwg:parameter> </nmwg:parameters> </nmwg:metadata> <nmwg:data id="d1" metadataIdRef="md-link-LRZ-SARA-DEISA-001"> <nmwg:key id="localhost.41879a4f:10fc8582965:-4741"> <nmwg:parameters id="localhost.41879a4f:10fc8582965:-4740"> <nmwg:parameter name="pathId">DFN-link-1234</nmwg:parameter> <nmwg:parameter name="time">now</nmwg:parameter> <nmwg:parameter name="eventType" value="Path.Status"/> <nmwg:parameter name="ibatisConfig">ibatis-SqlMapConfig-L2-status-domain.xml</nmwg:parameter> </nmwg:parameters> </nmwg:key> </nmwg:data> <nmwg:data id="d3" metadataIdRef="md-link-PSNC-DFN-MUE-003"> <nmwg:key id="localhost.41879a4f:10fc8582965:-4737"> <nmwg:parameters id="localhost.41879a4f:10fc8582965:-4736"> <nmwg:parameter name="pathId">PSNC-DFN-MUE-Link-1001</nmwg:parameter> <nmwg:parameter name="eventType" value="Path.Status"/> <nmwg:parameter name="ibatisConfig">ibatis-SqlMapConfig-L2-status-domain.xml</nmwg:parameter> </nmwg:parameters> </nmwg:key> </nmwg:data> <nmwg:data id="d4" metadataIdRef="md-link-PSNC-2-DFN-MUE-004"> <nmwg:key id="localhost.41879a4f:10fc8582965:-4732"> <nmwg:parameters id="localhost.41879a4f:10fc8582965:-4731"> <nmwg:parameter name="pathId">PSNC-2-DFN-MUE-Link-1002</nmwg:parameter> <nmwg:parameter name="eventType" value="Path.Status"/> <nmwg:parameter name="ibatisConfig">ibatis-SqlMapConfig-L2-status-interdomain.xml</nmwg:parameter> </nmwg:parameters> </nmwg:key> </nmwg:data> <nmwg:data id="d2" metadataIdRef="md-link-LRZ-SARA-DEISA-002"> <nmwg:key id="localhost.41879a4f:10fc8582965:-473c"> <nmwg:parameters id="localhost.41879a4f:10fc8582965:-473b"> <nmwg:parameter name="pathId">DFN-Surfnet-Link-5678</nmwg:parameter> <nmwg:parameter name="eventType" value="Path.Status"/> <nmwg:parameter name="ibatisConfig">ibatis-SqlMapConfig-L2-status-domain.xml</nmwg:parameter> </nmwg:parameters> </nmwg:key> </nmwg:data> </nmwg:message>
<?xml version="1.0" encoding="UTF-8"?> <nmwg:message id="localhost.41879a4f:10fc8582965:-472e_resp" messageIdRef="localhost.41879a4f:10fc8582965:-472e" type="MetadataKeyResponse" xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"> <nmwg:metadata id="resultCodeMetadata"> <nmwg:eventType>error.common.storage.xmldb</nmwg:eventType> </nmwg:metadata> <nmwg:data id="resultDescriptionData_for_resultCodeMetadata" metadataIdRef="resultCodeMetadata"> <nmwgr:datum xmlns:nmwgr="http://ggf.org/ns/nmwg/result/2.0/">MetadataConfigurationStorageManager.fetch: Connection to xml database failed</nmwgr:datum> </nmwg:data> </nmwg:message>
- 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.