Requirement: I am trying to integrate MongoDB with Microservices to utilize the ReactiveMongoTemplate and also need to have embeddedeMongoServer for unit test cases.
Issue: The build is success in local but in pipeline I am having maven build failure.
Could you please help resolve this?
I have had trouble doing the same and switched to the Data API since it only needs HTTP Post. I implemented it in Kotlin with Ktor client libraries and deployed it to GCP as a PUBSUB. On AWS it might be better to stick to python or move forward to rust or go. My solution (which sounds a bit immodest) doesn’t provide a local test server since the Data Api requires Atlas. You could use the test DB though