An example of Spring Boot service written in Kotlin

Uses Spring Boot 5, Java 11, Kotlin 1.3

Done:

  • Gradle build
  • Model
  • REST API
  • SOAP API
  • Stub implementation
  • OpenAPI Spec + Swagger UI
  • "External" SOAP service invocation using CXF
  • MapStruct
  • "External" REST service invocation using WebClient
  • SpEL Gates
  • Async SOAP invocation
  • Merge 2 async responses using Reactor
  • Minimal logging w/Log4j2
  • Generate classes using OpenAPI spec

To do:

Try:

How to start

  1. Run mock
  2. Run service with -Dservice.timeout=1000 -Dservice.systemAEndpoint=http://localhost:8090/soap-api/system-a -Dservice.systemBUrl=http://localhost:8090

Thanks

@AnkBurov