Use new SimpleMongoClientDbFactory(String)
MSALReplace usage of deprecated new SimpleMongoDbFactory(new MongoClientURI(String)) with new SimpleMongoClientDbFactory(String).
org. openrewrite. java. spring. data. RefactorSimpleMongoDbFactorymod run . --recipe= org. openrewrite. java. spring. data. RefactorSimpleMongoDbFactoryInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.