Back to usernotifications

SalesCandy Git archive

usernotifications

Consumes notification events and routes them to users.

README

This repository observes SNS topics for user notification events and routes them to the intended recipients. It manages the delivery pipeline for user-related alerts.

Use Case: Consuming asynchronous notification events from AWS SNS and dispatching them to users via appropriate channels. Inputs are SNS notification messages. Outputs are successful delivery confirmations or error logs.

Selected files and folders

  • README.md
  • handlers
  • package.json
  • serverless.yml
  • tests

Reconstructed issues

Summaries inferred from the archive. Original issue records are unavailable here.

Update notification delivery mechanism

The previous method for sending notifications via Presence-sendMessage was deprecated. This change updates the delivery logic to use the modern Presence-newMsg endpoint for reliable message routing.

d2db0dcb44b1

Refactor notification counting logic

The code was refactored to improve the quality and reliability of the notification counting function. This change enhances how the system aggregates and reports the total number of notifications.

84ae8596a923

Adopt SSL option from secrets

The configuration for using SSL options was updated to source the necessary credentials from the secrets manager. This improves security posture by centralizing sensitive connection details.

e78ae5022074

Selected commits

  1. Update dependency serverless-pseudo-parameters to v2.6.0

    Renovate Bot ·

    c409540eed98649c6a8954ef6774d0088227d565

  2. Use SSL option from secret

    Reza Rosli ·

    e78ae5022074a1eeac77a538ce5f2b2496b5d2b2

  3. Merge branch 'feature/use-ssl-option-from-secret' into 'master'

    Reza Rosli ·

    536cb9ee1d85537c64c8cd94e47e37f13fc0a811

  4. Change to new Presence newMsg endpoint

    Reza Rosli ·

    0b69885072bf24f0df9a34d6ff2f04990b8da1f3

  5. Update dependency firebase-admin to v9

    Renovate Bot ·

    f4e1b365ccc9b814753fb16f7ad2f6ed9a572c16

  6. Migrate from deprecated Presence-sendMessage to use Presence-newMsg endpoint

    Reza Rosli ·

    d2db0dcb44b1031693f8e0f0dc35e5fdb49270a7

  7. Pin dependencies

    Renovate Bot ·

    c935cdd712d542a69adb0940411017ccf796e17e

  8. Feature/count notifications

    Reza Rosli ·

    a84d064ab8d774cd37eb32d2c26c43732b54a11e

  9. Sonarqube integration

    Reza Rosli ·

    757a5dd4159e64a9627010dab038d38bae6bc8b1

  10. Added countNotifications function and refactored code quality

    Reza Rosli ·

    84ae8596a923d38ba059c13891a2bf2736f9b33f

  11. Add renovate.json

    Renovate Bot ·

    3ac262e5c7cb9f7fc0ff2f3e5e5e8684760ea746

  12. Implement secrets manager

    Reza Rosli ·

    8dbeb48c8eb8c3b01ccb6936167794025e4788cc

  13. Tweak timeout settings

    Reza Rosli ·

    f09a750e62641724ab6340b68ff189f312d29644

  14. Implement secrets manager

    Reza Rosli ·

    09b547bafe95a58278484843a35852b938b0f788

  15. npm update and prune permissions

    Reza Rosli ·

    ae66ca41f42d927856e7e67247c5379254b72dac

  16. npm update and prune permissions

    Reza Rosli ·

    94587c2016b47579ce97e6d7e7e1fce09e622db1

  17. Release/v3.0.30

    Reza Rosli ·

    214bf97820eb0b726b76fd929ac333616b27869f

  18. Progress: implement FCM and Presence notify functions; stub for CandyBase querying

    Reza Rosli ·

    2b6b90330e3ef40bcfdf2e1ceb2917568cf4b038

  19. Updated to use CandyBase resources

    Reza Rosli ·

    7fc16de89dfd80ad96fa9dc429d3252eae8a6e60

  20. Base implementation

    Reza Rosli ·

    05bdc3ba2380bcd647a25d9a4f8525d6567dac71

  21. Initial commit

    Reza Rosli ·

    6448fff357d52bf8051132ff4caa4beaca8e5746