项目作者: abondar24

项目描述 :
Big Quarkus Demo
高级语言: Java
项目地址: git://github.com/abondar24/QuarkusDemo.git
创建时间: 2020-03-26T13:15:20Z
项目社区:https://github.com/abondar24/QuarkusDemo

开源协议:MIT License

下载


QuarkusDemo

Demo features

  • rest + jwt security
  • mybatis cdi integration
  • mongodb integration
  • reactive streams
  • kafka integration
  • camel integration

Build and run

  1. ./mvnw clean compile quarkus:dev

or

  1. ./mvnw clean install
  2. java -jar target/quarkus-app/quarkus-run.jar

Access

Server is running on port 8020

SwaggerUI: http://localhost:8020/q/swagger-ui
Health: http://localhost:8020/q/health
DEV Endpoint: http://localhost:8020/q/dev/

Camel endpoints

POST http://localhost:8020/job

Body:

  1. {
  2. "id":101,
  3. "jobName":"Drink"
  4. }

GET http://localhost:8020/job

Ruuning profiles

  • Prod - need external stuff
  • Test - test containers are used
  • Dev - dev profile with dev tools enabled.
    To active profile via cmd: run with -Dquarkus.profile=profile-name