From 84c4e7e9a8e29e890959ab7c70b17f6f859d295d Mon Sep 17 00:00:00 2001 From: "Endi S. Dewata" Date: Tue, 22 Apr 2014 14:22:51 -0400 Subject: 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 --- .../dogtagpki/server/tks/rest/TKSApplication.java | 3 +- .../server/tks/rest/TKSInstallerService.java | 32 ++++++++++++++++++++++ 2 files changed, 33 insertions(+), 2 deletions(-) create mode 100644 base/tks/src/org/dogtagpki/server/tks/rest/TKSInstallerService.java (limited to 'base/tks') diff --git a/base/tks/src/org/dogtagpki/server/tks/rest/TKSApplication.java b/base/tks/src/org/dogtagpki/server/tks/rest/TKSApplication.java index f824f9088..20b10ca40 100644 --- a/base/tks/src/org/dogtagpki/server/tks/rest/TKSApplication.java +++ b/base/tks/src/org/dogtagpki/server/tks/rest/TKSApplication.java @@ -13,7 +13,6 @@ import org.dogtagpki.server.rest.GroupService; import org.dogtagpki.server.rest.MessageFormatInterceptor; 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.base.PKIException; @@ -32,7 +31,7 @@ public class TKSApplication extends Application { classes.add(AuditService.class); // installer - classes.add(SystemConfigService.class); + classes.add(TKSInstallerService.class); // selftests classes.add(SelfTestService.class); diff --git a/base/tks/src/org/dogtagpki/server/tks/rest/TKSInstallerService.java b/base/tks/src/org/dogtagpki/server/tks/rest/TKSInstallerService.java new file mode 100644 index 000000000..03dcf9fe7 --- /dev/null +++ b/base/tks/src/org/dogtagpki/server/tks/rest/TKSInstallerService.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.tks.rest; + +import org.dogtagpki.server.rest.SystemConfigService; + +import com.netscape.certsrv.base.EBaseException; + +/** + * @author alee + * + */ +public class TKSInstallerService extends SystemConfigService { + + public TKSInstallerService() throws EBaseException { + } +} -- cgit