SAP / apibusinesshub-integration-recipes

Accelerate integration projects using SAP Cloud Platform Integration with crowdsourced best practices, curated by experts, designed for developers.
Apache License 2.0
113 stars 84 forks source link

mongodb-integration-adapter #96

Open ShayMichaely15 opened 11 months ago

ShayMichaely15 commented 11 months ago

According the following blog, I have 3 questions: https://blogs.sap.com/2020/07/23/connecting-to-mongodb-server-from-sap-cloud-platform-integration-using-camel-mongodb-component/

First question : That mean that the connection to the Mongodb database is hard coded in the adapter ? So, if I have 3 databases dev, test Prod, I need 3 adapters.

Second question : My database need a user and password. So I have to to use something like that : mongodb://username:password@localhost/mydb Is it correct ? that mean that my user/password are also hard coded. Is there a security risk there ?

Third question : My database is on premise. So, I guess I need to use the cloud connector. how do it interface with the adapter ?

Regards, Shay