Sh Cache Microservice RA
The Sh Cache Microservice RA allows Rhino TAS based applications (such as Sentinel) to use the Sh Cache Microservice. It implements an existing RA type (Sh Cache RA type) and delegates to the Sh Cache Microservice using the Sh/HTTP api.
The following diagram shows the Sh Cache RA in context. The Sh Cache RA has an in process cache per node and interacts directly with the HSS. The API Rhino TAS based applications use is encapsulated in the Sh Cache RA type.
The following diagram shows how the same solution would be realised with the Sh Cache Microservice. The Sh Cache Microservice RA also implements Sh Cache RA type, so Rhino TAS based applications require no change to make use of the Sh Cache Microservice. In this scenario there is now one central cache (the microservice) that can also be used by other Rhino TAS based applications and other network elements via the Diameter Sh/HTTP api.
Sh Cache Microservice RA Implementation
The following diagram presents the architecture of the Sh Cache Microservice RA in more detail.
The Sh Cache Microservice is implemented using the Metaswitch RA framework. This framework simplifies the development of resource adaptors by providing components to simplify common tasks such as RA configuration and changes during the RA lifecycle. The implementation uses two libraries to support the development of the Diameter Sh/HTTP API: Swagger and Vert.x