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

[BE] multiDataSource 설정 수정 및 테스트 검증 강화 #696

Merged
merged 7 commits into from
Oct 23, 2024

Conversation

jimi567
Copy link
Member

@jimi567 jimi567 commented Oct 23, 2024

  • test 수정하여 검증 강화

이슈

  • close #

개발 사항

  • 테스트 보완했어요.

@jimi567 jimi567 linked an issue Oct 23, 2024 that may be closed by this pull request
@jimi567 jimi567 self-assigned this Oct 23, 2024
Copy link

github-actions bot commented Oct 23, 2024

Test Results

221 tests   221 ✅  17s ⏱️
 45 suites    0 💤
 45 files      0 ❌

Results for commit 080ec1e.

♻️ This comment has been updated with latest results.

ehtjsv2
ehtjsv2 previously approved these changes Oct 23, 2024
Copy link
Contributor

@ehtjsv2 ehtjsv2 left a comment

Choose a reason for hiding this comment

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

굳굳! 이제 확실히 writer ,reader 분리 되어보이네요

J-I-H-O
J-I-H-O previously approved these changes Oct 23, 2024
Comment on lines 28 to 31
@Bean(name = "dataSource")
public DataSource dataSource(@Qualifier(ROUTING_DATA_SOURCE) DataSource routingDataSourceType) throws SQLException {
return new LazyConnectionDataSourceProxy(routingDataSourceType);
}
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
@Bean(name = "dataSource")
public DataSource dataSource(@Qualifier(ROUTING_DATA_SOURCE) DataSource routingDataSourceType) throws SQLException {
return new LazyConnectionDataSourceProxy(routingDataSourceType);
}
@Bean(name = "dataSource")
public DataSource dataSource(@Qualifier(ROUTING_DATA_SOURCE) DataSource routingDataSourceType) {
return new LazyConnectionDataSourceProxy(routingDataSourceType);
}

@jimi567 jimi567 dismissed stale reviews from J-I-H-O and ehtjsv2 via 5b5facf October 23, 2024 03:30
Copy link
Contributor

@J-I-H-O J-I-H-O left a comment

Choose a reason for hiding this comment

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

👏👏🏻👏🏼👏🏽👏🏾👏🏿
고생하셨습니다~
👏👏🏻👏🏼👏🏽👏🏾👏🏿

Copy link
Contributor

@ehtjsv2 ehtjsv2 left a comment

Choose a reason for hiding this comment

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

👍

@ehtjsv2 ehtjsv2 merged commit 961fbb2 into develop Oct 23, 2024
3 checks passed
@J-I-H-O J-I-H-O deleted the be/test-multiDataSource branch October 23, 2024 04:10
takoyakimchi added a commit that referenced this pull request Oct 23, 2024
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.

데이터소스 라우팅 테스트 수정
4 participants