Skip to content

[김준우] sprint7 #352

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

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
116 commits
Select commit Hold shift + click to select a range
1755c0d
Start project
normaldeve Jan 8, 2025
ef7e362
Create entity class and service interface
normaldeve Jan 8, 2025
c62a7c1
Exclude Main class
normaldeve Jan 8, 2025
c6688d8
Update entity class add getter method
normaldeve Jan 8, 2025
46efe92
Implement business logic for User, Message, Channel Service
normaldeve Jan 9, 2025
6622cdb
Update Message class
normaldeve Jan 9, 2025
8674e1f
Add JavaApplication
normaldeve Jan 9, 2025
98373b3
Update JavaApplication
normaldeve Jan 9, 2025
275fc73
Refactor
normaldeve Jan 10, 2025
61d0de2
Update Service
normaldeve Jan 10, 2025
7291f70
Refactor the service code
normaldeve Jan 16, 2025
ee39c05
Refactor the service code
normaldeve Jan 16, 2025
39073cb
Add fileservice class
normaldeve Jan 20, 2025
3b19d12
Add Factory interface
normaldeve Jan 20, 2025
41b54b1
Update main code
normaldeve Jan 20, 2025
5b8a424
Add repository interface each service
normaldeve Jan 20, 2025
a3bbd93
Add repository file
normaldeve Jan 20, 2025
006a424
Add convertJson method
normaldeve Jan 20, 2025
70be29c
Add JCF, File repository
normaldeve Jan 20, 2025
beef1bf
Update repository
normaldeve Jan 20, 2025
0434dff
Add custom exception
normaldeve Jan 21, 2025
4d8d7d5
Update JCFRepository
normaldeve Jan 21, 2025
f7743a3
Update JCFRepository
normaldeve Jan 21, 2025
6a5ef60
Update JCFService
normaldeve Jan 21, 2025
403f625
Modify method name create
normaldeve Jan 21, 2025
9b466db
Remove setter from DTO
normaldeve Jan 21, 2025
95c9de0
Repository code implementation completed
normaldeve Jan 21, 2025
8eab77b
Refactor code
normaldeve Jan 21, 2025
d1659c0
Update Service
normaldeve Jan 21, 2025
787cfef
Refactoring channel service
normaldeve Jan 21, 2025
7de68cb
Complete repository
normaldeve Jan 21, 2025
2a2b24a
Add repository test code
normaldeve Jan 22, 2025
fc2cfec
Complete repository test code
normaldeve Jan 22, 2025
427d233
Refactor
normaldeve Jan 22, 2025
2ccdd06
Complete test code
normaldeve Jan 23, 2025
dac53b7
Update Validphone and password
normaldeve Jan 23, 2025
21b28c9
Refactor
normaldeve Jan 25, 2025
f372c28
Update Basic Service, Repository
normaldeve Feb 4, 2025
d4f0a8e
Start mission3
normaldeve Feb 4, 2025
3c2898a
Complete Basic requirement
normaldeve Feb 4, 2025
a041721
Update domain time field
normaldeve Feb 4, 2025
145194d
Complete Basic requirement
normaldeve Feb 4, 2025
6fbc041
Add domain repository interface
normaldeve Feb 5, 2025
f19bedc
Update code
normaldeve Feb 5, 2025
e826288
Change code sprint3
normaldeve Feb 7, 2025
d7bbea0
Refactoring UserService
normaldeve Feb 7, 2025
95cc361
Complete Channel create code
normaldeve Feb 7, 2025
29bd776
Make abstract channel class
normaldeve Feb 7, 2025
80c03d8
Update BasicChannelService
normaldeve Feb 10, 2025
bfb3018
Update Domain Service
normaldeve Feb 10, 2025
6bbaddf
Update Basic Service code
normaldeve Feb 11, 2025
22a3fd9
Complete JCFRepository
normaldeve Feb 11, 2025
33dde59
Complete file repository
normaldeve Feb 11, 2025
49e29bf
Refactor repository code
normaldeve Feb 11, 2025
2ae46bd
Complete main code
normaldeve Feb 11, 2025
810f013
Update code
normaldeve Feb 11, 2025
742525f
Update Channel Service code
normaldeve Feb 13, 2025
b12436d
Update UserStatus code
normaldeve Feb 14, 2025
b22491b
Update code
normaldeve Feb 14, 2025
f71abd0
.
normaldeve Feb 14, 2025
530ea4c
Update test code
normaldeve Feb 18, 2025
748f4b3
Initialize sprint mission 4
normaldeve Feb 18, 2025
f4d686a
Complete Auth, User, UserStatus Controller
normaldeve Feb 18, 2025
0debf83
Complete Channel Controller
normaldeve Feb 18, 2025
b8b38dc
Add UserStatus controller
normaldeve Feb 20, 2025
6d8dac1
Complete save binarycontent
normaldeve Feb 20, 2025
f953586
Refactor: mentoring
normaldeve Feb 20, 2025
fd2c0b0
User aop userstatus update
normaldeve Feb 20, 2025
bb5fd6b
Refactor
normaldeve Feb 20, 2025
74a3c54
Complete requirements
normaldeve Feb 21, 2025
5be8b3f
Complete Mission 4
normaldeve Feb 24, 2025
52a3a9a
Complete Swagger API Document
normaldeve Feb 24, 2025
459da41
Add static file
normaldeve Feb 24, 2025
fb10d42
Update Controller
normaldeve Feb 24, 2025
b62040b
Update controller
normaldeve Feb 26, 2025
824d64a
Refactor : BinaryContentController
normaldeve Feb 26, 2025
b024e8a
Update ErrorHandler
Mar 4, 2025
51e9c90
ModelMapper 빈등록, 전역 예외 처리 메서드 추가
Mar 6, 2025
e4706c1
기존 데이터 저장했던 파일 삭제하고 jpa, postqresql 연동 설정 완료
Mar 6, 2025
c48ce0b
레포지토리 구현체 JCF, FILE 삭제
Mar 8, 2025
2365f5e
BaseEntity 클래스 만들어서 createdAt, updatedAt 공통 필드 생성, Entity로 변환
Mar 9, 2025
c744ed2
Entity 수정->Message, BinaryContent 매핑
Mar 10, 2025
10afd2e
Entity JPA 관련 어노테이션 삭제 -> 필드 재설정
Mar 10, 2025
f297462
repository에 JPA 적용 -> 쿼리메소드 작성 X
Mar 10, 2025
84c6fb6
Entity 매핑 설정 -> 아직 column 설정은 안 함
Mar 10, 2025
94ec2f3
Entity 매핑 정보 처리 완료
Mar 10, 2025
6438322
Repository JPA 도입 완료 -> 쿼리 메소드 사용 X
Mar 10, 2025
d22b847
Repository 설정 완료
Mar 11, 2025
65cdee8
요구사항에 맞게 DTO 작성 완료
Mar 11, 2025
b459615
Service 계층 코드 리펙토링 중 -> Message, BinaryContent 남음
Mar 11, 2025
0d42775
Service 구현체 수정 완료
Mar 12, 2025
48f29a7
Repository Query 수정
Mar 12, 2025
2f808c8
Controller 요구 사항 반영 완료
Mar 12, 2025
de43eb2
기본 요구사항 구현 완료
Mar 13, 2025
002d8f0
기본 요구사항 구현 완료
Mar 13, 2025
33b2706
:recycle: 코드 리팩토링
Mar 14, 2025
dbfe42d
Merge pull request #316 from normaldeve/part2-김준우-sprint6
mostwantedroy Mar 19, 2025
b79afe0
베이스 코드로 변경
Mar 27, 2025
2fa7133
베이스코드로 변경
Mar 27, 2025
8837dee
:recycle: 개발, 운영 환경에 대한 프로파일 구성
Mar 27, 2025
f13a8cc
:recycle: 개발, 운영 환경에 대한 프로파일 구성 + 로깅 설정 파일 구성
Mar 27, 2025
e5779dc
:recycle: Service 계층에 로그 설정 완료
Mar 27, 2025
03076d1
:recycle: 유효성 검사 코드 작성 완료
Mar 27, 2025
84dc08e
:sparkles: 단위테스트 및 슬라이스 테스트 작성 완료
Mar 28, 2025
0145279
:sparkles: 통합 테스트 작성 완료
Mar 28, 2025
c3297f8
:sparkles: 심화 요구사항
Mar 28, 2025
6bb3b9a
:recycle: 커스텀 예외 수정
Mar 31, 2025
7e83358
:recycle: RequestDTO에 제약 조건 관련 어노테이션 수정
Apr 2, 2025
d6925ec
:recycle: 레포지토리, 서비스, 컨트롤러 단위 테스트 작성 완료 -> 통합 테스트 작성 못함
Apr 5, 2025
ad44fae
:recycle: 커밋 템플릿 테스트
Apr 8, 2025
114e27d
:white_check_mark: Git Action 자동 테스트 확인
Apr 8, 2025
39d4c58
:white_check_mark: 자동 테스트 구동되는지 확인
Apr 8, 2025
fc00733
:white_check_mark: 커밋 테스트
Apr 8, 2025
727a19e
:recycle: 자동 테스트 확인
Apr 8, 2025
1064cf5
ci test
Apr 8, 2025
b2523c3
Delete github workflows
Apr 8, 2025
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
20 changes: 0 additions & 20 deletions .github/pull-request-template.md

