Files
hawkbit/hawkbit-artifact-repository-filesystem
Kai Zimmermann 09b24fa97d Cleanup file streaming utilities (#559)
* Cleanup file streaming.

Signed-off-by: kaizimmerm <kai.zimmermann@bosch-si.com>

* Added missing comments.

Signed-off-by: kaizimmerm <kai.zimmermann@bosch-si.com>

* Fix typo.

Signed-off-by: kaizimmerm <kai.zimmermann@bosch-si.com>

* Split utility class.

Signed-off-by: kaizimmerm <kai.zimmermann@bosch-si.com>

* Dependency cleanup.

Signed-off-by: kaizimmerm <kai.zimmermann@bosch-si.com>

* Add missing dependency,

Signed-off-by: kaizimmerm <kai.zimmermann@bosch-si.com>

* Remove repository api dependency from rest core.

Signed-off-by: kaizimmerm <kai.zimmermann@bosch-si.com>

* Fix build and sonar issues.

Signed-off-by: kaizimmerm <kai.zimmermann@bosch-si.com>

* Remove custom ConstraintViolationException

Signed-off-by: kaizimmerm <kai.zimmermann@bosch-si.com>

* RequestMapping should be public.

Signed-off-by: kaizimmerm <kai.zimmermann@bosch-si.com>

* Fix errors.

Signed-off-by: kaizimmerm <kai.zimmermann@bosch-si.com>

* Removed dead code.

Signed-off-by: kaizimmerm <kai.zimmermann@bosch-si.com>

* Not null

Signed-off-by: kaizimmerm <kai.zimmermann@bosch-si.com>

* Fix nullpointer.

Signed-off-by: kaizimmerm <kai.zimmermann@bosch-si.com>

* Code cleanup.

Signed-off-by: kaizimmerm <kai.zimmermann@bosch-si.com>
2017-07-19 12:43:07 +02:00
..
2016-12-13 12:29:21 +01:00
2017-03-30 08:46:31 +02:00

Eclipse.IoT hawkBit - Artifact Repository File System

This module contains the implementation of the ArtifactRepository based on the file-system. It's a very convenient and easy implementation of storing the artifact binaries into the file-system based on the SHA-1 hash naming.

Due the limit of many file-systems of files within one directory, the files are stored in different sub-directories based on the last four digits of the SHA1-hash /basepath/[two digit sha1]/[two digit sha1/sha1-hash-filename].

Compile

Build hawkbit-artifact-repository-filesystem

$ cd hawkbit/hawkbit-artifact-repository-filesystem
$ mvn clean install