일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
- yum install java
- easy
- tls프로토콜확인
- No tests found for given includes
- springboottest
- java 여러개 버전
- aws
- Only void methods can doNothing()
- java version
- java 11
- java 버전 변경
- springboot
- OpenFeign
- Java 1.8
- LeetCode
- ssl이란?
- parse
- mockito에러
- 스프링부트테스트
- log error
- error
- mockito테스트
- ssl프로토콜확인
- AWS CLI
- java 1.8 11
- springboottest spybean
- JUnit
- java
- Medium
- ssl프로토콜
- Today
- Total
목록전체 글 (112)
쩨이엠 개발 블로그
Swagger에 Description을 달던 중 ResquestBody안에 LocalDateTime이 있는 경우 @Schema의 example대로 나오지 않는 오류가 발생했다 해결방법 1. JsonFormat 어노테이션 추가 @Schema(name = "CorrelationDto.ChartReq", description = "데이터 리스트") @Data class ChartReq { ... @Schema(description = "기간 시작일", example = "2021-11-30T00:00:00") @JsonFormat(pattern = "yyyy-MM-dd'T'HH:mm:ss") private LocalDateTime shotRangeStart; @Schema(description = "기간 종료..
리눅스 명령어 중 grep을 사용했을 때 제대로 나오지 않고 위의 "Binary file {파일이름} matches" 이 뜰 때 $ grep 'api/v1/event' logs/application.log Binary file logs/application.log matches $ grep --binary-files=text 'api/v1/event' logs/application.log 2022-04-05_17:41:40.413 INFO [reactor-http-epoll-3] [com.test.ReactiveLoggingFilter:131] ::: [e75e01cb-1078737] Request: method=POST, path=/api/v1/event 2022-04-05_17:43:08.961 IN..
자동 파티셔닝을 안해놔서 파티션 추가해야할 일이 생겼다 일단 조회를 해본다 파티션 조회 select * from information_schema.partitions where table_name=TABLE_NAME; 그러면 파티션을 조회하였으니 파티션을 추가해보기로 한다 파티션 추가 ALTER TABLE `테이블` PARTITION BY RANGE(함수(`필드명`)) ( PARTITION `파티션명` VALUES LESS THAN (값), PARTITION `파티션명` VALUES LESS THAN (값) ) 여기에서 에러가 난다면 처음 파티션을 생성할 때 만든 p_future ( 혹은 p_max 등등) 때문인데 이 것이 MAXVALUE보다 아래인것으로 나머지를 포괄하고 있기 때문이다 #파티션 생성과정..
레파지토리를 소스만 복사해서 옮기는건 쉽지만 커밋을 보고싶다 한 방에 init 하기 싫다 하면 쓸 수 있는 옵션이 있었다 그래서 옮겨보기로 한다 1. 옮길 레파지토리 준비 $ sudo git clone --mirror {Repository.git} Repository.git에는 git clone 주소를 넣어준다 2. git 이름 바꿔주기 git clone을 하고 나면 xxx.git 이라는 디렉토리가 나타나는데 이름을 .git으로 바꿔준다 $ mv Repository.git .git 3. 새 레파지토리 연결 새 레파지토리의 git 주소를 연결한다 $ git remote set-url origin {NewRepository.git} 4. push 해주면 끝! $ git push --mirror
Given n non-negative integers a1, a2, ..., an , where each represents a point at coordinate (i, ai). n vertical lines are drawn such that the two endpoints of the line i is at (i, ai) and (i, 0). Find two lines, which, together with the x-axis forms a container, such that the container contains the most water. Notice that you may not slant the container. Example 1: Input: height = [1,8,6,2,5,4,8..