Local Document Storage

The local document storage stores the files in the local file system. The root path will be calculated out of Data.Directory from ivy.yaml.

Template

1SecuritySystems:
2  default:
3    DocumentStorage:
4      Name: local
5      Config:
6        #UseLegacyPath: true

Reference

 1# The local document storage stores the files in the local file system.
 2# The root path will be calculated out of `Data.FilesDirectory` in ivy.yaml
 3# and you can override these settings per application in app.yaml.
 4#
 5# If you like to seperate the data for security systems, you can set
 6# this property to `false` (recommended). Then the root path will be calculated out of
 7# `Data.Directory` from ivy.yaml. But then you can read the documents
 8# only as content (asString(), asReader(), asBinary(), asStream()) and no longer
 9# via file APIs (asJavaFile(), asIvyFile()) (ch.ivyteam.ivy.workflow.document.IDocumentContentReader).
10#
11# You need to manually move all files to the new place if you change this
12# property on a productive system.
13UseLegacyPath: true

Note

Working with local files only works with Cluster if you share the same root directory for all cluster nodes. In the case of a cluster, you should go with S3 Document Storage.