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

Version 1.0.0 #163

Merged
merged 421 commits into from
Jun 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
421 commits
Select commit Hold shift + click to select a range
e560ba5
Merge pull request #57 from Hanaro-trip-together-bank/feature/trips
mummhy0811 May 29, 2024
bb17dae
fix: trip date 변경에 따른 수정
mummhy0811 May 30, 2024
77f3e14
Merge pull request #58 from Hanaro-trip-together-bank/test/trip-place
mummhy0811 May 30, 2024
ee51384
test: trip get
mummhy0811 May 30, 2024
0218f32
Merge pull request #59 from Hanaro-trip-together-bank/test/trip
mummhy0811 May 30, 2024
d67ae89
feat: 팀별 여행조회 예외처리
mummhy0811 May 30, 2024
cd0bfcf
Merge pull request #60 from Hanaro-trip-together-bank/feature/trips
mummhy0811 May 30, 2024
0e416c2
feat: account 예외처리 ENUM 추가, Team 서비스 예외처리 추가
yubin-im May 30, 2024
0f8ab41
Merge pull request #61 from Hanaro-trip-together-bank/test/team
yubin-im May 30, 2024
6e72d98
Merge branch 'dev' of https://github.com/Hanaro-trip-together-bank/Tr…
yubin-im May 30, 2024
dd75830
chore: TeamMember 서비스 예외처리 추가
yubin-im May 30, 2024
97ae4e4
Merge pull request #62 from Hanaro-trip-together-bank/feature/teamMember
yubin-im May 30, 2024
b4843df
chore: Account 서비스 예외처리 추가
yubin-im May 30, 2024
e7ddd8d
Merge pull request #63 from Hanaro-trip-together-bank/feature/account
yubin-im May 30, 2024
3d756e5
chore: Member 서비스 예외처리 추가
yubin-im May 30, 2024
d31eef7
Merge pull request #64 from Hanaro-trip-together-bank/feature/member
yubin-im May 30, 2024
0c78001
fix: trip 관련member_id -> member_idx로 변경
mummhy0811 May 30, 2024
44b6ef9
Merge pull request #65 from Hanaro-trip-together-bank/feature/trip-reply
mummhy0811 May 30, 2024
2a58f72
feat: 모임서비스 전체 조회 기능 수정
yubin-im May 30, 2024
ffa4841
Merge pull request #66 from Hanaro-trip-together-bank/feature/account
yubin-im May 30, 2024
18f4215
style: 카멜케이스로 변경
mummhy0811 May 30, 2024
f882574
Merge pull request #67 from Hanaro-trip-together-bank/hotfix/trip
mummhy0811 May 30, 2024
a279baa
style: 누락 수정파일
mummhy0811 May 30, 2024
b2e4276
Merge pull request #68 from Hanaro-trip-together-bank/hotfix/trip
mummhy0811 May 30, 2024
d596ac3
setting: cicd
mummhy0811 May 30, 2024
e10a2f1
Setting: Create Dockerfile
mummhy0811 May 30, 2024
e404000
fix: 카멜케이스 변경-service 누락 복구
mummhy0811 May 30, 2024
d00f1ed
Merge pull request #69 from Hanaro-trip-together-bank/feature/trip-place
mummhy0811 May 30, 2024
a93ae96
fix: 카멜케이스 변경에 따른 테스트코드 변경
mummhy0811 May 30, 2024
eb15191
Merge pull request #70 from Hanaro-trip-together-bank/test/trip
mummhy0811 May 30, 2024
f2c70de
refactor: exchange_rate cur_name 추가
ny2060 May 30, 2024
19a8397
test: API 수정으로 인한 테스트 코드 수정 (모임서비스 전체 조회)
yubin-im May 30, 2024
d478c4f
Merge pull request #71 from Hanaro-trip-together-bank/test/team
yubin-im May 30, 2024
53ea38f
refactor: exchange_rate response 수정
ny2060 May 30, 2024
0892e01
feat: 여행 생성, 삭제, 수정 API
lcw729 May 30, 2024
9739974
Update gradle.yml
mummhy0811 May 30, 2024
a99f0c9
Merge branch 'dev' into feature/trip
lcw729 May 30, 2024
11cbcd3
Merge pull request #72 from Hanaro-trip-together-bank/feature/trip
lcw729 May 30, 2024
1acce69
refactor: exchange_rate icon 추가
ny2060 May 30, 2024
cb6896f
Merge pull request #73 from Hanaro-trip-together-bank/feature/exchange
ny2060 May 30, 2024
4f529ef
hotfix: import 추가
lcw729 May 30, 2024
704e87d
setting: webconfig설정
mummhy0811 May 30, 2024
096a2e2
Merge pull request #74 from Hanaro-trip-together-bank/setting
mummhy0811 May 30, 2024
5d9bebd
feat: 간편 로그인 기능 수정
yubin-im May 30, 2024
b4597df
Merge pull request #75 from Hanaro-trip-together-bank/test/team
yubin-im May 30, 2024
1b4e0db
refactor: 환율알림설정 curRate String type으로 변경
ny2060 May 30, 2024
d092a4e
Merge branch 'dev' of https://github.com/Hanaro-trip-together-bank/Tr…
ny2060 May 30, 2024
a1c782c
Merge pull request #76 from Hanaro-trip-together-bank/feature/exchange
ny2060 May 30, 2024
6b327d3
setting: cors설정변경
mummhy0811 May 30, 2024
b87c039
Merge pull request #77 from Hanaro-trip-together-bank/setting
mummhy0811 May 30, 2024
768314c
setting: cors수정
mummhy0811 May 30, 2024
6298eb3
Merge pull request #78 from Hanaro-trip-together-bank/setting
mummhy0811 May 30, 2024
a966f8b
.gitignore 설정
ny2060 May 30, 2024
c0008de
fix: 내 모임 조회에 team_member_idx추가
mummhy0811 May 31, 2024
c91a367
Merge pull request #79 from Hanaro-trip-together-bank/feature/team
mummhy0811 May 31, 2024
afe4213
fix: res 추가에 따른 테스트코드 수정
mummhy0811 May 31, 2024
70e9901
Merge pull request #80 from Hanaro-trip-together-bank/feature/team
mummhy0811 May 31, 2024
fb74165
fix: 여행 정보 리턴에 나라 정보 추가
mummhy0811 May 31, 2024
4b3ef60
fix: service수정에 따른 테스트코드 수정
mummhy0811 May 31, 2024
e50a42b
Merge pull request #82 from Hanaro-trip-together-bank/feature/trips
mummhy0811 May 31, 2024
093bcb5
fix: 모임서비스 상세 기능 수정
yubin-im May 31, 2024
09c3e4e
Merge pull request #83 from Hanaro-trip-together-bank/test/team
yubin-im May 31, 2024
197a187
fix: 일정 순서 변경 요일별 -> 전체 로 변경
mummhy0811 May 31, 2024
9d8f727
Merge pull request #84 from Hanaro-trip-together-bank/feature/trip-place
mummhy0811 May 31, 2024
19a0bd6
refactor: 회비 낸 사람 조회에서 duesTotalAmount response 추가
ny2060 May 31, 2024
f3f9c6b
feat: 회비 규칙 조회 api 구현
ny2060 May 31, 2024
ca4eb4c
Merge pull request #85 from Hanaro-trip-together-bank/feature/exchange
ny2060 May 31, 2024
16feb59
Update gradle.yml
mummhy0811 May 31, 2024
d2cbdea
Setting: properties경로설정
mummhy0811 May 31, 2024
5eba35a
fix: 여행 일정res에 댓글 수 추가
mummhy0811 May 31, 2024
a6b8c61
Merge pull request #86 from Hanaro-trip-together-bank/feature/trip-place
mummhy0811 May 31, 2024
7f12682
fix: 계좌번호 14자리 지정
mummhy0811 May 31, 2024
6dc9d4d
Merge pull request #87 from Hanaro-trip-together-bank/feature/account
mummhy0811 May 31, 2024
b17c5be
feat: 개인별 총 입금액 조회 및 월별 입금액 api 구현
ny2060 May 31, 2024
1bfa165
Merge pull request #88 from Hanaro-trip-together-bank/feature/exchange
ny2060 May 31, 2024
52cc1c9
setting: db 의존성 수정
mummhy0811 May 31, 2024
dec4f3d
Merge pull request #89 from Hanaro-trip-together-bank/hotfix/gradle
mummhy0811 May 31, 2024
c0e3c46
fix: 내 팀 조회- teamMemberState 반환
mummhy0811 May 31, 2024
64ecbb7
Merge pull request #90 from Hanaro-trip-together-bank/feature/my-team
mummhy0811 May 31, 2024
d573b59
refactor: 회비 낸 사람 안낸사람 조회 api 리팩토링
ny2060 May 31, 2024
d61e15a
Merge pull request #91 from Hanaro-trip-together-bank/feature/exchange
ny2060 May 31, 2024
0a5e37b
fix: actions실패에 따른 수정 시도,,
mummhy0811 May 31, 2024
a08d6bf
Merge pull request #92 from Hanaro-trip-together-bank/hotfix
mummhy0811 May 31, 2024
7d6a2c4
fix: docker push 조건 변경
mummhy0811 May 31, 2024
12570f8
fix: mysql설정 누락 추가
mummhy0811 May 31, 2024
d89f6e8
Merge pull request #93 from Hanaro-trip-together-bank/hotfix
mummhy0811 May 31, 2024
e3a30d6
chore: 에러 처리를 위한 로그 추가
mummhy0811 May 31, 2024
8b96435
Merge pull request #94 from Hanaro-trip-together-bank/hotfix
mummhy0811 May 31, 2024
787dbf6
fix: 도커 push 조건 변경
mummhy0811 May 31, 2024
abe2244
Merge pull request #95 from Hanaro-trip-together-bank/hotfix
mummhy0811 May 31, 2024
679caea
feat: 모임원 상태 ENUM 거절 추가, 모임원 거절 및 내보내기시 거절로 상태 변경
yubin-im May 31, 2024
550b67d
Merge pull request #96 from Hanaro-trip-together-bank/test/team
yubin-im May 31, 2024
03f011a
Update gradle.yml
mummhy0811 May 31, 2024
c082b2b
refactor: 회비 요청 fcmtoken 필드 제거
ny2060 Jun 3, 2024
903a947
Merge pull request #97 from Hanaro-trip-together-bank/feature/dues-req
ny2060 Jun 3, 2024
bafc0f5
fix: 모임서비스 가입시 해당 멤버 총무 추가
yubin-im Jun 3, 2024
3394465
Merge pull request #98 from Hanaro-trip-together-bank/feature/teamMember
yubin-im Jun 3, 2024
5ef7f28
fix: test extends 제거
mummhy0811 Jun 3, 2024
daf41a3
Merge branch 'dev' of https://github.com/Hanaro-trip-together-bank/Tr…
mummhy0811 Jun 3, 2024
494f7b5
Merge pull request #99 from Hanaro-trip-together-bank/hotfix
mummhy0811 Jun 3, 2024
7f60975
fix: delete triptogetherApplicationTests.java
mummhy0811 Jun 3, 2024
b4237c3
Merge pull request #100 from Hanaro-trip-together-bank/hotfix
mummhy0811 Jun 3, 2024
0e093ff
fix: 풀리퀘 merge조건 추가
mummhy0811 Jun 3, 2024
0bce222
feat: slack 알림 추가
mummhy0811 Jun 3, 2024
41fc9f7
feat: slack success 알림 추가
mummhy0811 Jun 3, 2024
4fcb6a0
Merge pull request #101 from Hanaro-trip-together-bank/workflow
mummhy0811 Jun 3, 2024
eef2a76
fix: notify 버전 변경
mummhy0811 Jun 3, 2024
6633216
Merge pull request #102 from Hanaro-trip-together-bank/workflow
mummhy0811 Jun 3, 2024
6546211
fix: pull_request 반영 조건 변경
mummhy0811 Jun 3, 2024
45cd5ba
fix: 모임나가기시 전체멤버 상태변경 추가
yubin-im Jun 3, 2024
d996fbc
Merge pull request #103 from Hanaro-trip-together-bank/feature/teamMe…
yubin-im Jun 3, 2024
608e457
Merge pull request #104 from Hanaro-trip-together-bank/workflow
mummhy0811 Jun 3, 2024
6af1aec
refactor: 회비 규칙 생성/수정 api 구현
ny2060 Jun 3, 2024
567d33e
Merge pull request #105 from Hanaro-trip-together-bank/feature/dues-req
ny2060 Jun 3, 2024
21b29b6
Merge branch 'main' of https://github.com/Hanaro-trip-together-bank/T…
lcw729 Jun 3, 2024
f920e0e
refactor: 여행 일정 조회 시, 명소 정보 반환 값 변경
lcw729 Jun 3, 2024
d2da009
Merge pull request #106 from Hanaro-trip-together-bank/feature/trip_p…
lcw729 Jun 3, 2024
ffb3cc9
fix: rename TripPlaceUpdateReqDto to TripPlaceUpdateInfoReqDto
mummhy0811 Jun 4, 2024
eec1718
feat: 일정 수정(순서수정/추가/삭제) 병합
mummhy0811 Jun 4, 2024
4d0f500
Merge pull request #107 from Hanaro-trip-together-bank/feature/trip-p…
mummhy0811 Jun 4, 2024
d6a18fa
refactor: 사용자 별 입금액 조회 api 수정
ny2060 Jun 4, 2024
81a6293
Merge pull request #108 from Hanaro-trip-together-bank/feature/dues-req
ny2060 Jun 4, 2024
9a0bf4e
fix: 일정 추가/수정 -> 장소 null 가능하게 수정
mummhy0811 Jun 4, 2024
e2d60c8
Merge pull request #109 from Hanaro-trip-together-bank/feature/trip-p…
mummhy0811 Jun 4, 2024
dfb409f
fix: place nullable에 따른 일정 조회 수정
mummhy0811 Jun 4, 2024
8d1190d
Merge pull request #110 from Hanaro-trip-together-bank/feature/trip-p…
mummhy0811 Jun 4, 2024
ce57841
fix: 댓글 CUD 관련 teamMemberIdx에서 memberIdx로 수정
mummhy0811 Jun 4, 2024
233f2e4
Merge pull request #111 from Hanaro-trip-together-bank/feature/trip-r…
mummhy0811 Jun 4, 2024
10abd97
fix: 수정/삭제 동일인 체크 오류 수정
mummhy0811 Jun 4, 2024
e390298
refact: 댓글 관련 테스트 코드 리팩토링
mummhy0811 Jun 4, 2024
2186660
Merge pull request #112 from Hanaro-trip-together-bank/trip
mummhy0811 Jun 4, 2024
733d462
fix: 댓글조회 teamMemberIdx -> memberIdx 리턴
mummhy0811 Jun 4, 2024
0ba6cd2
Merge pull request #113 from Hanaro-trip-together-bank/feature/trip-r…
mummhy0811 Jun 4, 2024
6b7f25f
feat: 타임존 설정
mummhy0811 Jun 4, 2024
869e997
Merge pull request #114 from Hanaro-trip-together-bank/feature/timezone
mummhy0811 Jun 4, 2024
7ebf1ad
refactor: 회비 입금 내역 조회 api 수정
ny2060 Jun 4, 2024
ede9095
Merge pull request #115 from Hanaro-trip-together-bank/feature/dues-req
ny2060 Jun 4, 2024
5ddbdfb
fix: 내 팀 조회 총무 또는 모임원만 리턴
mummhy0811 Jun 4, 2024
510b057
Merge pull request #116 from Hanaro-trip-together-bank/feature/moim
mummhy0811 Jun 4, 2024
c87beaf
refactor: 회비 입금 내역 조회 api 수정
ny2060 Jun 4, 2024
20dd859
Merge pull request #117 from Hanaro-trip-together-bank/feature/dues-req
ny2060 Jun 4, 2024
03ebb6c
feat: 선호 여행 등록
mummhy0811 Jun 4, 2024
74abfa0
Merge pull request #118 from Hanaro-trip-together-bank/feature/prefer…
mummhy0811 Jun 4, 2024
5842f85
feature: 카테고리별, 도시별 중복 필터 처리 조회 API
lcw729 Jun 4, 2024
94a62fe
Merge pull request #119 from Hanaro-trip-together-bank/feature/trip
lcw729 Jun 4, 2024
e7752e3
refactor: 환율 알림 db 수정 및 api 변경
ny2060 Jun 5, 2024
25fdc9d
Merge pull request #120 from Hanaro-trip-together-bank/feature/dues-req
ny2060 Jun 5, 2024
589f83e
fix: 삭제된 모임/모임원 리턴 되지 않도록 수정
mummhy0811 Jun 5, 2024
50e5614
Merge pull request #121 from Hanaro-trip-together-bank/fix/team
mummhy0811 Jun 5, 2024
e17c1cd
fix: 모임서비스 상세 선호 여행 리턴
mummhy0811 Jun 5, 2024
7e24df5
test: 리턴값 추가에 따른 테스트코드 수정
mummhy0811 Jun 5, 2024
e38a8ed
Merge pull request #122 from Hanaro-trip-together-bank/feature/team
mummhy0811 Jun 5, 2024
ba7c357
fix: preferTrip null가능하게 수정
mummhy0811 Jun 5, 2024
6011eff
Merge pull request #123 from Hanaro-trip-together-bank/fix/team
mummhy0811 Jun 5, 2024
33cea5e
fix: 전체 계좌 조회시 계좌 잔액 함께 return되도록 수정
yubin-im Jun 5, 2024
d7f7f23
Merge pull request #124 from Hanaro-trip-together-bank/feature/teamMe…
yubin-im Jun 5, 2024
c44d342
fix: trip content 정보 오류 수정
lcw729 Jun 5, 2024
be36960
Merge pull request #125 from Hanaro-trip-together-bank/feature/trip
lcw729 Jun 5, 2024
450babe
fix: trip-place에서 city와 country미존재시 리턴 안되는 오류 수정
mummhy0811 Jun 5, 2024
a190c91
Merge pull request #126 from Hanaro-trip-together-bank/fix/trip
mummhy0811 Jun 5, 2024
8c1a831
refactor: 회비 낸 사람 api 조회
ny2060 Jun 5, 2024
b4fea52
Merge pull request #127 from Hanaro-trip-together-bank/feature/dues_paid
ny2060 Jun 5, 2024
17976b4
feat: 일정 변경시 목표금액 수정되게 추가
mummhy0811 Jun 5, 2024
d2ef8c1
Merge pull request #128 from Hanaro-trip-together-bank/feat/trip-place
mummhy0811 Jun 5, 2024
13da654
feat: 입출금 기능 수정
yubin-im Jun 5, 2024
707d9aa
Merge pull request #129 from Hanaro-trip-together-bank/feature/teamMe…
yubin-im Jun 5, 2024
2db4f07
feat: 여행 목록에 선호 여행 번호 추가
mummhy0811 Jun 5, 2024
06eb94f
Merge pull request #130 from Hanaro-trip-together-bank/fix/prefer-trip
mummhy0811 Jun 5, 2024
89b0e46
feat: 명소(장소) 한국 이름 없는 경우, 영어로 반환
lcw729 Jun 5, 2024
80af977
Merge pull request #131 from Hanaro-trip-together-bank/feature/trip
lcw729 Jun 5, 2024
80ce11b
fix: team의 prefer_trip 리턴 null오류처리
mummhy0811 Jun 5, 2024
7973db6
Merge pull request #132 from Hanaro-trip-together-bank/fix/team
mummhy0811 Jun 5, 2024
867dbcf
feat: 내 모임 리스트에 선호여행 추가
mummhy0811 Jun 5, 2024
a7f0d2f
Merge pull request #133 from Hanaro-trip-together-bank/feature/myMoim
mummhy0811 Jun 5, 2024
3309434
refactor: 환율 알림 api 연동
ny2060 Jun 5, 2024
ae31def
refactor: 환율 알림 api 연동
ny2060 Jun 5, 2024
6773eb6
refactor: 안쓰는 코드 정리
ny2060 Jun 5, 2024
1a6931b
Merge branch 'feature/dues_paid' of https://github.com/Hanaro-trip-to…
ny2060 Jun 5, 2024
2aaa30a
refactor: 안쓰는 import문 제거
ny2060 Jun 5, 2024
26ce878
Merge pull request #134 from Hanaro-trip-together-bank/feature/dues_paid
ny2060 Jun 5, 2024
0dba8b2
feat: member login fcmToken추가
ny2060 Jun 5, 2024
6bb506d
Merge pull request #135 from Hanaro-trip-together-bank/feature/dues_paid
ny2060 Jun 5, 2024
7a4b850
feat: 환율 알림 리스트 조회 api 구현
ny2060 Jun 6, 2024
914978d
Merge pull request #136 from Hanaro-trip-together-bank/feature/dues_paid
ny2060 Jun 6, 2024
b7d2827
Update gradle.yml
ShinKwang2 Jun 7, 2024
2600adb
refactor: memberserviceTest testLoginIncorrectPw() 주석처리
ny2060 Jun 7, 2024
772f6a3
Merge pull request #137 from Hanaro-trip-together-bank/feature/dues_paid
ny2060 Jun 7, 2024
b423c56
feat: 여행 일정 예상 비용 반영 완료
lcw729 Jun 7, 2024
82d0020
Merge branch 'dev' of https://github.com/Hanaro-trip-together-bank/Tr…
lcw729 Jun 7, 2024
d0defef
Merge pull request #138 from Hanaro-trip-together-bank/feature/trip
lcw729 Jun 7, 2024
b849d83
fix: 여행 이미지 값 반환하도록 변경
lcw729 Jun 7, 2024
38d672c
Merge pull request #139 from Hanaro-trip-together-bank/feature/trip
lcw729 Jun 7, 2024
9f98999
fix: 여행 일정 예상 비용 기본 값 설정
lcw729 Jun 7, 2024
8d9a9ba
Merge pull request #140 from Hanaro-trip-together-bank/feature/trip
lcw729 Jun 7, 2024
4898063
refactor: fcm request 수정
ny2060 Jun 7, 2024
6e6ae54
Merge pull request #141 from Hanaro-trip-together-bank/feature/dues_paid
ny2060 Jun 7, 2024
0e63e83
refactor: fcm 수정
ny2060 Jun 7, 2024
76ac6e9
Merge pull request #142 from Hanaro-trip-together-bank/feature/dues_paid
ny2060 Jun 7, 2024
e78e874
refactor: fcm 수정
ny2060 Jun 7, 2024
d9203b4
Merge pull request #143 from Hanaro-trip-together-bank/feature/dues_paid
ny2060 Jun 7, 2024
4d3f082
refactor: fcm 수정
ny2060 Jun 7, 2024
6568bd9
Merge pull request #144 from Hanaro-trip-together-bank/feature/dues_paid
ny2060 Jun 7, 2024
1367860
refactor:fcm fix
ny2060 Jun 7, 2024
d9144c5
Merge pull request #145 from Hanaro-trip-together-bank/feature/dues_paid
ny2060 Jun 7, 2024
6f04e2f
test: json 파일 정보 출력
lcw729 Jun 7, 2024
8c93879
Merge pull request #146 from Hanaro-trip-together-bank/feature/trip
lcw729 Jun 7, 2024
0db5c01
refactor:fcm fix
ny2060 Jun 7, 2024
7c74cd0
Merge pull request #147 from Hanaro-trip-together-bank/feature/dues_paid
ny2060 Jun 7, 2024
4bcd088
refactor:fcm Gson()사용
ny2060 Jun 7, 2024
774b306
Merge pull request #148 from Hanaro-trip-together-bank/feature/dues_paid
ny2060 Jun 7, 2024
c93073d
Update gradle.yml
ny2060 Jun 7, 2024
169428d
refactor: 경로명 변경
ny2060 Jun 7, 2024
814ead0
Update gradle.yml
ny2060 Jun 7, 2024
bf98d81
Merge pull request #149 from Hanaro-trip-together-bank/feature/dues_paid
ny2060 Jun 7, 2024
fc34642
refactor: 경로명 변경
ny2060 Jun 7, 2024
49bb92b
refactor: 경로명 변경
ny2060 Jun 7, 2024
3da549f
Merge pull request #150 from Hanaro-trip-together-bank/feature/dues_paid
ny2060 Jun 7, 2024
93fdfa3
fix: 일정 하나인 경우, 삭제 불가 이슈 해결
lcw729 Jun 7, 2024
d6fbcd4
Merge pull request #151 from Hanaro-trip-together-bank/feature/trip
lcw729 Jun 7, 2024
cce905a
fix: git 설정 추가
ny2060 Jun 7, 2024
3165aa5
Merge pull request #152 from Hanaro-trip-together-bank/feature/dues_paid
ny2060 Jun 7, 2024
bff36bb
fix: 모임 규칙 조회 api 수정
ny2060 Jun 7, 2024
cf317ee
Merge pull request #153 from Hanaro-trip-together-bank/feature/dues_paid
ny2060 Jun 7, 2024
3ae690a
refactor: 환율 알림리스트 조회 api 수정
ny2060 Jun 10, 2024
775f066
feat: 환율 알림 리스트 삭제 api 구현
ny2060 Jun 10, 2024
f756ad1
Merge pull request #154 from Hanaro-trip-together-bank/feature/dues_paid
ny2060 Jun 10, 2024
0e7eca3
refactor: 환율 컬럼명 변경
ny2060 Jun 10, 2024
51aaf71
Merge pull request #155 from Hanaro-trip-together-bank/feature/dues_paid
ny2060 Jun 10, 2024
0b11286
fix: 모임가입- 기존 멤버 대응 기능 추가
yubin-im Jun 10, 2024
0785248
Merge pull request #156 from Hanaro-trip-together-bank/feature/teamMe…
yubin-im Jun 10, 2024
fae8e0f
fix: 모임원 명수 리턴
mummhy0811 Jun 10, 2024
716ee57
Merge branch 'dev' into fix/account-detail
mummhy0811 Jun 10, 2024
62f8df2
Merge pull request #157 from Hanaro-trip-together-bank/fix/account-de…
mummhy0811 Jun 10, 2024
5fa8da1
refactor: 알림 삭제 & 환율요청 api 수정
ny2060 Jun 10, 2024
8601cb2
Merge pull request #158 from Hanaro-trip-together-bank/feature/dues_paid
ny2060 Jun 10, 2024
eaf5586
fix: 환율알림 notified추가
ny2060 Jun 10, 2024
8981ab4
Merge pull request #159 from Hanaro-trip-together-bank/feature/dues_paid
ny2060 Jun 10, 2024
aafbaeb
fix: 모임가입- 기존 멤버 대응 기능 수정
yubin-im Jun 10, 2024
ce76008
Merge pull request #160 from Hanaro-trip-together-bank/feature/teamMe…
yubin-im Jun 10, 2024
79d9449
feat: 모임 초대 알림 api 구현
ny2060 Jun 10, 2024
0b26ef7
Merge branch 'dev' into feature/dues_paid
ny2060 Jun 10, 2024
f1818ee
Merge pull request #161 from Hanaro-trip-together-bank/feature/dues_paid
ny2060 Jun 10, 2024
a363fcc
fix: 모임 초대 수락/거절 api 구현
ny2060 Jun 10, 2024
5096d59
fix: 모임초대 수락/거절 api 구현
ny2060 Jun 10, 2024
367c26c
fix: 모임초대 수락/거절 api 구현
ny2060 Jun 10, 2024
366c872
refactor: 환율 알림 1분마다 체크
ny2060 Jun 11, 2024
19c0017
feat: 모임서비스 가입 후 바로 초대링크 생성되도록 수정
yubin-im Jun 11, 2024
8ad2c01
Merge pull request #162 from Hanaro-trip-together-bank/feature/teamMe…
yubin-im Jun 11, 2024
7ba781b
fix: 스케줄러 처리 수정
ny2060 Jun 11, 2024
a2c8c26
Merge branch 'dev' of https://github.com/Hanaro-trip-together-bank/Tr…
ny2060 Jun 11, 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
108 changes: 108 additions & 0 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,108 @@
name: Java CI with Gradle

