Tenant Configuration values varchar to text - support bigger values f… (#2938)
* Tenant Configuration values varchar to text - support bigger values for configs access_control_context varchar to text - support bigger values for configs * Add size constraint in App for Tenant 'conf.value' and rollout/target_filter_query 'access_control_context * add explicitly not null constraint for clarity
This commit is contained in:
@@ -34,6 +34,11 @@ public interface Rollout extends NamedEntity {
|
||||
*/
|
||||
int APPROVAL_REMARK_MAX_SIZE = 255;
|
||||
|
||||
/**
|
||||
* Maximum length of access control context.
|
||||
*/
|
||||
int ACCESS_CONTROL_CONTEXT_MAX_SIZE = 32768;
|
||||
|
||||
/**
|
||||
* @return <code>true</code> if the rollout is deleted and only kept for
|
||||
* history purposes.
|
||||
|
||||
@@ -46,6 +46,11 @@ public interface TargetFilterQuery extends TenantAwareBaseEntity {
|
||||
*/
|
||||
int QUERY_MAX_SIZE = 1024;
|
||||
|
||||
/**
|
||||
* Maximum length of access control context.
|
||||
*/
|
||||
int ACCESS_CONTROL_CONTEXT_MAX_SIZE = 32768;
|
||||
|
||||
/**
|
||||
* Allowed values for auto-assign action type
|
||||
*/
|
||||
|
||||
@@ -22,7 +22,7 @@ public interface TenantConfiguration extends TenantAwareBaseEntity {
|
||||
/**
|
||||
* Maximum length of tenant configuration value.
|
||||
*/
|
||||
int VALUE_MAX_SIZE = 512;
|
||||
int VALUE_MAX_SIZE = 32768;
|
||||
|
||||
/**
|
||||
* @return key of the entry
|
||||
|
||||
Reference in New Issue
Block a user