-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use Quarkus Beta, Added RESTEasy Reactive and Hibernate Reactive opti…
…ons (#6224)
- Loading branch information
Showing
110 changed files
with
2,866 additions
and
248 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
45 changes: 0 additions & 45 deletions
45
...uarkus/pgclient/src/main/java/io/quarkus/benchmark/resource/pgclient/FortuneResource.java
This file was deleted.
Oops, something went wrong.
21 changes: 0 additions & 21 deletions
21
frameworks/Java/quarkus/pgclient/src/main/resources/templates/Fortunes.rocker.html
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 28 additions & 0 deletions
28
frameworks/Java/quarkus/quarkus-reactive-routes-hibernate-reactive.dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
FROM maven:3.6.3-jdk-11-slim as maven | ||
WORKDIR /quarkus | ||
ENV MODULE=reactive-routes-hibernate-reactive | ||
|
||
COPY pom.xml pom.xml | ||
COPY $MODULE/pom.xml $MODULE/pom.xml | ||
|
||
# Uncomment to test pre-release quarkus | ||
#RUN mkdir -p /root/.m2/repository/io | ||
#COPY m2-quarkus /root/.m2/repository/io/quarkus | ||
|
||
WORKDIR /quarkus/$MODULE | ||
RUN mvn dependency:go-offline -q | ||
WORKDIR /quarkus | ||
|
||
COPY $MODULE/src $MODULE/src | ||
|
||
WORKDIR /quarkus/$MODULE | ||
RUN mvn package -q | ||
WORKDIR /quarkus | ||
|
||
FROM openjdk:11.0.6-jdk-slim | ||
WORKDIR /quarkus | ||
ENV MODULE=reactive-routes-hibernate-reactive | ||
|
||
COPY --from=maven /quarkus/$MODULE/target/lib lib | ||
COPY --from=maven /quarkus/$MODULE/target/$MODULE-1.0-SNAPSHOT-runner.jar app.jar | ||
CMD ["java", "-server", "-XX:-UseBiasedLocking", "-XX:+UseStringDeduplication", "-XX:+UseNUMA", "-XX:+UseParallelGC", "-Djava.lang.Integer.IntegerCache.high=10000", "-Dvertx.disableHttpHeadersValidation=true", "-Dvertx.disableMetrics=true", "-Dvertx.disableH2c=true", "-Dvertx.disableWebsockets=true", "-Dvertx.flashPolicyHandler=false", "-Dvertx.threadChecks=false", "-Dvertx.disableContextTimings=true", "-Dvertx.disableTCCL=true", "-Dhibernate.allow_update_outside_transaction=true", "-Djboss.threads.eqe.statistics=false", "-jar", "app.jar"] |
Oops, something went wrong.