US 12,445,536 B2
Middleware for communication between microservices and monolithic application
Hui Li, Shanghai (CN); Xia Yu, Shanghai (CN); Dabin Feng, Shanghai (CN); Neng Gan, Shainghai (CN); and Zhen Zhang, Shanghai (CN)
Assigned to SAP SE, Walldorf (DE)
Filed by SAP SE, Walldorf (DE)
Filed on Aug. 23, 2023, as Appl. No. 18/454,207.
Prior Publication US 2025/0071191 A1, Feb. 27, 2025
Int. Cl. H04L 67/63 (2022.01); G06F 9/54 (2006.01)
CPC H04L 67/63 (2022.05) [G06F 9/547 (2013.01)] 20 Claims
OG exemplary drawing
 
1. A computer-implemented method for executing calls between a monolithic application and one or more microservices, the method being executed by one or more processors and comprising:
receiving, from a first middleware client of a first entity, a first call, the first call being received by a second middleware client of a second entity, the first call comprising a set of headers descriptive of a workflow being executed between a monolithic application and a set of services;
determining that the set of headers included in the first call are allowed headers, and in response:
storing the set of headers in a request context holder of the second middleware client, the request context holder storing the set of headers as a key-value pair comprising a key that identifies the workflow and a value comprising the set of headers; and
determining, by the second client, that a second call is to be executed from the second middleware client of the second entity for the workflow, and in response:
reading, by the second middleware client, the set of headers descriptive of the workflow,
including the set of headers in a request of the second call,
determining an endpoint for the second call, and
transmitting the second call for receipt at the endpoint.