151 lines
4.2 KiB
Plaintext
151 lines
4.2 KiB
Plaintext
// set the attribute to true or leave empty, true without any quotes.
|
|
|
|
:show-deprecation: true
|
|
|
|
ifeval::[{show-deprecation} == true]
|
|
|
|
[#deprecation-note-2023-04-14-01-40-53]
|
|
[caption=]
|
|
.Deprecation notes for the postprocessing service
|
|
[width="100%",cols="~,~,~,~",options="header"]
|
|
|===
|
|
| Deprecation Info
|
|
| Deprecation Version
|
|
| Removal Version
|
|
| Deprecation Replacment
|
|
|
|
| POSTPROCESSING_VIRUSSCAN is not longer necessary and is replaced by POSTPROCESSING_STEPS which also holds information about the order of steps
|
|
| master
|
|
| master
|
|
| POSTPROCESSING_STEPS
|
|
|===
|
|
|
|
endif::[]
|
|
|
|
[caption=]
|
|
.Environment variables for the postprocessing service
|
|
[width="100%",cols="~,~,~,~",options="header"]
|
|
|===
|
|
| Name
|
|
| Type
|
|
| Default Value
|
|
| Description
|
|
|
|
a|`OCIS_LOG_LEVEL` +
|
|
`POSTPROCESSING_LOG_LEVEL` +
|
|
|
|
a| [subs=-attributes]
|
|
++string ++
|
|
a| [subs=-attributes]
|
|
++ ++
|
|
a| [subs=-attributes]
|
|
The log level. Valid values are: "panic", "fatal", "error", "warn", "info", "debug", "trace".
|
|
|
|
a|`OCIS_LOG_PRETTY` +
|
|
`POSTPROCESSING_LOG_PRETTY` +
|
|
|
|
a| [subs=-attributes]
|
|
++bool ++
|
|
a| [subs=-attributes]
|
|
++false ++
|
|
a| [subs=-attributes]
|
|
Activates pretty log output.
|
|
|
|
a|`OCIS_LOG_COLOR` +
|
|
`POSTPROCESSING_LOG_COLOR` +
|
|
|
|
a| [subs=-attributes]
|
|
++bool ++
|
|
a| [subs=-attributes]
|
|
++false ++
|
|
a| [subs=-attributes]
|
|
Activates colorized log output.
|
|
|
|
a|`OCIS_LOG_FILE` +
|
|
`POSTPROCESSING_LOG_FILE` +
|
|
|
|
a| [subs=-attributes]
|
|
++string ++
|
|
a| [subs=-attributes]
|
|
++ ++
|
|
a| [subs=-attributes]
|
|
The path to the log file. Activates logging to this file if set.
|
|
|
|
a|`OCIS_EVENTS_ENDPOINT` +
|
|
`POSTPROCESSING_EVENTS_ENDPOINT` +
|
|
|
|
a| [subs=-attributes]
|
|
++string ++
|
|
a| [subs=-attributes]
|
|
++127.0.0.1:9233 ++
|
|
a| [subs=-attributes]
|
|
The address of the event system. The event system is the message queuing service. It is used as message broker for the microservice architecture.
|
|
|
|
a|`OCIS_EVENTS_CLUSTER` +
|
|
`POSTPROCESSING_EVENTS_CLUSTER` +
|
|
|
|
a| [subs=-attributes]
|
|
++string ++
|
|
a| [subs=-attributes]
|
|
++ocis-cluster ++
|
|
a| [subs=-attributes]
|
|
The clusterID of the event system. The event system is the message queuing service. It is used as message broker for the microservice architecture. Mandatory when using NATS as event system.
|
|
|
|
a|`OCIS_INSECURE` +
|
|
`POSTPROCESSING_EVENTS_TLS_INSECURE` +
|
|
|
|
a| [subs=-attributes]
|
|
++bool ++
|
|
a| [subs=-attributes]
|
|
++false ++
|
|
a| [subs=-attributes]
|
|
Whether the ocis server should skip the client certificate verification during the TLS handshake.
|
|
|
|
a|`POSTPROCESSING_EVENTS_TLS_ROOT_CA_CERTIFICATE` +
|
|
|
|
a| [subs=-attributes]
|
|
++string ++
|
|
a| [subs=-attributes]
|
|
++ ++
|
|
a| [subs=-attributes]
|
|
The root CA certificate used to validate the server's TLS certificate. If provided POSTPROCESSING_EVENTS_TLS_INSECURE will be seen as false.
|
|
|
|
a|`OCIS_EVENTS_ENABLE_TLS` +
|
|
`POSTPROCESSING_EVENTS_ENABLE_TLS` +
|
|
|
|
a| [subs=-attributes]
|
|
++bool ++
|
|
a| [subs=-attributes]
|
|
++false ++
|
|
a| [subs=-attributes]
|
|
Enable TLS for the connection to the events broker. The events broker is the ocis service which receives and delivers events between the services.
|
|
|
|
a|`POSTPROCESSING_STEPS` +
|
|
|
|
a| [subs=-attributes]
|
|
++[]string ++
|
|
a| [subs=-attributes]
|
|
++[] ++
|
|
a| [subs=-attributes]
|
|
A comma separated list of postprocessing steps, processed in order of their appearance. Currently supported values by the system are: 'virusscan', 'policies' and 'delay'. Custom steps are allowed. See the documentation for instructions.
|
|
|
|
a|`POSTPROCESSING_VIRUSSCAN` +
|
|
xref:deprecation-note-2023-04-14-01-40-53[Deprecation Note]
|
|
a| [subs=-attributes]
|
|
++bool ++
|
|
a| [subs=-attributes]
|
|
++false ++
|
|
a| [subs=-attributes]
|
|
After uploading a file but before making it available for download, virus scanning the file can be enabled. Needs as prerequisite the antivirus service to be enabled and configured.
|
|
|
|
a|`POSTPROCESSING_DELAY` +
|
|
|
|
a| [subs=-attributes]
|
|
++Duration ++
|
|
a| [subs=-attributes]
|
|
++0s ++
|
|
a| [subs=-attributes]
|
|
After uploading a file but before making it available for download, a delay step can be added. Intended for developing purposes only. The duration can be set as number followed by a unit identifier like s, m or h. If a duration is set but the keyword 'delay' is not explicitely added to 'POSTPROCESSING_STEPS', the delay step will be processed as last step. In such a case, a log entry will be written on service startup to remind the admin about that situation.
|
|
|===
|
|
|