-
Notifications
You must be signed in to change notification settings - Fork 18
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
Generate ARK URLs for resources #1161
Conversation
- Don't use a delimiter before the check digit. - Use a slash as the delimiter before the timestamp.
- Make version, project ID, and resource ID an object hierarchy. - Make the timestamp an object variant. - Escape - as =.
- Don't use hyphens or colons in timestamps in ARK URLs.
…ing). - Use 0-based character values in check digits, otherwise the maths don't work. - Add missing project IDs to IRIs in test data. - Replace remaining occurrences of data.knora.org with rdfh.ch.
@benjamingeer I have data that still has http://data.knora.org instead of http://rdfh.ch This is because we have a productive Knora as of summer 2016. The IRIs are referred from XML transcriptions. |
@tobiasschweizer We can fix all your IRIs together next week, it's not difficult, I've just done this for the Incunabula test data. |
@benjamingeer I also think that it won't be hard. I actually used emacs regex search and replace to adapt the permissions. I just have to do the same thing in the XMLs where the IRIs are used. @subotic Maybe the internal beol server should be re-installed from scratch. This time, I would like to use docker. Could you give me a hand? |
- Update docs and release notes.
Sure, we can take the deployment configuration from production and change it for the internal beol server. |
# Conflicts: # webapi/src/test/scala/org/knora/webapi/responders/admin/PermissionsResponderADMSpec.scala
# Conflicts: # docs/src/paradox/00-release-notes/next.md # salsah1/src/typescript_interfaces/sampleRequests/sampleResourceResponses.ts # webapi/src/test/scala/org/knora/webapi/responders/v1/ResourcesResponderV1Spec.scala # webapi/src/test/scala/org/knora/webapi/responders/v1/SearchResponderV1Spec.scala
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we please move ark.py to its own repository?
webapi/src/test/scala/org/knora/webapi/e2e/v2/SearchRouteV2R2RSpec.scala
Outdated
Show resolved
Hide resolved
webapi/src/test/scala/org/knora/webapi/e2e/v2/SearchRouteV2R2RSpec.scala
Outdated
Show resolved
Hide resolved
Yes, good idea. |
I've taken the liberty and moved it into its own repository :-) |
Great, thank you! |
Thanks :-) |
@benjamingeer Any particular reason why the resolver is written in python and not in scala? You know that you are now the sole responsible person for maintaining the code ;-) |
- Refactor ARK design and API docs. - Fix broken test.
Two reasons:
That's OK, I can live with maintaining this, because it hardly does anything. :) |
Hi Ben, Ivan |
ReadResourceV2.toJsonLD
).docs/src/paradox/03-apis/api-v2/resource-permalinks.md
docs/src/paradox/05-internals/design/api-v2/ark.md
Resolves #844.