summaryrefslogtreecommitdiffstats
path: root/base/tks
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2014-04-22 14:22:51 -0400
committerEndi S. Dewata <edewata@redhat.com>2014-04-25 18:58:30 -0400
commit84c4e7e9a8e29e890959ab7c70b17f6f859d295d (patch)
tree410ef9f9da99f49de57736ef6afd1e38c88d452b /base/tks
parentf28a2010262a39f3702e681c69133b72a06bce78 (diff)
downloadpki-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/tks')
-rw-r--r--base/tks/src/org/dogtagpki/server/tks/rest/TKSApplication.java3
-rw-r--r--base/tks/src/org/dogtagpki/server/tks/rest/TKSInstallerService.java32
2 files changed, 33 insertions, 2 deletions
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 {
+ }
+}