Configuring Startup Tasks

Configuring Startup Tasks

CollectionSpace can run various tasks on startup depending on which properties are set. These can set in the Tomcat bin/setenv.sh file.

Action

Property

Default Value

Description

Action

Property

Default Value

Description

Quick Boot

org.collectionspace.services.quickboot

false

Skips all initialization tasks. Has priority over other properties.

Reset Authorities

org.collectionspace.services.authorities.reset

false

Populates all authority instances and term lists for each tenant

Reset Batch Jobs

org.collectionspace.services.batch.reset

true

Create or update all reports found in the tenant bindings

Reset ElasticSearch Index

org.collectionspace.services.elasticsearch.reset

false

Drops and recreates the ElasticSearch index with the latest mappings. Runs a reindexing worker against each document which has ElasticSearch indexing enabled.

Reset Reports

org.collectionspace.services.reports.reset

true

Create or update all batch jobs found in the tenant bindings