Add Amazon S3 and Semantic Kernel integration; refactor services#74
Merged
samuelzedec merged 3 commits intomainfrom Sep 10, 2025
Merged
Add Amazon S3 and Semantic Kernel integration; refactor services#74samuelzedec merged 3 commits intomainfrom
samuelzedec merged 3 commits intomainfrom
Conversation
…y injection - Renamed and relocated email services to `Infrastructure.Services.AWS.Email` for clarity and domain alignment. - Updated dependency injection setup to conditionally register local and AWS services based on environment. - Standardized email template structure with `TemplatePath` instead of `Audience` and `Template` attributes. - Refactored test cases to reflect updated service names and logic. - Enabled PostgreSQL `vector` extension in `AppDbContextModelSnapshot`.
…dling - Added `AmazonS3Service` to handle image upload, retrieval, and deletion in S3, including necessary configurations. - Defined `ErrorMessage.Image` constants for standardized error messages. - Introduced `InternalException` for internal server errors with HTTP status code mapping. - Updated `LocalImageStorageService` to utilize new error message constants for consistency. - Enhanced `appsettings.json` with S3 bucket configuration.
- Updated `CreateCompanyWithAdminCommandValidator` and `CreateUserCommandValidator` to enforce strong password requirements. - Added regex for minimum 8 characters, including uppercase, lowercase, number, and special character.
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.
Summary
This pull request introduces the following changes:
AmazonS3Servicefor image storage support, including functionality for image upload, retrieval, and deletion. Enhanced error handling with standardized error messages and the newInternalExceptionfor internal server errors. Configuration updates for S3 bucket settings are included inappsettings.json.pgvectorto enable semantic search in PostgreSQL. Updated the development Docker image to accommodate thepgvectorextension.Additional Details