Skip to content

Commit

Permalink
Merge pull request #7291 from kobergj/NextDocsFix
Browse files Browse the repository at this point in the history
[tests-only] Use OCIS_ASYNC_UPLOADS in docs
  • Loading branch information
kobergj authored Sep 19, 2023
2 parents 261a527 + aac186e commit 7c9ce23
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/templates/ADOC_global.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Note that some global environment variables have been deprecated and replaced by

* All envvars starting with `LDAP_`
* All envvars starting with `IDM_` except `IDM_CREATE_DEMO_USERS`
* The following envvars: `REVA_GATEWAY`, `STORAGE_TRANSFER_SECRET`, `STORAGE_USERS_OCIS_ASYNC_UPLOADS`, `USERLOG_MACHINE_AUTH_API_KEY`.
* The following envvars: `OCIS_REVA_GATEWAY`, `STORAGE_TRANSFER_SECRET`, `OCIS_ASYNC_UPLOADS`, `USERLOG_MACHINE_AUTH_API_KEY`.
* Note that `WEB_UI_CONFIG_FILE` is not a global envar and will dropped from the list in a later release.

[.landscape]
Expand Down
2 changes: 1 addition & 1 deletion services/postprocessing/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ To use the postprocessing service, an event system needs to be configured for al

## Postprocessing Functionality

The storageprovider service (`storage-users`) can be configured to initiate asynchronous postprocessing by setting the `STORAGE_USERS_OCIS_ASYNC_UPLOADS` environment variable to `true`. If this is the case, postprocessing will get initiated *after* uploading a file and all bytes have been received.
The storageprovider service (`storage-users`) can be configured to initiate asynchronous postprocessing by setting the `OCIS_ASYNC_UPLOADS` environment variable to `true`. If this is the case, postprocessing will get initiated *after* uploading a file and all bytes have been received.

The `postprocessing` service will then coordinate configured postprocessing steps like scanning the file for viruses. During postprocessing, the file will be in a `processing state` where only a limited set of actions are available. Note that this processing state excludes file accessibility by users.

Expand Down
2 changes: 1 addition & 1 deletion tests/acceptance/features/bootstrap/OcisConfigContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class OcisConfigContext implements Context {
*/
public function asyncUploadHasbeenEnabledWithDelayedPostProcessing(string $delayTime): void {
$envs = [
"STORAGE_USERS_OCIS_ASYNC_UPLOADS" => true,
"OCIS_ASYNC_UPLOADS" => true,
"OCIS_EVENTS_ENABLE_TLS" => false,
"POSTPROCESSING_DELAY" => $delayTime . "s",
];
Expand Down

0 comments on commit 7c9ce23

Please sign in to comment.