Skip to content

Microservices#454

Draft
Daggerpov wants to merge 18 commits intomainfrom
microservices
Draft

Microservices#454
Daggerpov wants to merge 18 commits intomainfrom
microservices

Conversation

@Daggerpov
Copy link
Copy Markdown
Owner

No description provided.

AuthService, JWTService, OAuthService, EmailService with their
interfaces, plus Google and Apple OAuth strategies. Includes S3Service
stub (default profile picture URL only, no AWS SDK dependency).
SecurityConfig simplified for auth-only endpoints, JWTFilterConfig for
token validation, and AsyncConfiguration for async email sending.
EmailVerification and UserIdExternalIdMap entities, their JPA
repositories, and auth DTOs (OAuthRegistrationDTO, email verification
request/response DTOs).
IUserRepository for direct DB access, IUserService with only the 11
methods auth needs (vs 30+ in monolith), UserService implementation,
and UserInfoService for Spring Security UserDetailsService.
Simplified User entity (no NotificationPreferences relationship),
UserInfo for Spring Security, user DTOs needed by auth endpoints, and
an auth-scoped UserMapper without MinimalFriendDTO dependency.
Utility classes (InputValidationUtil, PhoneNumberValidator, RetryHelper,
etc.) and custom validation annotations (@validname, @Validusername,
@ValidPhoneNumber). EmailTemplates rewritten to use standard Java IO
instead of AWS SDK IoUtils.
EntityType, OAuthProvider, UserStatus, UserField, UserRelationshipType,
and ErrorResponse DTO used across auth service layers.
Copy all exception types (Base, Logger, Token, and top-level) needed by
the auth service for error handling and logging.
Standalone Spring Boot project at services/auth-service/ with its own
pom.xml (spring-boot-starter-parent 3.3.5), Maven wrapper, and
application.properties on port 8081. Independently buildable for
Railway subpath deployment.
…->user service + redis events (to be replaced by rabbitmq
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.

1 participant