Skip to content

Main svc#12

Merged
LightInTheFire merged 10 commits intomainfrom
main_svc
Jan 18, 2026
Merged

Main svc#12
LightInTheFire merged 10 commits intomainfrom
main_svc

Conversation

@LightInTheFire
Copy link
Copy Markdown
Owner

@LightInTheFire LightInTheFire commented Jan 17, 2026

Добавлены фичи основного сервиса согласно ТЗ

LightInTheFire and others added 9 commits December 24, 2025 12:44
* feat: add validation starter dep

* feat: add all dto's from spec

* feat: add schema

* feat: add entities

* feat: add schema and basic readme

* chore: apply sql format

* feat: add stats service db schema and centering

* fix: remove views from model

* fix: remove views from model
* Edit application-dev.yaml

* Add NotFoundException

* Add CategoryMapper

* Add CategoryRepository

* Add UpdateCategoryDto

* Add CategoryService(interface, implementation)

* Add CategoryControllers(admin, public)

* Add handleDataIntegrityViolationException

* Add postman tests for categories

* Changes for codestyle

* Add json tests

* Changes based on comments

* Changes based on comments

* Changes based on comments

* Changes based on comments

* Changes based on comments
* feat: add userservice and implementation

* feat: add usermapper

* feat: add repository

* feat: add user admin controller

* fix: change return type

* fix: add unique constraint

* fix: set required param to false

* feat: update postman tests to contain categories and users

* fix: add List import

* fix: change transactional to readonly
* feat: add jpa eventRepo

* feat: add EventMapper

* feat: add Event sort options enum

* feat: add event requests for services

* feat: add event controllers

* feat: add eventService and implementation

* feat: add querydsl

* fix: add logging to public controller

* fix: add logging to admin controller

* feat: update event private controller

* feat: add EventsPrivateGetRequest

* feat: add methods to event service interface

* feat: add validation exception

* feat: add location mapper

* fix: increase limit in event model

* fix: update querydsl

* feat: add constraint to newEventDto eventdate to be in future

* feat: separate state actions to two enums

* feat: add updatableevent interface and mapper methods

* fix: method names

* feat: add datetime properties, correct LDT requestparam mapping and changed pattern in jsonconfig to properties

* feat: add boolean predicate as static methods

* chore: move methods

* feat: add IllegalEventUpdateException

* fix: typo in Enum

* feat: add check to eventstate

* feat: add httprequest param

* feat: add @future constraint

* feat: implement interface methods

* feat: update tests to containt events

* feat: add client method to accept ip and uri strings

* fix: send actual uri to service

* fix: change transactional to readonly

* feat: add sql params logging

* fix: update pagerequest to work correctly

* feat: add ForbiddenAccessException

* fix: add check to private api methods

* fix: add call to parent constructor in FAE

* Revert "feat: add client method to accept ip and uri strings"

This reverts commit 8db8049.

* feat: update stats server tests

* fix: save /events endpoint when request multiple events and send null as views in other endpoints
* Добавлены реквесты

* Фикс checkstyle

* Фикс checkstyle

* Фикс checkstyle

* Фикс checkstyle

* Фикс checkstyle

* Фикс checkstyle

* Фикс checkstyle

* Фикс checkstyle

* spotless apply

* chore: change mapper to @UtilityClass

* Фикс checkstyle

* - Доработан ExceptionHandler

* - fix codestyle

* fixes

---------

Co-authored-by: Ilia Egorov <aleilmessia@mail.ru>
* feat: add compilations

* feat: add all postman tests

* feat: add compilations
Copy link
Copy Markdown

@Ivanov-s-tmn Ivanov-s-tmn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Всем привет! Отличная работа, оставил несколько комментариев, если будут вопросы, готов помочь.

Хорошего дня!

Comment thread main-service/src/main/java/ru/practicum/category/dto/UpdateCategoryDto.java Outdated
* feat: remove update category dto

* feat: add constraints to page params

* fix: remove views from compilations

* fix: change start date stats in events

* fix: change catch exception in statclient connection

* fix: npe fixes
@LightInTheFire LightInTheFire merged commit f373a91 into main Jan 18, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants