Skip to content

Commit 18419d4

Browse files
committed
update to dropwizard 5-rc.3, update dropwizard-test-junit4 to dropwizard 5
1 parent 4347b05 commit 18419d4

5 files changed

Lines changed: 7 additions & 13 deletions

File tree

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ wrapper {
1919
description = 'Dropwizard guice integration'
2020

2121
ext {
22-
dropwizard = '5.0.0-rc.2'
22+
dropwizard = '5.0.0-rc.3'
2323
guice = '7.0.0'
2424
hk2 = '3.0.6'
2525
spockJunit5 = '1.2.0'

dropwizard-guicey/src/test/groovy/ru/vyarus/dropwizard/guice/debug/renderer/guice/GuiceRendererCasesTest.groovy

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ class GuiceRendererCasesTest extends Specification {
138138
expect:
139139
render(new GuiceConfig()) == """
140140
141-
8 MODULES with 106 bindings
141+
8 MODULES with 105 bindings
142142
143143
├── CasesModule (r.v.d.g.d.r.g.support)
144144
│ ├── <typelistener> CustomTypeListener at ru.vyarus.dropwizard.guice.debug.renderer.guice.support.CasesModule.configure(CasesModule.java:19)
@@ -244,7 +244,6 @@ class GuiceRendererCasesTest extends Specification {
244244
├── instance [@Singleton] @Config("server.gzip.minimumEntitySize") DataSize at ru.vyarus.dropwizard.guice.module.yaml.bind.ConfigBindingModule.bindValuePaths(ConfigBindingModule.java:135)
245245
├── instance [@Singleton] @Config("server.gzip.syncFlush") Boolean at ru.vyarus.dropwizard.guice.module.yaml.bind.ConfigBindingModule.bindValuePaths(ConfigBindingModule.java:135)
246246
├── instance [@Singleton] @Config("server.idleThreadTimeout") Duration at ru.vyarus.dropwizard.guice.module.yaml.bind.ConfigBindingModule.bindValuePaths(ConfigBindingModule.java:135)
247-
├── instance [@Singleton] @Config("server.maxQueuedRequests") Integer at ru.vyarus.dropwizard.guice.module.yaml.bind.ConfigBindingModule.bindValuePaths(ConfigBindingModule.java:135)
248247
├── instance [@Singleton] @Config("server.maxThreads") Integer at ru.vyarus.dropwizard.guice.module.yaml.bind.ConfigBindingModule.bindValuePaths(ConfigBindingModule.java:135)
249248
├── instance [@Singleton] @Config("server.minThreads") Integer at ru.vyarus.dropwizard.guice.module.yaml.bind.ConfigBindingModule.bindValuePaths(ConfigBindingModule.java:135)
250249
├── instance [@Singleton] @Config("server.registerDefaultExceptionMappers") Boolean at ru.vyarus.dropwizard.guice.module.yaml.bind.ConfigBindingModule.bindValuePaths(ConfigBindingModule.java:135)

dropwizard-guicey/src/test/groovy/ru/vyarus/dropwizard/guice/debug/yaml/BindingsReportTest.groovy

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,6 @@ class BindingsReportTest extends Specification {
107107
@Config("server.gzip.minimumEntitySize") DataSize = 256 bytes
108108
@Config("server.gzip.syncFlush") Boolean = false
109109
@Config("server.idleThreadTimeout") Duration = 1 minute
110-
@Config("server.maxQueuedRequests") Integer = 1024
111110
@Config("server.maxThreads") Integer = 1024
112111
@Config("server.minThreads") Integer = 8
113112
@Config("server.registerDefaultExceptionMappers") Boolean = true
@@ -177,7 +176,6 @@ class BindingsReportTest extends Specification {
177176
├── gid: Integer = null
178177
├── group: String = null
179178
├── idleThreadTimeout: Duration = 1 minute
180-
├── maxQueuedRequests: Integer = 1024
181179
├── maxThreads: Integer = 1024
182180
├── metricPrefix: String = null
183181
├── minThreads: Integer = 8
@@ -295,7 +293,6 @@ class BindingsReportTest extends Specification {
295293
@Config("server.gzip.minimumEntitySize") DataSize = 256 bytes
296294
@Config("server.gzip.syncFlush") Boolean = false
297295
@Config("server.idleThreadTimeout") Duration = 1 minute
298-
@Config("server.maxQueuedRequests") Integer = 1024
299296
@Config("server.maxThreads") Integer = 1024
300297
@Config("server.metricPrefix") String = null
301298
@Config("server.minThreads") Integer = 8
@@ -407,7 +404,6 @@ class BindingsReportTest extends Specification {
407404
├── enableThreadNameFilter: Boolean = true
408405
├── enableVirtualThreads: Boolean = false
409406
├── idleThreadTimeout: Duration = 1 minute
410-
├── maxQueuedRequests: Integer = 1024
411407
├── maxThreads: Integer = 1024
412408
├── minThreads: Integer = 8
413409
├── registerDefaultExceptionMappers: Boolean = true

dropwizard-guicey/src/test/groovy/ru/vyarus/dropwizard/guice/yaml/ConfigInspectorTest.groovy

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,6 @@ class ConfigInspectorTest extends Specification {
9292
[Configuration] server.gzip.minimumEntitySize (DataSize) = 256 bytes
9393
[Configuration] server.gzip.syncFlush (Boolean) = false
9494
[Configuration] server.idleThreadTimeout (Duration) = 1 minute
95-
[Configuration] server.maxQueuedRequests (Integer) = 1024
9695
[Configuration] server.maxThreads (Integer) = 1024
9796
[Configuration] server.metricPrefix (String) = null
9897
[Configuration] server.minThreads (Integer) = 8
@@ -110,7 +109,7 @@ class ConfigInspectorTest extends Specification {
110109
[Configuration] server.user (String) = null"""
111110
res.rootTypes == [Configuration]
112111
res.uniqueTypePaths.size() == 8
113-
res.paths.size() == 61
112+
res.paths.size() == 60
114113
check(res, "server", DefaultServerFactory)
115114
check(res, "server.maxThreads", Integer, 1024)
116115
check(res, "server.idleThreadTimeout", Duration, Duration.minutes(1))
@@ -126,7 +125,7 @@ class ConfigInspectorTest extends Specification {
126125
[SimpleConfig] prim (Integer) = 0"""
127126
res.rootTypes == [SimpleConfig, Configuration]
128127
res.uniqueTypePaths.size() == 8
129-
res.paths.size() == 64
128+
res.paths.size() == 63
130129
check(res, "foo", String)
131130
check(res, "bar", Boolean)
132131
check(res, "prim", Integer)
@@ -138,7 +137,7 @@ class ConfigInspectorTest extends Specification {
138137
printConfig(res) == "[ObjectPropertyConfig] sub (Object) = null"
139138
res.rootTypes == [ObjectPropertyConfig, Configuration]
140139
res.uniqueTypePaths.size() == 8
141-
res.paths.size() == 62
140+
res.paths.size() == 61
142141
check(res, "sub", Object)
143142
elt.isObjectDeclaration()
144143
elt.declaredType == Object
@@ -171,7 +170,7 @@ class ConfigInspectorTest extends Specification {
171170
res.uniqueTypePaths.size() == 9
172171
res.uniqueTypePaths.find { it.valueType == ComplexConfig.SubConfig } != null
173172
res.uniqueTypePaths.find { it.valueType == ComplexConfig.Parametrized } == null
174-
res.paths.size() == 67
173+
res.paths.size() == 66
175174
check(res, "sub", ComplexConfig.SubConfig)
176175
check(res, "sub.sub", String)
177176
check(res, "sub.two", ComplexConfig.Parametrized, null, String)

guicey-test-junit4/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ dependencies {
55
exclude group: 'junit', module: 'junit-dep'
66
}
77

8-
implementation 'io.dropwizard.modules:dropwizard-testing-junit4:4.0.13'
8+
implementation 'io.dropwizard.modules:dropwizard-testing-junit4:5.0.0-rc.3'
99
implementation 'junit:junit'
1010

1111
testImplementation 'org.spockframework:spock-core:2.3-groovy-4.0'

0 commit comments

Comments
 (0)