[springdoc-openapi 전환기 01] Spring Boot 2.6.x 버전에서 springfox와의 충돌 관련 이슈 & 임시 해결책
·
Programming
이 글은 springdoc-openapi 전환기 1편에 해당하는 글입니다. 이 글을 작성하는 시점 기준 최신 Spring Boot 버전은 2.6.4이다. Spring Boot 2.6 Release note를 보면 다음과 같은 변경 사항이 눈에 들어온다. 기본 PathPattern 매칭 전략이 AntPathMatcher → PathPatternParser로 변경되었다. Release note에도 springfox를 사용하고 있다면 정상적으로 프로젝트가 실행되지 않을 것이라고 언급하고 있다. springfox는 Spring Web Component를 기반으로 별다른 설정 없이 지원하는 API를 기반으로 Swagger-ui를 그려주는 의존성이다. 관련 이슈 링크 https://github.com/springf..
IntelliJ와 build.gradle을 사용하는 Spring 프로젝트를 개발할 때 Gradle runner를 사용하는 이유
·
Programming
IntelliJ로 Spring 베이스의 프로젝트를 개발하거나 공부해본 경험이 있는 분들이 있다면 한 번쯤은 검색해보았을 키워드가 바로 테스트 속도, 빌드 속도일 것이다. 검색 결과의 내용은 거의 대부분 아래와 같은 방법으로 속도를 올릴 수 있다고 나온다. 프로젝트 빌드 툴을 Gradle로 사용하고 있는 경우, IntelliJ의 Preference -> Build, Execution, Deployment -> Gradle -> Build and run 탭을 확인한다. Build and run using과 Run tests using을 전부 Gradle이 아닌 IntelliJ로 변경한다. 하지만 왜 이렇게 하면 속도가 빨라지는지, 그리고 Gradle, IntelliJ의 두 Runner가 무엇이 다른지에 대한..
좋은 글
·
Programming
https://www.joinc.co.kr/w/man/12/airbnbDesign Airbnb System design 분석 예약 서비스의 작동 프로세스 www.joinc.co.kr https://www.joinc.co.kr/w/man/12/uberSystemDesign Uber System Design 분석 Pre-Trip 시퀀스 다이어그램 www.joinc.co.kr https://medium.com/29cm/%EC%9C%A0%EC%A0%80-%EC%A3%BC%EB%AC%B8-%EC%B7%A8%EC%86%8C-%EA%B8%B0%EB%8A%A5-java-%EC%A0%84%ED%99%98%EA%B8%B0-d218e5ecb874 유저 주문 취소 기능 Java 전환기 29CM 백엔드팀은 Python + Dj..
macOS Monterey의 5000번 포트
·
Programming
What is using Port 5000 on macOS Monterey? I’ve been fiddling a bit with Wails recently and I gave the unreleased v2 alpha a try. Out of the box, it binds to Port 5000 and I was surprised to receive a 403 Forbidden. Definitely not what I expected. We can use the lsof utility to figure out what’ utf9k.net 요약하면 새로 추가된 기능 중 하나인 airplay to mac을 위한 listener가 디폴트로 켜져 있고, 그 포트가 로컬 5000번 포트를 점유하고 있다는 내용..
k8s commands 04
·
Programming
kubectl get pods --selector env=dev kubectl get pods --selector bu=finance kubectl get all kubectl get all --selector env=prod kubectl get pods --selector env=prod,bu=finance,tier=frontend kubectl taint nodes NODE_NAME key=value:TAINT_EFFECT kubectl taint nodes node1 app=blue:NoSchedule kubectl describe node kubemaster | grep Taint kubectl get nodes kubectl describe node node01 | grep Taints kub..
k8s commands 03
·
Programming
kubectl run nginx-pod --image=nginx:alpine kubectl run redis --image=redis:alpine --dry-run=client -o=yaml > redis-pod.yaml kubectl expose pod redis --port=6379 --name redis-service kubectl create deployment webapp --image=nginx --replicas=3 kubectl run custom-nginx --image=nginx --port=8080 kubectl create deployment redis-deploy --image redis --namespace dev-ns --replicas=2 kubectl run httpd --..