fix: 프로젝트명 & 패키지명 수정 반영

This commit is contained in:
이상진 2025-06-27 14:52:33 +09:00
parent 1eb46b7921
commit c348ae6dbd
2 changed files with 5 additions and 5 deletions

View File

@ -2,10 +2,10 @@ FROM amazoncorretto:17-alpine-jdk
COPY docker/jmx/jmx_prometheus_javaagent-0.3.1.jar /opt/jmx_exporter/jmx_prometheus_javaagent-0.3.1.jar
COPY docker/jmx/client-metrics.yml /opt/jmx_exporter/client-metrics.yml
COPY build/libs/consumer-ssl-0.0.1-SNAPSHOT.jar /app/consumer-ssl-0.0.1-SNAPSHOT.jar
COPY build/libs/consumer-0.0.1-SNAPSHOT.jar /app/consumer-0.0.1-SNAPSHOT.jar
COPY ssl /ssl
EXPOSE 8080
EXPOSE 9400
ENTRYPOINT ["java", "-javaagent:/opt/jmx_exporter/jmx_prometheus_javaagent-0.3.1.jar=9400:/opt/jmx_exporter/client-metrics.yml", "-jar", "/app/consumer-ssl-0.0.1-SNAPSHOT.jar"]
ENTRYPOINT ["java", "-javaagent:/opt/jmx_exporter/jmx_prometheus_javaagent-0.3.1.jar=9400:/opt/jmx_exporter/client-metrics.yml", "-jar", "/app/consumer-0.0.1-SNAPSHOT.jar"]

6
run.sh
View File

@ -47,12 +47,12 @@ docker compose -f docker/docker-compose-application.yml up -d
echo "[4-1] 실행 후 30초 대기..."
sleep 30
echo "[4-1] 테스트 시작"
./gradlew clean test --tests "org.study.consumerssl.data.TestUtils.produceRecords"
./gradlew clean test --tests "com.sangdol.consumer.test.TestUtils.produceRecords"
echo "[4-1] 테스트 완료. SSL 모드 실행 전 2분 대기.."
sleep 120
echo "[4-1] 토픽 초기화.."
./gradlew clean test --tests "org.study.consumerssl.data.TestUtils.deleteAllExistTopics"
./gradlew clean test --tests "com.sangdol.consumer.test.TestUtils.deleteAllExistTopics"
echo " "
echo "---------------------"
@ -71,7 +71,7 @@ echo "[4-2] 실행 후 30초 대기..."
sleep 30
echo "[4-2] 테스트 시작"
./gradlew clean test --tests "org.study.consumerssl.data.TestUtils.produceRecords"
./gradlew clean test --tests "com.sangdol.consumer.test.TestUtils.produceRecords"
echo "[4-2] 이전과 동일하게 2분 대기 후 애플리케이션 종료.."
sleep 120