Skip to main content
Version: 2.13.0

Listing stored files

If you choose the use an S3-compatible cloud storage solution, like min.io, the files will be grouped in buckets (a bucket is a container for objects stored in Amazon S3). The plugin offers a REST API for easily viewing the stored files.

You can find the partitioning strategy used (where the generated documents are stored) by accessing the following key:

application.file-storage.partition-strategy

application:
defaultLocale: en
supportedLocales: en, ro
jaeger.prefix: document
#fileStorageType is the configuration that activates one FileContentService implementation. Valid values: minio / fileSystem
file-storage:
type: s3
disk-directory: MS_SVC_DOCUMENT
partition-strategy: NONE

There are two possible values for partition-strategy: NONE and PROCESS_DATE

PropertyValueExplanation
APPLICATION_FILESTORAGE_PARTITIONSTRATEGYNONEsaving documents in minio/amazon-s3 will be done as before in a bucket for each process instance
APPLICATION_FILESTORAGE_PARTITIONSTRATEGYPROCESS_DATEdocuments will be saved in a single bucket, with a subfolder, for example: bucket/2022/2022-07-04/process-id-xxxx/customer-id/file.pdf

REST API

Examples of RETP API endpoints:

GET documentURL/internal/storage/buckets
GET documentURL/internal/storage/buckets/BUCKET_NAME
GET documentURL/internal/storage/download

Was this page helpful?