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:
Vasil Ilchev
2026-02-26 12:15:43 +02:00
committed by GitHub
parent 14f754b30e
commit 937195af1e
12 changed files with 40 additions and 13 deletions

View File

@@ -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.

View File

@@ -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
*/

View File

@@ -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