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