본문 바로가기

전체 글

Spring Boot 3 & Kotlin 2 & JPA (QueryDSL) 음.. 이 조합으로 기존 플젝을 업그레이드 하려고 하니 Gradle 버전부터 JDK 버전등등 신경써야 하는게 많았다. 웹과 GPT등등에 도움을 구해봤지만..역시 이상한 답변(주로 1.9.25환경 으로..)이라, github 토론장에 정보를 보면서 기본 세팅을 완료해본다. 우선 Gradle 8.5 이상, JAVA 21 이상으로 프로젝트의 세팅은 지정해줘야 했다. ( 그냥 권장으로 )https://docs.gradle.org/8.5/release-notes.html Gradle 8.5 Release NotesGradle Release Notes The Gradle team is excited to announce Gradle 8.5. Gradle now supports running on Java 21. T.. 더보기
AI Chat GPT를 이용한 통신 요금제 추천을 테스트로 만들어 보기 너겟 요금제를 개발 운영하면서, 간단하게 내 생활에 맞는 요금제를 추려볼 수 있을까?를 고민 하던중 두가지 방법이 떠올랐다.내 일별 데이터 사용량과 월별 데이터 사용량을 뽑아서 현재 요금제에 직접 비교해 맞춰본다.내 일별 데이터 사용량과 월별 데이터 사용량을 뽑아서 아!~몰랑. GPT 네가 좀 추천해줘!역시 올드한 개발자라서 1번이기는 한데, 그러면 너무 재미 없으니 2번으로 하기로 하고, 사전 준비를 한다.지난번 Langchain4J 연동과 같이 프로젝트에 아래 라이브러리 의존성을 추가하고 작업을 시작해 본다. ( 이미 있으니 간단히 적어본다. ) 우선 ChatGPT에서 API 신청을 하고 API-KEY를 받아둔다. 이후, 이전 포스트와 같이 아래 작업들을 순차적으로 진행한다.implementation.. 더보기
Spring Boot 3.2 RestClient https://spring.io/blog/2023/07/13/new-in-spring-6-1-restclient New in Spring 6.1: RestClient Spring Framework 6.1 M2 introduces the RestClient, a new synchronous HTTP client. As the name suggests, RestClient offers the fluent API of WebClient with the infrastructure of RestTemplate. Fourteen years ago, when RestTemplate was introduced in Spring Fr spring.io 1. 일반적인 구현 Bean 등록 ... @Bean fun fakeC.. 더보기
Spring Boot / Cloud Vision API / IMEI IMEI / EDI 이미지에서 읽어오기 테스트용. Spring Boot 3.2, Kotlin 1.9 https://github.com/KimHyeongi/spring-boot-edu 더보기
Spring Security 예제 추가 음.. 아직 Spring Boot 3.1에 맞추기는 좀 그렇네.ㅎㅎ 아래 참고 코드 Kotlin 으로 변경. https://github.com/KimHyeongi/spring-boot3-kotlin-security GitHub - KimHyeongi/spring-boot3-kotlin-security Contribute to KimHyeongi/spring-boot3-kotlin-security development by creating an account on GitHub. github.com 100% 참고. https://www.youtube.com/watch?v=BVdQ3iuovg0 https://github.com/ali-bouali/spring-boot-3-jwt-security GitHub -.. 더보기