public class DataBucketsHelper extends Object
A data bucket is a dir location where all the information about the provisioned infrastructure, created deployment etc. can be stored.
| Modifier and Type | Field and Description |
|---|---|
static String |
DATA_BUCKET_OUTPUT_DIR_NAME |
static String |
DEPL_OUT_FILE |
static String |
INFRA_OUT_FILE |
static String |
TEST_OUT_FILE |
static String |
TESTPLAN_PROPERTIES_FILE |
| Constructor and Description |
|---|
DataBucketsHelper() |
| Modifier and Type | Method and Description |
|---|---|
static Path |
getBuildOutputsDir(TestPlan testPlan)
Get the build outputs dir
|
static Path |
getInputLocation(TestPlan testPlan)
Returns the path of infrastructure inputs (infra-inputs).
|
static Path |
getOutputLocation(TestPlan testPlan)
Returns the path of infrastructure outputs (infra-outputs).
|
static Path |
getTestOutputsLocation(TestPlan testPlan)
Returns the location to where the test outputs should be saved.
|
public static final String DATA_BUCKET_OUTPUT_DIR_NAME
public static final String INFRA_OUT_FILE
public static final String DEPL_OUT_FILE
public static final String TEST_OUT_FILE
public static final String TESTPLAN_PROPERTIES_FILE
public static Path getOutputLocation(TestPlan testPlan)
TESTGRID_HOME/jobs/#name#/builds/#depl_name#_#infra-uuid#_#test-run-num#/data-bucket ex.~/.testgrid/jobs/wso2am/builds/two-node-depl_b158e122-78f8-11e8-adc0-fa7ae01bbebc_10/data-bucket
testPlan - test-planpublic static Path getTestOutputsLocation(TestPlan testPlan)
testPlan - test-planpublic static Path getInputLocation(TestPlan testPlan)
TESTGRID_HOME/jobs/#name#/builds/#depl_name#_#infra-uuid#_#test-run-num#/data-bucket ex.~/.testgrid/jobs/wso2am/builds/two-node-depl_b158e122-78f8-11e8-adc0-fa7ae01bbebc_10/data-bucket
testPlan - testplanCopyright © 2019 WSO2. All rights reserved.