전체 글 썸네일형 리스트형 test reference https://techbeacon.com/devops/6-best-practices-integration-testing-continuous-integration https://docs.spring.io/spring-boot/docs/current/reference/html/spring-boot-features.html#boot-features-testing https://docs.spring.io/spring/docs/current/spring-framework-reference/testing.html#integration-testing https://spring.io/guides/gs/testing-web/ https://www.jrebel.com/blog/how-to-use-java-integrati.. 더보기 redis lock sample https://github.com/spring-cloud-samples/locks/blob/master/src/main/java/locksdemo/RedisLockService.java GitHub - spring-attic/locks: Global lock server demo Global lock server demo. Contribute to spring-attic/locks development by creating an account on GitHub. github.com https://github.com/spring-cloud-samples/locks/blob/master/src/main/java/locksdemo/RedisUtils.java GitHub - spring-attic/locks:.. 더보기 logstash 트러블슈팅 logstash 에서 아래와 같은 에러가 발생. Encountered a retryable error. Will Retry with exponential backoff code=>400, :url=>"http://10.111.111.111:9200/_template/logstash/_bulk"} output 이 elasticsearch 인 경우에 es 쿼리가 정상적이지 않아 요청이 실패가 되면서.logstash 가 지속적으로 재시도를 하게 되는 현상. 구글링을 통해, 여러 데이터를 찾아 봤지만. 전혀 문제 해결이 되지 않았다.문득, logstash 와 ES 의 버전을 확인해보았다. logstash - 5.2.2ES - 5.6.3 아. 버전문제 일것 같았다.빙고,,, logstash 를 버전업 한 이후에 .. 더보기 gson java.text.ParseException Invalid time zone indicator '3' java.text.ParseException Invalid time zone indicator '3'Date 형 변환시, 생기는 상황. 아래 같이 추가적인 설정이 필요.jest 에서는 jackson 말고 gson 을 이용하면서 생긴 문제. https://stackoverflow.com/questions/41958062/convert-string-date-to-object-yields-invalid-time-zone-indicator-0final Gson builder = new GsonBuilder() .registerTypeAdapter(Date.class, new JsonDeserializer() { public Date deserialize(JsonElement jsonElement, Type ty.. 더보기 mysql 버전업 이슈. com.mysql.cj.core.exceptions.InvalidConnectionAttributeException: The server time zone value 'KST' is unrecognized or represents more than one time zone. You must configure either the server or JDBC driver (via the serverTimezone configuration property) to use a more specifc time zone value if you want to utilize time zone support mysql 드라이브 버전을 6 버전이상 쓸 경우, 생긴 이슈.디비서버쪽 설정을 변경하지 못하면. 버전을 5.x 으로 .. 더보기 spring cloud config git 임시파일 저장소 변경. Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is java.lang.IllegalStateException: Cannot load environment] with root cause org.eclipse.jgit.errors.RepositoryNotFoundException: repository not found: /tmp/config-repo-8219433394714354233 최근에 spring cloud config 를 이용 중에 있다.신규 프로젝트의 설정관리를 위한 부분인데. 개발서버에서 위와 같은 에러.. 더보기 Spring Swagger Springfox2 적용 what is swagger?Swagger | The World's Most Popular Framework for APIs. http://swagger.io/guidehttps://github.com/swagger-api/swagger-core/wiki/Annotations-1.5.XQuick Annotation OverviewNameDescription| @Api | Marks a class as a Swagger resource. |@ApiImplicitParamRepresents a single parameter in an API Operation.@ApiImplicitParamsA wrapper to allow a list of multiple ApiImplicitParam objects.@Ap.. 더보기 GitHub Pull Request Builder Plugin 설정 https://wiki.jenkins-ci.org/display/JENKINS/GitHub+pull+request+builder+plugin https://github.com/jenkinsci/ghprb-plugin/blob/master/README.md https://www.theguild.nl/building-github-pull-requests-with-jenkins http://geeks.aretotally.in/jenkins-for-pull-requests-and-promoted-builds-deploying-to-multiple-environments/ http://jakubstas.com/github-and-jenkins-pull-request-checking/#.VvOXQvmLRaQ jen.. 더보기 이전 1 ··· 6 7 8 9 10 11 12 ··· 106 다음