Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Micronaut integration #2467

Merged

Conversation

tomas-langer
Copy link
Member

@tomas-langer tomas-langer commented Oct 19, 2020

Resolves #2386

Provides integration with Micronaut as follows:

  • Micronaut Singleton beans can be injected into CDI beans
  • Micronaut interceptors can be used in CDI, as long as proper annotation processor is defined
  • Support for Micronaut Data - tested with JDBC repository (both as an interface and abstract class)
  • Support for Micronaut Bean Validation
  • see example (examples/integrations/micronaut/data)
  • Native image support

Follow ups (TODO):

  • Documentation pages

@tomas-langer tomas-langer added enhancement New feature or request 2.x Issues for 2.x version branch labels Oct 19, 2020
@tomas-langer tomas-langer self-assigned this Oct 19, 2020
@tomas-langer tomas-langer changed the title 2386 Micronaut integration Micronaut integration Oct 20, 2020
@tomas-langer tomas-langer force-pushed the 2386-micronaut-integration branch 2 times, most recently from 1033461 to 3bc55e1 Compare October 20, 2020 09:39
paulparkinson
paulparkinson previously approved these changes Oct 22, 2020
Copy link
Contributor

@paulparkinson paulparkinson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is awesome :) I've tested it with Oracle ATP database using both hikari and UCP and it works well. So should add micronaut-jdbc-ucp in addition to micronaut-jdbc-hikari we have now, ie...

io.micronaut.sql
micronaut-jdbc-ucp
${version.lib.micronaut.sql}

@tomas-langer
Copy link
Member Author

Rebased and fixed review comments.

@tomas-langer tomas-langer added the dependencies Pull requests that update a dependency file label Nov 9, 2020
@tomas-langer tomas-langer added this to the 2.1.1 milestone Nov 9, 2020
@graemerocher
Copy link
Contributor

Just an update that Micronaut 2.2.0 is out which may allow @tomas-langer to cleanup some of the code if I recall

Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
- native image support
- test for example

Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
danielkec
danielkec previously approved these changes Nov 20, 2020
@tomas-langer tomas-langer merged commit fa59ea9 into helidon-io:master Dec 1, 2020
@tomas-langer tomas-langer deleted the 2386-micronaut-integration branch December 1, 2020 21:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2.x Issues for 2.x version branch dependencies Pull requests that update a dependency file enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Integration with Micronaut extensions
4 participants