Skip to content

Instantly share code, notes, and snippets.

@Karm
Created October 17, 2019 11:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Karm/0a0e21512df6fe94c3e4e09e1a146558 to your computer and use it in GitHub Desktop.
Save Karm/0a0e21512df6fe94c3e4e09e1a146558 to your computer and use it in GitHub Desktop.
MicroProfile Starter: OpenAlt 2019
Visit https://starter.karms.biz/ (or https://start.microprofile.io/ once Quarkus is released there)
Select MicroProfile version 3.0 (or newer)
Select MicroProfile Server Quarkus
Select examples you would like to see or all of them
Unzip demo.zip
cd service-a in one terminal and follow readme.md
cd service-b in another terminal and follow readme.md
Note there are 3 modes; try live hot reload :dev, JVM mode :build and also :native -Pnative
You can download another server, this time via CLI, pick only some specs (none selected = all are selected)
curl -O -J 'https://starter.karms.biz/api/project?supportedServer=HELIDON&selectedSpecs=JWT_AUTH&selectedSpecs=OPEN_TRACING&selectedSpecs=REST_CLIENT&artifactId=helidon'
You can also see full CLI documentation: curl https://starter.karms.biz/api
unzip helidon.zip, stop Quarkus service-b and run service-b from Helidon, see that Quarkus talks to Helidon
To play more with the REST API, one can see all specs:
curl 'https://starter.karms.biz/api/supportMatrix' | qjf
qjf tool is pretty-printing Json, https://github.com/Karm/qjf
Download your favorite server, try the demos, let us know what you think on https://gitter.im/eclipse/microprofile-starter or file an issue on GitHub: https://github.com/eclipse/microprofile-starter
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment