Files
hawkbit/extensions/hawkbit-extension-artifact-repository-mongo
Kai Zimmermann 804522f966 hawkBit repository uses Optional on single entity find/get requests (#435)
* Repo returns optionals.
* Improved exception handling for collection usage in repo queries.

Signed-off-by: kaizimmerm <kai.zimmermann@bosch-si.com>
2017-02-16 10:09:14 +01:00
..

Eclipse.IoT hawkBit - Artifact Repository MongoDB

HawkBit Artifact Repository is a library for storing binary artifacts and metadata into MongoDB.

Using Artifact Repository MongoDB Extension

The module contains a spring-boot autoconfiguration for easily integration into spring-boot projects. For using this extension in the hawkbit-example-application you just need to add the maven dependency.

<dependency>
  <groupId>org.eclipse.hawkbit</groupId>
  <artifactId>hawkbit-extension-artifact-repository-mongo</artifactId>
  <version>${project.version}</version>
</dependency>

If you do not have a mongoDB running you can use the the flapdoodle project to download and start an mongoDB on demand

<dependency>
  <groupId>de.flapdoodle.embed</groupId>
  <artifactId>de.flapdoodle.embed.mongo</artifactId>
  <version>${flapdoodle.version}</version>
</dependency>