From 6e1889410ef7faa5fccbcdbbb9e938822984c7d6 Mon Sep 17 00:00:00 2001
From: rescobar
Date: Mon, 20 Sep 2010 14:46:58 -0700
Subject: refactor: Enable osee client pgsql integration tests for
---
.../test.xml | 95 +------------
.../testAppServerLaunch.xml | 151 +++++++++++++++++++++
2 files changed, 152 insertions(+), 94 deletions(-)
create mode 100644 plugins/org.eclipse.osee.client.integration.tests/testAppServerLaunch.xml
(limited to 'plugins')
diff --git a/plugins/org.eclipse.osee.client.integration.tests/test.xml b/plugins/org.eclipse.osee.client.integration.tests/test.xml
index 9adb61f7384..ac2f35e0486 100644
--- a/plugins/org.eclipse.osee.client.integration.tests/test.xml
+++ b/plugins/org.eclipse.osee.client.integration.tests/test.xml
@@ -32,24 +32,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -57,42 +39,7 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
@@ -122,44 +69,4 @@
-
-
-
-
-
-
-
-
-<DbConnection>${line.separator}
-<DatabaseInfo id="DerbyServer">${line.separator}
-<DatabaseHome key="#DBHOME#" />${line.separator}
-<DatabaseName key="#DBNAME#" value="DerbyDatabase" />${line.separator}
-<DatabaseType key="#TYPE#" value="derby" />${line.separator}
-<Prefix key="#PREFIX#" value="jdbc:derby" />${line.separator}
-<UserName key="#USERNAME#" value="osee" />${line.separator}
-<Password key="#PASSWORD#" value="oseeadmin" />${line.separator}
-<Host key="#HOST#" value="@AvailableDbServices.hostAddress" />${line.separator}
-<Port key="#PORT#" value="@AvailableDbServices.port" />${line.separator}
-</DatabaseInfo>${line.separator}
-${line.separator}
-<ConnectionDescription id="NetDerbyClient">${line.separator}
-<Driver>org.apache.derby.jdbc.ClientDriver</Driver>${line.separator}
-<Url>#PREFIX#://#HOST#:#PORT#/#DBHOME##DBNAME#;</Url>${line.separator}
-<UrlAttributes>${line.separator}
-<Entry>create=true</Entry>${line.separator}
-</UrlAttributes>${line.separator}
-</ConnectionDescription>${line.separator}
-<AvailableDbServices>${line.separator}
-<Server ${line.separator}
-id="@{connectionId}" ${line.separator}
-dbInfo="DerbyServer" ${line.separator}
-hostAddress="127.0.0.1" ${line.separator}
-port="@{dbServerPort}" ${line.separator}
-connectsWith="NetDerbyClient" />${line.separator}
-</AvailableDbServices>${line.separator}
-</DbConnection>${line.separator}
-
-
-
-
\ No newline at end of file
diff --git a/plugins/org.eclipse.osee.client.integration.tests/testAppServerLaunch.xml b/plugins/org.eclipse.osee.client.integration.tests/testAppServerLaunch.xml
new file mode 100644
index 00000000000..2a8a8a780fe
--- /dev/null
+++ b/plugins/org.eclipse.osee.client.integration.tests/testAppServerLaunch.xml
@@ -0,0 +1,151 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <DatabaseInfo id="dbConnectionInfo">${line.separator}
+ <DatabaseHome key="#DBHOME#" />${line.separator}
+ <DatabaseName key="#DBNAME#" value="@{dbName}" />${line.separator}
+ <DatabaseType key="#TYPE#" value="@{dbType}" />${line.separator}
+ <Prefix key="#PREFIX#" value="@{dbPrefix}" />${line.separator}
+ <UserName key="#USERNAME#" value="@{dbUser}" />${line.separator}
+ <Password key="#PASSWORD#" value="@{dbPasswd}" />${line.separator}
+ <Host key="#HOST#" value="@AvailableDbServices.hostAddress" />${line.separator}
+ <Port key="#PORT#" value="@AvailableDbServices.port" />${line.separator}
+ </DatabaseInfo>${line.separator}
+ ${line.separator}
+ <ConnectionDescription id="postgresqlDriver">${line.separator}
+ <Driver>org.postgresql.Driver</Driver>${line.separator}
+ <Url>#PREFIX#://#HOST#:#PORT#/#DBHOME##DBNAME#</Url>${line.separator}
+ </ConnectionDescription$gt;${line.separator}
+ ${line.separator}
+ <ConnectionDescription id="netDerbyClientDriver">${line.separator}
+ <Driver>org.apache.derby.jdbc.ClientDriver</Driver>${line.separator}
+ <Url>#PREFIX#://#HOST#:#PORT#/#DBHOME##DBNAME#;</Url>${line.separator}
+ <UrlAttributes>${line.separator}
+ <Entry>create=true</Entry>${line.separator}
+ </UrlAttributes>${line.separator}
+ </ConnectionDescription>${line.separator}
+
+
+
+ ${line.separator}${line.separator}
+ <AvailableDbServices>${line.separator}
+ <Server id="@{connectionId}" dbInfo="dbConnectionInfo" connectsWith="@{dbDriver}" hostAddress="@{dbAddress}" port="@{dbPort}" />${line.separator}
+ </AvailableDbServices>${line.separator}
+
+
+
+
\ No newline at end of file
--
cgit v1.2.3