Skip to content

A microservice for notifications based on document type.

Notifications You must be signed in to change notification settings

trellisfw/trellis-notifications

Repository files navigation

trellis-notifications

A microservice for notifications based on document type. A job notifies the event to a destination.

Basics

The service accepts jobs with a configuration similar to the following:

POST /bookmarks/services/trellis-notifications/jobs
{
 "service": "trellis-notifications",
    "type": "audit-changed",
    "config": {
        "notificationType": "email",
        "doctype": "audit",
        "chroot": "trading-partners/TEST-TRELLISNOTIFICATIONS-TP",
        "userEndpoint": "user/bookmarks/trellisfw",
        "emailsEndpoint": "fsqa-emails",
        "user": {
            "id": "USERID"
        }
    },
    "src": { "_id": "resources/123abc" }
}

Installation

cd path/to/your/oada-srvc-docker
cd services-available
git clone [email protected]:trellisfw/trellis-notifications.git
cd ../services-enabled
ln -s ../services-available/trellis-notifications .
oada up -d trellis-notifications

About

A microservice for notifications based on document type.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published