SuccessChanges

Summary

  1. Replaces flapdoodle with a docker based approach (details)
  2. Increase mongodb version for deployment templates to 4.2 (details)
  3. Fix search persistence tests. (details)
  4. Some code formatting improvements (details)
  5. Add missing test dependencies (details)
  6. add OS detector for windows/unix docker-deamon detection (details)
  7. minor improvement for OS based docker networking (details)
  8. Minor improvements during review (details)
  9. Fix unused imports (details)
Commit 94095ae1e054df34158a20ed5e405ab909db5466 by Yannic Klem
Replaces flapdoodle with a docker based approach

* MongoDbResource now starts and stops a mongo docker container instead of
  using flapdoodle

Signed-off-by: Yannic Klem <yannic.klem@bosch.io>
The file was addedservices/utils/test/src/test/java/org/eclipse/ditto/services/utils/test/mongo/DockerContainer.java
The file was modifiedservices/thingsearch/starter/src/test/java/org/eclipse/ditto/services/thingsearch/starter/actors/SearchActorIT.java (diff)
The file was modifiedservices/utils/persistence/src/test/java/org/eclipse/ditto/services/utils/persistence/mongo/indices/IndexInitializerIT.java (diff)
The file was modifiedservices/utils/test/src/test/java/org/eclipse/ditto/services/utils/test/mongo/MongoDbResource.java (diff)
The file was modifiedservices/utils/persistence/src/test/java/org/eclipse/ditto/services/utils/persistence/mongo/streaming/MongoReadJournalIT.java (diff)
The file was modifiedservices/utils/persistence/src/test/java/org/eclipse/ditto/services/utils/persistence/mongo/streaming/MongoTimestampPersistenceIT.java (diff)
The file was modifiedservices/utils/test/pom.xml (diff)
The file was modifiedservices/thingsearch/updater-actors/pom.xml (diff)
The file was modifiedservices/thingsearch/starter/pom.xml (diff)
The file was modifiedservices/policies/persistence/pom.xml (diff)
The file was modifiedbom/pom.xml (diff)
The file was modifiedservices/connectivity/messaging/src/test/java/org/eclipse/ditto/services/connectivity/messaging/persistence/ConnectionPersistenceActorTest.java (diff)
The file was modifiedservices/connectivity/starter/pom.xml (diff)
The file was modifiedservices/things/persistence/pom.xml (diff)
The file was modifiedservices/utils/persistence/src/test/java/org/eclipse/ditto/services/utils/persistence/mongo/ops/eventsource/MongoEventSourceITAssertions.java (diff)
The file was modifiedservices/policies/starter/pom.xml (diff)
The file was modifiedservices/things/starter/pom.xml (diff)
The file was addedservices/utils/test/src/test/java/org/eclipse/ditto/services/utils/test/mongo/MongoContainerFactory.java
The file was modifiedservices/concierge/actors/pom.xml (diff)
The file was modifiedservices/utils/persistence/pom.xml (diff)
The file was modifiedservices/thingsearch/persistence/src/test/java/org/eclipse/ditto/services/thingsearch/persistence/AbstractThingSearchPersistenceITBase.java (diff)
The file was addedservices/utils/test/src/test/java/org/eclipse/ditto/services/utils/test/mongo/DockerImagePullHandler.java
The file was modifiedservices/connectivity/messaging/pom.xml (diff)
The file was modifiedservices/thingsearch/persistence/pom.xml (diff)
Commit 39ce8a2e1a3306a7a0665a918059fb74fceca9c1 by Yannic Klem
Increase mongodb version for deployment templates to 4.2

Signed-off-by: Yannic Klem <yannic.klem@bosch.io>
The file was modifieddeployment/docker/sandbox/docker-compose.yml (diff)
The file was modifieddeployment/docker/docker-compose.yml (diff)
The file was modifieddeployment/kubernetes/mongodb/mongodb.yaml (diff)
Commit 07ebe5acffc78c97e86fe2660f6eb71765a57600 by Yannic Klem
Fix search persistence tests.

* This tests revealed that it's required to recreate the container for
  each start. Otherwise the created container is removed after it has been
  stopped and cannot be started again.
* This change makes MongoDbResource @NotThreadSafe

Signed-off-by: Yannic Klem <yannic.klem@bosch.io>
The file was modifiedservices/thingsearch/persistence/src/test/java/org/eclipse/ditto/services/thingsearch/persistence/AbstractThingSearchPersistenceITBase.java (diff)
The file was modifiedservices/utils/test/src/test/java/org/eclipse/ditto/services/utils/test/mongo/MongoDbResource.java (diff)
Commit 413bdbcadbb98eef46dc7c8cdd75ddecaff269f2 by Yannic Klem
Some code formatting improvements

Signed-off-by: Yannic Klem <yannic.klem@bosch.io>
The file was modifiedservices/utils/test/src/test/java/org/eclipse/ditto/services/utils/test/mongo/DockerContainer.java (diff)
The file was modifiedservices/utils/test/src/test/java/org/eclipse/ditto/services/utils/test/mongo/MongoDbResource.java (diff)
Commit 18654892ce7930c460ac791f4a480446a479ffe4 by Yannic Klem
Add missing test dependencies

Signed-off-by: Yannic Klem <yannic.klem@bosch.io>
The file was modifiedservices/policies/starter/pom.xml (diff)
The file was modifiedservices/things/starter/pom.xml (diff)
The file was modifiedservices/connectivity/starter/pom.xml (diff)
Commit cfd62c4e4cc2828acbcf453c45126a45340b95cd by joel.bartelheimer
add OS detector for windows/unix docker-deamon detection

Signed-off-by: Joel Bartelheimer <joel.bartelheimer@bosch.io>
The file was modifiedservices/utils/test/src/test/java/org/eclipse/ditto/services/utils/test/mongo/MongoContainerFactory.java (diff)
The file was addedservices/utils/test/src/test/java/org/eclipse/ditto/services/utils/test/mongo/OsDetector.java
The file was modifiedservices/utils/test/src/test/java/org/eclipse/ditto/services/utils/test/mongo/DockerContainer.java (diff)
Commit 56a6fe87791a312c24e4044d93e94011260e9bfa by Yannic Klem
minor improvement for OS based docker networking

Signed-off-by: Yannic Klem <yannic.klem@bosch.io>
The file was modifiedservices/utils/test/src/test/java/org/eclipse/ditto/services/utils/test/mongo/OsDetector.java (diff)
The file was modifiedservices/utils/test/src/test/java/org/eclipse/ditto/services/utils/test/mongo/DockerContainer.java (diff)
The file was modifiedservices/utils/test/src/test/java/org/eclipse/ditto/services/utils/test/mongo/MongoContainerFactory.java (diff)
Commit 2fda2f206027972a62e0313010e7edb544fe9805 by joel.bartelheimer
Minor improvements during review

Signed-off-by: Joel Bartelheimer <joel.bartelheimer@bosch.io>
The file was modifiedservices/utils/test/src/test/java/org/eclipse/ditto/services/utils/test/mongo/MongoContainerFactory.java (diff)
The file was modifiedservices/utils/test/src/test/java/org/eclipse/ditto/services/utils/test/mongo/DockerContainer.java (diff)
Commit 425cf4cbcf3c797841d18f777f5ddb814c00e803 by joel.bartelheimer
Fix unused imports

Signed-off-by: Joel Bartelheimer <joel.bartelheimer@bosch.io>
The file was modifiedservices/utils/test/src/test/java/org/eclipse/ditto/services/utils/test/mongo/MongoContainerFactory.java (diff)