-
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.
* management-service: couple new tests + small reformat * management-service: more test * management-service: fixed most of the tests, few more to go * management-service: all tests works * management-service: all tests works with watch * management-service: refactor + jacoco for test coverage * client: added cash for management-service tests in docker-compose.test.yml * management-service: new tests for utils * management-service: more tests * management-service: more tests * management-service: refactor
- Loading branch information
Showing
27 changed files
with
2,110 additions
and
73 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 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,13 +1,24 @@ | ||
FROM eclipse-temurin:21-jdk-jammy as builder | ||
WORKDIR /opt/app | ||
|
||
COPY mvnw pom.xml ./ | ||
COPY .mvn/ .mvn | ||
RUN chmod +x ./mvnw && ./mvnw dependency:go-offline | ||
|
||
COPY ./src ./src | ||
RUN ./mvnw clean install -DskipTests | ||
|
||
FROM eclipse-temurin:21-jdk-jammy as tests | ||
WORKDIR /opt/app | ||
|
||
COPY --from=builder /opt/app /opt/app | ||
|
||
ENTRYPOINT ["./mvnw", "test"] | ||
|
||
FROM eclipse-temurin:21-jre-jammy | ||
WORKDIR /opt/app | ||
EXPOSE 8080 | ||
|
||
COPY --from=builder /opt/app/target/*.jar /opt/app/*.jar | ||
ENTRYPOINT ["java", "-jar", "/opt/app/*.jar" ] | ||
|
||
ENTRYPOINT ["java", "-jar", "/opt/app/*.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
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
17 changes: 0 additions & 17 deletions
17
management-service/src/main/java/pl/pwr/zpi/healthcheck/HealthCheckController.java
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
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
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
Oops, something went wrong.