Correctly configure tenant config length. (#680)

Signed-off-by: kaizimmerm <kai.zimmermann@bosch-si.com>
This commit is contained in:
Kai Zimmermann
2018-05-07 15:05:05 +02:00
committed by GitHub
parent 87d13591e4
commit cb63ac88b8
3 changed files with 17 additions and 7 deletions

View File

@@ -15,6 +15,16 @@ package org.eclipse.hawkbit.repository.model;
*/
public interface TenantConfiguration extends TenantAwareBaseEntity {
/**
* Maximum length of tenant configuration key.
*/
int KEY_MAX_SIZE = 128;
/**
* Maximum length of tenant configuration value.
*/
int VALUE_MAX_SIZE = 512;
/**
* @return key of the entry
*/