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 registerForDeletion(NamespaceId firstNamespace, NamespaceId... additionalNamespaces)
protected static NamespaceId getConfiguredNamespace()
protected void checkSystemServices()
throws TimeoutException,
InterruptedException
TimeoutExceptionInterruptedExceptionprotected co.cask.cdap.security.authentication.client.AccessToken fetchAccessToken() throws IOException, TimeoutException, InterruptedException
AccessToken - this implementation can be overridden if desired.AccessTokenIOExceptionTimeoutException - if a timeout occurs while getting an access tokenInterruptedExceptionprotected co.cask.cdap.security.authentication.client.AccessToken fetchAccessToken(String username, String password) throws IOException, TimeoutException, InterruptedException
protected TestManager getTestManager()
protected TestManager getTestManager(ClientConfig clientConfig, RESTClient restClient)
protected String getInstanceURI()
@Nullable protected co.cask.cdap.security.authentication.client.AccessToken getAccessToken()
protected ClientConfig getClientConfig()
protected ClientConfig getClientConfig(@Nullable co.cask.cdap.security.authentication.client.AccessToken accessToken)
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()
@Deprecated protected Id.Namespace createNamespace(String name) throws Exception
Exception@Deprecated protected ApplicationManager deployApplication(Id.Namespace namespace, Class<? extends Application> applicationClz, File... bundleEmbeddedJars) throws IOException
IOExceptionprotected ApplicationManager deployApplication(NamespaceId namespace, Class<? extends Application> applicationClz, File... bundleEmbeddedJars) throws IOException
IOExceptionprotected ApplicationManager deployApplication(Class<? extends Application> applicationClz) throws IOException
IOExceptionprotected ApplicationManager deployApplication(ApplicationId appId, AppRequest appRequest) throws Exception
Exceptionprotected ArtifactManager addAppArtifact(ArtifactId artifactId, Class<?> appClass) throws Exception
Exceptionprotected ApplicationManager getApplicationManager(ApplicationId applicationId) throws Exception
ExceptionCopyright © 2017 Cask Data, Inc. Licensed under the Apache License, Version 2.0.