Skip to content

Sprint Sections 17 Stage 2 Events & Users#7

Merged
Naz1anmak merged 5 commits into
main_svcfrom
main_svc_ivan
Oct 15, 2025
Merged

Sprint Sections 17 Stage 2 Events & Users#7
Naz1anmak merged 5 commits into
main_svcfrom
main_svc_ivan

Conversation

@internet-prodashi

@internet-prodashi internet-prodashi commented Oct 14, 2025

Copy link
Copy Markdown
Collaborator

Выполнены разделы финального задание 17 второй части:

  • Private: События (Закрытый API для работы с событиями)
  • Admin: События (API для работы с событиями)
  • Public: События (Публичный API для работы с событиями)
  • Admin: Пользователи (API для работы с пользователями)

Naz1anmak and others added 3 commits October 11, 2025 00:41
# Conflicts:
#	.run/MainApplication (local).run.xml
#	.run/StatApplication (local).run.xml
#	.run/StatApplication.run.xml
…ted:

- Private: Events (Closed API for working with events)
- Admin: Events (API for working with events)
- Public: Events (Public API for working with events)
- Admin: Users (API for working with users)
@Naz1anmak Naz1anmak requested a review from Copilot October 14, 2025 21:42

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull Request Overview

This PR implements the final sections of task 17 for the second part, introducing comprehensive event management functionality across different API layers: Private Events API for users to manage their own events, Admin Events API for administrative event management, Public Events API for public event access, and Admin Users API for user management.

  • Added user management service with full CRUD operations and validation
  • Implemented comprehensive event service with create, read, update operations across private, admin, and public APIs
  • Created request management system for handling event participation requests with status updates

Reviewed Changes

Copilot reviewed 70 out of 70 changed files in this pull request and generated 7 comments.

Show a summary per file
File Description
stats/stats-client/src/main/java/ru/practicum/StatsClient.java Modified error handling to return empty list instead of throwing exception
main-service/src/main/resources/application.properties Updated database configuration for development with SQL logging enabled
main-service/src/main/java/ru/practicum/user/* Complete user management implementation with service, repository, model, DTOs, and controller
main-service/src/main/java/ru/practicum/request/* Full request management system for event participation handling
main-service/src/main/java/ru/practicum/event/* Comprehensive event management with private, admin, and public APIs
main-service/src/main/java/ru/practicum/exception/* Custom exception classes for proper error handling
main-service/src/main/java/ru/practicum/category/* Basic category management structure
main-service/src/main/java/ru/practicum/compilation/* Basic compilation management structure
main-service/pom.xml Added MapStruct dependency and reorganized stats-client dependency

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Comment thread stats/stats-client/src/main/java/ru/practicum/StatsClient.java Outdated
Comment thread main-service/src/main/java/ru/practicum/user/service/UserServiceImpl.java Outdated
Comment thread main-service/src/main/java/ru/practicum/user/service/UserServiceImpl.java Outdated
Comment thread main-service/src/main/java/ru/practicum/request/service/RequestServiceImpl.java Outdated
Comment thread main-service/src/main/java/ru/practicum/request/service/RequestServiceImpl.java Outdated
Comment thread .run/Deployment compose-local.run.xml
Comment thread .run/MainApplication (local).run.xml
Comment thread .run/StatApplication (local).run.xml
Comment thread .run/StatApplication.run.xml Outdated
Comment thread main-service/src/main/java/ru/practicum/user/service/UserServiceImpl.java Outdated
Comment thread main-service/src/main/java/ru/practicum/user/service/UserServiceImpl.java Outdated
Comment thread main-service/src/main/resources/application.properties Outdated
Comment thread main-service/src/main/resources/application.properties Outdated
Comment thread main-service/src/main/java/ru/practicum/category/mapper/CategoryMapper.java Outdated
@Naz1anmak Naz1anmak changed the title The sections of the final task 17 of the second part Sprint Sections 17 Stage 2 Oct 15, 2025
@Naz1anmak Naz1anmak requested a review from Copilot October 15, 2025 22:31
@Naz1anmak Naz1anmak added the enhancement New feature or request label Oct 15, 2025

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull Request Overview

Copilot reviewed 77 out of 78 changed files in this pull request and generated 9 comments.


Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Comment thread main-service/src/main/java/ru/practicum/event/service/EventServiceImpl.java Outdated
Comment thread main-service/src/main/java/ru/practicum/request/service/RequestServiceImpl.java Outdated
Comment thread main-service/pom.xml
Comment thread main-service/pom.xml
Comment thread main-service/src/main/java/ru/practicum/request/service/RequestServiceImpl.java Outdated
@Naz1anmak Naz1anmak merged commit da4726b into main_svc Oct 15, 2025
1 of 2 checks passed
@Naz1anmak Naz1anmak deleted the main_svc_ivan branch October 15, 2025 23:03
@Naz1anmak Naz1anmak changed the title Sprint Sections 17 Stage 2 Sprint Sections 17 Stage 2 Events & Users Oct 17, 2025
@Naz1anmak Naz1anmak added this to the Sprint 17 Stage 2 milestone Oct 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants