Category "micronaut"

How to set root log level for application in micronaut

I am working on a cli application that can take in some options: --info, --debug, --trace. I would like to use the arguments to set the logging level for the en

setting micronaut configuration location

I have an existing groovy micronaut app I'm trying to change where it loads its config from. I don't understand what code to write so I can set the location of

Micronaut Security - Set PublicKey for RSASignatureConfiguration

All the examples of how to validate a JWT token that I found in micronaut are using a "secret". They do it this way: micronaut: security: authentication:

Micronaut - Error encoding object to JSON: No serializer found for class io.netty.handler.codec.http.cookie.ServerCookieEncoder

Using Micronaut micronautVersion=3.4.3 getting an below exception for the below code @Validated public interface ICategoryOperation { @Get(value = "/{?searc

org.graalvm.compiler.java: UnsupportedFeatureException: No instances of org.bson.BsonDocument are allowed in the image heap

Trying to create native image on micronaut application with Graal VM 22.1.0.r17 using gradle command as ./gradlew nativeCompile but getting an exception as Cau

org.graalvm.compiler.java: UnsupportedFeatureException: No instances of org.bson.BsonDocument are allowed in the image heap

Trying to create native image on micronaut application with Graal VM 22.1.0.r17 using gradle command as ./gradlew nativeCompile but getting an exception as Cau

Couldn't build application native image with GraalVM

I have built an API in Micronaut and trying to deploy in it GCP Cloud Run as a native graalVM image This is my Dockerfile # Stage 1: Build the JAR FROM gradle:j

Micronaut GCP global pubsub endpoint

I've searched the Micronaut docs for a solution how to define GCP topic endpoint globally, but with no luck. Right now, I'll have to do the below config in ever

Micronaut data @MongoFindQuery not working with multiple fields

I am trying to write custom query using @MongoFindQuery but it's not working with multiple fileds, Repository Interface @MongoRepository public interface BookRe

java.lang.ClassCastException class xxxxx cannot be cast to class io.micronaut.data.model.Page Micronaut data

Trying to implement the pagination with Micronaut data with MongoDB as below @MongoRepository public interface IDiscountRepository extends ReactorCrudRepository

How to get full list of request headers in Micronaut

I am trying to get a list of all headers sent in a http request in a Micronaut @Controller.

How to generate endpoints for micronaut via OpenApi Generator?

Is there a way in micronaut to generate endpoints in a way like we do it in spring-boot via spec.yaml file? our code represented an endpoint @Override public Re

Micronaut @Requires annotation not respected in pipeline

I have built a Micronaut application which so far has not had any CI pipeline. All builds work flawlessly on all developer computers, but I can't for the life o