Rajeev
Rajeev

Reputation: 559

How to download available version of Mongo Client from repository

I am using flapdoodle for my integration junit. In this junit I am downloading MongoDb binaries and starting the mongo db

Mongod mongod = distributionBaseUrl() -> {
 return Start.to(DistributionBaseUrl.class).initializedWith(
   DistributionBaseUrl.of("https://artifactrepository/ ..../mongo") 
 )
};

TransitionWalker.ReachedState<RunningMongoProcess> run = mongod.start(Version.withFeatures(ImmutableGenericVersion.of(5.6.9)))

Above line trying to download the these binaries "http://artifactrepository/ ..../mongo/linux/mongod-linux-x86_64-rhel80-5.6.9.tgz"

But available binaries are "http://artifactrepository/ ..../mongo/linux/mongod-linux-x86_64-rhel70-5.6.9.tgz"

so only difference is of rhel version

How can download available binaries?

Upvotes: 0

Views: 51

Answers (0)

Related Questions