deps: Refactor dependencies (#3224)

* remove spring dep
move junit, logging, mockito under dep mgmt

* upgrade anti-corruption-layer deps

* async method invocation

* balking, bloc

* bridge to bytecode

* caching

* callback - cqrs

* component - health check

* hexagonal - metadata mapping

* rest of the patterns

* remove checkstyle, take spotless into use
This commit is contained in:
Ilkka Seppälä authored and GitHub committed 2025-03-29 19:34:27 +02:00
1 parent 371439aeaa
commit 0ca162a55c
1863 files changed
+14403 -17632

No files matched your search

@@ -38,6 +38,7 @@
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-webmvc</artifactId>
<version>6.2.5</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
@@ -28,10 +28,7 @@ import lombok.RequiredArgsConstructor;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* Exposes the Price microservice's endpoints.
*/
/** Exposes the Price microservice's endpoints. */
@RestController
@RequiredArgsConstructor
public class PriceController {
@@ -24,9 +24,7 @@
*/
package com.iluwatar.price.microservice;
/**
* Service to get a product's price.
*/
/** Service to get a product's price. */
public interface PriceService {
/**
@@ -27,16 +27,12 @@ package com.iluwatar.price.microservice;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
/**
* {@inheritDoc}
*/
/** {@inheritDoc} */
@Service
@Slf4j
public class PriceServiceImpl implements PriceService {
/**
* {@inheritDoc}
*/
/** {@inheritDoc} */
@Override
public String getPrice() {
LOGGER.info("Successfully found price info");
@@ -24,13 +24,11 @@
*/
package com.iluwatar.price.microservice;
import org.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.assertEquals;
/**
* Test for Price Rest Controller
*/
import org.junit.jupiter.api.Test;
/** Test for Price Rest Controller */
class PriceControllerTest {
@Test
@@ -24,13 +24,11 @@
*/
package com.iluwatar.price.microservice;
import org.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.assertEquals;
/**
* Test for Price Service
*/
import org.junit.jupiter.api.Test;
/** Test for Price Service */
class PriceServiceTest {
@Test