RomanNess / micronaut-eval

evaluate micronaut 1.2.3

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

micronaut-eval

Me testing out micronaut 1.2.3 as a alternative to Spring Boot for lightweight services.

The focus is to evaluate if ...

  1. I can setup a modern microservice with typical requirements.
  2. I can solve the typical problems that I already have a solution for in Spring Boot.

Requirements

  • bootstrap new projects easily
    • install mn cli, e.g. with skdman; then run mn create-app your-app-name
  • build with Maven
    • --build maven flag for mn
  • json support
    • works out-of-the-box with Jackson
  • logging
    • works out-of-the-box with logback
  • assertj assertions
    • newest version works
  • lombok
  • more requirements tbd

Problems

  • integration tests for rest endpoints (mockMvc style)
    • minimal solution with micronaut HttpClient (out-of-the-box)
    • use rest-assured without mockmvc? (provides a convenient DSL & jsonpath matching but has a hamcrest dependency)
    • both solutions require you to handle rollback/cleanup after calling endpoints that write data
  • more problems tbd

About

evaluate micronaut 1.2.3


Languages

Language:Java 88.7%Language:Dockerfile 6.6%Language:Makefile 4.8%