You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by je...@apache.org on 2018/11/27 14:16:46 UTC
[geode] branch develop updated: GEODE-5971: Refactor Describe/List JNDI binding command to extend Gfs… (#2888)
This is an automated email from the ASF dual-hosted git repository.
jensdeppe pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/geode.git
The following commit(s) were added to refs/heads/develop by this push:
new c856ea1 GEODE-5971: Refactor Describe/List JNDI binding command to extend Gfs… (#2888)
c856ea1 is described below
commit c856ea1ed5b504123f3a1d7568d6fa92e9e22a98
Author: Jens Deppe <jd...@pivotal.io>
AuthorDate: Tue Nov 27 06:16:37 2018 -0800
GEODE-5971: Refactor Describe/List JNDI binding command to extend Gfs… (#2888)
---
.../management/internal/cli/commands/DescribeJndiBindingCommand.java | 3 ++-
.../geode/management/internal/cli/commands/ListJndiBindingCommand.java | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/geode-core/src/main/java/org/apache/geode/management/internal/cli/commands/DescribeJndiBindingCommand.java b/geode-core/src/main/java/org/apache/geode/management/internal/cli/commands/DescribeJndiBindingCommand.java
index 80ab419..0f83ad9 100644
--- a/geode-core/src/main/java/org/apache/geode/management/internal/cli/commands/DescribeJndiBindingCommand.java
+++ b/geode-core/src/main/java/org/apache/geode/management/internal/cli/commands/DescribeJndiBindingCommand.java
@@ -27,13 +27,14 @@ import org.apache.geode.cache.execute.Function;
import org.apache.geode.distributed.internal.InternalConfigurationPersistenceService;
import org.apache.geode.internal.logging.LogService;
import org.apache.geode.management.cli.CliMetaData;
+import org.apache.geode.management.cli.GfshCommand;
import org.apache.geode.management.internal.cli.functions.ListJndiBindingFunction;
import org.apache.geode.management.internal.cli.result.model.ResultModel;
import org.apache.geode.management.internal.cli.result.model.TabularResultModel;
import org.apache.geode.management.internal.security.ResourceOperation;
import org.apache.geode.security.ResourcePermission;
-public class DescribeJndiBindingCommand extends InternalGfshCommand {
+public class DescribeJndiBindingCommand extends GfshCommand {
public static final String JNDI_PROPERTIES_SECTION = "jndi-properties";
private static final Logger logger = LogService.getLogger();
static final String DESCRIBE_JNDI_BINDING = "describe jndi-binding";
diff --git a/geode-core/src/main/java/org/apache/geode/management/internal/cli/commands/ListJndiBindingCommand.java b/geode-core/src/main/java/org/apache/geode/management/internal/cli/commands/ListJndiBindingCommand.java
index e6a1a81..d61991a 100644
--- a/geode-core/src/main/java/org/apache/geode/management/internal/cli/commands/ListJndiBindingCommand.java
+++ b/geode-core/src/main/java/org/apache/geode/management/internal/cli/commands/ListJndiBindingCommand.java
@@ -28,6 +28,7 @@ import org.apache.geode.cache.execute.Function;
import org.apache.geode.distributed.DistributedMember;
import org.apache.geode.distributed.internal.InternalConfigurationPersistenceService;
import org.apache.geode.internal.logging.LogService;
+import org.apache.geode.management.cli.GfshCommand;
import org.apache.geode.management.internal.cli.functions.CliFunctionResult;
import org.apache.geode.management.internal.cli.functions.ListJndiBindingFunction;
import org.apache.geode.management.internal.cli.result.model.ResultModel;
@@ -35,7 +36,7 @@ import org.apache.geode.management.internal.cli.result.model.TabularResultModel;
import org.apache.geode.management.internal.security.ResourceOperation;
import org.apache.geode.security.ResourcePermission;
-public class ListJndiBindingCommand extends InternalGfshCommand {
+public class ListJndiBindingCommand extends GfshCommand {
private static final Logger logger = LogService.getLogger();
public static final String LIST_JNDIBINDING = "list jndi-binding";