Refactor/Restructure the structure of Repo #6

Closed
opened 2025-11-21 21:30:38 +00:00 by Mykola_Vaskevych · 2 comments
No description provided.
Author
Member

By the end of tomorrow (2025-11-21), everyone should already have a designated role on the team and should start working on a project.

Everything in the repo right now is under question for change.

Initial plan:

[API Gateway]
       |
-----------------------------------------------
|          |            |                      |
Auth-Service   User-Service   Role-Service   Audit-Service
       |            |            |               |
      PostgreSQL (separate DB per service)
              |
           RabbitMQ (for events)
              |
            Redis (tokens, blacklists)

Initial Suggestion for Each Microservice Structure:

service-name/
  ├── pom.xml
  ├── src/main/java/ie/ul/iam/<service>/
  │     ├── controllers
  │     ├── services
  │     ├── repositories
  │     ├── entities
  │     ├── dtos
  │     ├── config
  │     └── exceptions
  ├── src/main/resources/
  │     ├── application.properties      (active profile)
  │     ├── application-dev.properties  (H2)
  │     └── application-docker.properties (Postgres)
  └── db/migration/
        └── V1__init.sql (Flyway)

Real Example: src/services/user-service (message was written while 47514e19e3 was the last commit to that microservice)

By the end of tomorrow (2025-11-21), everyone should already have a designated role on the team and should start working on a project. Everything in the repo right now is under question for change. Initial plan: ``` [API Gateway] | ----------------------------------------------- | | | | Auth-Service User-Service Role-Service Audit-Service | | | | PostgreSQL (separate DB per service) | RabbitMQ (for events) | Redis (tokens, blacklists) ``` Initial Suggestion for Each Microservice Structure: ``` service-name/ ├── pom.xml ├── src/main/java/ie/ul/iam/<service>/ │ ├── controllers │ ├── services │ ├── repositories │ ├── entities │ ├── dtos │ ├── config │ └── exceptions ├── src/main/resources/ │ ├── application.properties (active profile) │ ├── application-dev.properties (H2) │ └── application-docker.properties (Postgres) └── db/migration/ └── V1__init.sql (Flyway) ``` Real Example: src/services/user-service (message was written while 47514e19e3 was the last commit to that microservice)
Author
Member

Oh, and we should probably do another folder on the top layer for Frontend

Oh, and we should probably do another folder on the top layer for Frontend
Mykola_Vaskevych added the due date 2025-11-22 2025-11-21 21:51:34 +00:00
Sign in to join this conversation.
No milestone
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

2025-11-22

Dependencies

No dependencies set.

Reference
2025/Group_2_IAM_SYSTEM#6
No description provided.