2022-04-21-TIL
2022-04-21-TIL
Today I Learned
JPA Duplicated
JPA 엔티티는 같은 이름으로 여러개 생성할 수 없다.
- https://programmingnote.tistory.com/88
Model Mapper
- baeldung.com/java-modelmapper
Map Struct
- https://www.youtube.com/watch?v=nvjqtWQ5zj8
- https://www.youtube.com/watch?v=ZuW38xQYUgc
War and Jar
- https://memo-the-day.tistory.com/216
Scrum
- https://asana.com/ko/resources/what-is-scrum?utm_campaign=NB–KO–KR–Catch-All–All-Device–DSA&utm_source=google&utm_medium=pd_cpc_nb&gclid=CjwKCAjwu_mSBhAYEiwA5BBmf09u4pb7frO25nd7m6sufXwrUcter2GkDp-c4Mm1OU8syzwhRCRfsBoCGFwQAvD_BwE&gclsrc=aw.ds
QueryDSL Sorting
Pageable의 Sort필드를 그대로 사용하는 방법으로 정렬을 하는게 가장 적합하고, 요청 쿼리 파라미터에는 sort=regDt,asc
와 같은 형식으로 주어지면 Pageable의 Sort에서 받아진다.
1
2
3
4
5
6
7
8
9
10
11
12
import com.querydsl.core.types.Order;
import com.querydsl.core.types.OrderSpecifier;
import com.querydsl.core.types.Path;
import com.querydsl.core.types.dsl.Expressions;
public class QueryDslUtil {
public static OrderSpecifier<?> getSortedColumn(Order order, Path<?> parent, String fieldName) {
Path<Object> fieldPath = Expressions.path(Object.class, parent, fieldName);
return new OrderSpecifier(order, fieldPath);
}
}
- https://joont92.github.io/jpa/QueryDSL/
- https://kawaii-jordy.tistory.com/99
- https://uchupura.tistory.com/7
- https://stackoverflow.com/questions/13072378/how-can-i-convert-a-spring-data-sort-to-a-querydsl-orderspecifier
- https://dev-racoon.tistory.com/38
- https://stackoverflow.com/questions/44757218/spring-pagination-request-parameters
QuerydslRepositorySupport
- https://jessyt.tistory.com/55
WebClient vs RestTemplate vs Feign
- https://stackoverflow.com/questions/46884362/what-are-the-advantages-and-disadvantages-of-using-feign-over-resttemplate#:~:text=Feign%20will%20handle%20your%20server%20requests%20perfectly%20fine.&text=is%20not%20useful-,Show%20activity%20on%20this%20post.,across%20to%20the%20other%20service.
- https://velog.io/@jifrozen/Microservice-%EA%B0%84-%ED%86%B5%EC%8B%A0-resttemplate-vs-feign-client
- https://www.baeldung.com/spring-webclient-resttemplate#:~:text=RestTemplate%20uses%20Java%20Servlet%20API,the%20response%20to%20come%20back.
- https://www.baeldung.com/spring-cloud-openfeign
- https://lemontia.tistory.com/1044
- https://techblog.woowahan.com/2630/
- https://honeyinfo7.tistory.com/236
- https://velog.io/@yaincoding/%EC%8A%A4%ED%94%84%EB%A7%81-%ED%81%B4%EB%9D%BC%EC%9A%B0%EB%93%9C-%EC%84%9C%EB%B9%84%EC%8A%A4-%EB%94%94%EC%8A%A4%EC%BB%A4%EB%B2%84%EB%A6%ACwith-%EB%84%B7%ED%94%8C%EB%A6%AD%EC%8A%A4-%EC%9C%A0%EB%A0%88%EC%B9%B4
- https://covenant.tistory.com/251
- https://hojak99.tistory.com/482
Reactive
- https://xzio.tistory.com/1857
CNCF
- http://www.opennaru.com/kubernetes/cloud-native-computing-foundation-cncf/
- https://wonit.tistory.com/490
Redis Command and Data Structure
- https://www.tutorialspoint.com/redis/redis_commands.htm#:~:text=To%20start%20Redis%20client%2C%20open,you%20can%20run%20any%20command.&text=In%20the%20above%20example%2C%20we,server%20is%20running%20or%20not.
- https://lzone.de/cheat-sheet/Redis%20Sentinel
- http://intro2libsys.info/introduction-to-redis/redis-data-types
- https://docs.deistercloud.com/content/Axional%20development%20libraries.20/Server%20side%20javascript.50/AX%20Library.10/redis/index.xml?embedded=true&navbar=0¶m-iframe=index-iframe
- https://redis.com/redis-enterprise/data-structures/
In-memory Caching
- http://cloudinsight.net/data/%EC%9D%B8%EB%A9%94%EB%AA%A8%EB%A6%AC-%EB%8D%B0%EC%9D%B4%ED%84%B0-%EC%BA%90%EC%8B%B1%EC%97%90-%EB%8C%80%ED%95%9C-%EA%B3%A0%EC%B0%B0/
- https://spring.io/guides/gs/caching/
- https://eastglow.github.io/back-end/2020/05/17/Spring-Spring-Boot%EC%97%90%EC%84%9C-memcached-%EC%97%B0%EB%8F%99%ED%95%98%EA%B8%B0.html
Spring HealthCheck
- https://webgori.github.io/spring/2020/08/02/Spring-Boot-Health-Check-%EC%B6%94%EA%B0%80.html
Spring Boot Admin
- https://www.baeldung.com/spring-boot-admin#:~:text=Spring%20Boot%20Admin%20is%20a,the%20Spring%20Boot%20Actuator%20endpoints.
This post is licensed under CC BY 4.0 by the author.