-
Notifications
You must be signed in to change notification settings - Fork 0
Dev #48
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
Dev #48
Changes from all commits
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 |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| spring.datasource.url=${DB_URL} | ||
| spring.datasource.username=${DB_USERNAME} | ||
| spring.datasource.password=${DB_PASSWORD} | ||
| spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver | ||
|
|
||
| # --- ???? JPA (Hibernate) --- | ||
|
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. 주석의 깨진 문자 수정 필요. 라인 6과 11의 주석에 한글이 제대로 인코딩되지 않아 물음표("????")로 표시되고 있습니다. 파일의 문자 인코딩을 확인하고 주석을 올바르게 수정하세요. 수정 제안: -# --- ???? JPA (Hibernate) ---
+# --- 🔧 JPA (Hibernate) ---
-# --- ???? H2 ?? ---
+# --- 🔧 H2 콘솔 ---Also applies to: 11-11 🤖 Prompt for AI Agents |
||
| spring.jpa.hibernate.ddl-auto=validate | ||
| spring.jpa.show-sql=false | ||
| spring.jpa.database-platform=org.hibernate.dialect.MySQLDialect | ||
|
|
||
| # --- ???? H2 ?? --- | ||
| spring.h2.console.enabled=false | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,14 +1,18 @@ | ||
| spring.application.name=openMission | ||
| spring.profiles.include=oauth | ||
| server.port=${PORT:9090} | ||
|
|
||
| spring.datasource.url=${DB_URL:jdbc:h2:./mydb;AUTO_SERVER=TRUE} | ||
| spring.datasource.username=${DB_USERNAME:sa} | ||
| spring.datasource.password=${DB_PASSWORD:} | ||
| # --- ?? H2 Datasource --- | ||
|
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. 주석의 깨진 문자 수정 필요. 라인 4, 10, 16의 주석에 한글이 제대로 인코딩되지 않아 물음표("????")로 표시되고 있습니다. 파일의 문자 인코딩을 UTF-8로 설정하고 주석을 올바르게 수정하세요. 수정 제안: -# --- ?? H2 Datasource ---
+# --- 🔧 H2 Datasource ---
-# --- ?? JPA (Hibernate) ---
+# --- 🔧 JPA (Hibernate) ---
-# --- ?? H2 ?? ---
+# --- 🔧 H2 콘솔 ---Also applies to: 10-10, 16-16 🤖 Prompt for AI Agents |
||
| spring.datasource.url=jdbc:h2:./mydb;AUTO_SERVER=TRUE | ||
| spring.datasource.driver-class-name=org.h2.Driver | ||
| spring.datasource.username=sa | ||
| spring.datasource.password= | ||
|
|
||
| # JPA (Hibernate) | ||
| # --- ?? JPA (Hibernate) --- | ||
| spring.jpa.hibernate.ddl-auto=update | ||
| spring.jpa.show-sql=true | ||
|
|
||
| # H2 | ||
| spring.jpa.database-platform=org.hibernate.dialect.H2Dialect | ||
|
|
||
| # --- ?? H2 ?? --- | ||
| spring.h2.console.enabled=false | ||
| spring.h2.console.path=/h2-console | ||
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.
PR 목표와 모순되는 환경 변수 사용.
PR 목표("명시적 하드코딩된 설정으로 변경")에 따르면, 환경 변수 기반 설정을 제거해야 합니다. 그러나 프로덕션 설정 파일은 여전히
${DB_URL},${DB_USERNAME},${DB_PASSWORD}환경 변수를 사용하고 있습니다.application.properties에서 H2 데이터베이스는 명시적으로 하드코딩되어 있는 반면, 이 파일은 환경 변수를 유지하고 있어 일관성이 없습니다.명시적 값으로 변경할 의도가 있다면 프로덕션 환경의 실제 데이터베이스 자격증명으로 대체하거나, 환경 변수 방식을 계속 사용할 계획이라면 PR 목표와 구현을 정렬하시기 바랍니다.
🤖 Prompt for AI Agents