diff options
author | Ade Lee <alee@redhat.com> | 2013-03-18 11:29:52 -0400 |
---|---|---|
committer | Ade Lee <alee@redhat.com> | 2013-03-21 12:11:31 -0400 |
commit | c9a081037aa5bf15cf6226f06ea54ea98deba5bc (patch) | |
tree | ba095458c940b4db7923719ce6cf6e14a2c1da8e /base/tks | |
parent | 22d50cc526c7fd4224a4d5a0ae9ebf66afd8e83a (diff) | |
download | pki-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')
-rw-r--r-- | base/tks/shared/webapps/tks/WEB-INF/web.xml | 16 |
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. --> |