The name of the Git branch (or some other identifier of the feature being developed)
The name of the Git branch (or some other identifier of the feature being developed)
N.B by default, this will not be used when the environment is prod
The name of the logical environment (e.g.
The name of the logical environment (e.g. dev, prod)
The name of the project/application
The name of the project/application
The uri for the base path
The uri for the base path
Base database name of the form {environment}_{project}_{branch} where environment is the logical environment (e.g.
Base database name of the form {environment}_{project}_{branch} where environment is the logical environment (e.g. dev, test), project is the name of the application and branch is the Git branch
N.B when environment is 'prod', the branch is omitted from the database name as we assume it will always be master
e.g. dev_my_project_feature_abc, prod_my_project
Base path into which the application can write its data Unless overridden, paths will be of the form {uri}/data/{environment}/{project}/{branch} where environment is the logical environment (e.g.
Base path into which the application can write its data Unless overridden, paths will be of the form {uri}/data/{environment}/{project}/{branch} where environment is the logical environment (e.g. dev, test), project is the name of the application and branch is the Git branch
N.B when environment is 'prod', the branch is omitted from the path as we assume it will always be master
e.g. hdfs:///data/dev/my_project/feature_abc, hdfs:///data/prod/my_project
Cleans up the environment
Creates the environment
Whether to create the base database.
Whether to create the base database. If false, only the extraDBs will be created.
Any extra databases to be created in addition to or instead of the base database
Replace any special characters in the given string with underscores
Replace any special characters in the given string with underscores
the name potentially containing special characters
the name with special characters replaced with underscores
Directory in which to write temporary files
Environment which provides databases. By default, there will be a single database of the form {environment}_{project}_{branch} where environment is the logical environment (e.g. dev, test), project is the name of the application and branch is the Git branch
N.B when environment is 'prod', the branch is omitted from the database name as we assume it will always be master
e.g. dev_my_project_feature_abc, prod_my_project