Skip to content

Commit

Permalink
Merge branch 'feature/backend-issue355' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
Livenow14 committed Oct 28, 2021
2 parents f09a92f + 5956322 commit 680c9e1
Show file tree
Hide file tree
Showing 21 changed files with 99 additions and 18 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@

# ์šฐ๋ฆฌํŒ€์˜ ๊ฐ•์ 

<!-- [์ž์„ธํ•œ ๋ฌธ์„œํ™”๋ฅผ ํ–ˆ์–ด์š”.](https://www.notion.so/4b6587fb182447eb93183d6160b5ef0a) -->
[์ž์„ธํ•œ ๋ฌธ์„œํ™”๋ฅผ ํ–ˆ์–ด์š”.](https://www.notion.so/4b6587fb182447eb93183d6160b5ef0a)

[์• ์ž์ผํ•˜๊ฒŒ ์„œ๋น„์Šค๋ฅผ ๊ฐœ๋ฐœํ–ˆ์–ด์š”.](https://www.notion.so/da2fc7e8d99f4f4484bad58ed2e1b233)

Expand Down
56 changes: 56 additions & 0 deletions backend/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
# ์†Œ๋‚˜ํ๋ธŒ ์ •์  ๋ฆฌํฌํŠธ
![image](https://user-images.githubusercontent.com/48986787/139186557-14ebc92c-f54c-483c-ab72-f20fb8b5a96d.png)


# ๋ฉ€ํ‹ฐ๋ชจ๋“ˆ ํ”„๋กœ์ ํŠธ ๊ตฌ์กฐ ์„ค๋ช…
![image](https://user-images.githubusercontent.com/48986787/139174604-f0ff822f-0087-4d2a-b663-cfe9585171ae.png)
## ๋ชจ๋“ˆ๋ณ„ ์„ค๋ช…
### app-cvi-api
```java
- ์‚ฌ์šฉ์ž๊ฐ€ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ๋Š” ๊ธฐ๋Šฅ์„ ์ œ๊ณตํ•˜๋Š” `์• ํ”Œ๋ฆฌ์ผ€์ด์…˜ ๋ชจ๋“ˆ`์ด์—์š”.
- Controller, View์˜ ์ฑ…์ž„์„ ๊ฐ€์ง€๊ณ  ์žˆ์–ด์š”.
- ์˜์กดํ•˜๋Š” ๋ชจ๋“ˆ์˜ ๋น„์ฆˆ๋‹ˆ์Šค ํ๋ฆ„ ์ œ์–ด๋ฅผ ๋‹ด๋‹นํ•ด์š”.
```

### common-cvi
```java
- ๊ณตํ†ต์ ์œผ๋กœ ์‚ฌ์šฉํ•˜๋Š” ์˜ˆ์™ธ ๊ฐ์ฒด๋ฅผ ์ œ๊ณตํ•˜๋Š” `๊ณตํ†ต ๋ชจ๋“ˆ`์ด์—์š”
- ์ปค์Šคํ…€ ์˜ˆ์™ธ, Util์„ฑ ํด๋ž˜์Šค๊ฐ€ ์ด ๋ชจ๋“ˆ์— ์†ํ•ด์š”.
```

### cvi-publicdate-parser
```java
- ๋ฐฑ์‹  ํ˜„ํ™ฉ ๊ณต๊ณต๋ฐ์ดํ„ฐ๋ฅผ ์ œ๊ณตํ•˜๋Š” API ์„œ๋น„์Šค์—, Http์š”์ฒญ์„ ๋ณด๋‚ด, ์‘๋‹ต ๋ฐ›์€ Json๊ฐ’์„ ๋งคํ•‘ํ•˜๋Š” ๋ชจ๋“ˆ์ด์—์š”.
- ์Šคํ”„๋ง ์˜์กด์„ฑ์ด ์•„๋‹Œ, ์ž๋ฐ”์—์„œ ์ œ๊ณตํ•˜๋Š” URL Connection์„ ์ด์šฉํ•ด์š”.
```

### domain-cvi
```java
- ๋น„์ฆˆ๋‹ˆ์Šค ๋กœ์ง์„ ์ˆ˜ํ–‰ํ•˜๋Š” `๋„๋ฉ”์ธ ๋ชจ๋“ˆ`์ด์—์š”.
- ํ•˜๋‚˜์˜ ์ธํ”„๋ผ์ŠคํŠธ๋Ÿญ์ณ(DBMS)์„ ๊ฐ€์ง€๋ฉฐ CRUD๋ฅผ ์ˆ˜ํ–‰ํ•ด์š”.
- Model์˜ ์ฑ…์ž„์„ ์ง€๋‹ˆ๊ณ  ์žˆ์–ด์š”.
```

### domain-cvi-aws-s3-service
```java
- AWS S3์— ์ด๋ฏธ์ง€๋ฅผ ์—…๋กœ๋“œ/์‚ญ์ œํ•˜๋Š” ๊ธฐ๋Šฅ์„ ์ œ๊ณตํ•ด์š”.
- AWS์— ์ง์ ‘ ์—ฐ๊ฒฐํ•ด์•ผํ•˜๊ธฐ ๋•Œ๋ฌธ์— ์„ค์ •ํŒŒ์ผ(application-aws-s3.yml)์˜ ์„ค์ •๊ฐ’์ด ํ•„์š”ํ•ด์š”.
- ์šฐํ…Œ์ฝ” ๊ณ„์ •์˜ S3๋Š” ์šฐํ…Œ์ฝ” ๊ณ„์ • ๋‚ด์˜ EC2์—์„œ๋งŒ ์ ‘๊ทผํ•  ์ˆ˜ ์žˆ๊ธฐ ๋•Œ๋ฌธ์—, local ํ™˜๊ฒฝ์—์„œ ํ…Œ์ŠคํŠธํ•˜๊ธฐ ์œ„ํ•ด์„œ๋Š” ๊ฐœ์ธ AWS ๊ณ„์ •์˜ S3์™€ ๊ทธ์— ๋”ฐ๋ฅธ ์„ค์ •์„ ์‚ฌ์šฉํ•ด์•ผ ํ•ด์š”.
(์ด์— ๋Œ€ํ•œ ๋ฐฉ๋ฒ•์€ ๋ฌธ์„œ์— ์ •๋ฆฌํ•ด ๋’€์–ด์š”.)
```

### domain-cvi-oauth-service
```java
- ์†Œ์…œ ๋กœ๊ทธ์ธ ์„œ๋น„์Šค์— ์‚ฌ์šฉ์ž ๋ฐ์ดํ„ฐ๋ฅผ ์š”์ฒญํ•˜๋Š” ๋ชจ๋“ˆ์ด์—์š”.
```

### domain-cvi-publicdata-service
```java
- ๊ณต๊ณต๋ฐ์ดํ„ฐ์™€ ๊ด€๋ จ๋œ ์กฐํšŒ์™€ ์ €์žฅ์˜ ๋น„์ฆˆ๋‹ˆ์Šค ํ๋ฆ„์„ ๋‹ด๋‹นํ•ด์š”.
- ์กฐํšŒ์— ๋Œ€ํ•˜์—ฌ ์บ์‹ฑ์„ ์‚ฌ์šฉํ–ˆ์–ด์š”.
```

### domain-cvi-scheduler
```java
- ์ •ํ•ด์ง„ ์‹œ๊ฐ„ ๋งˆ๋‹ค, ๋กœ์ง์„ ์‹คํ–‰ํ•˜๋Š” ๋ชจ๋“ˆ์ด์—์š”.
```
5 changes: 0 additions & 5 deletions backend/app-cvi-admin/build.gradle

This file was deleted.

Empty file.
Empty file.
Empty file.
Empty file.
7 changes: 5 additions & 2 deletions backend/app-cvi-api/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,11 @@
- ์˜์กดํ•˜๋Š” ๋ชจ๋“ˆ์˜ ๋น„์ฆˆ๋‹ˆ์Šค ํ๋ฆ„ ์ œ์–ด๋ฅผ ๋‹ด๋‹นํ•ด์š”.

## ์˜์กด ๋ชจ๋“ˆ
- `common-cvi`: ์˜ˆ์™ธ ์‘๋‹ต ๊ฐ์ฒด๋ฅผ ์‚ฌ์šฉํ•ด์š”.
- `domain-cvi`: Model์— CRUD ์ž‘์—…์„ ์œ„์ž„ํ•ด์š”.
- `domain-cvi-oauth-service`: ์†Œ์…œ ๋กœ๊ทธ์ธ ์š”์ฒญ์— ๋Œ€ํ•œ ์„œ๋น„์Šค๋ฅผ ์œ„์ž„ํ•ด์š”.
- `domain-cvi-publicdata-service`: ๊ณต๊ณต ๋ฐ์ดํ„ฐ ์š”์ฒญ์— ๋Œ€ํ•œ ์„œ๋น„์Šค๋ฅผ ์œ„์ž„ํ•ด์š”.
- `domain-cvi-scheduler`: ์ผ์ • ๊ธฐ๊ฐ„๋งˆ๋‹ค ์ˆ˜ํ–‰๋˜์–ด์•ผ ํ•˜๋Š” ์ž‘์—…์„ ์œ„์ž„ํ•ด์š”.
- `domain-cvi-scheduler`: ์ผ์ • ๊ธฐ๊ฐ„๋งˆ๋‹ค ์ˆ˜ํ–‰๋˜์–ด์•ผ ํ•˜๋Š” ์ž‘์—…์„ ์œ„์ž„ํ•ด์š”.
- `domain-cvi-aws-s3-service`: ๊ฒŒ์‹œ๊ธ€์˜ ์‚ฌ์ง„์„ ์ €์žฅํ•˜๋Š” ์ž‘์—…์„ ์œ„์ž„ํ•ด์š”.

## ๋„์‹ํ™”
![image](https://user-images.githubusercontent.com/48986787/139180135-dd2a12dd-23b1-487c-9ac6-5375e698ff6d.png)
1 change: 0 additions & 1 deletion backend/app-cvi-api/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ version = '0.0.1-SNAPSHOT'
dependencies {
implementation(project(":domain-cvi"))
implementation(project(":domain-cvi-oauth-service"))
implementation(project(":domain-cvi-publicdata-service"))
implementation(project(":domain-cvi-scheduler"))
implementation(project(":domain-cvi-aws-s3-service"))

Expand Down
2 changes: 1 addition & 1 deletion backend/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ subprojects {
}
}

def skipSonarProjects = [project(':app-cvi-admin'), project(':common-cvi'), project(':domain-cvi-aws-s3-service'), project(':domain-cvi-scheduler')]
def skipSonarProjects = [project(':common-cvi'), project(':domain-cvi-aws-s3-service'), project(':domain-cvi-scheduler')]
configure(skipSonarProjects) {
sonarqube {
skipProject = true
Expand Down
8 changes: 6 additions & 2 deletions backend/common-cvi/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
# common-cvi
## ๋ชจ๋“ˆ ์„ค๋ช…
- ๊ณตํ†ต์ ์œผ๋กœ ์‚ฌ์šฉํ•˜๋Š” ์˜ˆ์™ธ ๊ฐ์ฒด๋ฅผ ์ œ๊ณตํ•˜๋Š” `๋…๋ฆฝ ๋ชจ๋“ˆ`์ด์—์š”
- ๊ณตํ†ต์ ์œผ๋กœ ์‚ฌ์šฉํ•˜๋Š” ์˜ˆ์™ธ ๊ฐ์ฒด๋ฅผ ์ œ๊ณตํ•˜๋Š” `๊ณตํ†ต ๋ชจ๋“ˆ`์ด์—์š”
- ์ปค์Šคํ…€ ์˜ˆ์™ธ, Util์„ฑ ํด๋ž˜์Šค๊ฐ€ ์ด ๋ชจ๋“ˆ์— ์†ํ•ด์š”.

## ์˜์กด ๋ชจ๋“ˆ
- ์—†์Œ
- ์—†์Œ

## ๋„์‹ํ™”
![image](https://user-images.githubusercontent.com/48986787/139180258-59299b6d-065a-4671-8061-e7dd3ee406df.png)

3 changes: 3 additions & 0 deletions backend/cvi-publicdata-parser/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,6 @@

## ์˜์กด ๋ชจ๋“ˆ
- ์—†์Œ

## ๋„์‹ํ™”
![image](https://user-images.githubusercontent.com/48986787/139180246-a4154206-d3ba-41c1-bafc-74395e0a28f2.png)
5 changes: 4 additions & 1 deletion backend/domain-cvi-aws-s3-service/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@
- AWS S3์— ์ด๋ฏธ์ง€๋ฅผ ์—…๋กœ๋“œ/์‚ญ์ œํ•˜๋Š” ๊ธฐ๋Šฅ์„ ์ œ๊ณตํ•ด์š”.
- AWS์— ์ง์ ‘ ์—ฐ๊ฒฐํ•ด์•ผํ•˜๊ธฐ ๋•Œ๋ฌธ์— ์„ค์ •ํŒŒ์ผ(application-aws-s3.yml)์˜ ์„ค์ •๊ฐ’์ด ํ•„์š”ํ•ด์š”.
- ์šฐํ…Œ์ฝ” ๊ณ„์ •์˜ S3๋Š” ์šฐํ…Œ์ฝ” ๊ณ„์ • ๋‚ด์˜ EC2์—์„œ๋งŒ ์ ‘๊ทผํ•  ์ˆ˜ ์žˆ๊ธฐ ๋•Œ๋ฌธ์—, local ํ™˜๊ฒฝ์—์„œ ํ…Œ์ŠคํŠธํ•˜๊ธฐ ์œ„ํ•ด์„œ๋Š” ๊ฐœ์ธ AWS ๊ณ„์ •์˜ S3์™€ ๊ทธ์— ๋”ฐ๋ฅธ ์„ค์ •์„ ์‚ฌ์šฉํ•ด์•ผ ํ•ด์š”.
(์ด์— ๋Œ€ํ•œ ๋ฐฉ๋ฒ•์€ ๋ฌธ์„œ์— ์ •๋ฆฌํ•ด ๋‘์—ˆ์Šต๋‹ˆ๋‹ค.)
(์ด์— ๋Œ€ํ•œ ๋ฐฉ๋ฒ•์€ ๋ฌธ์„œ์— ์ •๋ฆฌํ•ด ๋’€์–ด์š”.)

## ์˜์กด ๋ชจ๋“ˆ
- ์—†์Œ

## ๋„์‹ํ™”
![image](https://user-images.githubusercontent.com/48986787/139180220-01800ced-4b38-4ade-9568-cdaa9711abb1.png)
3 changes: 3 additions & 0 deletions backend/domain-cvi-oauth-service/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,6 @@

## ์˜์กด ๋ชจ๋“ˆ
- `domain-cvi`: Model์— CR ์ž‘์—…์„ ์œ„์ž„ํ•ด์š”.

## ๋„์‹ํ™”
![image](https://user-images.githubusercontent.com/48986787/139180146-159e1c97-5973-42e0-a462-86cee1a48d46.png)
6 changes: 6 additions & 0 deletions backend/domain-cvi-publicdata-service/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,9 @@
## ์˜์กด ๋ชจ๋“ˆ
- `domain-cvi`: Model์— CR ์ž‘์—…์„ ์œ„์ž„ํ•ด์š”.
- `cvi-publicdata-parser`: PublicData Api ์š”์ฒญ์„ ์œ„์ž„ํ•ด์š”.

## ์™ธ๋ถ€ ์ œ๊ณต ๋ชจ๋“ˆ
- `domain-cvi`

## ๋„์‹ํ™”
![image](https://user-images.githubusercontent.com/48986787/139180207-e1f62aae-0de7-4c2f-a243-3eda83bf3882.png)
2 changes: 1 addition & 1 deletion backend/domain-cvi-publicdata-service/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ bootJar { enabled = false }
jar { enabled = true }

dependencies {
implementation(project(":domain-cvi"))
api(project(":domain-cvi"))
implementation(project(":cvi-publicdata-parser"))

//cache
Expand Down
6 changes: 6 additions & 0 deletions backend/domain-cvi-scheduler/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,9 @@

## ์˜์กด ๋ชจ๋“ˆ
- `domain-cvi-publicdata-service`: ๊ณต๊ณต๋ฐ์ดํ„ฐ์˜ ์ €์žฅ ์ฑ…์ž„์„ ์œ„์ž„ํ•ด์š”.

## ์™ธ๋ถ€ ์ œ๊ณต ๋ชจ๋“ˆ
- `domain-cvi-publicdata-service`

## ๋„์‹ํ™”
![image](https://user-images.githubusercontent.com/48986787/139180186-9c605817-6281-4346-a728-63571748197d.png)
3 changes: 1 addition & 2 deletions backend/domain-cvi-scheduler/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,5 @@ bootJar { enabled = false }
jar { enabled = true }

dependencies {
implementation(project(":domain-cvi-publicdata-service"))
implementation(project(":domain-cvi"))
api(project(":domain-cvi-publicdata-service"))
}
6 changes: 6 additions & 0 deletions backend/domain-cvi/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,9 @@

## ์˜์กด ๋ชจ๋“ˆ
- `common-cvi`: ์˜ˆ์™ธ ์‘๋‹ต ๊ฐ์ฒด๋ฅผ ์‚ฌ์šฉํ•ด์š”.

## ์™ธ๋ถ€ ์ œ๊ณต ๋ชจ๋“ˆ
- `common-cvi`

## ๋„์‹ํ™”
![image](https://user-images.githubusercontent.com/48986787/139180231-d74b454e-546d-4b79-a7e7-e80caa02f6cb.png)
1 change: 0 additions & 1 deletion backend/domain-cvi/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,4 @@ jacocoTestCoverageVerification { // ์ฝ”๋“œ ์ปค๋ฒ„๋ฆฌ์ง€ ์ธก์ •ํ•ญ๋ชฉ ์‹œํ–‰
] + Qdomains
}
}

}
1 change: 0 additions & 1 deletion backend/settings.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
rootProject.name = 'cvi'
include 'app-cvi-admin'
include 'app-cvi-api'
include 'cvi-publicdata-parser'
include 'common-cvi'
Expand Down

0 comments on commit 680c9e1

Please sign in to comment.