Skip to content

9 service implement imageservice core logic#22

Merged
ikeschmack merged 4 commits intomainfrom
9-service-implement-imageservice-core-logic
Oct 22, 2025
Merged

9 service implement imageservice core logic#22
ikeschmack merged 4 commits intomainfrom
9-service-implement-imageservice-core-logic

Conversation

@Jalen-Stephens
Copy link
Copy Markdown
Collaborator

Summary

This PR implements the service-layer logic for image records, including persistence via Supabase (Spring Data JDBC), ownership enforcement, and domain-level exceptions. This forms the backend foundation for future controller endpoints.

Key Changes

  • Added ImageRepository backed by Supabase (images table).
  • Implemented ImageService CRUD operations with ownership validation.
  • Introduced service-level exceptions (NotFoundException, ForbiddenException).
  • Added comprehensive unit tests for branch coverage of all service methods.
  • Updated pom to ensure tests run under Java 17 with JaCoCo instrumentation.

@Jalen-Stephens Jalen-Stephens self-assigned this Oct 22, 2025
@Jalen-Stephens Jalen-Stephens added enhancement New feature or request Iteration 1 Iteration 1 for Advance SWE Class labels Oct 22, 2025
@Jalen-Stephens Jalen-Stephens linked an issue Oct 22, 2025 that may be closed by this pull request
12 tasks
@Jalen-Stephens Jalen-Stephens added the service service layer of backend label Oct 22, 2025
@ikeschmack ikeschmack merged commit 201054e into main Oct 22, 2025
@github-project-automation github-project-automation bot moved this from In review to Done in @Jalen-Stephens's AI Detection Oct 22, 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 Iteration 1 Iteration 1 for Advance SWE Class service service layer of backend

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Service] Implement ImageService Core Logic

2 participants