Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resolve a WOPI bridge appProviderURL #1234

Merged
merged 2 commits into from
Oct 21, 2020
Merged

Conversation

glpatcern
Copy link
Member

@glpatcern glpatcern commented Oct 8, 2020

A minor addition to simplify user interaction: if the AppProviderUrl is to be served by the WOPI bridge, resolve it by GETting it and returning the redirected URL as the real AppProviderUrl value.

@update-docs
Copy link

update-docs bot commented Oct 8, 2020

Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes.

@glpatcern glpatcern marked this pull request as draft October 8, 2020 15:17
@glpatcern glpatcern removed the request for review from labkode October 8, 2020 15:17
@glpatcern glpatcern force-pushed the app-wopibridge branch 4 times, most recently from 7eb0fad to af822c8 Compare October 12, 2020 09:29
@glpatcern glpatcern marked this pull request as ready for review October 12, 2020 14:25
@glpatcern glpatcern changed the title WIP: resolve a WOPI bridge appProviderURL Resolve a WOPI bridge appProviderURL Oct 12, 2020

// In case of applications served by the WOPI bridge, resolve the URL and go to the app
// Note that URL matching is performed via string matching, not via IP resolution: may need to fix this
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is ready for review, and I explicitly bring the attention to this note ;-) Feedback welcome.

Copy link
Contributor

@ishank011 ishank011 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @glpatcern, apologies for the delay in the review. Just a minor nit, rest looks good.

internal/grpc/services/appprovider/appprovider.go Outdated Show resolved Hide resolved
@ishank011 ishank011 merged commit dd3a8c0 into cs3org:master Oct 21, 2020
glpatcern added a commit to glpatcern/reva that referenced this pull request Oct 28, 2020
glpatcern added a commit to glpatcern/reva that referenced this pull request Oct 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants