Autopsy
4.19.3
Graphical digital forensics platform for The Sleuth Kit and other tools.
|
Public Member Functions | |
EnvConfig (@JsonProperty("rootCaseOutputPath") String rootCaseOutputPath,@JsonProperty("rootTestSuitesPath") String rootTestSuitesPath,@JsonProperty("rootTestOutputPath") String rootTestOutputPath,@JsonProperty("dbConnection") ConnectionConfig dbConnection,@JsonProperty("mqConnection") ConnectionConfig mqConnection,@JsonProperty("solrConnection") ConnectionConfig solrConnection,@JsonProperty("zkConnection") ConnectionConfig zkConnection,@JsonProperty("crConnection") ConnectionConfig crConnection,@JsonProperty("workingDirectory") String workingDirectory,@JsonProperty("useRelativeOutput") Boolean useRelativeOutput,@JsonProperty("rootGoldPath") String rootGoldPath,@JsonProperty("diffOutputPath") String diffOutputPath) | |
ConnectionConfig | getCrConnection () |
ConnectionConfig | getDbConnection () |
String | getDiffOutputPath () |
ConnectionConfig | getMqConnection () |
String | getRootCaseOutputPath () |
String | getRootGoldPath () |
String | getRootTestOutputPath () |
String | getRootTestSuitesPath () |
ConnectionConfig | getSolrConnection () |
boolean | getUseRelativeOutput () |
String | getWorkingDirectory () |
ConnectionConfig | getZkConnection () |
void | setUseRelativeOutput (boolean useRelativeOutput) |
void | setWorkingDirectory (String workingDirectory) |
Private Attributes | |
final ConnectionConfig | crConnection |
final ConnectionConfig | dbConnection |
final String | diffOutputPath |
final ConnectionConfig | mqConnection |
final String | rootCaseOutputPath |
final String | rootGoldPath |
final String | rootTestOutputPath |
final String | rootTestSuitesPath |
final ConnectionConfig | solrConnection |
Boolean | useRelativeOutput |
String | workingDirectory |
final ConnectionConfig | zkConnection |
Defines integration testing environment settings.
Definition at line 29 of file EnvConfig.java.
org.sleuthkit.autopsy.integrationtesting.config.EnvConfig.EnvConfig | ( | @JsonProperty("rootCaseOutputPath") String | rootCaseOutputPath, |
@JsonProperty("rootTestSuitesPath") String | rootTestSuitesPath, | ||
@JsonProperty("rootTestOutputPath") String | rootTestOutputPath, | ||
@JsonProperty("dbConnection") ConnectionConfig | dbConnection, | ||
@JsonProperty("mqConnection") ConnectionConfig | mqConnection, | ||
@JsonProperty("solrConnection") ConnectionConfig | solrConnection, | ||
@JsonProperty("zkConnection") ConnectionConfig | zkConnection, | ||
@JsonProperty("crConnection") ConnectionConfig | crConnection, | ||
@JsonProperty("workingDirectory") String | workingDirectory, | ||
@JsonProperty("useRelativeOutput") Boolean | useRelativeOutput, | ||
@JsonProperty("rootGoldPath") String | rootGoldPath, | ||
@JsonProperty("diffOutputPath") String | diffOutputPath | ||
) |
Main constructor.
rootCaseOutputPath | The location where cases will be created. |
rootTestSuitesPath | The location of test suite configuration file(s). |
rootTestOutputPath | The location where output results should be created. |
dbConnection | The connection information for the database (postgres). |
mqConnection | The active mq connection information. |
solrConnection | The solr connection information. |
zkConnection | The zookeeper connection information. |
crConnection | The central repo connection information. |
workingDirectory | The working directory (if not specified, the parent directory of the EnvConfig file is used. |
useRelativeOutput | If true, results will be outputted maintaining the same relative path structure as the file (i.e. if file was found at /rootTestSuitesPath/folderX/fileY.json then it will now be outputted in /rootTestOutputPath/folderX/fileY/) |
rootGoldPath | The path to the gold data for diff comparison. |
diffOutputPath | The file location for diff output. |
Definition at line 71 of file EnvConfig.java.
ConnectionConfig org.sleuthkit.autopsy.integrationtesting.config.EnvConfig.getCrConnection | ( | ) |
Definition at line 195 of file EnvConfig.java.
Referenced by org.sleuthkit.autopsy.integrationtesting.IntegrationTestService.runIntegrationTests().
ConnectionConfig org.sleuthkit.autopsy.integrationtesting.config.EnvConfig.getDbConnection | ( | ) |
Definition at line 167 of file EnvConfig.java.
Referenced by org.sleuthkit.autopsy.integrationtesting.IntegrationTestService.runIntegrationTests().
String org.sleuthkit.autopsy.integrationtesting.config.EnvConfig.getDiffOutputPath | ( | ) |
Definition at line 209 of file EnvConfig.java.
Referenced by org.sleuthkit.autopsy.integrationtesting.IntegrationTestService.runIntegrationTests().
ConnectionConfig org.sleuthkit.autopsy.integrationtesting.config.EnvConfig.getMqConnection | ( | ) |
Definition at line 174 of file EnvConfig.java.
Referenced by org.sleuthkit.autopsy.integrationtesting.IntegrationTestService.runIntegrationTests().
String org.sleuthkit.autopsy.integrationtesting.config.EnvConfig.getRootCaseOutputPath | ( | ) |
Definition at line 103 of file EnvConfig.java.
String org.sleuthkit.autopsy.integrationtesting.config.EnvConfig.getRootGoldPath | ( | ) |
Definition at line 202 of file EnvConfig.java.
Referenced by org.sleuthkit.autopsy.integrationtesting.IntegrationTestService.runIntegrationTests().
String org.sleuthkit.autopsy.integrationtesting.config.EnvConfig.getRootTestOutputPath | ( | ) |
Definition at line 110 of file EnvConfig.java.
Referenced by org.sleuthkit.autopsy.integrationtesting.IntegrationTestService.runIntegrationTests().
String org.sleuthkit.autopsy.integrationtesting.config.EnvConfig.getRootTestSuitesPath | ( | ) |
Definition at line 138 of file EnvConfig.java.
Referenced by org.sleuthkit.autopsy.integrationtesting.config.ConfigDeserializer.getIntegrationTestConfig().
ConnectionConfig org.sleuthkit.autopsy.integrationtesting.config.EnvConfig.getSolrConnection | ( | ) |
Definition at line 181 of file EnvConfig.java.
Referenced by org.sleuthkit.autopsy.integrationtesting.IntegrationTestService.runIntegrationTests().
boolean org.sleuthkit.autopsy.integrationtesting.config.EnvConfig.getUseRelativeOutput | ( | ) |
Definition at line 148 of file EnvConfig.java.
String org.sleuthkit.autopsy.integrationtesting.config.EnvConfig.getWorkingDirectory | ( | ) |
Definition at line 119 of file EnvConfig.java.
Referenced by org.sleuthkit.autopsy.integrationtesting.config.ConfigDeserializer.getIntegrationTestConfig(), and org.sleuthkit.autopsy.integrationtesting.IntegrationTestService.runIntegrationTests().
ConnectionConfig org.sleuthkit.autopsy.integrationtesting.config.EnvConfig.getZkConnection | ( | ) |
Definition at line 188 of file EnvConfig.java.
Referenced by org.sleuthkit.autopsy.integrationtesting.IntegrationTestService.runIntegrationTests().
void org.sleuthkit.autopsy.integrationtesting.config.EnvConfig.setUseRelativeOutput | ( | boolean | useRelativeOutput | ) |
Sets whether or not to use the relative output path.
useRelativeOutput | If true, results will be outputted maintaining the same relative path structure as the file (i.e. if file was found at /rootTestSuitesPath/folderX/fileY.json then it will now be outputted in /rootTestOutputPath/folderX/fileY/) |
Definition at line 160 of file EnvConfig.java.
void org.sleuthkit.autopsy.integrationtesting.config.EnvConfig.setWorkingDirectory | ( | String | workingDirectory | ) |
Sets the working directory.
workingDirectory | The working directory. In practice, this is the folder that the configuration is located within. Any relative paths will be relative to this. |
Definition at line 130 of file EnvConfig.java.
Referenced by org.sleuthkit.autopsy.integrationtesting.config.ConfigDeserializer.validate().
|
private |
Definition at line 41 of file EnvConfig.java.
|
private |
Definition at line 37 of file EnvConfig.java.
|
private |
Definition at line 35 of file EnvConfig.java.
|
private |
Definition at line 38 of file EnvConfig.java.
|
private |
Definition at line 31 of file EnvConfig.java.
|
private |
Definition at line 34 of file EnvConfig.java.
|
private |
Definition at line 32 of file EnvConfig.java.
|
private |
Definition at line 33 of file EnvConfig.java.
|
private |
Definition at line 39 of file EnvConfig.java.
|
private |
Definition at line 44 of file EnvConfig.java.
|
private |
Definition at line 43 of file EnvConfig.java.
|
private |
Definition at line 40 of file EnvConfig.java.
Copyright © 2012-2022 Basis Technology. Generated on: Fri Mar 24 2023
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.