Tango Plan Activator
The Tango Plan Activator (TPA) consists of two decoupled components:
-
TPA Web Services (WS)
-
TPA Agent
TPA Web Service
The TPA Web Service is responsible for accepting the scheduling requests from the SPCM (plan purchase) and planning for their future activations. The TPA WS relies on the Quartz job scheduling library to trigger the Programmable Plans' activations, which for this component implies sending the activation request message to the configured RabbitMQ queue.
TPA Agent
The TPA Agent is responsible for listening to the configured RabbitMQ queue and handling the received activation request message properly, which for this component implies calling the USSD SI sm-api purchase service with the proper information stored in the message object. This then triggers a second purchase flow for the Programmable Plan and finally ends with its activation.
These interactions are shown the following diagram, which highlights the connecting role of the TPA components between the SPCM Web Services and the USSD SI sm-api with the support of the RabbitMQ queue and the Oracle DB.