๐Ÿ’ป ๊ฐœ๋ฐœ

https://jmeter.apache.org/download_jmeter.cgi Apache JMeter - Download Apache JMeterDownload Apache JMeter We recommend you use a mirror to download our release builds, but you must verify the integrity of the downloaded files using signatures downloaded from our main distribution directories. Recent releases (48 hours) may not yet be avajmeter.apache.org 1. Binaries ๋‹ค์šด๋กœ๋“œ2. ์••์ถ• ํ‘ผ ํ›„ jmeter bin ํด๋”๋กœ..
JUnit5(Java)public void ์ถฉ์ „_ํŠธ๋žœ์žญ์…˜์ด_์„ฑ๊ณตํ•œ๋‹ค() { // Given ChargeTransactionRequest request = new ChargeTransactionRequest(1L, "orderId", BigDecimal.TEN); when(transactionRepository.findTransactionByOrderId(request.getOrderId())).thenReturn(Optional.empty()); FindWalletResponse findWalletResponse = new FindWalletResponse(1L, 1L, BigDecimal.ZERO, LocalDateTime.now(), LocalDateTime.now()); ..
Controller์— Swagger ์ž‘์—…์„ ์ง„ํ–‰ํ•˜๋ฉด ๋งค์šฐ ์ง€์ €๋ถ„ํ•ด์ง„๋‹ค.๋ณด๋‹ค ๊น”๋”ํ•˜๊ฒŒ ์ž‘์„ฑํ•  ์ˆ˜ ์žˆ๋Š” ๋ฐฉ๋ฒ•์€ ์•„๋ž˜์™€ ๊ฐ™์ด Docs ์ธํ„ฐํŽ˜์ด์Šค๋ฅผ ๋งŒ๋“ค์–ด์„œ ๋ถ„๋ฆฌํ•ด ์ฃผ๋ฉด ๋œ๋‹ค. @RequiredArgsConstructor@RequestMapping("/api/v1/coins")@RestControllerpublic class CoinController implements CoinControllerDocs { private final CoinService coinService; @GetMapping("/{coinId}") public ResponseEntity get(@PathVariable Long coinId) { GetUpbitCoinResponseDto responseDto =..
์™ธ๋ถ€ Open API๋ฅผ ์ด์šฉํ•ด์„œ ๋ฐ์ดํ„ฐ๋ฅผ ๊ฐ€์ ธ์˜ฌ ๋•Œ RestTemplate๋ฅผ ์‚ฌ์šฉํ–ˆ์œผ๋‚˜ deprecated ๋๋‹ค.๊ทธ๋ ‡๋‹ค๊ณ  WebClient๋ฅผ ์‚ฌ์šฉํ•˜๊ธฐ์—๋Š” Webflux ์˜์กด์„ฑ์„ ์ฃผ์ž…ํ•ด์•ผ ํ•œ๋‹ค.๋„ˆ๋ฌด ๋ถ€๋‹ด์Šค๋Ÿฌ์šด ๋Š๋‚Œ.. Spring 6.1 ๋ฒ„์ „๋ถ€ํ„ฐ RestClient๋ผ๋Š” ๊ธฐ๋Šฅ์„ ์ œ๊ณตํ•ด ์ค€๋‹ค.RestTemplate + WebClient ์งฌ๋ฝ•์‹œํ‚จ ๋Š๋‚Œ์ด๋‹ค.Spring Boot 3.2 M1 ๋ฒ„์ „๋ถ€ํ„ฐ ์‚ฌ์šฉ ๊ฐ€๋Šฅํ•˜๋‹ค๊ณ  ํ•œ๋‹ค. https://spring.io/blog/2023/07/13/new-in-spring-6-1-restclient New in Spring 6.1: RestClientSpring Framework 6.1 M2 introduces the RestClient, a new synchronous HTTP..
1. S3 ๋ฒ„ํ‚ท ์ƒ์„ฑํ•˜๊ธฐACL ํ™œ์„ฑํ™”, ๋ชจ๋“  ํผ๋ธ”๋ฆญ ์•ก์„ธ์Šค ์ฐจ๋‹จ ํ•ด์ œ 2. ์˜์กด์„ฑ ์ฃผ์ž…implementation 'com.amazonaws:aws-java-sdk-s3:1.12.741' 3. application ์„ค์ •aws: access: key: ์•ก์„ธ์Šค ํ‚ค secret: key: ๋ณด์•ˆ ์•ก์„ธ์Šค ํ‚ค s3: bucket: S3 ๋ฒ„ํ‚ท๋ช… 4. config ์„ค์ •@Configurationpublic class S3Config { @Value("${aws.access.key}") private String accessKey; @Value("${aws.secret.key}") private String secretKey; @Bean public AmazonS3 s3..
S3 ์ด๋ฏธ์ง€ ์—…๋กœ๋“œ ๊ธฐ๋Šฅ์„ ๊ตฌํ˜„ํ•˜๋Š” ๋„์ค‘์— ๋ฐœ์ƒํ•œ ์—๋Ÿฌ์•ก์„ธ์Šค ํ‚ค ๋˜๋Š” ๋ณด์•ˆ ์—‘์„ธ์Šค ํ‚ค์— ํŠน์ˆ˜๋ฌธ์ž(/, %)๊ฐ€ ๋“ค์–ด๊ฐ€ ์žˆ๋Š”์ง€ ํ™•์ธ๋“ค์–ด๊ฐ€ ์žˆ๋‹ค๋ฉด ์ƒˆ๋กœ์šด ํ‚ค๋ฅผ ๋ฐœ๊ธ‰ํ•˜๊ธฐ https://us-east-1.console.aws.amazon.com/iam/home#/security_credentials
@Query("select p from PostEntity p where p.title LIKE %:query% OR p.content LIKE %:query%")Page findByQuery(@Param("query") String query, Pageable pageable);JPQL์„ ์ด์šฉํ•ด์„œ ๊ตฌํ˜„
@GetMappingpublic ResponseEntity> gets( @RequestParam(defaultValue = "0") int page, @RequestParam(defaultValue = "10") int size) { Page responseDtos = postService.gets(page, size); return ResponseEntity.ok(responseDtos);}public Page gets(int page, int size) { PageRequest pageRequest = PageRequest.of(Math.max(0, page), size, Sort.Direction.DESC, "createdAt"); Page pagedP..
openmpy
'๐Ÿ’ป ๊ฐœ๋ฐœ' ์นดํ…Œ๊ณ ๋ฆฌ์˜ ๊ธ€ ๋ชฉ๋ก (2 Page)