I am currently developing an application (rest-backend and SPA) that requires information from people (personal data, department, superior… ). Our company has a central directory for this purpose. This provides the data via soap.
Unfortunately, I cannot say “give me the manager of x”, for example, but have to call up various endpoints and evaluate them to draw conclusions. I currently have this logic built directly into the backend.
I would prefer to outsource this to a microservice including logic in order to separate the functionalities.
In future, the backend would then only ask the microservice for the superior via rest & the microservice would then ask the central service via soap.
Would this be a bad approach (“hell of microservices”) or a good approach? What would the pattern be called?