Sprint Sections 17 Stage 2 Categories - #8
Merged
Conversation
There was a problem hiding this comment.
Pull Request Overview
This PR implements category management functionality for a Spring-based event management system. It provides complete CRUD operations for categories with both admin and public access endpoints.
- Implemented category service with create, update, delete, and read operations
- Added admin endpoints for category management and public endpoints for category retrieval
- Integrated category functionality into event creation workflow
Reviewed Changes
Copilot reviewed 9 out of 9 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| EventServiceImpl.java | Integrated category service and removed manual category creation in event workflow |
| EventRepository.java | Added method to check if events exist for a category (for deletion validation) |
| CategoryServiceImpl.java | Full implementation of category service with validation and business logic |
| CategoryService.java | Service interface defining category operations |
| CategoryRepository.java | Repository interface with custom queries for category name operations |
| Category.java | Updated entity model to allow public setters |
| CategoryMapper.java | Added mapping method for category updates |
| PublicCategoryController.java | Public REST endpoints for category retrieval |
| AdminCategoryController.java | Admin REST endpoints for category CRUD operations |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Naz1anmak
reviewed
Oct 16, 2025
Naz1anmak
reviewed
Oct 16, 2025
Naz1anmak
reviewed
Oct 16, 2025
Naz1anmak
reviewed
Oct 16, 2025
…ve functionalities
Mult1k33
force-pushed
the
main_svc_categories
branch
from
October 16, 2025 14:56
90fb1c9 to
39a8e98
Compare
Naz1anmak
approved these changes
Oct 16, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Реализовано управление категориями: