Configuring ArchiveLink
The rmalink-prod.yml configuration file is installed by enaio® service-manager in the \config directory during the installation.
A configuration file with parameters is available for download.
Parameters of the configuration file:
Parameter | Type | Description | Default value | Sample value |
---|---|---|---|---|
repositorymanager-al.working-dir | String | Working directory | ${enaio.data.path}/rm-alink | C:/rm-alink |
repositorymanager-al.enaio.object-definition-folder | String | Directory to which the object definition is copied. | ${repositorymanager-al.working-dir}/obj-def | C:/rm-alink/obj-def |
repositorymanager-al.enaio.trusted-admin-clients | String | IP addresses that are allowed to access the certificate activation endpoint. | .* | (127\.0\.0\.1)|(0:0:0:0:0:0:0:1) |
repositorymanager-al.enaio.cabinet.repositories | Map |
Mapping of the enaio® cabinet name to the SAP® repository name. |
- | '[Cabinet name]': BA |
repositorymanager-al.retention.enabled | Boolean |
Retention times are set in enaio® for ArchiveLink documents with a deletion lock. Default: true |
true | false |
repositorymanager-al.components.text | String |
List of formats for the document type for text documents |
text/plain | text/plain |
repositorymanager-al.components.scanned | String |
List of formats for the document type for scanned documents |
image/tiff | image/tiff |
repositorymanager-al.barcode.interval | Integer |
Barcode processing interval in minutes. If the default value 0 is set, barcode processing is disabled. |
0 | 30 |
repositorymanager-al.barcode.limit | Integer | Batch size of the barcode documents that are processed per repository within an interval. | 1000 | 100 |
repositorymanager-al.barcode.library-folder | String | Directory for the sapjco3.jar and sapjco3.dll files. | ${repositorymanager-al.working-dir}/lib | C:/rm-alink/lib |
repositorymanager-al.enaio.barcode.sap.connections | List | List of SAP® connections to the repository. |
- |
|
repositorymanager-al.barcode.cnt-type-doc-type | String |
List of entries for the mapping of the barcode document type, separated by the pipe character. Entries consist of enaio® content type, equals sign, SAP® document type. |
Image/TIFF=FAX|application/pdf=PDF | Image/TIFF=FAX|application/pdf=PDF |
repositorymanager-al.barcode.default-doc-type | String |
Default SAP® barcode document type |
TIF | TIF |
repositorymanager-al.barcode.default-protection | String | Document security | "rcud" | "rcud" |
repositorymanager-al.barcode.default-protocol-version | String | SAP Content Server HTTP interface version | "0047" | "0047" |
repositorymanager-al.certificate.path | String | Path for certificates | ${repositorymanager-al.working-dir}/certificates | C:/rm-alink/certificates |
repositorymanager-al.certificate.password | String | Certificate password | - | secret |
repositorymanager-al.certificate.mode | String |
|
MANUAL | AUTOMATIC |
repositorymanager-al.compression.limit | Double |
Size in MB above which files are compressed. If the default value 0.0 is set, compression is disabled. |
0.0 | 10.0 |
repositorymanager-al.compression.content-types | List |
MIME type of files that are compressed. No files are compressed if there is no value set. |
- | [application/pdf, image/png] |
repositorymanager-al.set-archivable | Boolean | Documents in enaio® receive the 'Approved for archiving' property. Default: false | false | true/false |
monitoring.trace.enabled | Boolean |
Activation of the metrics log. The services.metrics.log metrics log is also created in the \logs directory of enaio® service-manager. |
false | true |
server.tomcat.accesslog.enabled | Boolean |
An access log can be activated. The access log is saved to the working directory of the integrated Tomcat. |
false | true |
management.trusted.ipPattern | String |
Access to services and management endpoints can be secured via IP filters. A configuration for the 'repositorymanager-alink' service has priority over the corresponding configuration for the services. The default setting permits access by all IP addresses: management.trusted.ipPattern: .* |
.* | .* |
Encryption of Configuration Values
The configuration values in the rmalink-prod.yml file located in the \config\ directory of enaio® service-manager can be encrypted:
-
Open the command prompt as the administrator and change to the \service-manager\tools\encryption\ directory.
-
Run the following command: encode.bat "value" -W.
The encrypted value is displayed in round brackets with 'ENC' before it: ENC(encryptedvalue).
-
Copy the encrypted value with the leading 'ENC' and with the round brackets and enter it into the configuration file.
-
Save the configuration and restart the service, if necessary.
Health Check
A health check is performed when the service is started. Licenses, the connection to the 'dms' service, and the object definition are checked.
The result is displayed in enaio® service-manager.
The health check can be accessed while the service is running via the following URLs:
http://<service-manager>:8092/manage/health