Skip to content

Commit

Permalink
Replace deprecated quarkus properties
Browse files Browse the repository at this point in the history
'quarkus.log.console.color' has been replaced
by 'quarkus.console.color'.
'quarkus.mongodb.native.dns.use-vertx-dns-resolver'
is obsolete because usage of that resolver is
now the default.
  • Loading branch information
calohmn committed Oct 9, 2023
1 parent dc13f1b commit 09feee6
Show file tree
Hide file tree
Showing 27 changed files with 52 additions and 53 deletions.
4 changes: 2 additions & 2 deletions adapter-base/src/test/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
# SPDX-License-Identifier: EPL-2.0
#
quarkus:
console:
color: true
log:
console:
color: true
level: INFO
min-level: TRACE
category:
Expand Down
4 changes: 2 additions & 2 deletions adapters/amqp/src/test/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
# SPDX-License-Identifier: EPL-2.0
#
quarkus:
console:
color: true
log:
console:
color: true
level: INFO
min-level: TRACE
category:
Expand Down
4 changes: 2 additions & 2 deletions adapters/coap/src/test/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
# SPDX-License-Identifier: EPL-2.0
#
quarkus:
console:
color: true
log:
console:
color: true
level: INFO
min-level: TRACE
category:
Expand Down
4 changes: 2 additions & 2 deletions adapters/http-base/src/test/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
# SPDX-License-Identifier: EPL-2.0
#
quarkus:
console:
color: true
log:
console:
color: true
level: INFO
min-level: TRACE
category:
Expand Down
4 changes: 2 additions & 2 deletions adapters/lora/src/test/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
# SPDX-License-Identifier: EPL-2.0
#
quarkus:
console:
color: true
log:
console:
color: true
level: INFO
min-level: TRACE
category:
Expand Down
4 changes: 2 additions & 2 deletions adapters/mqtt-base/src/test/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
# SPDX-License-Identifier: EPL-2.0
#
quarkus:
console:
color: true
log:
console:
color: true
level: INFO
min-level: TRACE
category:
Expand Down
2 changes: 2 additions & 0 deletions bom/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,8 @@ otel.traces.sampler.arg=endpoint=http://${docker.host.address:localhost}:4317
quarkus.devservices.enabled=false
# app id
quarkus.application.name=${app.id}
# console color, also applies to console logging
quarkus.console.color=true
# Log setup
quarkus.log.level=INFO
quarkus.log.category."io.quarkus.vertx.core.runtime".level=DEBUG
Expand Down
4 changes: 2 additions & 2 deletions cli/src/main/resources/application.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
quarkus:
banner:
enabled: false
console:
color: true
log:
console:
color: true
level: ERROR
min-level: TRACE
category:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ gateway:
serverRole: AMQP adapter

quarkus:
console:
color: true
log:
console:
color: true
level: INFO
min-level: TRACE
category:
Expand Down
4 changes: 2 additions & 2 deletions service-base/src/test/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
# SPDX-License-Identifier: EPL-2.0
#
quarkus:
console:
color: true
log:
console:
color: true
level: INFO
min-level: TRACE
category:
Expand Down
4 changes: 2 additions & 2 deletions services/auth-base/src/test/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
# SPDX-License-Identifier: EPL-2.0
#
quarkus:
console:
color: true
log:
console:
color: true
level: INFO
min-level: TRACE
category:
Expand Down
4 changes: 2 additions & 2 deletions services/command-router/src/test/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
# SPDX-License-Identifier: EPL-2.0
#
quarkus:
console:
color: true
log:
console:
color: true
level: INFO
min-level: TRACE
category:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
# SPDX-License-Identifier: EPL-2.0
#
quarkus:
console:
color: true
log:
console:
color: true
level: INFO
min-level: TRACE
category:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
# SPDX-License-Identifier: EPL-2.0
#
quarkus:
console:
color: true
log:
console:
color: true
level: INFO
min-level: TRACE
category:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,3 @@ ${quarkus.application.properties}
quarkus.jackson.accept-case-insensitive-enums=true
# fail deserialization of JSON objects sent by clients if they contain unexpected content
quarkus.jackson.fail-on-unknown-properties=true
# this is needed in order to support mongodb+srv:// style connection strings in native executable
# see https://quarkus.io/guides/mongodb
quarkus.mongodb.native.dns.use-vertx-dns-resolver=true
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
# SPDX-License-Identifier: EPL-2.0
#
quarkus:
console:
color: true
log:
console:
color: true
level: INFO
min-level: TRACE
category:
Expand Down
4 changes: 2 additions & 2 deletions tests/src/test/resources/amqp/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,9 @@ quarkus:
exporter:
otlp:
endpoint: "${otel-collector.endpoint}"
console:
color: true
log:
console:
color: true
level: INFO
min-level: TRACE
category:
Expand Down
4 changes: 2 additions & 2 deletions tests/src/test/resources/auth/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ hono:
supportedSaslMechanisms: "PLAIN"

quarkus:
console:
color: true
log:
console:
color: true
level: INFO
min-level: TRACE
category:
Expand Down
4 changes: 2 additions & 2 deletions tests/src/test/resources/coap/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,9 @@ quarkus:
exporter:
otlp:
endpoint: "${otel-collector.endpoint}"
console:
color: true
log:
console:
color: true
level: INFO
min-level: TRACE
category:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,9 @@ quarkus:
exporter:
otlp:
endpoint: "${otel-collector.endpoint}"
console:
color: true
log:
console:
color: true
level: INFO
min-level: TRACE
category:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,9 @@ quarkus:
exporter:
otlp:
endpoint: "${otel-collector.endpoint}"
console:
color: true
log:
console:
color: true
level: INFO
min-level: TRACE
category:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,9 @@ quarkus:
exporter:
otlp:
endpoint: "${otel-collector.endpoint}"
console:
color: true
log:
console:
color: true
level: INFO
min-level: TRACE
category:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,9 @@ quarkus:
exporter:
otlp:
endpoint: "${otel-collector.endpoint}"
console:
color: true
log:
console:
color: true
level: INFO
min-level: TRACE
category:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,9 @@ quarkus:
exporter:
otlp:
endpoint: "${otel-collector.endpoint}"
console:
color: true
log:
console:
color: true
level: INFO
min-level: TRACE
category:
Expand Down
4 changes: 2 additions & 2 deletions tests/src/test/resources/http/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,9 @@ quarkus:
exporter:
otlp:
endpoint: "${otel-collector.endpoint}"
console:
color: true
log:
console:
color: true
level: INFO
min-level: TRACE
category:
Expand Down
4 changes: 2 additions & 2 deletions tests/src/test/resources/lora/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,9 @@ quarkus:
exporter:
otlp:
endpoint: "${otel-collector.endpoint}"
console:
color: true
log:
console:
color: true
level: INFO
min-level: TRACE
category:
Expand Down
4 changes: 2 additions & 2 deletions tests/src/test/resources/mqtt/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,9 @@ quarkus:
exporter:
otlp:
endpoint: "${otel-collector.endpoint}"
console:
color: true
log:
console:
color: true
level: INFO
min-level: TRACE
category:
Expand Down

0 comments on commit 09feee6

Please sign in to comment.