Skip to Content.
Sympa Menu

perfsonar-dev - perfsonar: r4143 - trunk/geant2-java-sql-ma/src/main/java/org/perfsonar/service/measurementArchive/sqlType

Subject: perfsonar development work

List archive

perfsonar: r4143 - trunk/geant2-java-sql-ma/src/main/java/org/perfsonar/service/measurementArchive/sqlType


Chronological Thread 
  • From:
  • To:
  • Subject: perfsonar: r4143 - trunk/geant2-java-sql-ma/src/main/java/org/perfsonar/service/measurementArchive/sqlType
  • Date: Tue, 8 Jul 2008 11:18:08 -0400

Author: roman
Date: 2008-07-08 11:18:08 -0400 (Tue, 08 Jul 2008)
New Revision: 4143

Modified:

trunk/geant2-java-sql-ma/src/main/java/org/perfsonar/service/measurementArchive/sqlType/SQLTypeMAServiceEngine.java
Log:


Modified:
trunk/geant2-java-sql-ma/src/main/java/org/perfsonar/service/measurementArchive/sqlType/SQLTypeMAServiceEngine.java
===================================================================
---
trunk/geant2-java-sql-ma/src/main/java/org/perfsonar/service/measurementArchive/sqlType/SQLTypeMAServiceEngine.java
2008-07-08 14:31:32 UTC (rev 4142)
+++
trunk/geant2-java-sql-ma/src/main/java/org/perfsonar/service/measurementArchive/sqlType/SQLTypeMAServiceEngine.java
2008-07-08 15:18:08 UTC (rev 4143)
@@ -126,18 +126,10 @@
}


- protected Message storeData(Message request, boolean status)
- throws PerfSONARException {
+ protected Message storeData(Message request) throws PerfSONARException {

Message response = new Message();

- if (status == false)
- throw new PerfSONARException(
- "error.ma.writing",
- "SQLTypeMAServiceEngine.storeData: "
- + "Writing data is switched off in the MA "
- + "(check the configuration)");
-
SQLStorageManager sqlStorageManager = new SQLStorageManager();

Map metadataMap = request.getMetadataMap();
@@ -337,7 +329,7 @@

((MetadataConfigurationStorageManager)metadataConfig).storeMetadataElements(request);

((MetadataConfigurationStorageManager)metadataConfig).storeDataElements(request);

- storeData(request, true);
+ storeData(request);

Data dataTrigger = (Data) request.getDataIterator().next();
String dataTriggerId = "";



  • perfsonar: r4143 - trunk/geant2-java-sql-ma/src/main/java/org/perfsonar/service/measurementArchive/sqlType, svnlog, 07/08/2008

Archive powered by MHonArc 2.6.16.

Top of Page