summaryrefslogtreecommitdiffstats
path: root/specs
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2014-02-25 12:01:55 -0500
committerEndi S. Dewata <edewata@redhat.com>2014-03-07 22:50:31 -0500
commitb944d31ef744a220f176bf7143e727223ad6b3b1 (patch)
tree845e86128c25df494e7b5a6bd378f8074f423423 /specs
parent60134cccd26eb872636427afe3fe1c07a253627f (diff)
downloadpki-b944d31ef744a220f176bf7143e727223ad6b3b1.tar.gz
pki-b944d31ef744a220f176bf7143e727223ad6b3b1.tar.xz
pki-b944d31ef744a220f176bf7143e727223ad6b3b1.zip
Direct deployment for TPS.
The deployment tool has been modified to deploy TPS directly from the share folder. This way the TPS UI can be upgraded automatically with RPM upgrade without having to write upgrade scripts. For this to work, the TPS web application files cannot contain any slot parameters. So, the cfgPath parameter has been removed from web.xml, and the CMSStartServlet has been modified such that if the parameter is missing it would generate a default path matching the original value in web.xml. Also, the velocity.properties has been modified to use a fixed value for the file.resource.loader.path parameter pointing to the share folder. In the future other subsystems may be modified to use the same deployment mechanism. Ticket #748, #752, #499
Diffstat (limited to 'specs')
-rw-r--r--specs/pki-core.spec10
1 files changed, 10 insertions, 0 deletions
diff --git a/specs/pki-core.spec b/specs/pki-core.spec
index bdfea138a..6e10ac0e3 100644
--- a/specs/pki-core.spec
+++ b/specs/pki-core.spec
@@ -523,6 +523,16 @@ cd build
cd build
%{__make} install DESTDIR=%{buildroot} INSTALL="install -p"
+# Create symlinks for TPS web application
+%{__mkdir_p} %{buildroot}%{_datadir}/pki/tps/webapps/tps/WEB-INF/lib
+ln -s %{_javadir}/pki/pki-nsutil.jar %{buildroot}%{_datadir}/pki/tps/webapps/tps/WEB-INF/lib
+ln -s %{_javadir}/pki/pki-cmsutil.jar %{buildroot}%{_datadir}/pki/tps/webapps/tps/WEB-INF/lib
+ln -s %{_javadir}/pki/pki-certsrv.jar %{buildroot}%{_datadir}/pki/tps/webapps/tps/WEB-INF/lib
+ln -s %{_javadir}/pki/pki-cms.jar %{buildroot}%{_datadir}/pki/tps/webapps/tps/WEB-INF/lib
+ln -s %{_javadir}/pki/pki-cmscore.jar %{buildroot}%{_datadir}/pki/tps/webapps/tps/WEB-INF/lib
+ln -s %{_javadir}/pki/pki-cmsbundle.jar %{buildroot}%{_datadir}/pki/tps/webapps/tps/WEB-INF/lib
+ln -s %{_javadir}/pki/pki-tps.jar %{buildroot}%{_datadir}/pki/tps/webapps/tps/WEB-INF/lib
+
%if %{with server}
# Scanning the python code with pylint. A return value of 0 represents there are no