Skip to content

Commit 4754e99

Browse files
rjswjddnchw0912chcch529gffd94min0962
authored
release: devcontroller 수정 코드 병합 (#146)
* feat: workflow에 EC2 자동 배포 추가 (#78) * feat: workflow에 EC2 자동 배포 추가 * chore: appleboy/ssh-action 최신버전으로 변경 * feat: 발표방 캐싱 및 인덱싱 적용 feat 새로운 기능 추가 (#80) * docs: 발표방 생성 요청 dto 스웨거 수정 * feat: Room secretCode Unique 설정 * feat: Room 캐시 적용 * test: Room 캐시 테스트 * test: 비밀코드 중복 문제 해결 * fix: 로그인 500에러 수정 * fix: 로그인 500에러 수정 * feat: 카카오 로그인 API (#86) * fix: cors disable 추가 * feat: 카카오 로그인 API * feat: 시큐리티에 카카오 로그인 url 추가 * docs: swagger 수정 * test: test yml 수정 * refactor: Presigned URL 업로드용, 조회용 로직 분리 (#84) * refactor: 기존 presigned-url 발급 로직을 업로드용, 조회용으로 분리 * docs: 발표자료 Swagger tag 추가 * refactor: profiles 환경 변수 주입으로 변경 (#90) * feat: 카카오 로그인 재시도 로직, 방 참가자 관리 동시성 수정 (#91) * feat: restTemplate 재시도 로직 추가 * feat: 방 참가자 관리 동시성 수정 및 비밀코드 방 참가 수정 * refactor,fix: 2회차 멘토링 기반 리팩토링 (#94) * fix: MemberController 수정 (#96) * fix: existsMemberByEmail에 RequestBody 추가 * fix: existsMemberByEmail 수정 * feat: 로그인 API 반환 수정 * 답변 조회 기능 수정 (#98) * feat: cors 설정 (#102) * Refactor/101 room detail (#104) * feat: cors 설정 * 웹소켓 * 웹소켓 * Refactor/101 room detail (#106) * feat: cors 설정 * 웹소켓 * 웹소켓 * 웹소켓 * Refactor/101 room detail (#108) * feat: cors 설정 * 웹소켓 * 웹소켓 * 웹소켓 * 웹소켓 * Refactor/101 room detail (#110) * feat: cors 설정 * 웹소켓 * 웹소켓 * 웹소켓 * 웹소켓 * Update WebSocketConfig.java * Refactor/101 room detail (#114) * feat: cors 설정 * 웹소켓 * 웹소켓 * 웹소켓 * 웹소켓 * 웹소켓 * Refactor/101 room detail (#116) * feat: cors 설정 * 웹소켓 * 웹소켓 * 웹소켓 * 웹소켓 * 웹소켓 * 웹소켓 * Refactor/101 room detail (#118) * feat: cors 설정 * 웹소켓 * 웹소켓 * 웹소켓 * 웹소켓 * 웹소켓 * 웹소켓 * 인터셉터, 핸들러 재추가 * 핸들러 다시 추가 * Refactor/101 room detail (#120) * feat: cors 설정 * 웹소켓 * 웹소켓 * 웹소켓 * 웹소켓 * 웹소켓 * 웹소켓 * 인터셉터, 핸들러 재추가 * 핸들러 다시 추가 * 핸들러 다시 주석 * sockjs만 살리기 * test: 질문 생성 테스트 배포 (#122) * feat: cors 설정 * 웹소켓 * 웹소켓 * 웹소켓 * 웹소켓 * 웹소켓 * 웹소켓 * 인터셉터, 핸들러 재추가 * 핸들러 다시 추가 * 핸들러 다시 주석 * sockjs만 살리기 * dev 와 병합 * 질문 생성 변경 * fix: stomp controller 수정 (#125) * fix: Stomp 컨트롤러 수정 * test: 테스트 코드 수정 * fix: 답변 기능 수정 (#128) * fix: 답변 조회 수정 * test: 답변 조회 테스트 수정 * fix: cors 메서드 수정 (#131) * fix: 에러 코드 변경 * fix: cors 허용 메서드 수정 * fix: 시큐리티 수정 (#133) * fix: 에러 코드 변경 * fix: cors 허용 메서드 수정 * fix: 로그인 anonymous 해제 * fix: 시큐리티 컨픽 불필요한 부분 삭제 * fix: 시큐리티 permitAll 추가 (#135) * fix: 에러 코드 변경 * fix: cors 허용 메서드 수정 * fix: 로그인 anonymous 해제 * fix: 시큐리티 컨픽 불필요한 부분 삭제 * fix: 시큐리티 컨픽 permitall 추가 * fix: 답변율 퍼센트 수정 (#138) * fix: 참여한 발표방 조회 시 생성일, 참여일이 나오게 변경 (#141) * fix: 참여한 발표방 조회 시 생성일, 참여일이 나오게 변경 * test: 변경에 따른 테스트 코드 수정 * fix: 캐시 삭제 로직 수정 (#143) * fix: 에러 코드 변경 * fix: cors 허용 메서드 수정 * fix: 로그인 anonymous 해제 * fix: 시큐리티 컨픽 불필요한 부분 삭제 * fix: 시큐리티 컨픽 permitall 추가 * fix: 캐시 삭제 추가 * refactor: devcontroller 수정 (#145) * fix: 에러 코드 변경 * fix: cors 허용 메서드 수정 * fix: 로그인 anonymous 해제 * fix: 시큐리티 컨픽 불필요한 부분 삭제 * fix: 시큐리티 컨픽 permitall 추가 * fix: 캐시 삭제 추가 * refactor: devcontroller 프로필 로컬로 변경 --------- Co-authored-by: Huiwoong Choi <95081400+chw0912@users.noreply.github.com> Co-authored-by: chcch529 <146617430+chcch529@users.noreply.github.com> Co-authored-by: SeungTae <122506273+gffd94@users.noreply.github.com> Co-authored-by: 민경준 <wsx8028@gmail.com>
1 parent 7c69474 commit 4754e99

File tree

4 files changed

+7
-5
lines changed

4 files changed

+7
-5
lines changed

src/main/java/com/oronaminc/join/global/dev/DevController.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
import java.util.List;
44

5+
import org.springframework.context.annotation.Profile;
56
import org.springframework.http.HttpStatus;
67
import org.springframework.security.authentication.UsernamePasswordAuthenticationToken;
78
import org.springframework.security.core.Authentication;
@@ -23,6 +24,7 @@
2324
import jakarta.servlet.http.HttpSession;
2425
import lombok.RequiredArgsConstructor;
2526

27+
@Profile("local")
2628
@RestController
2729
@Tag(name = "개발용 API")
2830
@RequestMapping("/dev")

src/main/java/com/oronaminc/join/global/dev/HealthController.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
import io.swagger.v3.oas.annotations.tags.Tag;
1010

1111
@RestController
12-
@Tag(name = "개발용 API")
12+
@Tag(name = "헬스체크 API")
1313
public class HealthController {
1414

1515
@Operation(summary = "애플리케이션 헬스체크")
@@ -19,7 +19,7 @@ public String health() {
1919
return "Server is Healthy!";
2020
}
2121

22-
@Operation(summary = "홈 헬스체크")
22+
@Operation(summary = "홈")
2323
@ResponseStatus(HttpStatus.OK)
2424
@GetMapping("/")
2525
public String home() {

src/main/java/com/oronaminc/join/member/security/SecurityConfig.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@ public SecurityFilterChain filterChain(HttpSecurity http) throws Exception {
4747
"/ws/**",
4848
"/api/auth/guest",
4949
"/api/auth/kakao",
50-
"/login"
50+
"/login",
51+
"/health"
5152
)
5253
.permitAll()
5354
.anyRequest()

src/main/java/com/oronaminc/join/room/service/RoomService.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@
4646

4747
import lombok.RequiredArgsConstructor;
4848

49-
5049
@Service
5150
@Transactional(readOnly = true)
5251
@RequiredArgsConstructor
@@ -142,7 +141,7 @@ public void deleteRoom(Long memberId, Long roomId) {
142141

143142
@Transactional
144143
public void updateRoomStatus(Long memberId, Long roomId,
145-
RoomUpdateStatusRequest roomUpdateStatusRequest) {
144+
RoomUpdateStatusRequest roomUpdateStatusRequest) {
146145
participantService.validatePresenter(roomId, memberId);
147146
Room room = roomReader.getById(roomId);
148147

0 commit comments

Comments
 (0)