If you often travel (for business or personal purposes) to different countries and corners of the world, then you probably faced such a problem as the need to constantly control which mobile provider network your phone was connected to. And you either need to manually select the appropriate roaming provider or buy SIM cards for each country. Each of these options is inconvenient.
To get rid of using multiple SIM cards, Webbing devices (specific SIM cards) were specially developed. These cards are installed into the phone and no additional settings are required. Such a SIM card can be used as a single corporate SIM card of an employee. These SIM cards work in the mobile networks of most world mobile providers and allow users not to think about changing SIM cards when moving between countries, but simply to make calls and use mobile Internet.
This task was to be solved by our team. One of the customer’s requirements was to develop a solution based on Mule, since it already had Mule applications in its infrastructure. It is impossible to extract calls information from raw data of mobile phone operator centers (and there are many of them), so it was required to obtain data from Webbing web services. We proposed a solution, the essence of which is to transform extracted information about calls from Webbing services to the required format and save it in the database, so that the client can work with this data in the future. The integration diagram of the solution with the existing infrastructure of the customer is shown in Figure 1.
Figure. Diagram showing work of the application with Webbing and the customer’s database
The developed solution is a Mule application that works as follows:
Figure. Ezwim Webbing Main Flow
1. Requests are sent to Webbing every nn seconds (via Quartz).
Figure. Call Webbing And Save Results
2. XML responses from Webbing services are deserialized into Mule internal representation.
3. The data is filtered: the data that has already been processed is rejected, the remaining data is filtered again by the given prefix.
Figure. Save Responce Data
4. Conversion to xml.
Figure. Write To Oracle
5. The data and log are saved in the customer’s system.
After that the customer’s departments, for example, the accounting department, can access cost data in any form that is convenient for them. So, now employees do not need to process large amounts of data manually and enter them into the accounting software.
The application interacts with Webbing web services through SOAP requests, which makes it possible to implement any client side in the future.
For this purpose we deployed and configured Jenkins, with the help of which the following tasks are performed:
So, with Jenkins deployment we reduced the time the developers spent for new versions building, testing, and deployment manually.
Stack: Mule ESB, Java, Apache Maven, XML, XSLT.
Infrastructure: Jenkins, Git, Anypoint Studio.
Test Automation Libraries: MUnit.
Protocols: HTTPS, JDBC, SOAP.
The implemented system allows to automatically collect and process detailed information about calls for every Webbing device:
Company’s achievements during the project: