Comments (12)
Maybe ..
I have to think about it to find a solution which meets both needs..
meanwhile i can make a new release for the new versions
michael
Am Samstag, den 14.07.2012, 14:53 -0700 schrieb Joe Littlejohn:
It would be nice if the API could support any valid version of Mongo without needing a new release and upgrade when new versions become available.
At the moment the plugin itself keeps a full, static list of supported versions which must be updated. Would it be possible to change this to simply try any version given and only reject the version number if the download produces a 404?
Reply to this email directly or view it on GitHub:
#8
from de.flapdoodle.embed.mongo.
Maybe we could support both worlds and mark the 'free-text' mongodb version as 'unsupported' unless we make a new release?
from de.flapdoodle.embed.mongo.
Something like this..
Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.
"Martin Jöhren" [email protected] schrieb:
Maybe we could support both worlds and mark the 'free-text' mongodb version as 'unsupported' unless we make a new release?
Reply to this email directly or view it on GitHub:
#8 (comment)
from de.flapdoodle.embed.mongo.
I take a look tomorrow. My inet connection sucks hard here. Happy git fetching..
from de.flapdoodle.embed.mongo.
You should now be able to use a generic version by using:
Distribution d = new Distribution(new GenericVersion("2.2"), Platform.detect(), BitSize.B64);
for example, but you need to make sure that your version exists. Please give it a try and give me some feedback whether it works for you.
from de.flapdoodle.embed.mongo.
Ah great. I'll take a look this evening.
from de.flapdoodle.embed.mongo.
@matlockx this is working well, thanks!!
I notice that when I specify a version that doesn't exist, the MongoDB download server responds with a 403 (funny choice of response status but meh...). This causes an IOException inside MongoDBRuntime#prepare
which is swallowed and the method returns null
.
It seems like a good idea to throw an unchecked exception here if the download has failed.
from de.flapdoodle.embed.mongo.
I thought about the same point, but I didn't want to change too much in the first step because my test broke on the Jenkins cloud machine but was working locally. I will fix that test next week and then go on with some better exception handling in there. Thanks so far for your insight. Greets, Martin
from de.flapdoodle.embed.mongo.
I did change this, because null is not useful in any case. I did some minor refactoring, so maybe there some little changes if you are using this right now. I will wait two days and will make an release, if nobody has any comments.
from de.flapdoodle.embed.mongo.
.. and i think it's closed.. :)
from de.flapdoodle.embed.mongo.
Great, thanks again. I'm looking forward to the next release :)
from de.flapdoodle.embed.mongo.
release done.. should be in maven central within 24 hrs
from de.flapdoodle.embed.mongo.
Related Issues (20)
- How define the download URL when using Spring Boot 3.x ? HOT 6
- Unable to start Spring boot Tests with de.flapdoodle.embed.mongo=6.0.4 on Ubuntu 22.04 VM running on Win11 Virtualbox 7.0 HOT 11
- Problems with image gradle:8.4+ HOT 20
- Requesting library support to add $search aggregation pipeline for integration testing. HOT 1
- Embedded Mongo does not work on Mac M3 Pro : java.lang.IllegalArgumentException: could not resolve package for V6_0/V7_0_RC HOT 12
- @silambarasan i close this issue, reopen if needed. See linked issue for an answer. HOT 1
- Requesting library support to add $search aggregation pipeline for integration testing. HOT 6
- DistributionBaseUrl with Windows file path HOT 11
- Exception while initiating test ApplicationContex HOT 4
- Integration tests do not work on Jenkins HOT 4
- A sample project using spring boot + web (rest controllers) + maven + flapdoodle + integration tests HOT 4
- Any issue filtering documents using gte and lte (Ranges) ? HOT 14
- MongoDB 7.0.6+ support to avoid security issues HOT 8
- Log formatting issue when message contains "{}" HOT 3
- Update to 4.12.3 (and 4.12.6) fails with `Could not start process: error while loading shared libraries` HOT 8
- Support for ubuntu 24.04 HOT 4
- Failed to instantiate [de.flapdoodle.embed.mongo.MongodExecutable]: Factory method 'embeddedMongoServer' (GenericFeatureAwareVersion{4.13.0}:Platform{operatingSystem=Linux, architecture=X86_64, distribution=Ubuntu, version=Ubuntu_22_04} HOT 14
- Unable to start Spring boot Tests with de.flapdoodle.embed.mongo HOT 7
- Could not resolve package for V7_0 HOT 10
- More than one match: [Ubuntu, Amazon] - libcrypto.so.1.1: cannot open shared object file HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from de.flapdoodle.embed.mongo.