on:
push:
branches:
- dev
pull_request:
branches:
- dev
types:
- closed

jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'

- name: Log event details
run: |
echo "Event name: ${{ github.event_name }}"
echo "Event action: ${{ github.event.action }}"

- name: Setup MySQL
uses: samin/mysql-action@v1
with:
character set server: 'utf8'
mysql database: ${{ secrets.MYSQL_DATABASE }}
mysql user: 'root'
mysql password: ${{ secrets.MYSQL_PASSWORD }}

- name: Make application.properties
run: |
mkdir -p ./src/main/resources
cd ./src/main/resources
touch ./application.properties
echo "${{ secrets.PROPERTIES }}" > ./application.properties
touch ./triptogether-e7bac-firebase-adminsdk-peiki-127517aa66.json
echo "${{ secrets.FIREBASE_KEY }}" > ./triptogether-e7bac-firebase-adminsdk-peiki-127517aa66.json
cat ./triptogether-e7bac-firebase-adminsdk-peiki-127517aa66.json
pwd
ls
shell: bash

- name: Grant execute permission to Gradle wrapper
run: chmod +x ./gradlew

- name: Build with Gradle Wrapper
run: ./gradlew build

- name: Dev Docker build & push to prod
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/dev' || (github.event_name == 'pull_request' && github.event.pull_request.base.ref == 'dev' && github.event.pull_request.merged == true) }}
run: |
docker login -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_PASSWORD }}
docker build -f Dockerfile -t ${{ secrets.DOCKER_USERNAME }}/hanaro-trip-together .
docker push ${{ secrets.DOCKER_USERNAME }}/hanaro-trip-together

