GSMA-CPAS / BWRP-common-adapter

The "Layer 2.5" with all Common functionality APIs
Apache License 2.0
2 stars 0 forks source link

Startup dependency between command adapter and mongo db #49

Open jhoos70 opened 3 years ago

jhoos70 commented 3 years ago

Similar to the problem between the webapp and its db the common adapter and its db fail to start because the app dies before the database is up and running.

As a quick fix i implemented the common adapter to wait for 60 seconds before starting but this is not a clean and good solution.

jhoos70 commented 3 years ago

Pull for the sleep command: https://github.com/GSMA-CPAS/BWRP-common-adapter/pull/50