Skip to content

Commit

Permalink
Use reflection-free serializers (#1320)
Browse files Browse the repository at this point in the history
Signed-off-by: Eric Deandrea <edeandrea@redhat.com>
  • Loading branch information
edeandrea authored Dec 4, 2024
1 parent b771ecd commit 293b2d3
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions event-statistics/src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ quarkus.banner.path=banner.txt
quarkus.http.port=8085
quarkus.http.test-port=0
quarkus.jackson.serialization-inclusion=non-empty
quarkus.rest.jackson.optimization.enable-reflection-free-serializers=true
quarkus.websockets-next.server.auto-ping-interval=1m

## Kafka configuration
Expand Down
1 change: 1 addition & 0 deletions rest-fights/src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ quarkus.generate-code.grpc.descriptor-set.name=locationservice-v1.dsc
quarkus.http.port=8082
quarkus.jackson.serialization-inclusion=non-empty
quarkus.http.test-port=0
quarkus.rest.jackson.optimization.enable-reflection-free-serializers=true

## Mongo
quarkus.mongodb.metrics.enabled=true
Expand Down
4 changes: 4 additions & 0 deletions rest-heroes/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ quarkus:
test-port: 0
jackson:
serialization-inclusion: non-empty
rest:
jackson:
optimization:
enable-reflection-free-serializers: true
smallrye-openapi:
info-title: Hero API
info-description: This API allows CRUD operations on a hero
Expand Down
1 change: 1 addition & 0 deletions rest-narration/src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ quarkus.langchain4j.azure-openai.dalle3.max-retries=${quarkus.langchain4j.azure-
quarkus.http.port=8087
quarkus.http.test-port=0
quarkus.jackson.serialization-inclusion=non-empty
quarkus.rest.jackson.optimization.enable-reflection-free-serializers=true

## Logging configuration
quarkus.log.category."io.quarkus.sample.superheroes".level=DEBUG
Expand Down
1 change: 1 addition & 0 deletions rest-villains/src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ quarkus.banner.path=banner.txt
quarkus.http.port=8084
quarkus.http.test-port=0
quarkus.jackson.serialization-inclusion=non-empty
quarkus.rest.jackson.optimization.enable-reflection-free-serializers=true

# drop and create the database at startup (use `update` to only update the schema or 'validate' to only validate the schema)
quarkus.hibernate-orm.database.generation=drop-and-create
Expand Down
1 change: 1 addition & 0 deletions ui-super-heroes/src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ quarkus.application.name=ui-super-heroes
quarkus.banner.path=banner.txt

quarkus.http.test-port=0
quarkus.rest.jackson.optimization.enable-reflection-free-serializers=true

quarkus.quinoa.package-manager-install=true
quarkus.quinoa.package-manager-install.node-version=20.18.0
Expand Down

0 comments on commit 293b2d3

Please sign in to comment.