- name: Deploy to dev
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/dev' || (github.event_name == 'pull_request' && github.event.pull_request.base.ref == 'dev' && github.event.pull_request.merged == true) }}
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.HOST_DEV }}
username: ec2-user
key: ${{ secrets.PRIVATE_KEY }}
script: |
sudo docker ps
sudo docker pull ${{ secrets.DOCKER_USERNAME }}/hanaro-trip-together
sudo docker stop hanaro-trip-together
sudo docker rm hanaro-trip-together
sudo docker run -it -d -p 8080:8080 --name hanaro-trip-together ${{ secrets.DOCKER_USERNAME }}/hanaro-trip-together
sudo docker image prune -f

notify_slack_failed:
needs: [build]
runs-on: ubuntu-latest
if: failure()
steps:
- name: Notify Slack on failure
uses: rtCamp/action-slack-notify@v2
with:
status: 'failure'
author_name: 'SERVER CI/CD'
fields: 'Job ID: ${{ github.run_id }} FAILED'
env:
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}

notify_slack_success:
needs: [build]
runs-on: ubuntu-latest
if: success()
steps:
- name: Notify Slack on success
uses: rtCamp/action-slack-notify@v2
with:
status: 'success'
author_name: 'SERVER CI/CD'
fields: 'Job ID: ${{ github.run_id }} SUCCEEDED'
env:
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,11 @@ out/
/nbdist/
/.nb-gradle/

