For the data exchange between a legacy application and its new implementation, PTA implements an interface in cooperation with the customer. To avoid potential errors, the 'Anti Corruption Layer' pattern is applied during implementation.
The legacy application is a client-server application with an Oracle database, in which part of the application logic is also stored in the form of stored procedures. The interface is informed about data changes by the new system via the message-broker Solace. The message contains only the ID of the data to be processed. The interface then retrieves it via an API gateway. In the next step, the data is transformed into the structures of the legacy application according to the requirements and stored there.
The customer is gradually replacing a monolithic legacy system with new cloud-based microservices. During the transition period, the data that is already maintained in the new systems must be transferred to the legacy system. Since the data structures are completely different, a complex transformation must be carried out.