public abstract class IntegrationTestBase extends Object
| Modifier and Type | Field and Description |
|---|---|
static org.junit.rules.TemporaryFolder |
TEMP_FOLDER |
| Constructor and Description |
|---|
IntegrationTestBase() |
protected void checkSystemServices()
throws TimeoutException
TimeoutExceptionprotected co.cask.cdap.security.authentication.client.AccessToken fetchAccessToken() throws IOException, TimeoutException
AccessToken - this implementation can be overridden if desired.AccessTokenIOExceptionTimeoutException - if a timeout occurs while getting an access tokenprotected TestManager getTestManager()
protected String getInstanceURI()
public co.cask.cdap.security.authentication.client.AccessToken getAccessToken()
protected ClientConfig getClientConfig()
protected RESTClient getRestClient()
protected MetaClient getMetaClient()
protected NamespaceClient getNamespaceClient()
protected MetricsClient getMetricsClient()
protected MonitorClient getMonitorClient()
protected ApplicationClient getApplicationClient()
protected ProgramClient getProgramClient()
protected StreamClient getStreamClient()
protected DatasetClient getDatasetClient()
protected Id.Namespace createNamespace(String name) throws Exception
Exceptionprotected ApplicationManager deployApplication(Id.Namespace namespace, Class<? extends Application> applicationClz, File... bundleEmbeddedJars) throws IOException
IOExceptionprotected ApplicationManager deployApplication(Class<? extends Application> applicationClz) throws IOException
IOExceptionprotected ApplicationManager getApplicationManager(Id.Application appId) throws Exception
ExceptionCopyright © 2016 Cask Data, Inc. Licensed under the Apache License, Version 2.0.