public class TestRESTApiClusterManager extends Object
Modifier and Type | Field and Description |
---|---|
private ClusterManager |
clusterManager |
static MockHttpApiRule |
mockHttpApi |
private static HBaseCommonTestingUtility |
testingUtility |
org.junit.rules.TestName |
testName |
static HBaseClassTestRule |
testRule |
Constructor and Description |
---|
TestRESTApiClusterManager() |
Modifier and Type | Method and Description |
---|---|
void |
before() |
static void |
beforeClass() |
private static void |
configureClusterManager(org.apache.hadoop.conf.Configuration conf) |
void |
isRunningPositive() |
private static void |
registerHost(String hostName,
String hostId) |
private static void |
registerHostProperties(String clusterName,
String serviceName,
String hostId,
ClusterManager.ServiceType serviceType,
Map<String,String> properties) |
private static void |
registerServiceName(String clusterName,
RESTApiClusterManager.Service service,
String serviceName) |
public static final HBaseClassTestRule testRule
public static MockHttpApiRule mockHttpApi
public final org.junit.rules.TestName testName
private static HBaseCommonTestingUtility testingUtility
private ClusterManager clusterManager
public TestRESTApiClusterManager()
public static void beforeClass()
public void before()
public void isRunningPositive() throws IOException
IOException
private static void configureClusterManager(org.apache.hadoop.conf.Configuration conf)
private static void registerServiceName(String clusterName, RESTApiClusterManager.Service service, String serviceName)
private static void registerHost(String hostName, String hostId)
private static void registerHostProperties(String clusterName, String serviceName, String hostId, ClusterManager.ServiceType serviceType, Map<String,String> properties)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.