Use new SimpleMongoClientDbFactory(String)

MSAL

Replace usage of deprecated new SimpleMongoDbFactory(new MongoClientURI(String)) with new SimpleMongoClientDbFactory(String).

org.openrewrite.java.spring.data.RefactorSimpleMongoDbFactory
mod run . --recipe=org.openrewrite.java.spring.data.RefactorSimpleMongoDbFactory

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.