쿠네 클러스터가 15000대 클러스팅 된 환경을 운영했다고 기록세운적이 있다. 서비스도 내부적으로 보면 어떤객체일거같아요? 서비스 자체도 파드인거에요 . 로드밸ㄹ런싱 역할을 하는 서비스역할까지 한다. 서비스같은 경우에 타입이 로드밸런서,클러스터ip, 어쩌구 세개 별도로 지정하지않으면 클러스터ip가 디폴트타입이다. 외부에 노출을 해야하는 경우는 노드포트 혹은 노드밸런서를 해야지만 클러스터 외부에서 접근을 할 수 있다. 서비스라는거 자체도 사실을 파드의 하나이다. -> 기억 서비스를 만들어서 사용하기도 한다. -> 이런걸 인그래스라고 함 실제 쿠네를 해보면 하면 할수록 더 해야되는게 많구나 라는 생각이 들게 될거다. 정말 계속 더 추가적으로 공부를 해야하는 굉장히 내용이 방대한 주제이다. - 쿠네에서의 접근..
오류상황 java.lang.assertionerror: expecting actual: ????? 한글 깨지는거같아서 mustache에 hello 추가하고 assertThat(body).contains("hello");로 바꿔서 실행하니까 테스트 통과됨 한글이 문제여서 mustache한글 깨짐으로 검색함 해결방법 - 스프링 부트 버전 낮추기 : 이걸 할 순 없어서 - application.properties에 server.servlet.encoding.force-response=true 추가함
그치 바로되면 재미없지 실행할때마다 디비주소?가 바뀌기때문에 고정시켜줘야됨? application.properties에 spring.h2.console.enabled=true spring.datasource.url=jdbc:h2:mem:testdb 이 두 줄 추가
아니 왜 복붙이 안돼 java.lang.Exception: No tests found matching Method Posts_수정된다 ~... 말그대로 진짜 @Test 어노테이션이 없어서 오류가 난거였음 ..ㅎ ;;
assertThat(posts.getTitle()).isEqualTo(title); assertThat(posts.getTitle().isEqualTo(title)); 이렇게 써서 한참을 오류났다 import static org.assertj.core.api.Assertions.assertThat;
https://www.inflearn.com/questions/723903/javax-jakarta-%EC%B0%A8%EC%9D%B4 Javax Jakarta 차이 - 인프런 | 질문 & 답변 학습하는 분들께 도움이 되고, 더 좋은 답변을 드릴 수 있도록 질문전에 다음을 꼭 확인해주세요.1. 강의 내용과 관련된 질문을 남겨주세요.2. 인프런의 질문 게시판과 자주 하는 질문(링크)을 먼 www.inflearn.com https://post.dooray.io/we-dooray/tech-insight-ko/back-end/4173/ 스프링 부트 3.0 으로 전환 - Dooray! POST 2022년 11월에 기존의 Spring framework 5 와 Spring Boot 2.X 버전을 대체하는 Spring ..
package com.jojoldu.book.springboot.web; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.autoconfigure.web.servlet.WebMvcTest; import org.springframework.test.context.junit4.SpringRunner; import org.springframework.test.web.servlet.MockMvc; import static org.springframework.test.web.servle..
package com.jojoldu.book.springboot.web; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.autoconfigure.web.servlet.WebMvcTest; import org.springframework.test.context.junit4.SpringRunner; import org.springframework.test.web.servlet.MockMvc; import static org.hamcrest.Matchers.is; import st..