Files
hawkbit/extensions/hawkbit-extension-artifact-repository-mongo
Benjamin Cabé a2051c3df0 fix #347
Signed-off-by: Benjamin Cabé <benjamin@eclipse.org>
2016-11-15 11:41:00 +01:00
..
2016-11-15 11:41:00 +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>