| Package | Description |
|---|---|
| org.wso2.testgrid.common | |
| org.wso2.testgrid.common.config | |
| org.wso2.testgrid.common.util |
| Modifier and Type | Method and Description |
|---|---|
TestPlan |
TestPlan.clone() |
TestPlan |
TestScenario.getTestPlan()
Returns the test plan associated with this test scenario.
|
| Modifier and Type | Method and Description |
|---|---|
List<TestPlan> |
DeploymentPattern.getTestPlans()
Returns the test plans associated with.
|
| Modifier and Type | Method and Description |
|---|---|
void |
DeploymentPattern.addTestPlan(TestPlan testPlan)
Adds a test plan to the test plans list.
|
void |
InfrastructureProvider.cleanup(TestPlan testPlan)
This method can be used to cleanup any additional infrastructure provided.
|
DeploymentCreationResult |
Deployer.deploy(TestPlan testPlan,
InfrastructureProvisionResult infrastructureProvisionResult)
Runs deploy.sh script and deploys artifacts in the provided infrastructure.
|
void |
InfrastructureProvider.init(TestPlan testPlan)
This method can be used to initialize the infrastructure provider.
|
InfrastructureProvisionResult |
InfrastructureProvider.provision(TestPlan testPlan,
Script script)
This method creates the necessary infrastructureConfig using the provided configuration.
|
boolean |
InfrastructureProvider.release(InfrastructureConfig infrastructureConfig,
String infraRepoDir,
TestPlan testPlan,
Script script)
This method executes commands needed to remove the infrastructure.
|
void |
TestScenario.setTestPlan(TestPlan testPlan)
Sets the test plan associated with this test scenario.
|
| Modifier and Type | Method and Description |
|---|---|
void |
DeploymentPattern.setTestPlans(List<TestPlan> testPlans)
Sets the test plans associated with.
|
| Modifier and Type | Class and Description |
|---|---|
class |
TestgridYaml
Represents the object model of testgrid.yaml config
file.
|
| Modifier and Type | Method and Description |
|---|---|
TestPlan |
ScenarioConfig.getTestPlan() |
| Modifier and Type | Method and Description |
|---|---|
void |
ScenarioConfig.setTestPlan(TestPlan testPlan) |
| Modifier and Type | Method and Description |
|---|---|
static TestPlan |
TestGridUtil.mergeTestPlans(TestPlan testPlanConfig,
TestPlan testPlanPersisted,
boolean addToConfigYaml)
Copies non existing properties from a persisted test plan to a test plan object generated from the config.
|
static TestPlan |
TestGridUtil.toTestPlanEntity(DeploymentPattern deploymentPattern,
TestPlan testPlan)
This method generates TestPlan object model that from the given input parameters.
|
static TestPlan |
TestGridUtil.updateFinalTestPlanPhase(TestPlan testPlan) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
S3StorageUtil.deleteTestPlan(TestPlan testPlan)
This method delete the log files for a given test plan in S3
|
static String |
TestGridUtil.deriveLogDownloadLocation(TestPlan testPlan)
Returns the path of the directory where log files will be downloaded.
|
static String |
S3StorageUtil.deriveS3DeploymentOutputsDir(TestPlan testPlan,
ArtifactReadable awsArtifactReader)
Returns the path for deployment-outputs for a given test-plan
|
static String |
S3StorageUtil.deriveS3ScenarioArchiveFileDir(TestPlan testPlan,
String scenarioDir,
ArtifactReadable awsArtifactReader)
Returns the scenario-archive file path in S3 for a scenario of a test-plan.
|
static String |
S3StorageUtil.deriveS3ScenarioOutputsFilePath(TestPlan testPlan,
ArtifactReadable artifactReadable)
Returns the path to output.properties generated during scenario execution.
|
static String |
S3StorageUtil.deriveS3TestPlanDirPath(TestPlan testPlan,
ArtifactReadable awsArtifactReader)
Returns the test-plan directory path in S3 for the test-plan.
|
static String |
S3StorageUtil.deriveS3TestsResultsArchivePath(TestPlan testPlan,
ArtifactReadable awsArtifactReader)
Returns the test results archive file path in S3 of a test-plan.
|
static String |
TestGridUtil.deriveTestPlanDirName(TestPlan testPlan)
Deprecated.
|
static String |
TestGridUtil.deriveTestPlanId(TestPlan testPlan,
InfrastructureCombination infraCombination,
DeploymentPattern deploymentPattern)
Returns the test-plan id based on the test-plan and the properties relevant to it.
|
static String |
TestGridUtil.deriveTestRunLogFilePath(TestPlan testPlan,
Boolean truncated)
Returns the path of the test-run log file.
|
static Path |
DataBucketsHelper.getBuildOutputsDir(TestPlan testPlan)
Get the build outputs dir
|
static String |
TestGridUtil.getDashboardURLFor(TestPlan testPlan)
Generate the Dashboard URL for the given test plan
|
static String |
TestGridUtil.getDeploymentPatternName(TestPlan testPlan)
Return the deployment pattern name under the DeploymentConfig of a
TestPlan. |
static List<InfrastructureParameter> |
TestGridUtil.getInfraParamsOfTestPlan(Set<InfrastructureValueSet> valueSets,
TestPlan testPlan)
Read the infra params from the infrastructure_parameter db table, and return
the list of infra params used in the given test plan.
|
static Path |
DataBucketsHelper.getInputLocation(TestPlan testPlan)
Returns the path of infrastructure inputs (infra-inputs).
|
static Path |
DataBucketsHelper.getOutputLocation(TestPlan testPlan)
Returns the path of infrastructure outputs (infra-outputs).
|
static String |
S3StorageUtil.getS3LocationForTestRunLogFile(TestPlan testPlan,
Boolean truncated,
ArtifactReadable awsArtifactReader)
Returns the path of the test-run log file in S3 bucket.
|
static Path |
TestGridUtil.getSurefireReportsDir(TestPlan testPlan)
Returns the absolute path of the integration test log file.
|
static Path |
DataBucketsHelper.getTestOutputsLocation(TestPlan testPlan)
Returns the location to where the test outputs should be saved.
|
static boolean |
TestGridUtil.isDebugMode(TestPlan testPlan)
Checks whether debug mode is enabled for this test plan or not.
|
static TestPlan |
TestGridUtil.mergeTestPlans(TestPlan testPlanConfig,
TestPlan testPlanPersisted,
boolean addToConfigYaml)
Copies non existing properties from a persisted test plan to a test plan object generated from the config.
|
static TestPlan |
TestGridUtil.toTestPlanEntity(DeploymentPattern deploymentPattern,
TestPlan testPlan)
This method generates TestPlan object model that from the given input parameters.
|
static TestPlan |
TestGridUtil.updateFinalTestPlanPhase(TestPlan testPlan) |
Copyright © 2019 WSO2. All rights reserved.