-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* wip * add core submodule * working multi module setup * clean up run configuretions in idea * working docker image * update core commit * add tests to GH workflow * revert GH tests for now * update build * update envs and readme * update api description * fix examples in swagger * update core signature intact * Update .gitlab-ci.yml file * Update .gitlab-ci.yml file * Update .gitmodules * rm unnecessary build files * add deprecated /sign endpoint for avm-server
- Loading branch information
1 parent
dd9b230
commit 7bfcbe2
Showing
113 changed files
with
994 additions
and
5,945 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
.mvn/wrapper/maven-wrapper.jar | ||
.idea | ||
.git | ||
.github | ||
.gitlab | ||
.gitlab-ci.yml | ||
.vscode |
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 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,3 @@ | ||
[submodule "core"] | ||
path = core | ||
url = http://github.com/slovensko-digital/autogram-core.git |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
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
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 |
---|---|---|
@@ -1,15 +1,20 @@ | ||
FROM bellsoft/liberica-runtime-container:jdk-17.0.10-glibc as build | ||
FROM maven:3.9.9-eclipse-temurin-17-focal as build | ||
|
||
RUN apk add bash | ||
WORKDIR /app | ||
|
||
COPY mvnw mvnw | ||
COPY .mvn .mvn | ||
|
||
COPY pom.xml pom.xml | ||
RUN ./mvnw initialize | ||
COPY core/pom.xml core/pom.xml | ||
COPY service/pom.xml service/pom.xml | ||
|
||
COPY core/src core/src | ||
COPY service/src service/src | ||
|
||
RUN mvn package -P system-jdk | ||
|
||
|
||
COPY src src | ||
RUN apk add --no-cache binutils | ||
RUN ./mvnw package | ||
FROM eclipse-temurin:17.0.12_7-jre-noble as prod | ||
WORKDIR /app | ||
COPY --from=build /app/service/target/service-1.0.0-jar-with-dependencies.jar ./ | ||
|
||
CMD ["java", "-jar", "--add-exports", "java.base/sun.security.x509=ALL-UNNAMED", "target/avm-1.0.0.jar"] | ||
CMD ["java", "-jar", "--add-exports", "java.base/sun.security.x509=ALL-UNNAMED", "service-1.0.0-jar-with-dependencies.jar"] |
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
Oops, something went wrong.