Feature Max Artifact Storage quota (#739)

* Enforcement of artifact storage quota
* Added REST integration tests for artifact upload
* Fix test config
* Fix failing test cases
* Fix PR review findings

Signed-off-by: Stefan Behl <stefan.behl@bosch-si.com>
This commit is contained in:
Stefan Behl
2018-10-05 13:52:46 +02:00
committed by GitHub
parent 124ef54a78
commit 086408e8f8
10 changed files with 249 additions and 118 deletions

View File

@@ -92,8 +92,13 @@ public interface QuotaManagement {
int getMaxActionsPerTarget();
/**
* @return the maximum size of software artifacts in bytes
* @return the maximum size of artifacts in bytes
*/
long getMaxArtifactSize();
/**
* @return the accumulated maximum size of all artifacts in bytes
*/
long getMaxArtifactStorage();
}