-
Notifications
You must be signed in to change notification settings - Fork 0
[ON-79] MobileMigration #19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Changes from all commits
9d61108
7e4b3a6
d2e071a
5830f5b
cc211db
c3d19f6
5fcabe2
92189bb
7f9d930
41ce1a8
e16f8b6
6a3edcf
27d3501
535ef4e
43d1de6
a81c7b2
ed115be
25bbc3c
94efdf7
288c4a4
e953a58
7879a49
27487e9
6cdfbd0
3cb6898
4c88196
b287d26
38ee7b3
ad57eab
02bb1d0
7d47815
49561c2
424f294
8ed140f
d454fdf
5e5b651
bcc172c
ff618c5
4db6152
1237b0a
a5ba56a
6a71a11
6eedf56
0b6781e
3a7dc5f
9ea679b
91f8fd4
764564d
2877c9b
5597394
9c6a50a
683d07a
e93f23d
00505fb
f6e1c8b
91107b6
5026439
1cc4d61
4cc6959
a848d16
249b721
1d05ecb
f189688
592875c
b6d4108
efc52e2
a286079
5b06cfa
669b623
9d402c7
48fb9b3
340c4bf
e649e82
bea8937
a3c368c
db6ddda
2c56e00
dc64e96
6ed8179
afeefb4
55d1437
3256bea
077cd06
2e5196e
2b0df4b
102ca43
9c71d2f
ed04718
0b98641
fc2d6fb
11f1c0f
34d8831
e5ba7ed
0b7ebce
93bff26
f833502
ecec615
a293075
7aee15a
974a466
bc66c7b
aa8ed39
dfaca09
4dc9b76
3976a0b
5488b1d
c2c5d4d
f753e70
3cf3f54
0f19a3c
07dae1f
88dd927
fce6229
0817967
6fa77d5
60fd121
69a7827
e1e0cee
cdd680c
ff67cea
c78d811
e528aa3
f3694ed
15792ac
04a0674
d443138
6e34344
fb5352c
89f36af
c9381ff
2af4379
5116640
5184a23
629c4a9
27d9531
f3e5e5c
5eee1f5
b58c335
033538d
03514ca
67881c5
9f01244
4c94fa7
1a11696
d2abd36
02eead6
e8f6be9
f5b8964
430863b
3542aa3
e4979a7
f1197bf
d6a3acf
0320c9f
ab6b68f
3f45be0
2872d14
840993e
76217e3
fd0c6a2
1c934d7
ee616d8
43bc083
90f6f2d
0e71e27
83c9c37
6036c1e
69a7d17
c1e7e71
f94e818
df1753f
81db96a
7031c68
8cf7455
c02632f
4c2d922
0b88735
0d437cf
98bd70a
ceff49b
98d6ef0
b177a59
4946591
1e3b31d
8d1ff51
6f19d3f
b85e8ce
12e566f
137a6c4
0d0e24a
fae7d83
2feae09
4a11444
a8aae11
5746ae6
062aabc
2cdfdad
fd3d227
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,81 @@ | ||
| # Local configuration files | ||
| application-local.properties | ||
| # Global Ignore | ||
|
|
||
| HELP.md | ||
| .gradle/ | ||
| build/ | ||
| !gradle/wrapper/gradle-wrapper.jar | ||
| !**/src/main/**/build/ | ||
| !**/src/test/**/build/ | ||
|
|
||
| # STS / Eclipse | ||
| .apt_generated | ||
| .classpath | ||
| .factorypath | ||
| .project | ||
| .settings/ | ||
| .springBeans/ | ||
| .sts4-cache/ | ||
| bin/ | ||
| !**/src/main/**/bin/ | ||
| !**/src/test/**/bin/ | ||
|
|
||
| # IntelliJ IDEA | ||
| .idea/ | ||
| *.iws | ||
| *.iml | ||
| *.ipr | ||
| out/ | ||
| !**/src/main/**/out/ | ||
| !**/src/test/**/out/ | ||
|
|
||
| # VS Code | ||
| .vscode/ | ||
|
|
||
| # NetBeans | ||
| /nbproject/private/ | ||
| /nbbuild/ | ||
| /dist/ | ||
| /nbdist/ | ||
| /.nb-gradle/ | ||
|
|
||
| # Gradle | ||
| gradle-app.setting | ||
| /gradle.properties | ||
|
|
||
| # Logs & Temp | ||
| logs/ | ||
| *.log | ||
| *.tmp | ||
| *.swp | ||
|
|
||
| # OS-specific | ||
| .DS_Store | ||
| Thumbs.db | ||
|
|
||
| # Docker | ||
| /docker-data/ | ||
| /docker-volume/ | ||
| /docker/volumes/ | ||
|
|
||
| # Build artifacts (server module) | ||
| /server/build/ | ||
| /server/.gradle/ | ||
| /server/.idea/ | ||
|
|
||
| # Security: Sensitive Config Files | ||
|
|
||
| # 루트 .env | ||
| .env | ||
| .env.* | ||
|
|
||
| # server 내부 src/main/resources/.env | ||
| server/src/main/resources/.env | ||
|
|
||
| # application-local*, application-prod* (민감정보) | ||
| **/application-local.yml | ||
| **/application-local.properties | ||
| **/application-prod.yml | ||
| **/application-prod.properties | ||
|
|
||
| # Unique Project Settings | ||
| *.pid |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,54 @@ | ||
| version: "3.9" | ||
|
|
||
| services: | ||
| spring: | ||
| container_name: spring_app | ||
| build: | ||
| context: ./server | ||
| ports: | ||
| - "9000:9000" | ||
| env_file: | ||
| - ./server/.env | ||
| environment: | ||
| SPRING_PROFILES_ACTIVE: prod | ||
| SERVER_PORT: 9000 # 서버 포트 강제 | ||
| depends_on: | ||
| - ai_backend | ||
| - ai_mongo | ||
| networks: | ||
| - ai_network | ||
|
|
||
| ai_backend: | ||
| container_name: ai_backend | ||
| build: | ||
| context: ../oba_AI | ||
| ports: | ||
| - "8000:8000" | ||
| env_file: | ||
| - ../oba_AI/.env | ||
| command: [ | ||
| "uvicorn", "app:app", | ||
| "--host", "0.0.0.0", | ||
| "--port", "8000" | ||
| ] | ||
| networks: | ||
| - ai_network | ||
|
|
||
| ai_mongo: | ||
| image: mongo:7.0 | ||
| container_name: ai_mongo | ||
| ports: | ||
| - "27017:27017" | ||
| volumes: | ||
| - mongo_data:/data/db | ||
| environment: | ||
| MONGO_INITDB_DATABASE: OneBitArticle | ||
| networks: | ||
| - ai_network | ||
|
|
||
| networks: | ||
| ai_network: | ||
| driver: bridge | ||
|
|
||
| volumes: | ||
| mongo_data: |
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| FROM gradle:8.5-jdk17 AS builder | ||
| WORKDIR /app | ||
| COPY build.gradle settings.gradle ./ | ||
| COPY gradle ./gradle | ||
| RUN gradle dependencies --no-daemon || true | ||
| COPY src ./src | ||
| RUN gradle bootJar --no-daemon | ||
|
|
||
| FROM eclipse-temurin:17-jdk | ||
| WORKDIR /app | ||
| COPY --from=builder /app/build/libs/*.jar app.jar | ||
| EXPOSE 8080 | ||
| ENTRYPOINT ["java", "-jar", "app.jar"] |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,57 +1,63 @@ | ||
| plugins { | ||
| id 'java' | ||
| id 'org.springframework.boot' version '3.5.4' | ||
| id 'io.spring.dependency-management' version '1.1.7' | ||
| id 'org.springframework.boot' version '3.5.4' | ||
| id 'io.spring.dependency-management' version '1.1.5' | ||
| id 'java' | ||
| } | ||
|
|
||
| group = 'oba.backend' | ||
| version = '0.0.1-SNAPSHOT' | ||
|
|
||
| java { | ||
| toolchain { | ||
| languageVersion = JavaLanguageVersion.of(17) | ||
| } | ||
| sourceCompatibility = JavaVersion.VERSION_17 | ||
| targetCompatibility = JavaVersion.VERSION_17 | ||
| } | ||
|
|
||
| configurations { | ||
| compileOnly { | ||
| extendsFrom annotationProcessor | ||
| } | ||
| } | ||
|
|
||
| repositories { | ||
| mavenCentral() | ||
| mavenCentral() | ||
| } | ||
|
|
||
| dependencies { | ||
| implementation 'org.springframework.boot:spring-boot-starter-data-jpa' | ||
| implementation 'org.springframework.boot:spring-boot-starter-web' | ||
| compileOnly 'org.projectlombok:lombok' | ||
| annotationProcessor 'org.projectlombok:lombok' | ||
| testImplementation 'org.springframework.boot:spring-boot-starter-test' | ||
| testRuntimeOnly 'org.junit.platform:junit-platform-launcher' | ||
| /* -------------------- Google OAuth / ID Token -------------------- */ | ||
| implementation 'org.springframework.boot:spring-boot-starter-oauth2-client' | ||
| implementation 'com.google.api-client:google-api-client:2.2.0' | ||
| implementation 'com.google.http-client:google-http-client-gson:1.43.3' | ||
|
|
||
| /* -------------------- Spring Core -------------------- */ | ||
| implementation 'org.springframework.boot:spring-boot-starter-web' | ||
| implementation 'org.springframework.boot:spring-boot-starter-security' | ||
| implementation 'org.springframework.boot:spring-boot-starter-validation' | ||
| implementation 'org.springframework.boot:spring-boot-starter-thymeleaf' | ||
|
|
||
| // MySQL 라인을 추가 | ||
| runtimeOnly 'com.mysql:mysql-connector-j' | ||
| /* -------------------- Cache -------------------- */ | ||
| implementation 'org.springframework.boot:spring-boot-starter-cache' | ||
| implementation 'com.github.ben-manes.caffeine:caffeine:3.1.8' | ||
|
|
||
| /* -------------------- Database -------------------- */ | ||
| implementation 'org.springframework.boot:spring-boot-starter-data-jpa' | ||
| implementation 'org.springframework.boot:spring-boot-starter-data-mongodb' | ||
| runtimeOnly 'com.mysql:mysql-connector-j:8.0.33' | ||
|
|
||
| // JWT Library (jjwt) | ||
| /* -------------------- JWT -------------------- */ | ||
| implementation 'io.jsonwebtoken:jjwt-api:0.11.5' | ||
| runtimeOnly 'io.jsonwebtoken:jjwt-impl:0.11.5' | ||
| runtimeOnly 'io.jsonwebtoken:jjwt-jackson:0.11.5' | ||
|
|
||
| // testDB -> h2 | ||
| testRuntimeOnly 'com.h2database:h2' | ||
| /* -------------------- Scheduler -------------------- */ | ||
| implementation 'org.springframework.boot:spring-boot-starter-quartz' | ||
|
|
||
| implementation 'org.springframework.boot:spring-boot-starter-security' | ||
| implementation 'org.springframework.boot:spring-boot-starter-oauth2-client' | ||
| implementation 'org.springframework.boot:spring-boot-starter-thymeleaf' | ||
| implementation 'org.thymeleaf.extras:thymeleaf-extras-springsecurity6' | ||
| } | ||
| /* -------------------- Dotenv -------------------- */ | ||
| implementation 'io.github.cdimascio:dotenv-java:3.0.0' | ||
|
|
||
| /* -------------------- Lombok (최신 버전으로 업데이트) -------------------- */ | ||
| compileOnly 'org.projectlombok:lombok:1.18.34' | ||
| annotationProcessor 'org.projectlombok:lombok:1.18.34' | ||
|
|
||
| /* -------------------- Test -------------------- */ | ||
| testImplementation 'org.springframework.boot:spring-boot-starter-test' | ||
| testRuntimeOnly 'com.h2database:h2' | ||
| } | ||
|
|
||
| tasks.named('test') { | ||
| useJUnitPlatform() | ||
| useJUnitPlatform() | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| PID PPID PGID WINPID TTY UID STIME COMMAND | ||
| 1483 1 1483 319596 cons2 197609 20:42:39 /usr/bin/bash | ||
| 2954 1 2954 336312 cons3 197609 03:29:20 /usr/bin/bash | ||
| 3495 3487 3487 276496 cons2 197609 10:33:18 /c/Program Files/nodejs/node | ||
| 3487 1483 3487 386764 cons2 197609 10:33:16 /usr/bin/bash | ||
| 3646 2954 3646 394660 cons3 197609 10:40:08 /usr/bin/PS | ||
| 1394 1 1394 226624 cons0 197609 20:42:33 /usr/bin/bash | ||
| 1399 1 1399 324196 cons1 197609 20:42:34 /usr/bin/bash | ||
|
Comment on lines
+1
to
+8
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 실수로 커밋된 시스템 진단 출력 파일을 제거해야 합니다. 이 파일은 프로세스 목록 명령어의 출력 결과로 보이며, 실수로 버전 관리에 포함된 것으로 판단됩니다. 다음과 같은 문제가 있습니다:
이 파일을 PR에서 제거하고, 유사한 파일이 실수로 커밋되지 않도록 🗑️ 파일 제거 방법# 파일 삭제 및 커밋
git rm server/netsh
git commit -m "Remove accidentally committed process listing file"또한 🤖 Prompt for AI Agents |
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
🌐 Web query:
jjwt latest version 2025 0.12 security updates💡 Result:
As of repository releases, the latest 0.12.x release published on the JJWT GitHub releases page is 0.12.4. [1]
A reported vulnerability (CVE-2024-31033) affecting JJWT "through 0.12.5" (claims that certain characters may be ignored when generating/signing keys) is tracked by multiple advisory databases; the vendor has publicly disputed the practical impact. See OSV/NVD and GitLab advisory entries for details. [2][3]
Sources
🌐 Web query:
jjwt library release history 0.11.5 0.12 breaking changes💡 Result:
Short summary — main breaking changes when upgrading from jjwt 0.11.5 → 0.12.x
Sources
If you want, I can extract the exact changelog entries and list the concrete method/class renames you need to change in your code (I can produce a diff-style mapping).
🌐 Web query:
jjwt io.jsonwebtoken current version January 2026💡 Result:
As of January 9, 2026 the current released version of JJWT (io.jsonwebtoken) is 0.13.0. (javadoc.io)
Citations:
jjwt 라이브러리 업그레이드 시 주의: 주요 breaking changes 필요
0.11.5에서 최신 버전(0.13.0)으로 업그레이드하려면 단순 버전 변경만으로는 부족합니다. 0.12.0부터 중대한 API 변경이 도입되었습니다:
Claims와Header가 불변(immutable)으로 변경됨 →ClaimsBuilder,HeaderBuilder사용 필요JwtParser가 불변으로 변경됨 →JwtParserBuilder로만 설정 가능SignatureAlgorithm대체: 새로운 알고리즘 인터페이스(Jwts.SIG) 사용 필요또한 CVE-2024-31033이 0.12.5 이하 버전에 영향을 미치므로, 업그레이드 시 마이그레이션 가이드를 참고하여 광범위한 코드 리팩토링이 필요합니다.
🤖 Prompt for AI Agents