perfsonar-dev - perfsonar: r3336 - in branches/WebAdmin/perfSONARWebAdmin: admin admin/sql admin/sqlma auxiliary auxiliary/sql auxiliary/sqlma
Subject: perfsonar development work
List archive
perfsonar: r3336 - in branches/WebAdmin/perfSONARWebAdmin: admin admin/sql admin/sqlma auxiliary auxiliary/sql auxiliary/sqlma
Chronological Thread
- From:
- To:
- Subject: perfsonar: r3336 - in branches/WebAdmin/perfSONARWebAdmin: admin admin/sql admin/sqlma auxiliary auxiliary/sql auxiliary/sqlma
- Date: Fri, 8 Feb 2008 07:34:37 -0500
Author: michalis
Date: 2008-02-08 07:34:36 -0500 (Fri, 08 Feb 2008)
New Revision: 3336
Added:
branches/WebAdmin/perfSONARWebAdmin/admin/sqlma/
branches/WebAdmin/perfSONARWebAdmin/admin/sqlma/SQLMAdmin.java
branches/WebAdmin/perfSONARWebAdmin/auxiliary/sqlma/
branches/WebAdmin/perfSONARWebAdmin/auxiliary/sqlma/HTMLOutput.java
branches/WebAdmin/perfSONARWebAdmin/auxiliary/sqlma/IbatisConf.java
branches/WebAdmin/perfSONARWebAdmin/auxiliary/sqlma/SQLMAFilter.java
branches/WebAdmin/perfSONARWebAdmin/auxiliary/sqlma/ibatisFileManager.java
Modified:
branches/WebAdmin/perfSONARWebAdmin/admin/sql/SQLAdmin.java
branches/WebAdmin/perfSONARWebAdmin/auxiliary/sql/SQLDBManager.java
Log:
Commiting new SQLMAdmin and some code changes
Modified: branches/WebAdmin/perfSONARWebAdmin/admin/sql/SQLAdmin.java
===================================================================
--- branches/WebAdmin/perfSONARWebAdmin/admin/sql/SQLAdmin.java 2008-02-08
12:01:11 UTC (rev 3335)
+++ branches/WebAdmin/perfSONARWebAdmin/admin/sql/SQLAdmin.java 2008-02-08
12:34:36 UTC (rev 3336)
@@ -1,7 +1,6 @@
package perfSONARWebAdmin.admin.sql;
import java.io.FileInputStream;
-import java.io.FileNotFoundException;
import java.io.IOException;
import java.util.Hashtable;
import java.util.Iterator;
@@ -70,9 +69,10 @@
FileInputStream in = new
FileInputStream(ServicePath+ServicePropertiesPath);
Properties properties= new Properties();
properties.load(in);
- String databaseType=properties.getProperty("");
+ //String databaseType=properties.getProperty("");
+
} catch (Exception e) {
throw new ServletException(getFault(e));
}
@@ -195,7 +195,7 @@
"Lock_tables_priv" };
String[] prAlias = { "SELECT", "INSERT", "UPDATE", "DELETE",
"CREATE",
"DROP", "GRANT OPTION", "REFERENCES",
"INDEX", "ALTER", "LOCK TABLES" };
- Hashtable privTable=new Hashtable();
+ Hashtable<String, String> privTable=new Hashtable<String,
String>();
for(int i=0;i<pr.length;i++){
privTable.put(prAlias[i], pr[i]);
}
Added: branches/WebAdmin/perfSONARWebAdmin/admin/sqlma/SQLMAdmin.java
Property changes on:
branches/WebAdmin/perfSONARWebAdmin/admin/sqlma/SQLMAdmin.java
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Modified: branches/WebAdmin/perfSONARWebAdmin/auxiliary/sql/SQLDBManager.java
===================================================================
--- branches/WebAdmin/perfSONARWebAdmin/auxiliary/sql/SQLDBManager.java
2008-02-08 12:01:11 UTC (rev 3335)
+++ branches/WebAdmin/perfSONARWebAdmin/auxiliary/sql/SQLDBManager.java
2008-02-08 12:34:36 UTC (rev 3336)
@@ -550,6 +550,13 @@
}
}
}
+
+ /**
+ * @param DBURL
+ */
+ public void setDBURL(String DBURL){
+ DBURI=DBURL;
+ }
public static void main(String args[]) {
Added: branches/WebAdmin/perfSONARWebAdmin/auxiliary/sqlma/HTMLOutput.java
Property changes on:
branches/WebAdmin/perfSONARWebAdmin/auxiliary/sqlma/HTMLOutput.java
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: branches/WebAdmin/perfSONARWebAdmin/auxiliary/sqlma/IbatisConf.java
Property changes on:
branches/WebAdmin/perfSONARWebAdmin/auxiliary/sqlma/IbatisConf.java
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: branches/WebAdmin/perfSONARWebAdmin/auxiliary/sqlma/SQLMAFilter.java
Property changes on:
branches/WebAdmin/perfSONARWebAdmin/auxiliary/sqlma/SQLMAFilter.java
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added:
branches/WebAdmin/perfSONARWebAdmin/auxiliary/sqlma/ibatisFileManager.java
Property changes on:
branches/WebAdmin/perfSONARWebAdmin/auxiliary/sqlma/ibatisFileManager.java
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
- perfsonar: r3336 - in branches/WebAdmin/perfSONARWebAdmin: admin admin/sql admin/sqlma auxiliary auxiliary/sql auxiliary/sqlma, svnlog, 02/08/2008
Archive powered by MHonArc 2.6.16.