Haha, option C is just adding an unnecessary layer of complexity. Who wants to refactor all their APIs just to share a database connection? That's like trying to swim upstream with a bowling ball.
B) Build a separate Mule domain project for each API, and configure each of them to use a file on a shared file store to load the configuration information dynamically
Option D with API proxies could also work, but it might be overkill for a simple database configuration scenario. A domain project is probably the simplest MuleSoft-recommended approach.
Option D with API proxies could also work, but it might be overkill for a simple database configuration scenario. A domain project is probably the simplest MuleSoft-recommended approach.
B) Build a separate Mule domain project for each API, and configure each of them to use a file on a shared file store to load the configuration information dynamically
I agree with Celestina. Option A is the cleanest and most efficient solution. Reusing the same database configuration across multiple APIs is a great way to promote consistency.
Option A seems like the most straightforward way to share configuration across APIs. Building a domain project is a best practice recommended by MuleSoft.
Stefania
5 months agoGiuseppe
3 months agoJess
3 months agoCraig
4 months agoDarci
5 months agoFiliberto
5 months agoLeonida
5 months agoAntione
5 months agoRebecka
4 months agoBarb
4 months agoJoesph
5 months agoHyun
5 months agoCelestina
5 months agoMiles
5 months agoMarsha
5 months agoDerrick
6 months ago