Skip to content

Commit

Permalink
Use micronaut.server.ssl.port (#11507)
Browse files Browse the repository at this point in the history
micronaut.ssl.port is deprecated
  • Loading branch information
sdelamo committed Jan 15, 2025
1 parent f53d71c commit 7dea727
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class PcapLoggingSpec extends Specification {
'micronaut.http.client.pcap-logging-path-pattern': tmp.toString() + '/{localAddress}-{remoteAddress}-{qualifier}-{random}-{timestamp}.pcap',
'micronaut.ssl.enabled': true,
'micronaut.ssl.buildSelfSigned': true,
'micronaut.ssl.port': -1,
'micronaut.server.ssl.port': -1,
'micronaut.http.client.ssl.insecure-trust-all-certificates': true,
])
def server = ctx.getBean(EmbeddedServer)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class PcapLoggingSpec extends Specification {
'micronaut.server.netty.pcap-logging-path-pattern': tmp.toString() + '/{localAddress}-{remoteAddress}-{qualifier}-{random}-{timestamp}.pcap',
'micronaut.ssl.enabled': true,
'micronaut.ssl.buildSelfSigned': true,
'micronaut.ssl.port': -1,
'micronaut.server.ssl.port': -1,
'micronaut.http.client.ssl.insecure-trust-all-certificates': true,
])
def server = ctx.getBean(EmbeddedServer)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ class AccessLogSpec extends Specification {
'spec.name': 'AccessLogSpec',
'micronaut.server.http-version': '2.0',
'micronaut.ssl.enabled': true,
'micronaut.ssl.port': -1,
'micronaut.server.ssl.port': -1,
'micronaut.ssl.buildSelfSigned': true,
'micronaut.server.netty.access-logger.enabled': true,
'micronaut.server.netty.access-logger.logger-name': 'http-access-log',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class Http2ConcurrentStreamSpec extends Specification {
'spec.name' : 'Http2ConcurrentStreamSpec',
'micronaut.server.http-version': '2.0',
'micronaut.ssl.enabled' : true,
'micronaut.ssl.port' : -1,
'micronaut.server.ssl.port' : -1,
'micronaut.ssl.buildSelfSigned': true,
])
def server = ctx.getBean(EmbeddedServer)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public class EmbeddedServerUnderTest implements ServerUnderTest {

public EmbeddedServerUnderTest(@NonNull Map<String, Object> properties) {
properties.putIfAbsent("micronaut.server.port", -1);
properties.putIfAbsent("micronaut.ssl.port", -1);
properties.putIfAbsent("micronaut.server.ssl.port", -1);
this.embeddedServer = ApplicationContext.run(EmbeddedServer.class, properties);
this.isBlockingClient = (boolean) properties.getOrDefault(BLOCKING_CLIENT_PROPERTY, true);
}
Expand Down

0 comments on commit 7dea727

Please sign in to comment.