반응형
개요 회사에서 Gerrit 사용 중 GitHub Enterprise로 넘어오게 되었는데, push시 빌드하도록 설정하였는데도 빌드가 안되는 이슈 발생 사용 버전 GitHub Enterprise Server 3.7.3 Jenkins 2.243 기존 설정 Jenkins item - 구성 - Build Triggers - GitHub hook trigger for GITScm polling 체크박스 체크 GitHub GitHub Repository - Settings - Hooks - Add webhook Payload URL (jenkins url 뒤에 /github-webhook/ 추가) 입력 Content type: application/json Just the push event. 라디오 버튼 선택 A..
Attempt to create a transaction with a timeout that exceeds maximum - truncating to: 300000 atomikos 대량 ROW insert시 warning 발생 com.atomikos.icatch.max_timeout=9000000 jta.properties 파일에 위 내용 추가 값은 적당히 바꿔서 사용
error field에 Exception 문자열이 포함되어 있는 모든 데이터 검색 POST http://localhost:9200/index-2023-07-19/_search { "query": { "query_string": { "default_field": "error", "query": "*Exception*" } } } { "took": 429, "timed_out": false, "_shards": { "total": 1, "successful": 1, "skipped": 0, "failed": 0 }, "hits": { "total": { "value": 1, "relation": "eq" }, "max_score": 1.0, "hits": [ { "_index": "index-2023-07-..
private void rewardUserItem() { final int userId = 1; List userItems = getUserItems(userId); checkUserItemInventoryCount(userItems); checkAlreadyExistsUserItem(userItems); } private List getUserItems(int userId) { return userItemRepository.findByUserId(userId); } private void checkUserItemInventoryCount(List userItems) { int userItemCount = userItems.size(); final int maxItemInventory = 100; if ..