-
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.
[YAF-75] Rename Package & Project to Orbit (#4)
* chore: rename root package and project name to "orbit" - Refactor the module name and root package from com.orbit.server to co.yapp.orbit. - Update the group in build.gradle to co.yapp.orbit. - Change the rootProject.name in settings.gradle from server to orbit. - Rename ServerApplication to OrbitApplication and ServerApplicationTests to OrbitApplicationTests. YAF-75 * chore: add application-prod.yml for production database configuration YAF-75 --------- Co-authored-by: 민병욱 Developer Platform Engineering(YA) <[email protected]>
- Loading branch information
Showing
5 changed files
with
24 additions
and
7 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 +1 @@ | ||
rootProject.name = 'server' | ||
rootProject.name = 'orbit' |
6 changes: 3 additions & 3 deletions
6
...a/com/orbit/server/ServerApplication.java → .../java/co/yapp/orbit/OrbitApplication.java
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,13 @@ | ||
package com.orbit.server; | ||
package co.yapp.orbit; | ||
|
||
import org.springframework.boot.SpringApplication; | ||
import org.springframework.boot.autoconfigure.SpringBootApplication; | ||
|
||
@SpringBootApplication | ||
public class ServerApplication { | ||
public class OrbitApplication { | ||
|
||
public static void main(String[] args) { | ||
SpringApplication.run(ServerApplication.class, args); | ||
SpringApplication.run(OrbitApplication.class, args); | ||
} | ||
|
||
} |
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
spring: | ||
datasource: | ||
url: jdbc:mysql://${SPRING_DATABASE_HOST}:3306/${SPRING_DATABASE_SCHEMA}?characterEncoding=UTF-8&serverTimezone=Asia/Seoul | ||
username: ${SPRING_DATABASE_USERNAME} | ||
password: ${SPRING_DATABASE_PASSWORD} | ||
driver-class-name: com.mysql.cj.jdbc.Driver | ||
|
||
jpa: | ||
show-sql: true | ||
generate-ddl: true | ||
hibernate: | ||
ddl-auto: validate | ||
properties: | ||
hibernate: | ||
format_sql: true | ||
database-platform: org.hibernate.dialect.MySQLDialect | ||
|
4 changes: 2 additions & 2 deletions
4
.../orbit/server/ServerApplicationTests.java → .../co/yapp/orbit/OrbitApplicationTests.java
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