src/main/**/application.properties
src/main/**/db.sql
src/main/**/triptogether-e7bac-firebase-adminsdk-peiki-127517aa66.json

### VS Code ###
.vscode/

application.properties
11 changes: 11 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
FROM openjdk:17-alpine

# build가 되는 시점에 JAR_FILE이라는 변수 명에 build/libs/*.jar 선언
# build/libs - gradle로 빌드했을 때 jar 파일이 생성되는 경로
ARG JAR_FILE=build/libs/*.jar

# JAR_FILE을 app.jar로 복사
COPY ${JAR_FILE} app.jar

# 운영 및 개발에서 사용되는 환경 설정을 분리
ENTRYPOINT ["java", "-jar", "-Dspring.profiles.active=prod", "/app.jar"]
15 changes: 11 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,21 @@ repositories {
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.springframework.boot:spring-boot-starter-webflux'
implementation 'org.springframework.boot:spring-boot-starter-batch'
compileOnly 'org.projectlombok:lombok'
runtimeOnly 'com.h2database:h2'
runtimeOnly 'com.mysql:mysql-connector-j'
implementation 'com.google.firebase:firebase-admin:9.2.0'
implementation 'com.squareup.okhttp3:okhttp:4.12.0'
implementation 'com.fasterxml.jackson.core:jackson-core:2.16.1'
implementation 'com.h2database:h2'
implementation 'com.mysql:mysql-connector-j'
annotationProcessor 'org.projectlombok:lombok'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
implementation 'io.netty:netty-resolver-dns-native-macos:4.1.68.Final:osx-aarch_64'
testCompileOnly 'org.projectlombok:lombok'
}

tasks.named('test') {
test {
useJUnitPlatform()
}
}
14 changes: 14 additions & 0 deletions src/main/java/com/hanaro/triptogether/TriptogetherApplication.java
Original file line number Diff line number Diff line change
@@ -1,11 +1,25 @@
package com.hanaro.triptogether;

import jakarta.annotation.PostConstruct;
import org.springframework.batch.core.configuration.annotation.EnableBatchProcessing;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.data.jpa.repository.config.EnableJpaAuditing;
import org.springframework.scheduling.annotation.EnableScheduling;

import java.util.TimeZone;

@SpringBootApplication
@EnableScheduling
@EnableJpaAuditing
@EnableBatchProcessing
public class TriptogetherApplication {

@PostConstruct
void started(){
TimeZone.setDefault(TimeZone.getTimeZone("Asia/Seoul"));
}

public static void main(String[] args) {
SpringApplication.run(TriptogetherApplication.class, args);
}
Expand Down
19 changes: 19 additions & 0 deletions src/main/java/com/hanaro/triptogether/WebConfig.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
package com.hanaro.triptogether;

import lombok.RequiredArgsConstructor;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.CorsRegistry;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;

@Configuration
@RequiredArgsConstructor
public class WebConfig implements WebMvcConfigurer {
@Override
public void addCorsMappings(CorsRegistry registry) {
registry
.addMapping("/**")
.allowedHeaders("*")
.allowedMethods("*")
.allowedOrigins("*");
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
package com.hanaro.triptogether.account.controller;

import com.hanaro.triptogether.account.dto.request.UpdateAccBalanceReq;
import com.hanaro.triptogether.account.dto.response.AccountsResDto;
import com.hanaro.triptogether.account.dto.response.TeamServiceListResDto;
import com.hanaro.triptogether.account.service.AccountService;
import lombok.RequiredArgsConstructor;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;
import java.util.Map;

@RestController
@RequiredArgsConstructor
public class AccountController {
private final AccountService accountService;

// 모임서비스 전체 조회
@PostMapping("/account")
public List<TeamServiceListResDto> teamServiceList(@RequestBody Map<String, Long> memberIdxMap) {
Long memberIdx = memberIdxMap.get("memberIdx");
return accountService.teamServiceList(memberIdx);
}

// 전체 계좌 조회 (계좌 선택 기능)
@PostMapping("/accounts")
public List<AccountsResDto> accounts(@RequestBody Map<String, Long> memberIdxMap) {
Long memberIdx = memberIdxMap.get("memberIdx");
return accountService.accounts(memberIdx);
}

// 계좌 입출금
@PutMapping("/account/deposit")
public void depositAcc(@RequestBody UpdateAccBalanceReq updateAccBalanceReq) {
accountService.depositAcc(updateAccBalanceReq);
}

// 계좌 출금
// @PutMapping("/account/withdraw")
// public void withdrawAcc(@RequestBody UpdateAccBalanceReq updateAccBalanceReq) {
// accountService.withdrawAcc(updateAccBalanceReq);
// }
}
Original file line number Diff line number Diff line change
@@ -1,13 +1,18 @@
package com.hanaro.triptogether.account;
package com.hanaro.triptogether.account.domain;


import com.hanaro.triptogether.member.Member;
import com.hanaro.triptogether.member.domain.Member;
import jakarta.persistence.*;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import lombok.*;

@Entity
@Table(name = "Account")
@NoArgsConstructor(access = AccessLevel.PROTECTED)
@Getter
@Builder
@AllArgsConstructor
public class Account {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
Expand All @@ -17,7 +22,7 @@ public class Account {
@JoinColumn(name = "member_idx", nullable = false)
private Member member;

@Column(nullable = false, length = 255)
@Column(nullable = false, length = 14)
private String accNumber;

@Column(nullable = false, precision = 20, scale = 2)
Expand All @@ -34,4 +39,14 @@ public class Account {

private LocalDateTime lastModifiedAt;
private LocalDateTime deletedAt;

// 잔액 업데이트
public void updateAccBalance(BigDecimal accBalance) {
this.accBalance = accBalance;
}

// 수정날짜 업데이트
public void updateModifiedAt(LocalDateTime lastModifiedAt) {
this.lastModifiedAt = lastModifiedAt;
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
package com.hanaro.triptogether.account.domain;

import com.hanaro.triptogether.member.domain.Member;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface AccountRepository extends JpaRepository<Account, Long> {
// 모임서비스 전체 조회
List<Account> findAccountsByMember(Member member);

}
Loading
Loading