Difference between revisions of "IT-SDK-Quarkus"
Jump to navigation
Jump to search
Samerhijazi (talk | contribs) (→OpenShift) |
(→ref: Roadmap) |
||
| Line 16: | Line 16: | ||
* https://github.com/quarkusio/quarkus-quickstarts | * https://github.com/quarkusio/quarkus-quickstarts | ||
* https://redhat-developer-demos.github.io/quarkus-tutorial/quarkus-tutorial/index.html | * https://redhat-developer-demos.github.io/quarkus-tutorial/quarkus-tutorial/index.html | ||
| + | * https://quarkiverse.github.io/quarkiverse-docs/quarkus-cxf/dev/server.html | ||
* ------------------------------------------------------- | * ------------------------------------------------------- | ||
* https://quarkus.io/guides/datasource | * https://quarkus.io/guides/datasource | ||
Revision as of 13:22, 29 June 2021
Quarkus
OpenShift
- https://www.youtube.com/watch?v=QxJQMb35RWU
- https://quarkus.io/guides/getting-started
- https://quarkus.io/guides/maven-tooling
- https://quarkus.io/guides/deploying-to-kubernetes
- https://quarkus.io/guides/deploying-to-openshift
oc new-build --name qshift --strategy docker --code . --dockerfile - < src/main/docker/Dockerfile.jvm oc start-build --from-dir . qshift oc new-app --image-stream airhacks/qshift --name qshift
ref: Roadmap
- https://lankydan.dev/building-a-rest-api-with-quarkus
- https://github.com/quarkusio/quarkus-quickstarts
- https://redhat-developer-demos.github.io/quarkus-tutorial/quarkus-tutorial/index.html
- https://quarkiverse.github.io/quarkiverse-docs/quarkus-cxf/dev/server.html
- -------------------------------------------------------
- https://quarkus.io/guides/datasource
- https://quarkus.io/guides/getting-started
- https://quarkus.io/guides/getting-started-reactive
- https://quarkus.io/guides/rest-json
- https://quarkus.io/guides/rest-client
- https://quarkus.io/guides/reactive-sql-clients
- https://quarkus.io/guides/hibernate-orm
- -------------------------------------------------------
- https://quarkus.io/guides/config
- https://quarkus.io/guides/config-reference
- https://quarkus.io/guides/all-config
- https://quarkus.io/guides/maven-tooling
- https://microprofile.io/project/eclipse/microprofile-config
- https://smallrye.io/docs/smallrye-config/index.html
- -------------------------------------------------------
- https://quarkus.io/guides/flyway
- https://quarkus.io/guides/microprofile-graphql
- https://quarkus.io/guides/kubernetes
- https://quarkus.io/quarkus-workshops/super-heroes
- ----------------------------------------------------
ref: Colletions
- https://github.com/quarkusio/quarkus/blob/master/integration-tests/flyway/src/main/java/io/quarkus/it/flyway/FlywayFunctionalityResource.java
- https://dzone.com/articles/building-a-rest-api-with-quarkus
- https://www.programcreek.com/java-api-examples/?code=quarkusio%2Fquarkus-quickstarts%2Fquarkus-quickstarts-master
- https://blogs.oracle.com/developers/configuring-the-oracle-jdbc-drivers-with-quarkus
- https://antoniogoncalves.org/2019/06/07/configuring-a-quarkus-application/
- https://dzone.com/articles/build-a-java-rest-api-with-quarkus
- https://dzone.com/articles/quick-guide-to-microservices-with-quarkus-on-opens
- http://www.mastertheboss.com/soa-cloud/quarkus/getting-started-with-quarkus
- https://www.mailing.dzone.com/click.html?x=a62e&lc=Uhy&mc=h&s=hbIX&u=f&z=oIlBEZc&
- https://jaxenter.de/serverless/quarkus-full-stack-framework-87817
docker pull maven:3.6-jdk-11-slim
Startup
mvn "io.quarkus:quarkus-maven-plugin:1.12.2.Final:create"
------------------------------------------------------------
mvn "io.quarkus:quarkus-maven-plugin:1.12.2.Final:create" \
-DprojectGroupId="net.condolco" \
-DprojectArtifactId="quarkus-app-00" \
-DclassName="init.SayHello" \
-Dpath="/hello" \
-Dextensions="resteasy,resteasy-jackson"
mvn package # create the project mvn compile quarkus:dev mvn quarkus:list-extensions mvn quarkus:add-extension -Dextensions="hibernate-validator" mvn quarkus:add-extension -Dextensions="hibernate-*"
## mode: jvm mvn clean package -DskipTests java -jar target/tutorial-app-1.0-SNAPSHOT-runner.jar
## mode: native mvn clean package -DskipTests -Pnative ./target/tutorial-app-1.0-SNAPSHOT-runner
## mode: native contianer mvn package -DskipTests -Pnative -Dquarkus.native.container-build=true docker build -f src/main/docker/Dockerfile.native -t example/tutorial-app:1.0-SNAPSHOT . docker run -it --rm -p 8080:8080 example/tutorial-app:1.0-SNAPSHOT