I have two projects known as (Common and ApiGateway).The common is a Gradle java project and ApiGateway is a Micronaut java application. In the common project, I am keeping all the common things and referencing the jar to the Apigateway project. Common project The below code is compiled with ./gradlew build The API gateway implements the IProductOperation interface which is
Tag: micronaut-rest
micronaut @RequestScope – not creating bean per incoming http-request
I have a class the following class as RequestScope bean: The idea is to have an object containing the REST request level custom data accessible across the application, the scope of the this obviously should be within the current request. This can be used for say.. logging – whenever devs log anything from the application, some of the request meta