Skip to content

Commit

Permalink
Consume omero-zarr-pixel-buffer 0.4.0 and omero-ms-core 0.9.0
Browse files Browse the repository at this point in the history
Replace com.glencoesoftware.omero.ms.core.PixelsService imports
Add blitz/*PixelBuffer.xml to the classpath for pixel buffer discoverability
  • Loading branch information
sbesson committed May 16, 2024
1 parent 1c03cb1 commit 88a104f
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
6 changes: 3 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,12 @@ dependencies {
implementation 'io.zipkin.reporter2:zipkin-sender-okhttp3:2.10.0'
implementation 'ch.qos.logback:logback-classic:1.3.14'
implementation 'org.slf4j:log4j-over-slf4j:1.7.32'
implementation 'com.glencoesoftware.omero:omero-zarr-pixel-buffer:0.3.0'
implementation 'com.glencoesoftware.omero:omero-ms-core:0.8.0'
implementation 'com.glencoesoftware.omero:omero-zarr-pixel-buffer:0.4.0'
implementation 'com.glencoesoftware.omero:omero-ms-core:0.9.0'
implementation 'io.vertx:vertx-web:3.8.1'
implementation 'io.vertx:vertx-config:3.8.1'
implementation 'io.vertx:vertx-config-yaml:3.8.1'
implementation 'org.openmicroscopy:omero-blitz:5.7.2'
implementation 'org.openmicroscopy:omero-blitz:5.7.3'
implementation 'io.prometheus.jmx:collector:0.12.0'
implementation 'io.prometheus:simpleclient_hotspot:0.8.0'
implementation 'com.zeroc:icegrid:3.6.4'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ public static void main(String[] args) {
ApplicationContext context = new ClassPathXmlApplicationContext(
"classpath:ome/config.xml",
"classpath:ome/services/datalayer.xml",
"classpath*:blitz/*PixelBuffer.xml",
"classpath*:beanRefContext.xml");
PixelsService bean = (PixelsService) context.getBean("/OMERO/Pixels");
System.err.println("Bean: " + bean);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ public void deploy(JsonObject config, Promise<Void> prom) {
context = new ClassPathXmlApplicationContext(
"classpath:ome/config.xml",
"classpath:ome/services/datalayer.xml",
"classpath*:blitz/*PixelBuffer.xml",
"classpath*:beanRefContext.xml");

JsonObject httpTracingConfig =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
import com.fasterxml.jackson.databind.ObjectMapper;
import com.glencoesoftware.omero.ms.core.OmeroMsAbstractVerticle;
import com.glencoesoftware.omero.ms.core.OmeroRequest;
import com.glencoesoftware.omero.ms.core.PixelsService;
import com.glencoesoftware.omero.zarr.ZarrPixelsService;

import Glacier2.CannotCreateSessionException;
import Glacier2.PermissionDeniedException;
Expand All @@ -53,7 +53,7 @@ public class PixelBufferVerticle extends OmeroMsAbstractVerticle {
"omero.pixel_buffer.get_tile";

/** OMERO server pixels service. */
private final PixelsService pixelsService;
private final ZarrPixelsService pixelsService;

/** OMERO server host */
private String host;
Expand All @@ -66,7 +66,7 @@ public class PixelBufferVerticle extends OmeroMsAbstractVerticle {
* @param host OMERO server host.
* @param port OMERO server port.
*/
public PixelBufferVerticle(PixelsService pixelsService) {
public PixelBufferVerticle(ZarrPixelsService pixelsService) {
this.pixelsService = pixelsService;
}

Expand Down

0 comments on commit 88a104f

Please sign in to comment.