diff options
author | Endi S. Dewata <edewata@redhat.com> | 2014-04-22 14:22:51 -0400 |
---|---|---|
committer | Endi S. Dewata <edewata@redhat.com> | 2014-04-25 18:58:30 -0400 |
commit | 84c4e7e9a8e29e890959ab7c70b17f6f859d295d (patch) | |
tree | 410ef9f9da99f49de57736ef6afd1e38c88d452b /base/kra | |
parent | f28a2010262a39f3702e681c69133b72a06bce78 (diff) | |
download | pki-84c4e7e9a8e29e890959ab7c70b17f6f859d295d.tar.gz pki-84c4e7e9a8e29e890959ab7c70b17f6f859d295d.tar.xz pki-84c4e7e9a8e29e890959ab7c70b17f6f859d295d.zip |
Refactored SystemConfigService (part 9).
New subclasses of SystemConfigService have been added for each
subsystem to replace the base installer. Initially these classes
are blank, so they are identical to the base class. Later they will
store subsystem-specific installation code.
Ticket #890
Diffstat (limited to 'base/kra')
-rw-r--r-- | base/kra/src/org/dogtagpki/server/kra/rest/KRAApplication.java | 3 | ||||
-rw-r--r-- | base/kra/src/org/dogtagpki/server/kra/rest/KRAInstallerService.java | 32 |
2 files changed, 33 insertions, 2 deletions
diff --git a/base/kra/src/org/dogtagpki/server/kra/rest/KRAApplication.java b/base/kra/src/org/dogtagpki/server/kra/rest/KRAApplication.java index c8dc553e2..4f598cb99 100644 --- a/base/kra/src/org/dogtagpki/server/kra/rest/KRAApplication.java +++ b/base/kra/src/org/dogtagpki/server/kra/rest/KRAApplication.java @@ -14,7 +14,6 @@ import org.dogtagpki.server.rest.MessageFormatInterceptor; import org.dogtagpki.server.rest.SecurityDomainService; import org.dogtagpki.server.rest.SelfTestService; import org.dogtagpki.server.rest.SystemCertService; -import org.dogtagpki.server.rest.SystemConfigService; import org.dogtagpki.server.rest.UserService; import com.netscape.certsrv.apps.CMS; @@ -36,7 +35,7 @@ public class KRAApplication extends Application { classes.add(AuditService.class); // installer - classes.add(SystemConfigService.class); + classes.add(KRAInstallerService.class); // security domain IConfigStore cs = CMS.getConfigStore(); diff --git a/base/kra/src/org/dogtagpki/server/kra/rest/KRAInstallerService.java b/base/kra/src/org/dogtagpki/server/kra/rest/KRAInstallerService.java new file mode 100644 index 000000000..755a61e35 --- /dev/null +++ b/base/kra/src/org/dogtagpki/server/kra/rest/KRAInstallerService.java @@ -0,0 +1,32 @@ +// --- BEGIN COPYRIGHT BLOCK --- +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +// +// (C) 2014 Red Hat, Inc. +// All rights reserved. +// --- END COPYRIGHT BLOCK --- +package org.dogtagpki.server.kra.rest; + +import org.dogtagpki.server.rest.SystemConfigService; + +import com.netscape.certsrv.base.EBaseException; + +/** + * @author alee + * + */ +public class KRAInstallerService extends SystemConfigService { + + public KRAInstallerService() throws EBaseException { + } +} |