Skip to content

EW-1370: CC-Microservice: Send user-notification#6063

Open
jan-vcapgemini wants to merge 19 commits intomainfrom
EW-1370-add-notification-service
Open

EW-1370: CC-Microservice: Send user-notification#6063
jan-vcapgemini wants to merge 19 commits intomainfrom
EW-1370-add-notification-service

Conversation

@jan-vcapgemini
Copy link

@jan-vcapgemini jan-vcapgemini commented Jan 27, 2026

This PR adds a microservice to the common-cartridge module to save a notification and log a message.

Description

Links to Tickets or other pull requests

EW-1370

Changes

  • added notification module
  • added notification service
  • added notification service and repository tests
  • added notification DO

Approval for review

  • DEV: If api was changed - generate-client:server was executed in vue frontend and changes were tested and put in a PR with the same branch name.
  • QA: In addition to review, the code has been manually tested (if manual testing is possible)
  • All points were discussed with the ticket creator, support-team or product owner. The code upholds all quality guidelines from the PR-template.

added NotificationType enum
added NotificationServiceDto class
added NotificationServiceRepo class
added NotificationServiceEntity class
fixed module file structure and namings
added notification service test
added notification repo test
added notification loggable
@jan-vcapgemini jan-vcapgemini self-assigned this Jan 27, 2026
@jan-vcapgemini jan-vcapgemini added the WIP This feature branch is in progress, do not merge into master. label Jan 27, 2026
jan-vcapgemini and others added 7 commits January 27, 2026 12:04
refactored NotificationRepo mapper into NotificationMapper
replaced NotificationDto with Notification (DO)
added temporary tests for each class (using Copilot)
added WIP NotificationController
adjusted folder structure to DeletionModule
@jan-vcapgemini jan-vcapgemini force-pushed the EW-1370-add-notification-service branch from c6f5e91 to ecc2a05 Compare February 2, 2026 09:51
added createdAt and updatedAt to DO

Co-authored-by: Simone Radtke <simone.radtke@capgemini.com>
@jan-vcapgemini jan-vcapgemini force-pushed the EW-1370-add-notification-service branch from ecc2a05 to 541c1cf Compare February 2, 2026 09:55
jan-vcapgemini and others added 5 commits February 2, 2026 14:15
added missing params to notification entities in tests
cleaned up imports
fixed NotificationService create check
cleaned up code
applied proper linting fixes
increased test coverage of service related classes
added API architecture based on deletion module
added NotificationRequestBodyParams
added NotificationRequestResponse
added NotificationRequestUc
added NotificationLoggable tests
# Conflicts:
#	apps/server/src/modules/common-cartridge/common-cartridge-api.app.module.ts
@jan-vcapgemini jan-vcapgemini force-pushed the EW-1370-add-notification-service branch from ae059f9 to 6c2ff91 Compare February 4, 2026 00:58
removed controller and all references to it
removed UC and response
added test for NotificationRequestBodyParams DTO
added fixed date to ensure that test is stable
@sonarqubecloud
Copy link

sonarqubecloud bot commented Feb 5, 2026

@jan-vcapgemini jan-vcapgemini marked this pull request as ready for review February 5, 2026 11:31
@jan-vcapgemini jan-vcapgemini removed the WIP This feature branch is in progress, do not merge into master. label Feb 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

2 participants