From f1525316829c9189821c8c88cebfe4e688912e4f Mon Sep 17 00:00:00 2001
From: madiot <madiot@localhost>
Date: Wed, 19 Mar 2008 17:59:31 +0000
Subject: [PATCH] implement DSML functional testing for the DSML gateway. - create a tests suite's external dependency directory as "opends/tests/ext". This holds for now externally built bits used for test suites. - dsmlService : in house built STAF service extension to perform DSML result comparaison. - download tomcat webcontainer from ant similarily to other STAF bits - added plumbing to enable the STAF's DSML service and enable the STAF's HTTP service in : - functional-tests.cfg - staf-installer.xml - add create a "dsml" testcase suite - dsml_setup.xml - create instance of directory server - installs a Tomcat webcontainer - deploys DSML gateway - dsml_test.xml - use the HTTP service to post DSML SOAP requests (TESTxyz.dat) - save results as file (TESTxyz.run) and compare the results from reference results (TESTxyz.res) via the dsmlService - dsml_cleanup.xml - stop directory and tomcat server - remove directory and tomcat server - related issue tacker : https://opends.dev.java.net/issues/show_bug.cgi?id=2485 remain to do : ----------------- - SSL - configure Tomcat to support HTTPS requests to the DSML gateway. - include the dsmlService.jar source inside the code repository's refactored build env and remove the locally built dsmlService.jar from opends/tests/ext - verify potential extra work to be done for windows platform
---
opends/tests/functional-tests/staf-installer/config.py.stubs | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/opends/tests/functional-tests/staf-installer/config.py.stubs b/opends/tests/functional-tests/staf-installer/config.py.stubs
index cb68562..8d50af7 100644
--- a/opends/tests/functional-tests/staf-installer/config.py.stubs
+++ b/opends/tests/functional-tests/staf-installer/config.py.stubs
@@ -52,3 +52,13 @@
LOGS_URI = ''
SEND_MAIL_AFTER_TEST_RUN = '${staf.email.send}'
SEND_MAIL_TO = '${staf.email.to}'
+WC_TYPE = 'apache-tomcat'
+WC_VERSION = '6.0.14'
+WC_ZIPPATH = '%s/tests/ext' % OPENDSDIR
+WC_ZIPNAME = '%s-%s.zip' % (WC_TYPE, WC_VERSION)
+WC_DIRECTORY = '%s' % TMPDIR
+WC_PORT = '9000'
+WC_SSL_PORT = '9001'
+WC_HOST = 'localhost'
+DSML_WARNAME = 'OpenDS-1.0.0-DSML.war'
+DSML_WARPATH = '%s/build/package/%s' % (OPENDSDIR, DSML_WARNAME)
--
Gitblit v1.10.0