diff --git a/pom.xml b/pom.xml index 291aa0a..f89ec80 100644 --- a/pom.xml +++ b/pom.xml @@ -24,13 +24,12 @@ 3.11.0 - 21 - 21 + 21 true 3.4.3 UTF-8 UTF-8 - 3.8.3 + 3.9.1 quarkus-bom io.quarkus.platform 3.1.0 @@ -70,11 +69,11 @@ io.quarkus - quarkus-rest-client-reactive + quarkus-rest-client io.quarkus - quarkus-resteasy-reactive-jackson + quarkus-rest-jackson io.quarkus diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index acf7d8f..9b14a70 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -6,7 +6,8 @@ quarkus.mongodb.devservices.enabled=false # mandatory if you don't specify the name of the database using @MongoEntity quarkus.mongodb.database = cats quarkus.http.cors=true -quarkus.http.cors.origins=* +quarkus.http.cors.origins=/.*/ +quarkus.dev-ui.cors.enabled=false quarkus.swagger-ui.always-include=true quarkus.swagger-ui.theme=material quarkus.banner.path=banner.txt @@ -26,6 +27,7 @@ quarkus.http.http2=true quarkus.http.port=8080 quarkus.http.ssl-port=8443 quarkus.http.ssl.certificate.key-store-file=keystore.jks +quarkus.http.ssl.certificate.key-store-password=password quarkus.http.host=0.0.0.0 quarkus.native.additional-build-args=-H:ResourceConfigurationFiles=resources-config.json @@ -56,7 +58,7 @@ quarkus.console.color=false %test.quarkus.log.level=INFO # rest client nsff (not safe for families) -app.petbattle.rest.client.NSFFService/mp-rest/scope=javax.inject.Singleton +app.petbattle.rest.client.NSFFService/mp-rest/scope=jakarta.inject.Singleton app.petbattle.rest.client.NSFFService/mp-rest/url=http://localhost:5000 #app.petbattle.rest.client.NSFFService/mp-rest/url=http://tensorflowserving-pet-battle-nsff-pb.apps.hivec.sandbox1249.opentlc.com app.petbattle.nsff.enabled=false diff --git a/src/test/resources/application.properties b/src/test/resources/application.properties index f56cab5..543b7e1 100644 --- a/src/test/resources/application.properties +++ b/src/test/resources/application.properties @@ -5,14 +5,15 @@ quarkus.mongodb.write-concern.journal=false # mandatory if you don't specify the name of the database using @MongoEntity quarkus.mongodb.database = cats quarkus.http.cors=true -quarkus.http.cors.origins=* +quarkus.http.cors.origins=/.*/ +quarkus.dev-ui.cors.enabled=false quarkus.swagger-ui.always-include=true # rest quarkus.http.test-port=8081 # nsff -app.petbattle.rest.client.NSFFService/mp-rest/scope=javax.inject.Singleton +app.petbattle.rest.client.NSFFService/mp-rest/scope=jakarta.inject.Singleton app.petbattle.rest.client.NSFFService/mp-rest/url=http://localhost:5000 #app.petbattle.rest.client.NSFFService/mp-rest/url=http://tensorflowserving-pet-battle-nsff-pb.apps.hivec.sandbox1249.opentlc.com app.petbattle.nsff.enabled=false @@ -23,7 +24,7 @@ app.petbattle.nsff.limit=0.6 quarkus.log.level=${QUARKUS_LOG_LEVEL:INFO} quarkus.log.console.enable=true quarkus.log.console.format=%d{HH:mm:ss} %-5p [%c{2.}] (%t) %s%e%n -quarkus.log.console.color=false -%dev.quarkus.log.console.color=true -%test.quarkus.log.console.color=false +quarkus.console.color=false +%dev.quarkus.console.color=true +%test.quarkus.console.color=false %test.quarkus.log.level=INFO