Class LogbookConfiguration
java.lang.Object
fr.gouv.vitam.common.server.application.configuration.DefaultVitamApplicationConfiguration
fr.gouv.vitam.common.server.application.configuration.DbConfigurationImpl
fr.gouv.vitam.logbook.common.server.config.LogbookConfiguration
- All Implemented Interfaces:
DbConfiguration
,VitamApplicationConfiguration
,VitamApplicationConfigurationInterface
Logbook configuration class mapping
-
Field Summary
Fields inherited from class fr.gouv.vitam.common.server.application.configuration.DefaultVitamApplicationConfiguration
IS_A_MANDATORY_PARAMETER, jettyConfig
-
Constructor Summary
ConstructorDescriptionLogbookConfiguration empty constructor for YAMLFactoryLogbookConfiguration
(List<MongoDbNode> mongoDbNodes, String dbName, String clusterName, List<ElasticsearchNode> elasticsearchNodes) LogbookConfiguration constructorLogbookConfiguration
(List<MongoDbNode> mongoDbNodes, String dbName, String clusterName, List<ElasticsearchNode> elasticsearchNodes, boolean dbAuthentication, String dbUserName, String dbPassword) LogbookConfiguration constructor with db authentication -
Method Summary
Modifier and TypeMethodDescriptionGets max event count to select during a single logbook lifecycle traceability workflow.Gets temporization delay (in seconds) for recent logbook lifecycle eventsGets the temporization delay (in seconds) for recent logbook operation events.int
void
setAlertEvents
(List<LogbookEvent> alertEvents) setClusterName
(String clusterName) void
setElasticsearchConfigurationFile
(String elasticSearchConfigurationFile) setElasticsearchNodes
(List<ElasticsearchNode> elasticsearchNodes) void
setLifecycleTraceabilityMaxEntries
(Integer lifecycleTraceabilityMaxEntries) Sets max event count to select during a single logbook lifecycle traceability workflow.void
setLifecycleTraceabilityMaxRenewalDelay
(Integer lifecycleTraceabilityMaxRenewalDelay) void
setLifecycleTraceabilityMaxRenewalDelayUnit
(ChronoUnit lifecycleTraceabilityMaxRenewalDelayUnit) void
setLifecycleTraceabilityTemporizationDelay
(Integer lifecycleTraceabilityTemporizationDelay) Sets temporization delay (in seconds) for recent logbook lifecycle eventssetLogbookTenantIndexation
(LogbookIndexationConfiguration logbookTenantIndexation) void
setOperationTraceabilityMaxRenewalDelay
(Integer operationTraceabilityMaxRenewalDelay) setOperationTraceabilityMaxRenewalDelayUnit
(ChronoUnit operationTraceabilityMaxRenewalDelayUnit) void
setOperationTraceabilityTemporizationDelay
(Integer operationTraceabilityTemporizationDelay) Sets the temporization delay (in seconds) for recent logbook operation events.void
setOperationTraceabilityThreadPoolSize
(int operationTraceabilityThreadPoolSize) void
setOpEventsNotInWf
(List<String> opEventsNotInWf) void
setOpLfcEventsToSkip
(List<String> opLfcEventsToSkip) void
setOpWithLFC
(List<String> opWithLFC) void
setP12LogbookFile
(String p12LogbookFile) void
setP12LogbookPassword
(String p12LogbookPassword) void
setProcessingUrl
(String processingUrl) void
setReconstructionMetricsCacheDurationInMinutes
(int reconstructionMetricsCacheDurationInMinutes) void
setWorkspaceUrl
(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, isAuthentication, isTenantFilter, setAuthentication, setBaseUri, setBaseUrl, setJettyConfig, setTenantFilter
-
Constructor Details
-
LogbookConfiguration
public LogbookConfiguration(List<MongoDbNode> mongoDbNodes, String dbName, String clusterName, List<ElasticsearchNode> elasticsearchNodes) LogbookConfiguration constructor- Parameters:
mongoDbNodes
- database server IP addresses and portsdbName
- database nameclusterName
- eslasticsearch cluster nameelasticsearchNodes
- elasticsearch nodes
-
LogbookConfiguration
public LogbookConfiguration(List<MongoDbNode> mongoDbNodes, String dbName, String clusterName, List<ElasticsearchNode> elasticsearchNodes, boolean dbAuthentication, String dbUserName, String dbPassword) LogbookConfiguration constructor with db authentication- Parameters:
mongoDbNodes
- database server IP addresses and portsdbName
- database nameclusterName
- eslasticsearch cluster nameelasticsearchNodes
- elasticsearch nodesdbAuthentication
- db authencationdbUserName
- db authencation userdbPassword
- db authencation password
-
LogbookConfiguration
public LogbookConfiguration()LogbookConfiguration empty constructor for YAMLFactory
-
-
Method Details
-
getP12LogbookPassword
- Returns:
- password of p12
-
setP12LogbookPassword
- Parameters:
p12LogbookPassword
- file to set
-
getP12LogbookFile
- Returns:
- p12 logbook file
-
setP12LogbookFile
- Parameters:
p12LogbookFile
- file to set
-
getWorkspaceUrl
- Returns:
- url workspace
-
setWorkspaceUrl
- Parameters:
workspaceUrl
- to set
-
getProcessingUrl
- Returns:
- url processing
-
setProcessingUrl
- Parameters:
processingUrl
- to set
-
getClusterName
- Returns:
- the clusterName
-
setClusterName
- Parameters:
clusterName
- the clusterName to set- Returns:
- this
-
getElasticsearchNodes
- Returns:
- the elasticsearchNodes
-
setElasticsearchNodes
- Parameters:
elasticsearchNodes
- the elasticsearchNodes to set- Returns:
- LogbookConfiguration
-
getAlertEvents
- Returns:
- the alertEvents
-
setAlertEvents
- Parameters:
alertEvents
- to set
-
getOpWithLFC
- Returns:
- opWithLFC
-
setOpWithLFC
- Parameters:
opWithLFC
- to set
-
getOpLfcEventsToSkip
- Returns:
- opLfcEventsToSkip
-
setOpLfcEventsToSkip
- Parameters:
opLfcEventsToSkip
- to set
-
getOpEventsNotInWf
- Returns:
- opEventsNotInWf
-
setOpEventsNotInWf
- Parameters:
opEventsNotInWf
- to set
-
getOperationTraceabilityTemporizationDelay
Gets the temporization delay (in seconds) for recent logbook operation events.- Returns:
- The temporization delay (in seconds).
-
setOperationTraceabilityTemporizationDelay
public void setOperationTraceabilityTemporizationDelay(Integer operationTraceabilityTemporizationDelay) Sets the temporization delay (in seconds) for recent logbook operation events. -
getLifecycleTraceabilityTemporizationDelay
Gets temporization delay (in seconds) for recent logbook lifecycle events -
setLifecycleTraceabilityTemporizationDelay
public void setLifecycleTraceabilityTemporizationDelay(Integer lifecycleTraceabilityTemporizationDelay) Sets temporization delay (in seconds) for recent logbook lifecycle events -
getLifecycleTraceabilityMaxEntries
Gets max event count to select during a single logbook lifecycle traceability workflow. -
setLifecycleTraceabilityMaxEntries
Sets max event count to select during a single logbook lifecycle traceability workflow. -
getOperationTraceabilityMaxRenewalDelay
-
setOperationTraceabilityMaxRenewalDelay
-
getOperationTraceabilityMaxRenewalDelayUnit
-
setOperationTraceabilityMaxRenewalDelayUnit
public LogbookConfiguration setOperationTraceabilityMaxRenewalDelayUnit(ChronoUnit operationTraceabilityMaxRenewalDelayUnit) -
getLifecycleTraceabilityMaxRenewalDelay
-
setLifecycleTraceabilityMaxRenewalDelay
-
getLifecycleTraceabilityMaxRenewalDelayUnit
-
setLifecycleTraceabilityMaxRenewalDelayUnit
public void setLifecycleTraceabilityMaxRenewalDelayUnit(ChronoUnit lifecycleTraceabilityMaxRenewalDelayUnit) -
getOperationTraceabilityThreadPoolSize
-
setOperationTraceabilityThreadPoolSize
public void setOperationTraceabilityThreadPoolSize(int operationTraceabilityThreadPoolSize) -
getLogbookTenantIndexation
-
setLogbookTenantIndexation
public LogbookConfiguration setLogbookTenantIndexation(LogbookIndexationConfiguration logbookTenantIndexation) -
getReconstructionMetricsCacheDurationInMinutes
public int getReconstructionMetricsCacheDurationInMinutes() -
setReconstructionMetricsCacheDurationInMinutes
public void setReconstructionMetricsCacheDurationInMinutes(int reconstructionMetricsCacheDurationInMinutes) -
getElasticsearchConfigurationFile
-
setElasticsearchConfigurationFile
-