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

read external schemas from any server. #386

Closed
ilovan opened this issue May 16, 2016 · 4 comments
Closed

read external schemas from any server. #386

ilovan opened this issue May 16, 2016 · 4 comments

Comments

@ilovan
Copy link
Contributor

ilovan commented May 16, 2016

@jchartrand , could you please expand on the solution you considered the best option during our conversation on Friday?

@jchartrand
Copy link
Collaborator

On Friday we were talking about the ‘reference implementation’ or ‘sandbox’ version of the CWRC-Writer server, for which I’ll create an admin function (on an admin page) to ‘register' external schema URIs. There will then be a proxy on the server that will fetch the corresponding schema (from the remote host) when needed. The proxy will only fetch registered schemas.

I’m guessing, however, that’d you’d like something similar for the existing CWRC-Writer setup. If so, you could build a proxy service like the one I’ll build for the sandbox, or you could simply continue to do what you’d been doing, add an apache reverse proxy entry (ProxyPass) for each external server whose schemas you’d like to support:

#190 (comment)

On May 16, 2016, at 11:07 AM, Mihaela Ilovan notifications@github.com wrote:

@jchartrand https://github.com/jchartrand , could you please expand on the solution you considered the best option during our conversation on Friday?


You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub #386

@ilovan
Copy link
Contributor Author

ilovan commented Jun 25, 2018

I know we talked briefly about this functionality earlier this spring and that when I load an EpiDoc document into GitWriter I get a schema loading error.

This is the EpiDoc I was talking about: https://github.com/ilovan/Test-EpiDoc-document-in-GitWriter

Is this problem I ran into caused by the solution described in the current issue never being implemented?

@ajmacdonald
Copy link
Contributor

Yes. As far as I know a proxy for fetching schemas was never completed.

@jchartrand
Copy link
Collaborator

Here is the error when loading Mihaela's Test-EpiDoc-document-in-GitWriter document:

image

No 'schema registry' was ever built. I think we opted to just use reverse proxies. So, I think the first thing to try is to have Jeff add a ProxyPass for the epidoc schema, that accepts an https request from the CWRC-Writer for the schema, goes out and gets the schema from the http url, and returns it to the CWRC-Writer.

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

No branches or pull requests

3 participants