diff --git a/.dockerignore b/.dockerignore index a351ee1b..2aea807a 100644 --- a/.dockerignore +++ b/.dockerignore @@ -2,6 +2,7 @@ .gradle .idea /build/ +**/build/ target/ */target/ bin/ diff --git a/dap-gateway/Dockerfile b/dap-gateway/Dockerfile index 29fe7cf8..305daf30 100644 --- a/dap-gateway/Dockerfile +++ b/dap-gateway/Dockerfile @@ -1,8 +1,15 @@ +FROM eclipse-temurin:21-jdk-alpine AS builder +WORKDIR /workspace +COPY . . +RUN chmod +x gradlew \ + && ./gradlew :dap-gateway:bootJar -x test --no-daemon \ + && find dap-gateway/build/libs -name '*-SNAPSHOT.jar' ! -name '*-plain.jar' -exec cp {} /workspace/app.jar \; + FROM eclipse-temurin:21-jre-alpine WORKDIR /app RUN apk add --no-cache tzdata ENV TZ=Asia/Seoul -COPY dap-gateway/build/libs/*-SNAPSHOT.jar app.jar +COPY --from=builder /workspace/app.jar app.jar EXPOSE 8081 ENTRYPOINT ["java", "-jar", "app.jar"] diff --git a/dap-gateway/src/main/resources/static/admin/scaffold.html b/dap-gateway/src/main/resources/static/admin/scaffold.html index 1bd6cd9f..83d34058 100644 --- a/dap-gateway/src/main/resources/static/admin/scaffold.html +++ b/dap-gateway/src/main/resources/static/admin/scaffold.html @@ -383,6 +383,7 @@ Chat Tester Console + Report
diff --git a/dap-gateway/src/main/resources/static/catalog.html b/dap-gateway/src/main/resources/static/catalog.html index b13da770..9b2db340 100644 --- a/dap-gateway/src/main/resources/static/catalog.html +++ b/dap-gateway/src/main/resources/static/catalog.html @@ -72,6 +72,7 @@ Chat Tester Console + Report
diff --git a/dap-gateway/src/main/resources/static/chat.html b/dap-gateway/src/main/resources/static/chat.html index 70b21172..0c0808ab 100644 --- a/dap-gateway/src/main/resources/static/chat.html +++ b/dap-gateway/src/main/resources/static/chat.html @@ -59,6 +59,7 @@ Chat Tester Console + Report
diff --git a/dap-gateway/src/main/resources/static/index.html b/dap-gateway/src/main/resources/static/index.html index 60caadc8..a9ee7afd 100644 --- a/dap-gateway/src/main/resources/static/index.html +++ b/dap-gateway/src/main/resources/static/index.html @@ -103,6 +103,7 @@ Chat Tester Console + Report
@@ -208,6 +209,20 @@ Open Console
+ + + +
+ +
+

Tool Report

+

+ Select MCP tools and generate consistent Excel reports from source annotations, schemas, and interface fields. +

+
+ Create Report +
+
diff --git a/dap-gateway/src/main/resources/static/playground.html b/dap-gateway/src/main/resources/static/playground.html index 4c2a7efe..5e5f70b6 100644 --- a/dap-gateway/src/main/resources/static/playground.html +++ b/dap-gateway/src/main/resources/static/playground.html @@ -114,6 +114,7 @@ Chat Tester Console + Report
diff --git a/dap-gateway/src/main/resources/static/tester.html b/dap-gateway/src/main/resources/static/tester.html index 7565dcca..af6a82fa 100644 --- a/dap-gateway/src/main/resources/static/tester.html +++ b/dap-gateway/src/main/resources/static/tester.html @@ -77,6 +77,7 @@ Chat Tester Console + Report
diff --git a/dap-was-lib/src/main/resources/static/tool-test-console.html b/dap-was-lib/src/main/resources/static/tool-test-console.html index 951eda99..33ea43b3 100644 --- a/dap-was-lib/src/main/resources/static/tool-test-console.html +++ b/dap-was-lib/src/main/resources/static/tool-test-console.html @@ -46,6 +46,7 @@ Chat Tester Console + Report
@@ -257,4 +258,4 @@ })(); - \ No newline at end of file + diff --git a/dap-was-oth/Dockerfile b/dap-was-oth/Dockerfile index 51b0b079..053f75a9 100644 --- a/dap-was-oth/Dockerfile +++ b/dap-was-oth/Dockerfile @@ -1,8 +1,15 @@ +FROM eclipse-temurin:21-jdk-alpine AS builder +WORKDIR /workspace +COPY . . +RUN chmod +x gradlew \ + && ./gradlew :dap-was-oth:bootJar -x test --no-daemon \ + && find dap-was-oth/build/libs -name '*-SNAPSHOT.jar' ! -name '*-plain.jar' -exec cp {} /workspace/app.jar \; + FROM eclipse-temurin:21-jre-alpine WORKDIR /app RUN apk add --no-cache tzdata ENV TZ=Asia/Seoul -COPY dap-was-oth/build/libs/*-SNAPSHOT.jar app.jar +COPY --from=builder /workspace/app.jar app.jar EXPOSE 8084 ENTRYPOINT ["java", "-jar", "app.jar"] diff --git a/dap-was-sms/Dockerfile b/dap-was-sms/Dockerfile index 44631b5c..acf3471a 100644 --- a/dap-was-sms/Dockerfile +++ b/dap-was-sms/Dockerfile @@ -1,8 +1,15 @@ +FROM eclipse-temurin:21-jdk-alpine AS builder +WORKDIR /workspace +COPY . . +RUN chmod +x gradlew \ + && ./gradlew :dap-was-sms:bootJar -x test --no-daemon \ + && find dap-was-sms/build/libs -name '*-SNAPSHOT.jar' ! -name '*-plain.jar' -exec cp {} /workspace/app.jar \; + FROM eclipse-temurin:21-jre-alpine WORKDIR /app RUN apk add --no-cache tzdata ENV TZ=Asia/Seoul -COPY dap-was-sms/build/libs/*-SNAPSHOT.jar app.jar +COPY --from=builder /workspace/app.jar app.jar EXPOSE 8082 ENTRYPOINT ["java", "-jar", "app.jar"] diff --git a/settings.gradle b/settings.gradle index d70ddd2d..e68aab4d 100644 --- a/settings.gradle +++ b/settings.gradle @@ -4,3 +4,4 @@ include 'dap-gateway' include 'dap-was-lib' include 'dap-was-sms' include 'dap-was-oth' +include 'dap-tool-report'