public class BasicCustomConnectorTestCases extends Object
| Modifier and Type | Field and Description |
|---|---|
protected com.amazonaws.services.appflow.AmazonAppflow |
appflow |
protected TestConfiguration |
configuration |
protected RequestProvider |
requestProvider |
protected ResourceInfoProvider |
resourceInfoProvider |
protected S3Helper |
s3Helper |
| Constructor and Description |
|---|
BasicCustomConnectorTestCases() |
| Modifier and Type | Method and Description |
|---|---|
void |
setUp(org.testng.ITestContext iTestContext) |
void |
testCreateConnectorProfile(CustomConnectorProfileConfiguration configuration)
Test case that creates a connector profile.
|
void |
testDescribeConnectorEntity(DescribeConnectorEntityTestConfiguration configuration)
Test case that lists entities, and validates specific entities against a test file the user provides.
|
void |
testDestinationFlowExecutionOnDemand(OnDemandFromS3TestConfiguration configuration)
Test case that executes a flow and polls the flow until completion.
|
void |
testListConnectorEntities(ListConnectorEntitiesTestConfiguration configuration)
Test case that lists entities, and validates specific entities against a test file the user provides.
|
void |
testRegisterConnector(CustomConnectorConfiguration configuration)
Test case that creates a connector, describes the connector and validates the description against a provided response.
|
void |
testSourceFlowExecutionOnDemand(OnDemandToS3TestConfiguration configuration)
Test case that executes a flow and polls the flow until completion.
|
protected ResourceInfoProvider resourceInfoProvider
protected RequestProvider requestProvider
protected com.amazonaws.services.appflow.AmazonAppflow appflow
protected S3Helper s3Helper
protected TestConfiguration configuration
@BeforeClass public void setUp(org.testng.ITestContext iTestContext)
public void testRegisterConnector(CustomConnectorConfiguration configuration)
configuration - refer to sample-test-config.jsonpublic void testCreateConnectorProfile(CustomConnectorProfileConfiguration configuration)
configuration - refer to sample-test-config.jsonpublic void testListConnectorEntities(ListConnectorEntitiesTestConfiguration configuration)
configuration - refer to sample-test-config.jsonpublic void testDescribeConnectorEntity(DescribeConnectorEntityTestConfiguration configuration)
configuration - refer to sample-test-config.jsonpublic void testSourceFlowExecutionOnDemand(OnDemandToS3TestConfiguration configuration)
configuration - refer to sample-test-config.jsonpublic void testDestinationFlowExecutionOnDemand(OnDemandFromS3TestConfiguration configuration) throws IOException, ClassNotFoundException, InstantiationException, IllegalAccessException
configuration - refer to sample-test-config.jsonIOExceptionClassNotFoundExceptionInstantiationExceptionIllegalAccessExceptionCopyright © 2021–2022 Amazon Web Services. All rights reserved.