Add all microservices#326
Conversation
This reverts commit 41c50b7.
|
Briefly tested on a deployment including this configuration. Confirmation that all studies requiring the IDR-specific Bio-Formats changes are neither loading in the viewer (via For the other ones, it looks like the cache regeneration is not happening at all (due to the read-only permissions likely) and the initialization is happening for every call. The thumbnails micro-service is loading the thumbs as expected and from a quick audit, the performance is at least as good as the one in production IDR. From my side, this is the micro-service which is probably the closest to deploy in production. For the two other ones, the two first outstanding questions are:
|
Sounds like to match our process, we'd need ansible tasks that apply our jars to the existing zips and repackages, no?
From omero-ms-image-region's for which doesn't pass So I think we'll need to either create a symlink (?!) or open a PR against the repo to take |
| - name: Run docker omero-ms-imageregion | ||
| become: true | ||
| docker_container: | ||
| image: manics/docker-example-omero-microservices-imageregion:0.5.2-0 |
There was a problem hiding this comment.
There was a problem hiding this comment.
Presumably this needs to be updated to use https://github.com/ome/docker-example-omero-microservices instead of Simon's (non-existent one).
There was a problem hiding this comment.
Actually, that doesn't look like a production ready docker, not updated for 3 or 4 years etc. What's the equivalent we should use here (or do we need to create one)?
| - "/nfs/bioimage:/nfs/bioimage:ro" | ||
| - "/nfs/biostudies:/nfs/biostudies:ro" | ||
|
|
||
| - name: Run docker omero-ms-zarr |
There was a problem hiding this comment.
What's the role of omero-ms-zarr here? It is required for the functionality of the other microservices? It provides zarr API endpoints which aren't available in the current IDR deployment.
There was a problem hiding this comment.
It's no longer needed. In fact, I'd assume we should strip this down to only the endpoints we need if we're going to test it.
There was a problem hiding this comment.
I think the only one we need is imageregion. I don't think we need thumbnails at this point (could be added later if desired).
| - name: Run docker omero-ms-thumbnail | ||
| become: true | ||
| docker_container: | ||
| image: openmicroscopy/omero-ms-thumbnail:0.5.3 |
There was a problem hiding this comment.
Latest release of omero-ms-thumbnail is 0.5.7 https://hub.docker.com/r/openmicroscopy/omero-ms-thumbnail/tags
| @@ -0,0 +1,71 @@ | |||
| # https://github.com/glencoesoftware/omero-ms-image-region/blob/v0.5.2/src/dist/conf/config.yaml | |||
There was a problem hiding this comment.
Latest release is v0.8.5 - see https://github.com/glencoesoftware/omero-ms-image-region/blame/v0.8.5/src/dist/conf/config.yaml
But I'm not sure where the version of omero-ms-image-region is specified?
|
This branch has conflicts. |
|
Closing as this is not targeted for |
Resurrect #297
The front-end Nginx configuration is in a separate commits in case we want to split this PR and deploy the microservices internally without exposing them.
omero-ms-imageregion and omero-ms-zarr are currently broken for anything that requires the IDR fork of BioFormats.
BioFormatsCache is read-only inside the docker images, so if you open a large image it will probably time out. Update: presumably the version of BioFormats in the micro-services will use a different memo version anyway, so even if it was writeable it'd delete the old cache?