public class WebApplicationConfig extends MetaDataConfiguration
IS_A_MANDATORY_PARAMETER, jettyConfig
Constructor and Description |
---|
WebApplicationConfig(List<MongoDbNode> mongoDbNodes,
String dbName,
String clusterName,
List<ElasticsearchNode> elasticsearchNodes)
Default constructor (keep it ?)
|
getClusterName, getElasticsearchNodes, setClusterName, setElasticsearchNodes
getAdminBasicAuth, getDbName, getDbPassword, getDbUserName, getMongoDbNodes, isDbAuthentication, setAdminBasicAuth, setDbAuthentication, setDbName, setDbPassword, setDbUserName, setMongoDbNodes
getJettyConfig, isAuthentication, isTenantFilter, setAuthentication, setJettyConfig, setTenantFilter
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getJettyConfig, isAuthentication, isTenantFilter, setAuthentication, setJettyConfig, setTenantFilter
public WebApplicationConfig(List<MongoDbNode> mongoDbNodes, String dbName, String clusterName, List<ElasticsearchNode> elasticsearchNodes)
mongoDbNodes
- nodes mongoDbdbName
- mongoDb nameclusterName
- elastic search cluster nameelasticsearchNodes
- nodes elastic searchpublic String getBaseUrl()
public WebApplicationConfig setBaseUrl(String baseUrl)
baseUrl
- the base urlpublic String getBaseUri()
public WebApplicationConfig setBaseUri(String baseUri)
public String getStaticContent()
public WebApplicationConfig setStaticContent(String staticContent)
staticContent
- static content from serverpublic boolean isSecure()
public void setSecure(boolean secure)
secure
- the secure access valuepublic String getSipDirectory()
public void setSipDirectory(String sipDirectory)
sipDirectory
- the directory path that contains SIPs ready for uploadpublic String getServerHost()
public void setServerHost(String serverHost)
serverHost
- the server hostpublic int getPort()
public void setPort(int port)
port
- the port numberpublic String getMasterdataDbName()
public void setMasterdataDbName(String masterdataDbName)
masterdataDbName
- masterdata database namepublic String getLogbookDbName()
public void setLogbookDbName(String logbookDbName)
logbookDbName
- logbook database namepublic String getMetadataDbName()
public void setMetadataDbName(String metadataDbName)
metadataDbName
- metadata database namepublic String getTestSystemSipDirectory()
public void setTestSystemSipDirectory(String testSystemSipDirectory)
testSystemSipDirectory
- folder to store integration testpublic String getTestSystemReportDirectory()
public void setTestSystemReportDirectory(String testSystemReportDirectory)
testSystemReportDirectory
- folder to store report of system testpublic String getPerformanceReportDirectory()
public void setPerformanceReportDirectory(String performanceReportDirectory)
performanceReportDirectory
- performance report directorypublic int getIngestMaxThread()
public void setIngestMaxThread(int ingestMaxThread)
Copyright © 2018 Vitam. All rights reserved.