Suppose I have multiple mongodbs like mongodb_1, mongodb_2, mongodb_3 with same kind of data like employee details of different organizations.
When user triggers GET request to get employee details from all the above 3 mongodbs whose designation is "TechnicalLead". then first we need to connect to mongodb_1 and search and then disconnect with mongodb_1 and connect to mongodb_2 and search and repeat the same for all dbs.
Can any one suggest how can we achieve above using python EVE Rest api framework.
Best Regards,
Narendra
First of all, it is not a recommended way to run multiple instances (especially when the servers might be running at the same time) as it will lead to usage of the same config parameters like for example logpath and pidfilepath which in most cases is not what you want.
Secondly for getting the data from multiple mongodb instances you have to create separate get requests for fetching the data. There are two methods of view for the model that can be used:

query individual databases for data, then assemble the results for viewing on the screen.
Query a central database that the two other databases continously update.
How to search for all existing mongodbs for single GET request