perfsonar-dev - [pS-dev] [GEANT/SA2/ps-java-services] r5997 - trunk/perfsonar-java-sql-ma/src/main/java/org/perfsonar/se rvice/measurementArchive/sqlType
Subject: perfsonar development work
List archive
[pS-dev] [GEANT/SA2/ps-java-services] r5997 - trunk/perfsonar-java-sql-ma/src/main/java/org/perfsonar/se rvice/measurementArchive/sqlType
Chronological Thread
- From:
- To:
- Subject: [pS-dev] [GEANT/SA2/ps-java-services] r5997 - trunk/perfsonar-java-sql-ma/src/main/java/org/perfsonar/se rvice/measurementArchive/sqlType
- Date: Tue, 11 Sep 2012 08:41:35 +0100 (BST)
Author: nordunet.behrmann
Date: 2012-09-11 08:41:35 +0100 (Tue, 11 Sep 2012)
New Revision: 5997
Modified:
trunk/perfsonar-java-sql-ma/src/main/java/org/perfsonar/service/measurementArchive/sqlType/SQLTypeMAServiceEngine.java
Log:
perfsonar-java-sql-ma: Get rid of some RRD specific code
Modified:
trunk/perfsonar-java-sql-ma/src/main/java/org/perfsonar/service/measurementArchive/sqlType/SQLTypeMAServiceEngine.java
===================================================================
---
trunk/perfsonar-java-sql-ma/src/main/java/org/perfsonar/service/measurementArchive/sqlType/SQLTypeMAServiceEngine.java
2012-09-11 07:41:34 UTC (rev 5996)
+++
trunk/perfsonar-java-sql-ma/src/main/java/org/perfsonar/service/measurementArchive/sqlType/SQLTypeMAServiceEngine.java
2012-09-11 07:41:35 UTC (rev 5997)
@@ -101,7 +101,6 @@
this.logger = getLogger();
this.configuration = getConfiguration();
setProperties();
- getMetadataConfigurationStorageManager();
serviceEngineType = "service.MeasurementArchive.SQLType";
@@ -643,33 +642,6 @@
}
-
- protected NMWGStorageManager getMetadataConfigurationStorageManager()
- throws PerfSONARException {
-
- if (dbStatus.trim().equalsIgnoreCase("on")) {
- // xmldb is present
- metadataConfig = new MetadataConfigurationStorageManager();
- } else {
- // xmldb is not present
- //metadataConfig = new
SimpleMetadataConfigurationStorageManager();
- //
- // XML FILE IS NOT SUPPORTED NOW AS A METADATA CONFIGURATION
STORAGE !!!!!!!!
- logger.error(
-
"SQLTypeMAServiceEngine.getMetadataConfigurationStorageManager: "
- + "Xml database is not set up in the service
configuration "
- + "(see 'component.ma.xmldb.db_status' property)");
- throw new PerfSONARException(
- "error.ma.sql.writing",
-
"SQLTypeMAServiceEngine.getMetadataConfigurationStorageManager: "
- + "Xml database is not set up in the service
configuration.");
- }
-
- metadataConfig.initStorage(null);
- return metadataConfig;
- }
-
-
/**
* Returns a key for a request message.
*
- [pS-dev] [GEANT/SA2/ps-java-services] r5997 - trunk/perfsonar-java-sql-ma/src/main/java/org/perfsonar/se rvice/measurementArchive/sqlType, svn-noreply, 09/11/2012
Archive powered by MHonArc 2.6.16.