summaryrefslogtreecommitdiffstats
path: root/base/tks/shared
diff options
context:
space:
mode:
authorAde Lee <alee@redhat.com>2013-03-18 11:29:52 -0400
committerAde Lee <alee@redhat.com>2013-03-21 12:11:31 -0400
commitc9a081037aa5bf15cf6226f06ea54ea98deba5bc (patch)
treeba095458c940b4db7923719ce6cf6e14a2c1da8e /base/tks/shared
parent22d50cc526c7fd4224a4d5a0ae9ebf66afd8e83a (diff)
downloadpki-c9a081037aa5bf15cf6226f06ea54ea98deba5bc.tar.gz
pki-c9a081037aa5bf15cf6226f06ea54ea98deba5bc.tar.xz
pki-c9a081037aa5bf15cf6226f06ea54ea98deba5bc.zip
Refactor installation code to remove dependency on jython
Connection is now made to the installation servlet through a python client using JSON. The code to construct the ConfgurationRequest and parse the results has been moved to pkihelper.py, and configuration.py no longer calls a separate jython process to create the Configuration object and parse the results. The jython code has therefore been removed. Also added status servlet to other java subsystems, to be tested prior to starting configuration. Trac Ticket 532
Diffstat (limited to 'base/tks/shared')
-rw-r--r--base/tks/shared/webapps/tks/WEB-INF/web.xml16
1 files changed, 16 insertions, 0 deletions
diff --git a/base/tks/shared/webapps/tks/WEB-INF/web.xml b/base/tks/shared/webapps/tks/WEB-INF/web.xml
index 7cfb24b15..bc1685ddb 100644
--- a/base/tks/shared/webapps/tks/WEB-INF/web.xml
+++ b/base/tks/shared/webapps/tks/WEB-INF/web.xml
@@ -263,6 +263,17 @@
<param-value> certServer.clone.configuration.GetConfigEntries </param-value> </init-param>
</servlet>
+ <servlet>
+ <servlet-name> tksGetStatus </servlet-name>
+ <servlet-class> com.netscape.cms.servlet.csadmin.GetStatus </servlet-class>
+ <init-param><param-name> GetClientCert </param-name>
+ <param-value> false </param-value> </init-param>
+ <init-param><param-name> authority </param-name>
+ <param-value> tks </param-value> </init-param>
+ <init-param><param-name> ID </param-name>
+ <param-value> tksGetStatus </param-value> </init-param>
+ </servlet>
+
<listener>
<listener-class> org.jboss.resteasy.plugins.server.servlet.ResteasyBootstrap </listener-class>
</listener>
@@ -391,6 +402,11 @@
<url-pattern> /admin/console/config/savepkcs12 </url-pattern>
</servlet-mapping>
+ <servlet-mapping>
+ <servlet-name> tksGetStatus </servlet-name>
+ <url-pattern> /admin/tks/getStatus </url-pattern>
+ </servlet-mapping>
+
<!-- ==================== Default Session Configuration =============== -->
<!-- You can set the default session timeout (in minutes) for all newly -->
<!-- created sessions by modifying the value below. -->