perfsonar-dev - perfsonar: r5339 - branches/perfsonarui/src/org/perfsonar/perfsonarui/flowsa
Subject: perfsonar development work
List archive
- From:
- To:
- Subject: perfsonar: r5339 - branches/perfsonarui/src/org/perfsonar/perfsonarui/flowsa
- Date: Tue, 3 Nov 2009 07:39:19 -0500
Author: nina
Date: 2009-11-03 07:39:19 -0500 (Tue, 03 Nov 2009)
New Revision: 5339
Modified:
branches/perfsonarui/src/org/perfsonar/perfsonarui/flowsa/FlowsaMATab.java
Log:
making use of the generic mechanism to retrieve endpoints
Modified:
branches/perfsonarui/src/org/perfsonar/perfsonarui/flowsa/FlowsaMATab.java
===================================================================
---
branches/perfsonarui/src/org/perfsonar/perfsonarui/flowsa/FlowsaMATab.java
2009-11-03 12:38:08 UTC (rev 5338)
+++
branches/perfsonarui/src/org/perfsonar/perfsonarui/flowsa/FlowsaMATab.java
2009-11-03 12:39:19 UTC (rev 5339)
@@ -85,8 +85,10 @@
*/
@Override
public MAEndpointList createEndpoints() {
- MAEndpointList endpoints = new MAEndpointList(new
File("MA.conf"),getSupportedRequests());
- if (endpoints.size() == 0) {
+ MAEndpointList endpoints = super.createEndpoints();
+
+ if ((endpoints == null) || (endpoints.size() == 0)) {
+ endpoints = new MAEndpointList(new
File("MA.conf"),getSupportedRequests());
endpoints.add(new
MAEndpoint("local,http://localhost:8080/flowsa-ma-0.9.1/services/FlowsaMeasurementArchiveService,\"\",flowsa,flowsa"));
endpoints.add(new
MAEndpoint("SURFnet,http://sonar1.amsterdam.surfnet.nl:8080/flowsa-ma/services/FlowsaMeasurementArchiveService,\"\",flowsa,flowsa"));
endpoints.add(new MAEndpoint("SURFnet
development,http://sonar1.amsterdam.surfnet.nl:8080/flowsa-ma-0.9.1/services/FlowsaMeasurementArchiveService,\"\",flowsa,flowsa"));
- perfsonar: r5339 - branches/perfsonarui/src/org/perfsonar/perfsonarui/flowsa, svnlog, 11/03/2009
Archive powered by MHonArc 2.6.16.