-
Notifications
You must be signed in to change notification settings - Fork 139
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The pki group command has been replaced with pki <subsystem>-group, so it has been deprecated by adding a deprecated ProxyGroupCLI class. https://pagure.io/dogtagpki/issue/2536 Change-Id: Iebdef91d47c758a34e817b5379fa8f980e518862
- Loading branch information
Showing
2 changed files
with
40 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
38 changes: 38 additions & 0 deletions
38
base/java-tools/src/com/netscape/cmstools/group/ProxyGroupCLI.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
// --- 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) 2018 Red Hat, Inc. | ||
// All rights reserved. | ||
// --- END COPYRIGHT BLOCK --- | ||
|
||
package com.netscape.cmstools.group; | ||
|
||
import com.netscape.cmstools.cli.CLI; | ||
import com.netscape.cmstools.cli.ProxyCLI; | ||
|
||
/** | ||
* @deprecated pki group has been deprecated. Use pki <subsystem>-group instead. | ||
*/ | ||
@Deprecated | ||
public class ProxyGroupCLI extends ProxyCLI { | ||
|
||
public ProxyGroupCLI(CLI parent) { | ||
super(new GroupCLI(parent), "ca"); | ||
} | ||
|
||
public void execute(String[] args) throws Exception { | ||
System.err.println("WARNING: pki group has been deprecated. Use pki <subsystem>-group instead."); | ||
super.execute(args); | ||
} | ||
} |