-
Notifications
You must be signed in to change notification settings - Fork 11
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
Prevent overwriting services #15
base: master
Are you sure you want to change the base?
Prevent overwriting services #15
Conversation
Tests are expected to fail until IIIF-Commons/manifesto#89 is merged |
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. |
@stephenwf, I'm doing some work to bring manifold up to date and found this long-abandoned PR. I extracted the test infrastructure you added here as a general-purpose improvement. However, your tests pass with or without the remaining code changes in this PR, so I'm wondering if this work ended up getting resolved in some different way over the intervening years. Is there still anything important here, or should I close this? |
When a resource is dereferenced and loaded the body is passed through a step where the auth is extracted. This ensures that if there were services embedded in the manifest but not in the dereferenced resource they are not overwritten. Added tests to cover the previously working BL AV manifest and the new structure with a change in where the probe service resides.