This file was deleted.

52 changes: 52 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
.gradle
build/
!gradle/wrapper/gradle-wrapper.jar
!**/src/main/**/build/
!**/src/test/**/build/

### IntelliJ IDEA ###
.idea
*.iws
*.iml
*.ipr
out/
!**/src/main/**/out/
!**/src/test/**/out/

# .gitignore
.env
.env.*


### Eclipse ###
.apt_generated
.classpath
.factorypath
.project
.settings
.springBeans
.sts4-cache
bin/
!**/src/main/**/bin/
!**/src/test/**/bin/

### NetBeans ###
/nbproject/private/
/nbbuild/
/dist/
/nbdist/
/.nb-gradle/

### VS Code ###
.vscode/

### Mac OS ###
.DS_Store

### Discodeit ###
.discodeit

### 숨김 파일 ###
.*
!.gitignore
!.github/
9 changes: 9 additions & 0 deletions .gitmessage.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# [타입] 커밋 제목 (한 줄 요약)
# 예: feat: 사용자 로그인 기능 추가

# 본문 (무엇을, 왜 했는지)
# - 변경한 이유
# - 고려한 사항

# 이슈 번호 (있다면)
# Related issue: #123
24 changes: 24 additions & 0 deletions .logs/latest.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
25-04-06 00:05:45.044 [background-preinit] INFO org.hibernate.validator.internal.util.Version [ | | ] - HV000001: Hibernate Validator 8.0.1.Final
25-04-06 00:05:45.450 [Test worker] INFO com.sprint.mission.discodeit.controller.MessageControllerTest [ | | ] - Starting MessageControllerTest using Java 17.0.14 with PID 25324 (started by junwo in C:\Users\junwo\IdeaProjects\1-sprint-mission)
25-04-06 00:05:45.455 [Test worker] INFO com.sprint.mission.discodeit.controller.MessageControllerTest [ | | ] - The following 1 profile is active: "dev"
25-04-06 00:05:54.054 [Test worker] INFO org.springframework.boot.autoconfigure.web.servlet.WelcomePageHandlerMapping [ | | ] - Adding welcome page: class path resource [static/index.html]
25-04-06 00:05:55.942 [Test worker] INFO org.springframework.boot.test.mock.web.SpringBootMockServletContext [ | | ] - Initializing Spring TestDispatcherServlet ''
25-04-06 00:05:55.945 [Test worker] INFO org.springframework.test.web.servlet.TestDispatcherServlet [ | | ] - Initializing Servlet ''
25-04-06 00:05:55.950 [Test worker] INFO org.springframework.test.web.servlet.TestDispatcherServlet [ | | ] - Completed initialization in 4 ms
25-04-06 00:05:56.082 [Test worker] INFO com.sprint.mission.discodeit.controller.MessageControllerTest [ | | ] - Started MessageControllerTest in 14.304 seconds (process running for 18.155)
25-04-06 00:08:30.356 [background-preinit] INFO org.hibernate.validator.internal.util.Version [ | | ] - HV000001: Hibernate Validator 8.0.1.Final
25-04-06 00:08:30.762 [Test worker] INFO com.sprint.mission.discodeit.controller.MessageControllerTest [ | | ] - Starting MessageControllerTest using Java 17.0.14 with PID 7016 (started by junwo in C:\Users\junwo\IdeaProjects\1-sprint-mission)
25-04-06 00:08:30.766 [Test worker] INFO com.sprint.mission.discodeit.controller.MessageControllerTest [ | | ] - The following 1 profile is active: "dev"
25-04-06 00:08:39.592 [Test worker] INFO org.springframework.boot.autoconfigure.web.servlet.WelcomePageHandlerMapping [ | | ] - Adding welcome page: class path resource [static/index.html]
25-04-06 00:08:41.221 [Test worker] INFO org.springframework.boot.test.mock.web.SpringBootMockServletContext [ | | ] - Initializing Spring TestDispatcherServlet ''
25-04-06 00:08:41.222 [Test worker] INFO org.springframework.test.web.servlet.TestDispatcherServlet [ | | ] - Initializing Servlet ''
25-04-06 00:08:41.226 [Test worker] INFO org.springframework.test.web.servlet.TestDispatcherServlet [ | | ] - Completed initialization in 4 ms
25-04-06 00:08:41.358 [Test worker] INFO com.sprint.mission.discodeit.controller.MessageControllerTest [ | | ] - Started MessageControllerTest in 14.393 seconds (process running for 18.743)
25-04-06 00:09:04.230 [background-preinit] INFO org.hibernate.validator.internal.util.Version [ | | ] - HV000001: Hibernate Validator 8.0.1.Final
25-04-06 00:09:04.445 [Test worker] INFO com.sprint.mission.discodeit.controller.MessageControllerTest [ | | ] - Starting MessageControllerTest using Java 17.0.14 with PID 6012 (started by junwo in C:\Users\junwo\IdeaProjects\1-sprint-mission)
25-04-06 00:09:04.447 [Test worker] INFO com.sprint.mission.discodeit.controller.MessageControllerTest [ | | ] - The following 1 profile is active: "dev"
25-04-06 00:09:11.484 [Test worker] INFO org.springframework.boot.autoconfigure.web.servlet.WelcomePageHandlerMapping [ | | ] - Adding welcome page: class path resource [static/index.html]
25-04-06 00:09:13.211 [Test worker] INFO org.springframework.boot.test.mock.web.SpringBootMockServletContext [ | | ] - Initializing Spring TestDispatcherServlet ''
25-04-06 00:09:13.213 [Test worker] INFO org.springframework.test.web.servlet.TestDispatcherServlet [ | | ] - Initializing Servlet ''
25-04-06 00:09:13.219 [Test worker] INFO org.springframework.test.web.servlet.TestDispatcherServlet [ | | ] - Completed initialization in 6 ms
25-04-06 00:09:13.397 [Test worker] INFO com.sprint.mission.discodeit.controller.MessageControllerTest [ | | ] - Started MessageControllerTest in 11.994 seconds (process running for 16.197)
60 changes: 60 additions & 0 deletions .logs/logfile-2025-03-27.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
25-03-27 18:39:54.558 [SpringApplicationShutdownHook] INFO org.springframework.boot.web.embedded.tomcat.GracefulShutdown - Commencing graceful shutdown. Waiting for active requests to complete
25-03-27 18:39:54.813 [tomcat-shutdown] INFO org.springframework.boot.web.embedded.tomcat.GracefulShutdown - Graceful shutdown complete
25-03-27 18:39:54.818 [SpringApplicationShutdownHook] INFO org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean - Closing JPA EntityManagerFactory for persistence unit 'default'
25-03-27 18:39:54.820 [SpringApplicationShutdownHook] INFO com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Shutdown initiated...
25-03-27 18:39:54.822 [SpringApplicationShutdownHook] INFO com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Shutdown completed.
25-03-27 18:39:57.526 [background-preinit] INFO org.hibernate.validator.internal.util.Version - HV000001: Hibernate Validator 8.0.1.Final
25-03-27 18:39:57.591 [main] INFO com.sprint.mission.discodeit.DiscodeitApplication - Starting DiscodeitApplication using Java 17.0.14 with PID 9360 (C:\Users\junwo\IdeaProjects\1-sprint-mission\build\classes\java\main started by junwo in C:\Users\junwo\IdeaProjects\1-sprint-mission)
25-03-27 18:39:57.592 [main] INFO com.sprint.mission.discodeit.DiscodeitApplication - The following 1 profile is active: "dev"
25-03-27 18:39:58.561 [main] INFO org.springframework.data.repository.config.RepositoryConfigurationDelegate - Bootstrapping Spring Data JPA repositories in DEFAULT mode.
25-03-27 18:39:58.650 [main] INFO org.springframework.data.repository.config.RepositoryConfigurationDelegate - Finished Spring Data repository scanning in 77 ms. Found 6 JPA repository interfaces.
25-03-27 18:39:59.285 [main] INFO org.springframework.boot.web.embedded.tomcat.TomcatWebServer - Tomcat initialized with port 8081 (http)
25-03-27 18:39:59.313 [main] INFO org.apache.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-8081"]
25-03-27 18:39:59.316 [main] INFO org.apache.catalina.core.StandardService - Starting service [Tomcat]
25-03-27 18:39:59.316 [main] INFO org.apache.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/10.1.33]
25-03-27 18:39:59.392 [main] INFO org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/] - Initializing Spring embedded WebApplicationContext
25-03-27 18:39:59.393 [main] INFO org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext - Root WebApplicationContext: initialization completed in 1755 ms
25-03-27 18:39:59.425 [main] INFO com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Starting...
25-03-27 18:39:59.638 [main] INFO com.zaxxer.hikari.pool.HikariPool - HikariPool-1 - Added connection conn0: url=jdbc:h2:mem:testdb user=SA
25-03-27 18:39:59.640 [main] INFO com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Start completed.
25-03-27 18:39:59.650 [main] INFO org.springframework.boot.autoconfigure.h2.H2ConsoleAutoConfiguration - H2 console available at '/h2-console'. Database available at 'jdbc:h2:mem:testdb'
25-03-27 18:39:59.834 [main] INFO org.hibernate.jpa.internal.util.LogHelper - HHH000204: Processing PersistenceUnitInfo [name: default]
25-03-27 18:39:59.904 [main] INFO org.hibernate.Version - HHH000412: Hibernate ORM core version 6.6.2.Final
25-03-27 18:39:59.945 [main] INFO org.hibernate.cache.internal.RegionFactoryInitiator - HHH000026: Second-level cache disabled
25-03-27 18:40:00.250 [main] INFO org.springframework.orm.jpa.persistenceunit.SpringPersistenceUnitInfo - No LoadTimeWeaver setup: ignoring JPA class transformer
25-03-27 18:40:00.331 [main] INFO org.hibernate.orm.connections.pooling - HHH10001005: Database info:
Database JDBC URL [Connecting through datasource 'HikariDataSource (HikariPool-1)']
Database driver: undefined/unknown
Database version: 2.3.232
Autocommit mode: undefined/unknown
Isolation level: undefined/unknown
Minimum pool size: undefined/unknown
Maximum pool size: undefined/unknown
25-03-27 18:40:01.513 [main] INFO org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator - HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration)
25-03-27 18:40:01.565 [main] DEBUG org.hibernate.SQL -
alter table if exists read_statuses
drop constraint if exists UKqttel343c4eq691kcxipoixr7
25-03-27 18:40:01.566 [main] DEBUG org.hibernate.SQL -
alter table if exists read_statuses
add constraint UKqttel343c4eq691kcxipoixr7 unique (user_id, channel_id)
25-03-27 18:40:01.572 [main] DEBUG org.hibernate.SQL -
alter table if exists message_attachments
add constraint FKj7twd218e2gqw9cmlhwvo1rth
foreign key (message_id)
references messages
25-03-27 18:40:01.582 [main] INFO org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean - Initialized JPA EntityManagerFactory for persistence unit 'default'
25-03-27 18:40:01.908 [main] INFO org.springframework.data.jpa.repository.query.QueryEnhancerFactory - Hibernate is in classpath; If applicable, HQL parser will be used.
25-03-27 18:40:02.596 [main] INFO org.springframework.boot.autoconfigure.web.servlet.WelcomePageHandlerMapping - Adding welcome page: class path resource [static/index.html]
25-03-27 18:40:03.051 [main] INFO org.apache.coyote.http11.Http11NioProtocol - Starting ProtocolHandler ["http-nio-8081"]
25-03-27 18:40:03.072 [main] INFO org.springframework.boot.web.embedded.tomcat.TomcatWebServer - Tomcat started on port 8081 (http) with context path '/'
25-03-27 18:40:03.083 [main] INFO com.sprint.mission.discodeit.DiscodeitApplication - Started DiscodeitApplication in 6.209 seconds (process running for 6.892)
25-03-27 18:42:35.191 [http-nio-8081-exec-1] INFO org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/] - Initializing Spring DispatcherServlet 'dispatcherServlet'
25-03-27 18:42:35.192 [http-nio-8081-exec-1] INFO org.springframework.web.servlet.DispatcherServlet - Initializing Servlet 'dispatcherServlet'
25-03-27 18:42:35.197 [http-nio-8081-exec-1] INFO org.springframework.web.servlet.DispatcherServlet - Completed initialization in 4 ms
25-03-27 19:59:22.162 [HikariPool-1 housekeeper] WARN com.zaxxer.hikari.pool.HikariPool - HikariPool-1 - Thread starvation or clock leap detected (housekeeper delta=58m52s69ms170µs200ns).
25-03-27 21:48:38.094 [HikariPool-1 housekeeper] WARN com.zaxxer.hikari.pool.HikariPool - HikariPool-1 - Thread starvation or clock leap detected (housekeeper delta=1h48m11s842ms998µs900ns).
25-03-27 21:57:24.070 [SpringApplicationShutdownHook] INFO org.springframework.boot.web.embedded.tomcat.GracefulShutdown - Commencing graceful shutdown. Waiting for active requests to complete
25-03-27 21:57:24.377 [tomcat-shutdown] INFO org.springframework.boot.web.embedded.tomcat.GracefulShutdown - Graceful shutdown complete
25-03-27 21:57:24.390 [SpringApplicationShutdownHook] INFO org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean - Closing JPA EntityManagerFactory for persistence unit 'default'
25-03-27 21:57:24.404 [SpringApplicationShutdownHook] INFO com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Shutdown initiated...
25-03-27 21:57:24.410 [SpringApplicationShutdownHook] INFO com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Shutdown completed.
Loading