Pepperi Notification Service is based on SNS, which is an AWS notification self-managed service. PNS interface is composed of two major components publish and subscribe
Subscribe enables the addons to register to a specific “object type” + attribute/s. Every time a message with the matched attributes will be published, The addon function that was registered will be called (POST) using the async API.
The order of notifications is random.
A subscription function can be called more than once.
This is due to the implementation of SNS and the way pepperi handles notifications
If the async callback fails the async retry mechanism will invoke it again up to 3 times
Addon cannot subscribe twice for the same name. name cannot contains white spaces
Resource Endpoint: /notification/subscriptions
Support all standard resource endpoint functions
Sending Hidden=true will unsubscribe the addon from notifications
Example for filter policy is in the publish page, as filter attributes