Commit Graph

29 Commits

Author SHA1 Message Date
Denis Savosin
7cd50456a0 refactor validator, add tests 2024-10-11 13:16:59 +07:00
Denis Savosin
80423338f5 some refactoring 2024-10-11 12:11:02 +07:00
Denis Savosin
41b6d10059 add custom prometheus metric
add tests for kafka consumer
2024-10-08 11:41:26 +07:00
Denis Savosin
89080e4ac4 move SchemaValidator to separate package
add new exception classes
2024-10-04 18:04:11 +07:00
Denis Savosin
ea77bf8b61 add schema validator
use ConfigurationProperties instead of Value for configuration
2024-10-04 17:59:08 +07:00
Denis Savosin
f58a99a68d do not use ObjectMapper in tests 2024-10-04 15:21:11 +07:00
Denis Savosin
f9cf8b84d4 use kotlinx.serialization instead of ObjectMapper in kafka producer 2024-10-03 15:01:10 +07:00
Denis Savosin
9ded10a9ac add openapi auto generation
some responses refactoring
2024-10-03 12:41:33 +07:00
Denis Savosin
e89c1d99fb add get products api 2024-10-03 12:01:02 +07:00
Denis Savosin
f6211ea5d3 add kafka consumer 2024-10-02 18:16:51 +07:00
Denis Savosin
ace8f8eb2c add new config for consumer 2024-10-02 16:56:40 +07:00
Denis Savosin
11f5fb4ea7 some fixes 2024-10-02 16:52:33 +07:00
Denis Savosin
a9aa1eb8b6 some refactoring 2024-10-02 13:55:35 +07:00
Denis Savosin
9b4a4c58ea ad tests 2024-10-02 13:31:47 +07:00
Denis Savosin
9b00237657 some refactoring 2024-10-02 12:18:55 +07:00
Denis Savosin
16f43c6172 create http package, move http classes to that package 2024-10-02 12:05:21 +07:00
Denis Savosin
b89ee800ed add tests 2024-10-02 12:03:20 +07:00
Denis Savosin
cbf7e0a5f6 add kafka producer, move configs to separate package 2024-10-02 10:32:55 +07:00
Denis Savosin
1fa8b7051e create city repository and service 2024-10-01 16:51:28 +07:00
Denis Savosin
0daff4065d add feature tests for ProductService 2024-10-01 16:31:18 +07:00
Denis Savosin
924969a617 add test for delete product 2024-10-01 15:32:10 +07:00
Denis Savosin
dd4389e780 add city table, improve dto 2024-10-01 15:16:13 +07:00
Denis Savosin
f9632ac568 add request validation 2024-09-30 15:27:45 +07:00
Denis Savosin
27595e08dc add new api methods to product controller 2024-09-30 12:41:29 +07:00
Denis Savosin
7840146b80 add product repository, controller, tests 2024-09-25 18:19:32 +07:00
Denis Savosin
6247eedb9a add global exception handler for controllers
add new not found exception, add new test for ShopController
2024-09-25 17:40:54 +07:00
Denis Savosin
9b975b0aeb add tests for ShopController 2024-09-25 12:44:48 +07:00
Denis Savosin
208b2a604b add tests for GreetingController 2024-09-25 11:24:30 +07:00
Denis Savosin
6cfc4382d4 init service: base structure, some api-methods, migrations 2024-09-25 10:08:52 +07:00