The Storage service is responsible for storing and retrieving files. It provides REST endpoints for uploading and downloading files and uses the messaging queue to send status updates for files.
Key functions of the Storage Service include:
•Storing the final Network Locator results as ZIP files.
•Providing download links for the final results (accessible only to the user that created the request or an admin).
•Tracking the number of downloads for each file.
•Expiring files after a configurable period.
Setting |
Type |
Description |
vertigis.storage.expiration.enabled |
boolean |
true | false |
vertigis.storage.expiration.duration |
int |
Number of days after a locate request should expire |
vertigis.storage.expiration.schedule-cron |
string |
Cron Expression (Quartz style) e.g.: "0 0 6 * * ?" Runs every day at 6 AM clock in the morning and check whether a file is expired or not |
vertigis.storage.<document-type>.expiration.enabled |
boolean |
true | false |
vertigis.storage.<document-type>.expiration.duration |
int |
Number of days after a locate request should expire |
Setting |
Description |
locator-result |
Final request artifact (ZIP-File) |
locator-work |
Temporary work documents (e.g. a PDF map of a specific branch) |
locator-documents |
Static document |
locator-templates |
Template files for sending E-Mails and for creating dynamic accompanying document like a letter |
{
"vertigis": {
"storage": {
"expiration": {
"enabled": true,
"schedule-cron": "0 0 6 * * ?"
},
"locator-result": {
"expiration": {
"enabled": true,
"duration": 0
}
}
}
}
}