Skip to Content.
Sympa Menu

perfsonar-dev - r1494 - trunk/perfsonar/src/org/perfsonar/service/topologyService

Subject: perfsonar development work

List archive

r1494 - trunk/perfsonar/src/org/perfsonar/service/topologyService


Chronological Thread 
  • From:
  • To:
  • Subject: r1494 - trunk/perfsonar/src/org/perfsonar/service/topologyService
  • Date: Thu, 27 Jul 2006 06:59:59 -0400

Author: ulisses.alonso
Date: 2006-07-27 06:59:58 -0400 (Thu, 27 Jul 2006)
New Revision: 1494

Modified:

trunk/perfsonar/src/org/perfsonar/service/topologyService/TopsDownloadDBAction.java
Log:

Version that produces the XML to DOM failure producing the minimal XML output



Modified:
trunk/perfsonar/src/org/perfsonar/service/topologyService/TopsDownloadDBAction.java
===================================================================
---
trunk/perfsonar/src/org/perfsonar/service/topologyService/TopsDownloadDBAction.java
2006-07-27 10:18:08 UTC (rev 1493)
+++
trunk/perfsonar/src/org/perfsonar/service/topologyService/TopsDownloadDBAction.java
2006-07-27 10:59:58 UTC (rev 1494)
@@ -78,13 +78,14 @@
// use references to the network interfaces

nodes_interfaces= fillNodesNetworks(networksData);
- fillNodes(nodesData, nodes_interfaces);
+ //nodes_interfaces= new Hashtable<Integer, String>(1);
+ //fillNodes(nodesData, nodes_interfaces);

// We insert the Networks and the Nodes separately or because adding
networks and Nodes
// doesn't has an ordering, and there after networks and links will
be inter-mixed

responseData.addChild(networksData);
- responseData.addChild(nodesData);
+ // responseData.addChild(nodesData);

response.addChild(responseData); // this is equivalent to
response.setData(responseData);

@@ -546,6 +547,7 @@
int network_oid, network_interface_oid;
int rowcount;
String m;
+ int i= 0;

rs= st.executeQuery(select_network_oid_count);

@@ -571,6 +573,11 @@

fillNetwork(networksData, network_oid, nodes_interfaces);

+ if (i == 0) {
+ break;
+ }
+
+ i= i+1;
}

rs.close();



  • r1494 - trunk/perfsonar/src/org/perfsonar/service/topologyService, svnlog, 07/27/2006

Archive powered by MHonArc 2.6.16.

Top of Page