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
2 months agoGiuseppe
1 months agoJess
1 months agoCraig
1 months agoDarci
2 months agoFiliberto
2 months agoLeonida
3 months agoAntione
3 months agoRebecka
2 months agoBarb
2 months agoJoesph
2 months agoHyun
3 months agoCelestina
3 months agoMiles
2 months agoMarsha
2 months agoDerrick
3 months ago