perfsonar-dev - r1520 - trunk/perfsonar/ant/snmpmp
Subject: perfsonar development work
List archive
- From:
- To:
- Subject: r1520 - trunk/perfsonar/ant/snmpmp
- Date: Tue, 8 Aug 2006 12:04:13 -0400
Author: loukik
Date: 2006-08-08 12:04:12 -0400 (Tue, 08 Aug 2006)
New Revision: 1520
Modified:
trunk/perfsonar/ant/snmpmp/snmpTypeMP-test-targets.xml
Log:
Fixed a bug which was causing no matches if any parameter was specified in a
metadata lookup request.
This bug fix now provides a much deeper insight into XQuery (at least for
me). Not in terms of logic but at least in terms of rules.
XQuery uses FLOWR (For, Let, Where, Order, Return). However, the usage of Let
and for need to understood well. This code shows that for statement should be
used while searching for parameters for example. There can be many parameter
elements and hence a for (which is more like an iteration) should be used
instead of let. In other situations where multiple occurances are not
expected, let can be used.
Also added namespace verification.
Modified: trunk/perfsonar/ant/snmpmp/snmpTypeMP-test-targets.xml
===================================================================
--- trunk/perfsonar/ant/snmpmp/snmpTypeMP-test-targets.xml 2006-08-08
14:51:08 UTC (rev 1519)
+++ trunk/perfsonar/ant/snmpmp/snmpTypeMP-test-targets.xml 2006-08-08
16:04:12 UTC (rev 1520)
@@ -124,6 +124,8 @@
fork="true">
<arg value="-p fr.uk1.uk.geant.net"/>
+ <arg value="-g uk1.uk.geant.net"/>
+ <arg value="-s 2"/>
<!-- arg value="-h is for help. It gives the
following output
Available parameters:
@@ -140,8 +142,8 @@
i - Interface Index
h - help (this menu)
-->
- <jvmarg
value="-Dcomponents.properties=/home/loukik/gn2/jra1/prototype/work/sonar/perfsonar/conf/components.properties"/>
- <jvmarg
value="-Dservice.properties=/home/loukik/gn2/jra1/prototype/work/sonar/perfsonar/conf/service.properties"/>
+ <jvmarg
value="-Dcomponents.properties=/home/loukik/eclipse-workspace/workspace/perfSONAR/conf/components.properties"/>
+ <jvmarg
value="-Dservice.properties=/home/loukik/eclipse-workspace/workspace/perfSONAR/conf/service.properties"/>
</java>
</target>
- r1520 - trunk/perfsonar/ant/snmpmp, svnlog, 08/08/2006
Archive powered by MHonArc 2.6.16.