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

Generalize ZarrPixelsService.getUri to support additional entityType/entityId #6

Merged
merged 2 commits into from
May 8, 2024

Conversation

sbesson
Copy link
Member

@sbesson sbesson commented May 3, 2024

This change adds a new signature ZarrPixelsService.getUri(IObject, String, String) allowing to specify custom entityType/entityId values to check in the object external info. The semantics of ZarrPixelsService.getUri(IObject) is unchanged and still checks NGFF_ENTITY_TYPE and NGFF_ENTITY_ID. The unit tests are adjusted to test both signatures.

Noticed during the review of glencoesoftware/omero-ms-image-region#142, 141fb50 updates the remaining references to the previous package and use com.glencoesoftware.omero.zarr consistently. There are no functional changes, this is primarily tidy-up

Matches the repacking of the source code under the same namespace
Also rename the ZarrPixelsServiceTest to match the PixelsService subclass
@sbesson sbesson requested a review from chris-allan May 3, 2024 21:22
Add support for other externalInfo entityType/entityId
Update the unit tests to cover both signatures of ZarrPixelsService
@sbesson sbesson requested a review from kkoz May 3, 2024 22:04
@sbesson sbesson changed the title Update tests package name as com.glencoesoftware.omero.zarr Generalize ZarrPixelsService.getUri to support additional entityType/entityId May 3, 2024
@chris-allan chris-allan merged commit e017eb1 into glencoesoftware:master May 8, 2024
2 checks passed
@sbesson sbesson deleted the tests_repackage branch May 16, 2024 08:42
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.

2 participants