-
Notifications
You must be signed in to change notification settings - Fork 113
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor AppProvider workflow and protocol (#1035)
* Refactored the OpenFileInAppProvider workflow This included changing the gRPC protocol and removing storageID and UIURL from config. En passant, this fixes #991 and includes other minor changes concerning error handling and logging. * Linting and other fixes + changelog * Added configuration for ODF and MD files * Fixed error handling + improved logging of a stack trace * Further fixes following tests * Improved URL handling following review Also cleared some TODOs and reduced HTTP timeout to 5s * Refactored the /wopi/cbox/endpoints HTTP call This is now in its own function, as it does not need to be executed at each incoming request. Added a TODO for implementing a refresh every day or so. * Do not use for now a shared map. TODO for a future PR: refresh the map of apps URLs every day or week, and cache it at the service level (protected by a multi-reader Lock).
- Loading branch information
Showing
9 changed files
with
123 additions
and
128 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Enhancement: Refactor AppProvider workflow | ||
|
||
Simplified the app-provider configuration: storageID is worked out | ||
automatically and UIURL is suppressed for now. | ||
Implemented the new gRPC protocol from the gateway to the appprovider. | ||
|
||
https://github.com/cs3org/reva/pull/1035 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.