Han's DevLog


  • Home

  • Categories

  • About

  • Archives

  • Tags

  • Search

Swagger 적용

Posted on 2021-07-27 | In Spring

@EnableOpenApi 추가 ```java @EnableOpenApi @SpringBootApplication public class AlbaCheckerApplication {

Read more »

Network

Posted on 2021-07-06 | In docker
1
docker network create test
Read more »

DockerFile

Posted on 2021-07-06 | In docker

기본적 구조

```dockerfile Dockerfile 설명

Read more »

Request Header 언어 읽기

Posted on 2021-06-30 | In Spring
1
2
3
4
customAxios.interceptors.request.use(function (req) {
    req.headers["Accept-Language"] = 'en';
    return req;
});

axios 공통 설정을 통해 정보를 넣어준다.

Read more »

MariaDB(Compose포함)옵션

Posted on 2021-06-15 | In docker
1
docker pull mariadb
Read more »

Timezone 안맞는 문제

Posted on 2021-06-10 | In Spring
1
Os - JVM - JPA - DB
Read more »

외부 라이브러리 Bean 등록

Posted on 2021-06-09 | In Spring

```markdown

  1. -X Option (모든 VM에서 동작하지 않을 수 있는 비표준 option이며, 버젼별로 언급없이 변경되어질 수 있음) -Xms : 초기 Heap size 설정 -Xmx : 최대 Heap size 설정 -Xss : 각 Thread에 할당되는 Stack size 설정 -Xmn : New 영역을 위한 Heap size 설정
Read more »

외부 라이브러리 Bean 등록

Posted on 2021-06-08 | In Spring
1
2
3
4
5
6
7
@Component
public class Test {
    @Bean
    public Library  getLibrary (){
        return new Library();
    }
}

외부 클래스에는 Component를 지정해 줄수 없기 때문에 Bean을 사용하여 등록한다.

Read more »

Controller Interface 이용하기

Posted on 2021-06-04 | In Spring

아래와 같이 설정해준 다음

Read more »

SpringBoot2.4 Migration시 authentication null

Posted on 2021-05-24 | In Spring

Spring boot 2.4.0에서

Read more »
1 … 7 8 9 … 13
Hanbong Bae

Hanbong Bae

125 posts
20 categories
2 tags
RSS
© 2023 Hanbong Bae
Powered by Jekyll
Theme - NexT.Muse