| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 |
- 리눅스
- jenkins github 연동
- grpc
- jenkins maven
- Jenkins
- JavaScript
- MySQL
- IntelliJ
- jenkins github
- Docker
- error
- gradle
- jpa
- java
- subnetmask
- 리액트
- jenkins install
- Linux
- spring
- REACT
- Jenkins Pipeline
- jenkins 설치
- MongoDB
- vue.js
- CI/CD
- Spring Boot
- jenkins jdk
- nginx
- grafana
- docker network
- Today
- Total
목록전체 글 (252)
뭐든 즐기면서 ;)
Errorjava.lang.IllegalStateException: Unable to find a @SpringBootConfiguration by searching packages upwards from the test. You can use @ContextConfiguration, @SpringBootTest(classes=...) or other Spring Test supported mechanisms to explicitly declare the configuration classes to load. Classes annotated with @TestConfiguration are not considered.at org.springframework.util.Assert.state(Assert.j..
Error 내용2025-07-09T15:17:43.299+09:00 ERROR 15612 --- [application] [omcat-handler-2] o.a.c.c.C.[.[.[/].[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] threw exceptionorg.springframework.security.authorization.AuthorizationDeniedException: Access Denied at org.springframework.security.web.access.intercept.AuthorizationFilter.doFilter(AuthorizationFilter.java:99) ~[spri..
API(Application Programming Interface)API는 다른 애플리케이션에서 접근하여 정보 또는 기능에 접근할 수 있도록 하는 인터페이스이다.API Architecture style로는 RPC, SOAP, REST, GraphQL 등이 있다.각 Architecture는 표준화된 데이터 교환 절차와 규격을 가지고 있다. 필자는 여러 API Architecture 중 REST와 GraphQL을 기준으로 포스팅 작성을 할 것이다.REST와 GraphQL탄생 이유를 알기 위해, 이전에 사용되던 RPC, SOAP의 사용법과 단점을 간단하게 알아보자.RPC사용법서버의 함수를 클라이언트 로컬의 함수처럼 호출하여 사용할 수 있음.# 서버 코드 (Python)def add(a, b): retu..
MongoDB Atlas에서 백업된 데이터를 다운로드 받으면 이와 같은 구조로 되어 있는데, 이 데이터를 그대로 복원시키는 방법이다. 명령어를 통해 DB 실행 DB 실행 명령어가 있는 위치로 이동한다.> cd C:\Program Files\MongoDB\Server\6.0\bin mongod 명령어를 이용하여 DB를 실행한다. 실행할 때, db data path를 지정하여 실행한다.> mongod --dbpath "C:\Users\pk\Downloads\atlas_backup"위 경로에는 아래와 같은, atlas에서 내려받은 백업 파일이 있어야 한다. DB가 시작되었으면, MongoDB compass에서 DB refresh를 해보자.위, 가져온 데이터들 확인이 가능하다.
package ai.maum.lom.api.retriever.file;import ai.maum.lom.api.common.BaseException;import ai.maum.lom.api.meta.ResponseCode;import io.swagger.v3.oas.annotations.tags.Tag;import lombok.RequiredArgsConstructor;import org.springframework.core.io.InputStreamResource;import org.springframework.core.io.Resource;import org.springframework.http.*;import org.springframework.web.bind.annotation.GetMapping..
필자는 Tag push할 때 CD가 발생하도록 설정하였으며, docker를 이용한 배포를 설정함.파일 경로저장소 내 파일 경로는 아래와 같음./bitbucket-pipelines.yml/docker-file/path/Dockerfilebitbucket-pipelines.yml 내용image: gradle:7.5.0pipelines: tags: '**': # docker 이미지 build 및 push - step: name: Build and Push Docker Image services: - docker script: # 환경변수 설정 - export TAG=${BITBU..
https://console.cloud.google.com/welcome/new Google 클라우드 플랫폼 로그인 Google 클라우드 플랫폼으로 이동 accounts.google.com 새 프로젝트를 생성해 줍니다. API 서비스 메뉴로 이동합니다. OAuth client id를 생성해줍니다.
access token 발급File update APIBitbucket Rest API 문서를 참고한다. 그 중 'Create a commit by uploading a file' API를 이용한다.의존성 추가implementation 'org.apache.httpcomponents:httpmime:4.5.13'implementation 'org.apache.httpcomponents:httpclient:4.5.10'코드 ... try { String apiUrl = String.format("https://api.bitbucket.org/2.0/repositories/%s/%s/src", workspace, repository); // HttpClie..