Class AdminManagementConfiguration
- java.lang.Object
-
- fr.gouv.vitam.common.server.application.configuration.DefaultVitamApplicationConfiguration
-
- fr.gouv.vitam.common.server.application.configuration.DbConfigurationImpl
-
- fr.gouv.vitam.functional.administration.common.config.AdminManagementConfiguration
-
- All Implemented Interfaces:
DbConfiguration
,VitamApplicationConfiguration
,VitamApplicationConfigurationInterface
public class AdminManagementConfiguration extends DbConfigurationImpl
AdminManagementConfiguration inherated from DbConfigurationImpl
-
-
Field Summary
-
Fields inherited from class fr.gouv.vitam.common.server.application.configuration.DefaultVitamApplicationConfiguration
IS_A_MANDATORY_PARAMETER, jettyConfig
-
-
Constructor Summary
Constructors Constructor Description AdminManagementConfiguration(java.util.List<MongoDbNode> mongoDbNodes, java.lang.String dbName, boolean dbAuthentication, java.lang.String dbUserName, java.lang.String dbPassword, FunctionalAdminIndexationConfiguration indexationConfiguration)
AdminManagementConfiguration(java.util.List<MongoDbNode> mongoDbNodes, java.lang.String dbName, FunctionalAdminIndexationConfiguration indexationConfiguration)
AdminManagementConfiguration(java.util.List<MongoDbNode> mongoDbNodes, java.lang.String dbName, java.lang.String clusterName, java.util.List<ElasticsearchNode> elasticsearchNodes)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Integer
getAccessionRegisterSymbolicThreadPoolSize()
java.lang.String
getClusterName()
java.util.List<ElasticsearchNode>
getElasticsearchNodes()
FunctionalAdminIndexationConfiguration
getIndexationConfiguration()
java.util.Map<java.lang.Integer,java.util.List<java.lang.String>>
getListEnableExternalIdentifiers()
java.util.Map<java.lang.Integer,java.util.Map<java.lang.String,java.lang.String>>
getListMinimumRuleDuration()
java.lang.String
getProcessingUrl()
java.lang.Integer
getRuleAuditThreadPoolSize()
java.lang.String
getWorkspaceUrl()
AdminManagementConfiguration
setAccessionRegisterSymbolicThreadPoolSize(java.lang.Integer accessionRegisterSymbolicThreadPoolSize)
AdminManagementConfiguration
setClusterName(java.lang.String clusterName)
AdminManagementConfiguration
setElasticsearchNodes(java.util.List<ElasticsearchNode> elasticsearchNodes)
AdminManagementConfiguration
setIndexationConfiguration(FunctionalAdminIndexationConfiguration indexationConfiguration)
void
setListEnableExternalIdentifiers(java.util.Map<java.lang.Integer,java.util.List<java.lang.String>> listEnableExternalIdentifiers)
Setter for listEnableExternalIdentifiers;AdminManagementConfiguration
setListMinimumRuleDuration(java.util.Map<java.lang.Integer,java.util.Map<java.lang.String,java.lang.String>> listMinimumRuleDuration)
void
setProcessingUrl(java.lang.String processingUrl)
void
setRuleAuditThreadPoolSize(java.lang.Integer ruleAuditThreadPoolSize)
void
setWorkspaceUrl(java.lang.String workspaceUrl)
-
Methods inherited from class fr.gouv.vitam.common.server.application.configuration.DbConfigurationImpl
getDbName, getDbPassword, getDbUserName, getMongoDbNodes, isDbAuthentication, setDbAuthentication, setDbName, setDbPassword, setDbUserName, setMongoDbNodes
-
Methods inherited from class fr.gouv.vitam.common.server.application.configuration.DefaultVitamApplicationConfiguration
getAdminBasicAuth, getJettyConfig, isAuthentication, isAuthorizeTrackTotalHits, isEnableSession, isEnableXsrFilter, isTenantFilter, setAdminBasicAuth, setAuthentication, setAuthorizeTrackTotalHits, setEnableSession, setEnableXsrFilter, setJettyConfig, setTenantFilter
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface fr.gouv.vitam.common.server.application.configuration.VitamApplicationConfiguration
isEnableSession, isEnableXsrFilter, setEnableSession, setEnableXsrFilter
-
Methods inherited from interface fr.gouv.vitam.common.server.application.configuration.VitamApplicationConfigurationInterface
getBaseUri, getBaseUrl, getJettyConfig, getStaticContent, isAuthentication, isTenantFilter, setAuthentication, setBaseUri, setBaseUrl, setJettyConfig, setStaticContent, setTenantFilter
-
-
-
-
Constructor Detail
-
AdminManagementConfiguration
public AdminManagementConfiguration(java.util.List<MongoDbNode> mongoDbNodes, java.lang.String dbName, java.lang.String clusterName, java.util.List<ElasticsearchNode> elasticsearchNodes)
Constructor- Parameters:
mongoDbNodes
- the database hosts and portsdbName
- the database nameclusterName
- the cluster nameelasticsearchNodes
- the list of Elasticsearch nodes
-
AdminManagementConfiguration
public AdminManagementConfiguration(java.util.List<MongoDbNode> mongoDbNodes, java.lang.String dbName, boolean dbAuthentication, java.lang.String dbUserName, java.lang.String dbPassword, FunctionalAdminIndexationConfiguration indexationConfiguration)
-
AdminManagementConfiguration
public AdminManagementConfiguration(java.util.List<MongoDbNode> mongoDbNodes, java.lang.String dbName, FunctionalAdminIndexationConfiguration indexationConfiguration)
-
-
Method Detail
-
getWorkspaceUrl
public java.lang.String getWorkspaceUrl()
- Returns:
- url workspace
-
setWorkspaceUrl
public void setWorkspaceUrl(java.lang.String workspaceUrl)
- Parameters:
workspaceUrl
- to set
-
getProcessingUrl
public java.lang.String getProcessingUrl()
- Returns:
- processing Url
-
setProcessingUrl
public void setProcessingUrl(java.lang.String processingUrl)
- Parameters:
processingUrl
- to set
-
getClusterName
public java.lang.String getClusterName()
- Returns:
- the clusterName
-
setClusterName
public AdminManagementConfiguration setClusterName(java.lang.String clusterName)
- Parameters:
clusterName
- the clusterName to set- Returns:
- this
-
getElasticsearchNodes
public java.util.List<ElasticsearchNode> getElasticsearchNodes()
- Returns:
- the elasticsearchNodes
-
setElasticsearchNodes
public AdminManagementConfiguration setElasticsearchNodes(java.util.List<ElasticsearchNode> elasticsearchNodes)
- Parameters:
elasticsearchNodes
- the elasticsearchNodes to set- Returns:
- AdminManagementConfiguration
-
getListEnableExternalIdentifiers
public java.util.Map<java.lang.Integer,java.util.List<java.lang.String>> getListEnableExternalIdentifiers()
- Returns:
- listEnableExternalIdentifiers
-
setListEnableExternalIdentifiers
public void setListEnableExternalIdentifiers(java.util.Map<java.lang.Integer,java.util.List<java.lang.String>> listEnableExternalIdentifiers)
Setter for listEnableExternalIdentifiers;
-
getListMinimumRuleDuration
public java.util.Map<java.lang.Integer,java.util.Map<java.lang.String,java.lang.String>> getListMinimumRuleDuration()
- Returns:
- listMinimumRuleDuration
-
setListMinimumRuleDuration
public AdminManagementConfiguration setListMinimumRuleDuration(java.util.Map<java.lang.Integer,java.util.Map<java.lang.String,java.lang.String>> listMinimumRuleDuration)
- Parameters:
listMinimumRuleDuration
-- Returns:
- AdminManagementConfiguration
-
getIndexationConfiguration
public FunctionalAdminIndexationConfiguration getIndexationConfiguration()
-
setIndexationConfiguration
public AdminManagementConfiguration setIndexationConfiguration(FunctionalAdminIndexationConfiguration indexationConfiguration)
-
getAccessionRegisterSymbolicThreadPoolSize
public java.lang.Integer getAccessionRegisterSymbolicThreadPoolSize()
-
setAccessionRegisterSymbolicThreadPoolSize
public AdminManagementConfiguration setAccessionRegisterSymbolicThreadPoolSize(java.lang.Integer accessionRegisterSymbolicThreadPoolSize)
-
getRuleAuditThreadPoolSize
public java.lang.Integer getRuleAuditThreadPoolSize()
-
setRuleAuditThreadPoolSize
public void setRuleAuditThreadPoolSize(java.lang.Integer ruleAuditThreadPoolSize)
-
-