Notification Service
There are three main components of the Notification Service.
-
HTTP Notify — send notification requests to clients of the Sh Cache Microservice.
-
Cache Facade — provide an interface to the Cassandra database so the service can query and update the cache.
-
HSS Facade — provide an interface for the service to query and update the external HSS.
When receiving a Push Notification Request from the HSS, the Sh Cache Microservice has to determine which data reference the notification is for. As the Push Notification Request does not contain an AVP indicating the data reference, the service parses the user data to determine the data reference. The data reference is determined by using the first rule from the list below which applies.
The following section outlines the behaviour of the Sh Cache Service for the UE reachability scenario.
UE reachability scenario
-
Receive a PushNotificationRequest (PNR) from the HSS. Determine the data reference is
UE_REACHABILITY_FOR_IP
-
Query the cache for subscriber data
-
In this case there is data in the cache …
-
Send a PushNotificationAnswer (PNA) to the HSS
-
Build an HTTP request …
-
… and notify the microservice client