This repository has been archived by the owner on Oct 16, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* develop: [POTATO-20] 롬복 대체가능한거 수정 및 학과 추가 (#97) [POTATO-19] 관리자 모듈 세션 정보 memberId -> AdminId로 네이밍 수정 (#96) [POTATO-18] 게시물 정보(제목, 내용, 사진) 및 백업 정보 Value Object로 리팩토링 (#95) [POTATO-18] http client [POTATO-16] 게시물 도메인 설계 수정 [POTATO-15] 블루 서버 켜질때까지 기다렸다가 그린 서버 종료하도록 수정 [POTATO-14] 게시물 테이블에 counts 필드 추가 [POTATO-14] 게시물 댓글 수정 (#94) Feat/like (#93) UPDATE README.md [POTATO-13] JDBC 세션을 위한 테이블, 인덱스 제거 [POTATO-12] Api, Admin 서버 로그 도커 볼륨 마운트 설정. v0.3.2
- Loading branch information
Showing
92 changed files
with
1,028 additions
and
917 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
package com.potato.controller; | ||
|
||
import com.potato.config.session.AdminMemberSession; | ||
import com.potato.config.session.AdminSession; | ||
import com.potato.domain.administrator.Administrator; | ||
import com.potato.domain.administrator.AdministratorCreator; | ||
import com.potato.domain.administrator.AdministratorRepository; | ||
|
@@ -24,7 +24,7 @@ public class LocalController { | |
@GetMapping("/test-session") | ||
public ApiResponse<String> getSession() { | ||
Administrator administrator = administratorRepository.save(AdministratorCreator.create("[email protected]", "테스트 관리자")); | ||
httpSession.setAttribute(AUTH_SESSION, AdminMemberSession.of(administrator.getId())); | ||
httpSession.setAttribute(AUTH_SESSION, AdminSession.of(administrator.getId())); | ||
return ApiResponse.success(httpSession.getId()); | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.