Skip to content

Commit d51c9d8

Browse files
authored
Merge pull request #28 from sbesson/vertx_4
Upgrade to Vert.x 4
2 parents 57b5234 + ef28dc2 commit d51c9d8

File tree

2 files changed

+9
-12
lines changed

2 files changed

+9
-12
lines changed

build.gradle

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -55,15 +55,15 @@ dependencies {
5555
implementation 'io.zipkin.reporter2:zipkin-sender-okhttp3:2.10.0'
5656
implementation 'ch.qos.logback:logback-classic:1.3.15'
5757
implementation 'org.slf4j:log4j-over-slf4j:1.7.32'
58-
implementation 'com.glencoesoftware.omero:omero-zarr-pixel-buffer:0.4.1'
59-
implementation 'com.glencoesoftware.omero:omero-ms-core:0.9.1'
60-
implementation 'io.vertx:vertx-web:3.8.1'
61-
implementation 'io.vertx:vertx-config:3.8.1'
62-
implementation 'io.vertx:vertx-config-yaml:3.8.1'
63-
implementation 'org.openmicroscopy:omero-blitz:5.8.0'
58+
implementation 'com.glencoesoftware.omero:omero-zarr-pixel-buffer:0.5.0'
59+
implementation 'com.glencoesoftware.omero:omero-ms-core:0.11.0-rc1'
60+
implementation 'io.vertx:vertx-web:4.5.16'
61+
implementation 'io.vertx:vertx-config:4.5.16'
62+
implementation 'io.vertx:vertx-config-yaml:4.5.16'
63+
implementation 'org.openmicroscopy:omero-blitz:5.8.3'
6464
implementation 'io.prometheus.jmx:collector:0.12.0'
6565
implementation 'io.prometheus:simpleclient_hotspot:0.8.0'
66-
implementation 'com.zeroc:icegrid:3.6.4'
66+
implementation 'com.zeroc:icegrid:3.6.5'
6767
testImplementation 'org.testng:testng:6.10'
6868
testImplementation 'org.mockito:mockito-core:2.+'
6969
}

src/main/java/com/glencoesoftware/omero/ms/pixelbuffer/PixelBufferMicroserviceVerticle.java

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@
4848
import io.vertx.core.DeploymentOptions;
4949
import io.vertx.core.Handler;
5050
import io.vertx.core.Promise;
51+
import io.vertx.core.ThreadingModel;
5152
import io.vertx.core.buffer.Buffer;
5253
import io.vertx.core.eventbus.ReplyException;
5354
import io.vertx.core.http.HttpServer;
@@ -101,10 +102,6 @@ public class PixelBufferMicroserviceVerticle extends OmeroMsAbstractVerticle {
101102

102103
private Tracing tracing;
103104

104-
static {
105-
com.glencoesoftware.omero.ms.core.SSLUtils.fixDisabledAlgorithms();
106-
}
107-
108105
/**
109106
* Entry point method which starts the server event loop and initializes
110107
* our current OMERO.web session store.
@@ -228,7 +225,7 @@ public void deploy(JsonObject config, Promise<Void> prom) {
228225
).orElse(DEFAULT_WORKER_POOL_SIZE);
229226
vertx.deployVerticle("omero:omero-ms-pixel-buffer-verticle",
230227
new DeploymentOptions()
231-
.setWorker(true)
228+
.setThreadingModel(ThreadingModel.WORKER)
232229
.setInstances(workerPoolSize)
233230
.setWorkerPoolName("pixel-buffer-pool")
234231
.setWorkerPoolSize(workerPoolSize)

0 commit comments

Comments
 (0)