|
|
|
@ -17,6 +17,7 @@ package org.thingsboard.server.common.data.tenant.profile; |
|
|
|
|
|
|
|
import io.swagger.v3.oas.annotations.media.Schema; |
|
|
|
import jakarta.validation.constraints.Min; |
|
|
|
import jakarta.validation.constraints.Positive; |
|
|
|
import lombok.AllArgsConstructor; |
|
|
|
import lombok.Builder; |
|
|
|
import lombok.Data; |
|
|
|
@ -175,8 +176,10 @@ public class DefaultTenantProfileConfiguration implements TenantProfileConfigura |
|
|
|
@Schema(example = "60") |
|
|
|
private int minAllowedScheduledUpdateIntervalInSecForCF = 60; |
|
|
|
@Schema(example = "10") |
|
|
|
@Positive |
|
|
|
private int maxRelationLevelPerCfArgument = 10; |
|
|
|
@Schema(example = "100") |
|
|
|
@Positive |
|
|
|
private int maxRelatedEntitiesToReturnPerCfArgument = 100; |
|
|
|
@Builder.Default |
|
|
|
@Min(value = 1, message = "must be at least 1") |
|
|
|
|