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

๐Ÿ”€ ์„œ๋น„์Šค ํƒˆํ‡ด ๊ธฐ๋Šฅ #12

Merged
merged 7 commits into from
Nov 22, 2024

Conversation

ta2ye0n
Copy link
Contributor

@ta2ye0n ta2ye0n commented Nov 20, 2024

๐Ÿ’ก ๋ฐฐ๊ฒฝ ๋ฐ ๊ฐœ์š”

์„œ๋น„์Šค ํƒˆํ‡ด ๊ธฐ๋Šฅ์„ ๊ตฌํ˜„ํ–ˆ์Šต๋‹ˆ๋‹ค

Resolves: #11

๐Ÿ“ƒ ์ž‘์—…๋‚ด์šฉ

  • ์„œ๋น„์Šค ํƒˆํ‡ด ๊ธฐ๋Šฅ

๐Ÿ™‹โ€โ™‚๏ธ ๋ฆฌ๋ทฐ๋…ธํŠธ

pr ๋‚ด์šฉ๊ณผ๋Š” ๊ด€๋ จ ์—†์ง€๋งŒ template.setEnableTransactionSupport(true); ์ถ”๊ฐ€ํ•˜๊ณ  ๋‚˜์„œ 401 NullPointException ๋ฐœ์ƒํ–ˆ์Šต๋‹ˆ๋‹ค
๋ฌธ์ œ์ ์ด redisRepository์™€ @Transactional ์˜€๊ณ  SignInServiceImp์— ์žˆ๋˜ ํŠธ๋žœ์žญ์…˜ ์–ด๋…ธํ…Œ์ด์…˜ ์‚ญ์ œํ–ˆ์Šต๋‹ˆ๋‹ค

โœ… PR ์ฒดํฌ๋ฆฌ์ŠคํŠธ

ํ…œํ”Œ๋ฆฟ ์ฒดํฌ๋ฆฌ์ŠคํŠธ ๋ง๊ณ ๋„ ์ถ”๊ฐ€์ ์œผ๋กœ ํ•„์š”ํ•œ ์ฒดํฌ๋ฆฌ์ŠคํŠธ๋Š” ์ถ”๊ฐ€ํ•ด์ฃผ์„ธ์š”!

  • ์ด ์ž‘์—…์œผ๋กœ ์ธํ•ด ๋ณ€๊ฒฝ์ด ํ•„์š”ํ•œ ๋ฌธ์„œ๊ฐ€ ๋ณ€๊ฒฝ๋˜์—ˆ๋‚˜์š”? (e.g. .env, ๋…ธ์…˜, README)
  • ์ด ์ž‘์—…์„ ํ•˜๊ณ ๋‚˜์„œ ๊ณต์œ ํ•ด์•ผํ•  ํŒ€์›๋“ค์—๊ฒŒ ๊ณต์œ ๋˜์—ˆ๋‚˜์š”? (e.g. "API ๊ฐœ๋ฐœ ์™„๋ฃŒ๋์–ด์š”", "ํ™˜๊ฒฝ๊ฐ’ ์ถ”๊ฐ€๋˜์—ˆ์–ด์š”")
  • ์ž‘์—…ํ•œ ์ฝ”๋“œ๊ฐ€ ์ •์ƒ์ ์œผ๋กœ ๋™์ž‘ํ•˜๋‚˜์š”?
  • Merge ๋Œ€์ƒ ๋ธŒ๋žœ์น˜๊ฐ€ ์˜ฌ๋ฐ”๋ฅธ๊ฐ€์š”?
  • PR๊ณผ ๊ด€๋ จ ์—†๋Š” ์ž‘์—…์ด ์žˆ์ง€๋Š” ์•Š๋‚˜์š”?
  • ์ด ์ž‘์—…์œผ๋กœ ์ธํ•ด ๋ฐœ์ƒํ•œ ๋ณ€๊ฒฝ ์‚ฌํ•ญ์ด Resource ์„œ๋ฒ„์—๋„ ๋ฐ˜์˜๋˜์—ˆ๋‚˜์š”?

๐ŸŽธ ๊ธฐํƒ€

@ta2ye0n ta2ye0n self-assigned this Nov 20, 2024
@ta2ye0n ta2ye0n requested a review from Umjiseung as a code owner November 20, 2024 08:04
@ta2ye0n ta2ye0n linked an issue Nov 20, 2024 that may be closed by this pull request
Comment on lines +24 to +25
userRoleRepository.deleteByUser(user);
userRepository.deleteById(user.getId());
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

๋ ˆ๋””์Šค์— ์ €์žฅ๋˜๋Š” ๋ฆฌํ”„๋ ˆ์‹œ ํ† ํฐ๋„ ํ•จ๊ป˜ ์‚ญ์ œํ•œ๋‹ค๋ฉด ๋” ๊น”๋”ํ•œ ํƒˆํ‡ด ์ฒ˜๋ฆฌ๊ฐ€ ๋  ๊ฒƒ ๊ฐ™๋„ค์š”

.requestMatchers(HttpMethod.POST, "/v3/auth/reissueToken").authenticated()
.requestMatchers(HttpMethod.DELETE, "/v3/auth/logout").authenticated()
.requestMatchers(HttpMethod.POST, "/auth").permitAll()
.requestMatchers(HttpMethod.POST, "/auth/reissueToken").authenticated()
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

๋ฆฌํ”„๋ ˆ์‹œ ํ† ํฐ์„ ์žฌ๋ฐœ๊ธ‰ํ•˜๋ ค๋ฉด ์ ‘๊ทผ ๊ถŒํ•œ์ด permitAll์ด์–ด์•ผ ํ•˜์ง€ ์•Š์„๊นŒ ์‹ถ์–ด์š”

@ta2ye0n ta2ye0n merged commit ddc4491 into develop Nov 22, 2024
1 check passed
@ta2ye0n ta2ye0n deleted the feature/11-withdrawal-function branch November 22, 2024 05:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

์„œ๋น„์Šค ํƒˆํ‡ด ๊ธฐ๋Šฅ
2 participants