-
Notifications
You must be signed in to change notification settings - Fork 0
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
making sure that Github is not accessed #188
Comments
@xristy In the ontology specs of all ontPolicy.rdf files, could you remove all the allUrl tags that point to a github raw file url? This way we make sure that the ontDocumentManager is really picking up the local repo files. I can do it if you are too busy. |
I don't think it's a good solution, it's still quite interesting to allow softwares like TopQuandrant to get the whole ontology using just one URI... Perhaps there might be a way to ask the ontmanager to prefer local files to distant ones? @xristy if no such thing exists, perhaps it would be worth reporting an issue? |
ok, I'll look at it, meanwhile, I am going to create another ontPolicy.rdf for testing. I still have to validate that files are still downloaded from github. |
Ok thanks! I think it's apparent in the DEBUG logs |
or maybe an alternative would be to have a |
Ok, I am going to do this: ont-policy-local.rdf without "raw" urls, at least for testing, something that we will remove later on. |
One possibility might be to make use of path in the OntDocumentManager constructor. The path could be like:
and omit the local policy file for production outside of China. The path is not limited to just 2 elements. |
Looking further, only a single Then on the China server or a development server there would be a configuration item indicating a URI for the appropriate policy file. Master copies of the two files will be in github for both owl-schema and editor-templates. The
The
So the above definition needs to be changed depending on where directory is located in the local filesystem. The
or
See commits 3f7a5ff and 36c18ee. Hopefully this helps. |
Closing since addressed in owl-schema #169 |
Looking at some logs, it seems that when we load the local
ont-policy.rdf
, it still reads the rest of the files on github instead of the local version, we need to check that and fix if necessaryThe text was updated successfully, but these errors were encountered: