perfsonar-dev - r1538 - trunk/perfsonar/src/org/perfsonar/service/measurementArchive/storageManager/responseGenerator
Subject: perfsonar development work
List archive
r1538 - trunk/perfsonar/src/org/perfsonar/service/measurementArchive/storageManager/responseGenerator
Chronological Thread
- From:
- To:
- Subject: r1538 - trunk/perfsonar/src/org/perfsonar/service/measurementArchive/storageManager/responseGenerator
- Date: Fri, 11 Aug 2006 06:12:13 -0400
Author: roman
Date: 2006-08-11 06:12:11 -0400 (Fri, 11 Aug 2006)
New Revision: 1538
Modified:
trunk/perfsonar/src/org/perfsonar/service/measurementArchive/storageManager/responseGenerator/L2PathStatusResponseGenerator.java
Log:
changes required by new db schema for L2 path status
Modified:
trunk/perfsonar/src/org/perfsonar/service/measurementArchive/storageManager/responseGenerator/L2PathStatusResponseGenerator.java
===================================================================
---
trunk/perfsonar/src/org/perfsonar/service/measurementArchive/storageManager/responseGenerator/L2PathStatusResponseGenerator.java
2006-08-11 08:27:18 UTC (rev 1537)
+++
trunk/perfsonar/src/org/perfsonar/service/measurementArchive/storageManager/responseGenerator/L2PathStatusResponseGenerator.java
2006-08-11 10:12:11 UTC (rev 1538)
@@ -104,16 +104,18 @@
if (strValue != null) {
- if (column.equals("value")) {
+ if (column.equals("status_oper")) {
StateOper stateOper = new StateOper();
stateOper.setStateOper(strValue);
datum.addChild(stateOper);
- StateAdmin stateAdmin = new StateAdmin();
- stateAdmin.setStateAdmin("unknown");
- datum.addChild(stateAdmin);
+ } if (column.equals("status_admin")) {
+ StateAdmin stateAdmin = new StateAdmin();
+ stateAdmin.setStateAdmin(strValue);
+ datum.addChild(stateAdmin);
+
} else if (column.equals("valueUnits")) {
- r1538 - trunk/perfsonar/src/org/perfsonar/service/measurementArchive/storageManager/responseGenerator, svnlog, 08/11/2006
Archive powered by MHonArc 2.6.16.