public class SuspendTenantServletAcceptanceTest extends AbstractProvisionerApiServletAsapAcceptanceTest
SuspendTenantServlet
as best we can in an acceptance test.PRODUCT_ACTIVATION, PRODUCT_DEACTIVATION, PRODUCT_UPDATED, SUSPEND_TENANT, TENANT_DESTRUCTED, UNICORN_PRE_MIGRATE, UNICORN_PRE_MIGRATE_CHECKS, UNICORN_REVERSE_MIGRATE, UNSUSPEND_TENANT, VERTIGO_MIGRATE, VERTIGO_MIGRATE_ABORT, VERTIGO_PRE_REVERSE_MIGRATE, VERTIGO_PROVISION, VERTIGO_REVERSE_MIGRATE_ABORTbaseApi, basePath, pageId, resource, rpc, testDescription, testEnvironmentRule, testHelper, testName| Constructor and Description |
|---|
SuspendTenantServletAcceptanceTest() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getServletPath()
Get the servlet path that the subclass wants to test.
|
protected boolean |
isAsynchronous()
Does the servlet return asynchronous responses?
|
void |
testHappyPath() |
testInvalidAudienceAsapHeader, testIssuerKeyMismatchAsapHeader, testNoAsapHeader, testUnauthorizedIssuerAsapHeaderbadJsonReturnsBadRequestStatus, isAsapProtected, makeSynchronousGetWithoutAsap, makeValidProvisionerApiPost, makeValidProvisionerApiPostassertSelfLink, getAsJsonNode, getAsJsonNode, getAuthenticatedWebResourceProvider, getExpandable, getExpandableNode, getLinks, getLinks, getSelfLink, hasExpandable, setUpprotected String getServletPath()
AbstractProvisionerApiServletAcceptanceTestgetServletPath in class AbstractProvisionerApiServletAcceptanceTestprotected boolean isAsynchronous()
AbstractProvisionerApiServletAcceptanceTestisAsynchronous in class AbstractProvisionerApiServletAcceptanceTestpublic void testHappyPath()
throws com.atlassian.asap.api.exception.InvalidTokenException,
URISyntaxException,
com.atlassian.asap.api.exception.CannotRetrieveKeyException,
IOException
com.atlassian.asap.api.exception.InvalidTokenExceptionURISyntaxExceptioncom.atlassian.asap.api.exception.CannotRetrieveKeyExceptionIOExceptionCopyright © 2003–2017 Atlassian. All rights reserved.