Using file system as document store

In IBM® Product Master, a file system can be used as a document store instead of using the database.

Inbound parameter

If the inbound parameter is set to "yes", then file system directories are mounted to the docstore. If it is set to no, then file system directories are not mounted to the docstore. If you set the inbound parameter to "yes" for a particular directory, and later set it to "no", the changes to the directory from that point is not reflected in the docstore. The docstore retains the old data. This parameter has no effect on copying of files from the docstore to the file system.
Note: Product Master supports only one-way synchronization that works from file system to the docstore. The reverse is not true; uploading a file to the docstore does not create a copy of the file in the file system.

When you mount a file system directory to the docstore, you need to add a line in the docstore_mount.xml file. This file is in the $TOP/etc/default directory on the server that is running the IBM Product Master instance.

<mnt doc_path="/TestMount/" real_path="/usr/local/TestMount/" inbound="yes" />
Where:
doc_path="/TestMount/"
Directory in the docstore under which you can view the folder of the mounted local file system.
real_path="/usr/local/TestMount/"
Directory from the local file system that you are going to mount.
inbound="yes"
Specifies the behavior. Because this parameter is set to yes, the TestMount directory from the file system is mounted to the docstore.