Skip to content

Commit

Permalink
Revert "docusaurus 3.0"
Browse files Browse the repository at this point in the history
This reverts commit a1f6aa5.
  • Loading branch information
greeng00se committed Nov 4, 2023
1 parent 2f4aa34 commit 684dca4
Show file tree
Hide file tree
Showing 5 changed files with 1,731 additions and 4,231 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ public enum DataSourceType {

스프링이 지원해주는 AbstractRoutingDataSource를 상속받아 트랜잭션의 읽기 여부에 따라 다른 DataSource를 향하도록 설정한다.

정적 팩터리 메서드는 `Map<DataSourceKey, DataSource>`에 해당하는 값을 받아 데이터 소스를 설정한다.
정적 팩터리 메서드는 Map<DataSourceKey, DataSource>에 해당하는 값을 받아 데이터 소스를 설정한다.
- setDefaultTargetDataSource: 기본 데이터 소스를 설정한다.
- setTargetDataSources: 맵 형태로 받은 데이터 소스 값들을 설정한다.

Expand Down
2 changes: 1 addition & 1 deletion blog/2023-4/2023-10-07-MVC 구현 미션 회고.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ graph LR

1. @Controller가 적용된 클래스의 정보를 스캔하여 반환한다.
2. @Controller가 적용된 클래스의 @RequestMapping이 적용된 메서드들의 정보를 반환한다.
3. 각 메서드들을 순회하며 HandlerKey(uri + httpMethod 정보)와 HandlerExecution(인스턴스 + 실행하려는 메서드)을 생성하여 `Map<HandlerKey, HandlerExecution>`에 추가한다.
3. 각 메서드들을 순회하며 HandlerKey(uri + httpMethod 정보)와 HandlerExecution(인스턴스 + 실행하려는 메서드)을 생성하여 Map<HandlerKey, HandlerExecution>에 추가한다.

AnnotationHandlerMapping의 initialize 메서드에서 Handler를 등록한다. 코드는 다음과 같다.

Expand Down
1 change: 0 additions & 1 deletion docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ const config = {
routeBasePath: '/',
archiveBasePath: '/blog',
postsPerPage: 1,
sortPosts: 'descending',

editUrl:
'https://github.com/greeng00se/greeng00se.github.io/tree/main/',
Expand Down
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,17 @@
"typecheck": "tsc"
},
"dependencies": {
"@docusaurus/core": "^3.0.0",
"@docusaurus/preset-classic": "^3.0.0",
"@docusaurus/theme-mermaid": "^3.0.0",
"@docusaurus/core": "^2.4.3",
"@docusaurus/preset-classic": "^2.4.3",
"@docusaurus/theme-mermaid": "^2.4.3",
"@mdx-js/react": "^1.6.22",
"clsx": "^1.2.1",
"prism-react-renderer": "^1.3.5",
"react": "^18.2.0",
"react-dom": "^18.2.0"
"react": "^17.0.2",
"react-dom": "^17.0.2"
},
"devDependencies": {
"@docusaurus/module-type-aliases": "^3.0.0",
"@docusaurus/module-type-aliases": "^2.4.3",
"@tsconfig/docusaurus": "^1.0.5",
"typescript": "^4.7.4"
},
Expand Down
Loading

0 comments on commit 684dca4

Please sign in to comment.