Skip to content
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

[deploy] merge to main #156

Merged
merged 70 commits into from
Jul 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
70 commits
Select commit Hold shift + click to select a range
87ec61c
[deploy] merge to develop (#27)
hoonyworld Jul 11, 2024
2f62a58
[feat] #28 - 비회원 예매 조회 POST API 구현 (#29)
hoonyworld Jul 11, 2024
b802e51
[feat] #30 - SwaggerConfig 및 WebConfig 구현 (#31)
hoonyworld Jul 11, 2024
b50cec3
HOTFIX(workflows): push 이벤트 시 github action이 빌드 되지 않도록 수정
hoonyworld Jul 11, 2024
84e7f8b
Merge branch 'develop' of https://github.com/TEAM-BEAT/BEAT-SERVER in…
hoonyworld Jul 11, 2024
6e279c8
HOTFIX(Jenkinsfile): 포트 수정
hoonyworld Jul 11, 2024
3c3cb9f
[feat] #32 - 티켓 예매 가능 여부 GET API 구현 (#33)
hoonyworld Jul 11, 2024
f4d1c20
[feat] #17 - 카카오 소셜 로그인 API 구현 (#36)
hyerinhwang-sailin Jul 13, 2024
467dab0
[feat] #34 - 비회원 예매 POST API 구현 (#35)
hoonyworld Jul 14, 2024
f55e023
[Refactor] #37 - 카카오 로그인 API response 수정 (#39)
hyerinhwang-sailin Jul 14, 2024
550a64d
[feat] #40 - 소개 관련 공연 정보 조회 GET API 구현 (#41)
hyerinhwang-sailin Jul 14, 2024
295172c
[feat] #42 - 예매 관련 공연 정보 GET API 구현 (#43)
hyerinhwang-sailin Jul 14, 2024
86e4f6d
[feat] #38 - 회원 예매 POST API 구현 (#45)
hoonyworld Jul 14, 2024
911c751
[feat] #44 - 홈페이지 공연 및 홍보 조회 GET API 구현 (#47)
hyerinhwang-sailin Jul 14, 2024
6f28c55
[feat] #46 - 회원 예매 조회 GET API 구현 (#48)
hoonyworld Jul 14, 2024
b90138d
[feat] #49 - 예매자 관리 API 구현 (#51)
hyerinhwang-sailin Jul 15, 2024
f37c9e3
HOTFIX(SecurityConfig): WHITELIST 경로명 수정
hoonyworld Jul 15, 2024
3ab2765
[fix] #52 - auth whitelist 수정 (#53)
hyerinhwang-sailin Jul 15, 2024
ef2d34f
[feat] #54 - 등록한 공연 목록 조회 GET API 구현 (#55)
hyerinhwang-sailin Jul 15, 2024
33e9d39
[fix] #58 - dev-ci.yml, prod-ci.yml 환경변수 추가 (#59)
hoonyworld Jul 15, 2024
3a49335
[refactor] #61 - Performance Entity field 추가 (#62)
hyerinhwang-sailin Jul 15, 2024
9728233
[feat] #63 - healthCheckController 생성 (#64)
hoonyworld Jul 16, 2024
e7b4646
Merge branch 'main' into develop
hoonyworld Jul 16, 2024
8312edb
[feat] #63 - health check URL 화이트리스트에 등록 (#67)
hoonyworld Jul 16, 2024
f199715
[fix] #57 - entity 연관관계 설정 SecurityConfig 수정 (#65)
hyerinhwang-sailin Jul 16, 2024
e37a2ea
Merge branch 'main' into develop
hoonyworld Jul 16, 2024
3a92f78
[fix] #57 - security 관련 에러 대응 (#71)
hyerinhwang-sailin Jul 16, 2024
02becc3
Merge branch 'main' into develop
hoonyworld Jul 16, 2024
4a414f7
[fix] #73 - security 수정 (#74)
hyerinhwang-sailin Jul 16, 2024
d079aec
Merge branch 'main' into develop
hoonyworld Jul 16, 2024
585cea3
[#76] fix(SecurityConfig): Base64 인코딩을 하도록 변경 (#77)
hoonyworld Jul 16, 2024
4c20f1c
Merge branch 'main' into develop
hoonyworld Jul 16, 2024
1b51be8
[fix] #76 - 누락된 코드 추가 (#79)
hoonyworld Jul 16, 2024
6da3238
[#81] fix(JwtTokenProvider): jwtsecret을 인코딩하고 디코딩을 하도록 수정 (#82)
hoonyworld Jul 16, 2024
d692f76
Merge branch 'main' into develop
hoonyworld Jul 16, 2024
e93fc8f
[#85] chore(application.yml): 환경변수 설정 (#86)
hoonyworld Jul 16, 2024
e23659f
[chore] #88 - 레디스 환경변수 추가 (#89)
hoonyworld Jul 16, 2024
f519b0c
[deploy] merge to main (#90)
hoonyworld Jul 16, 2024
ade47e5
Revert "[deploy] merge to main (#90)" (#91)
hoonyworld Jul 16, 2024
53ec218
[fix] #93 - 누락된 어노테이션 및 누락된 경로명 추가 (#94)
hoonyworld Jul 16, 2024
56a98f3
[bug] #84 - actuator/health 의존성 및 설정 추가 (#96)
hyerinhwang-sailin Jul 17, 2024
b43b8d6
Merge branch 'main' into develop
hyerinhwang-sailin Jul 17, 2024
965a53b
[#84] chore: yml 수정 (#99)
hyerinhwang-sailin Jul 17, 2024
350199a
[bug] #101 - yml, s3 수정 (#102)
hyerinhwang-sailin Jul 17, 2024
4a1c7b2
HOTIFX: prod ci-yml 수정
hoonyworld Jul 17, 2024
1eab73f
Merge branch 'main' into develop
hoonyworld Jul 17, 2024
66585cb
Main redis host yml 수정 (#105)
hyerinhwang-sailin Jul 17, 2024
af6a923
[feat] #50 - 공연 생성 POST API 생성 (#108)
hoonyworld Jul 17, 2024
586f2a8
[feat] #111 - 웹발신 구현 (#114)
hyerinhwang-sailin Jul 17, 2024
3e74002
[feat] #110 - 공연 수정 PUT API 구현 (#112)
hoonyworld Jul 17, 2024
28df0ba
[feat] #113 - 공연 삭제 DELETE API 구현 (#116)
hoonyworld Jul 17, 2024
46df45c
Update README.md
hyerinhwang-sailin Jul 17, 2024
94427b1
HOTFIX: 코드 수정
hoonyworld Jul 17, 2024
88ff454
Merge branch 'main' into develop
hoonyworld Jul 17, 2024
5ad88f9
[#119] refactor: response에 필요 필드 추가 (#120)
hyerinhwang-sailin Jul 17, 2024
ff1618c
[feat] #117 - 공연 수정 페이지 정보 조회 GET API 구현 (#121)
hoonyworld Jul 17, 2024
5cfd1e9
Merge branch 'main' into develop
hoonyworld Jul 17, 2024
b1eb1fa
[#123] fix(PerformanceController): 중복 코드 제거 (#124)
hoonyworld Jul 17, 2024
c091ecf
[#128] fix: 누락된 환경 변수 주입 및 수정 (#129)
hyerinhwang-sailin Jul 17, 2024
8cadaa0
[feat] #127 - presigned-url로 포스터 이미지, 등장인물 이미지 리스트, 스태프 이미지 리스트를 반환하도…
hoonyworld Jul 17, 2024
915e628
[refactor] #133 - presigned URL의 만료 시간 늘리기 (#134)
hoonyworld Jul 17, 2024
ac08b45
[#135] refactor(SwaggerConfig): SwaggerConfig 리팩토링 (#136)
hoonyworld Jul 17, 2024
0d8f1ef
[#128] fix(BankName): bankname enum 추가 (#139)
hyerinhwang-sailin Jul 18, 2024
e1823d7
[refactor] #126 - 프론트 요청 필드 반영 (#140)
hoonyworld Jul 18, 2024
855495e
[#142] refactor(FileController): castImages, staffImages의 파라미터 value를…
hoonyworld Jul 18, 2024
db0ebb4
Merge branch 'main' into develop
hoonyworld Jul 18, 2024
c0d2401
Update README.md
hyerinhwang-sailin Jul 19, 2024
efc2293
[#147] refactor: 예금주 필드 추가 (#148)
hoonyworld Jul 19, 2024
7e6fcd7
[feat] #150 - 스프링 서버를 redis와 동일한 네트워크에서 실행되도록 구현 (#151)
hoonyworld Jul 19, 2024
1424b37
[#150] deploy(application-prod.yml): 운영서버 ddl-auto create로 초기화 (#155)
hoonyworld Jul 19, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .github/workflows/prod-CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ name: prod-CI
on:
pull_request:
branches: [ "main" ]
push:
branches: [ "main" ]

jobs:
prod-ci:
Expand Down
1 change: 1 addition & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ pipeline {
// 새로운 컨테이너 실행
sshCommand remote: remote, command: (
'docker run -d --name springboot' +
' --network beat-network' +
' -p 8080:' + INTERNAL_PORT +
' -e "SPRING_PROFILES_ACTIVE=' + OPERATION_ENV + '"' +
' ' + DOCKER_IMAGE_NAME + ':latest'
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
|:---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:| :---: |
| <img width="200" alt="branch" src="https://github.com/TEAM-BEAT/BEAT-SERVER/assets/144998449/43e18ca0-5eca-46bf-a108-db662cb3ce9b"> |<img width="200" alt="branch" src="https://github.com/TEAM-BEAT/BEAT-SERVER/assets/144998449/e678429a-6a1b-4a0b-8457-7eb4b6f9de29"> |
| [hoonyworld](https://github.com/hoonyworld) | [hyerinhwang-sailin](https://github.com/hyerinhwang-sailin) |
| prod 서버용 EC2. RDS 구축 <br> dev, prod 서버 github action CI 구축(dockerhub push까지) <br> Jenkins multibranch pipeline으로 dev 서버에서 dev, prod CD <br> prod 서버에서 nginx 무중단 배포 구축<br> ERD 및 DB 설계 <br> Entity 초기 세팅 | AWS dev 서버 구축 <br> ERD 및 DB 설계 <br> 인증 / 인가 구현 (Redis) <br> 웹 발신 <br> Entity 초기 세팅 <br> 카카오 소셜 로그인 <br> Swagger 세팅 |
| prod 서버용 EC2, RDS 구축 <br> dev, prod github action <br> CI 구축(~dockerhub push) <br>Jenkins multibranch pipeline<br> dev 서버에서 dev, prod CD <br> prod 서버 nginx 무중단배포<br> ERD 및 DB 설계 <br> Entity 초기 세팅 | dev 서버용 EC2, RDS 구축 <br> ERD 및 DB 설계 <br> 인증 / 인가 구현 (Redis) <br> 웹 발신 <br> Entity 초기 세팅 <br> 카카오 소셜 로그인 <br> Swagger 세팅 |

### 🏡 Git Convention
[Git Convention](https://www.notion.so/jiwoothejay/git-convention-9bee60c3bb0a45f1913616b3e72b87b7)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ private GuestBookingRetrieveResponse toBookingResponse(Booking booking) {
performance.getPerformanceContact(),
performance.getBankName(),
performance.getAccountNumber(),
performance.getAccountHolder(),
calculateDueDate(schedule.getPerformanceDate()),
booking.isPaymentCompleted(),
booking.getCreatedAt(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ private MemberBookingRetrieveResponse toMemberBookingResponse(Booking booking) {
performance.getPerformanceContact(),
performance.getBankName(),
performance.getAccountNumber(),
performance.getAccountHolder(),
calculateDueDate(schedule.getPerformanceDate()),
booking.isPaymentCompleted(),
booking.getCreatedAt(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ public record GuestBookingRetrieveResponse(
String performanceContact,
BankName bankName,
String accountNumber,
String accountHolder,
int dueDate,
boolean isPaymentCompleted,
LocalDateTime createdAt,
Expand All @@ -37,6 +38,7 @@ public static GuestBookingRetrieveResponse of(
String performanceContact,
BankName bankName,
String accountNumber,
String accountHolder,
int dueDate,
boolean isPaymentCompleted,
LocalDateTime createdAt,
Expand All @@ -56,6 +58,7 @@ public static GuestBookingRetrieveResponse of(
performanceContact,
bankName,
accountNumber,
accountHolder,
dueDate,
isPaymentCompleted,
createdAt,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ public record MemberBookingRetrieveResponse(
String performanceContact,
BankName bankName,
String accountNumber,
String accountHolder,
int dueDate,
boolean isPaymentCompleted,
LocalDateTime createdAt,
Expand All @@ -39,6 +40,7 @@ public static MemberBookingRetrieveResponse of(
String performanceContact,
BankName bankName,
String accountNumber,
String accountHolder,
int dueDate,
boolean isPaymentCompleted,
LocalDateTime createdAt,
Expand All @@ -59,6 +61,7 @@ public static MemberBookingRetrieveResponse of(
performanceContact,
bankName,
accountNumber,
accountHolder,
dueDate,
isPaymentCompleted,
createdAt,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,14 @@ public class FileController {
@GetMapping("/presigned-url")
public ResponseEntity<Map<String, Map<String, String>>> getPresignedUrls(
@RequestParam String posterImage,
@RequestParam List<String> castImages,
@RequestParam List<String> staffImages) {

@RequestParam(required = false) List<String> castImages,
@RequestParam(required = false) List<String> staffImages) {
if (castImages == null) {
castImages = List.of();
}
if (staffImages == null) {
staffImages = List.of();
}
Map<String, Map<String, String>> response = fileService.getPresignedUrls(posterImage, castImages, staffImages);
return ResponseEntity.ok(response);
}
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/application-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ spring:

jpa:
hibernate:
ddl-auto: update
ddl-auto: create
show-sql: true
properties:
hibernate:
Expand Down
Loading