|
|
|
@ -15,6 +15,7 @@ |
|
|
|
*/ |
|
|
|
package org.thingsboard.server.common.data.tenant.profile; |
|
|
|
|
|
|
|
import io.swagger.v3.oas.annotations.media.Schema; |
|
|
|
import lombok.AllArgsConstructor; |
|
|
|
import lombok.Builder; |
|
|
|
import lombok.Data; |
|
|
|
@ -23,6 +24,7 @@ import org.thingsboard.server.common.data.ApiUsageRecordKey; |
|
|
|
import org.thingsboard.server.common.data.EntityType; |
|
|
|
import org.thingsboard.server.common.data.TenantProfileType; |
|
|
|
|
|
|
|
@Schema |
|
|
|
@AllArgsConstructor |
|
|
|
@NoArgsConstructor |
|
|
|
@Builder |
|
|
|
@ -41,34 +43,61 @@ public class DefaultTenantProfileConfiguration implements TenantProfileConfigura |
|
|
|
private long maxOtaPackagesInBytes; |
|
|
|
private long maxResourceSize; |
|
|
|
|
|
|
|
@Schema(example = "1000:1,20000:60") |
|
|
|
private String transportTenantMsgRateLimit; |
|
|
|
@Schema(example = "1000:1,20000:60") |
|
|
|
private String transportTenantTelemetryMsgRateLimit; |
|
|
|
@Schema(example = "1000:1,20000:60") |
|
|
|
private String transportTenantTelemetryDataPointsRateLimit; |
|
|
|
@Schema(example = "20:1,600:60") |
|
|
|
private String transportDeviceMsgRateLimit; |
|
|
|
@Schema(example = "20:1,600:60") |
|
|
|
private String transportDeviceTelemetryMsgRateLimit; |
|
|
|
@Schema(example = "20:1,600:60") |
|
|
|
private String transportDeviceTelemetryDataPointsRateLimit; |
|
|
|
@Schema(example = "20:1,600:60") |
|
|
|
private String transportGatewayMsgRateLimit; |
|
|
|
@Schema(example = "20:1,600:60") |
|
|
|
private String transportGatewayTelemetryMsgRateLimit; |
|
|
|
@Schema(example = "20:1,600:60") |
|
|
|
private String transportGatewayTelemetryDataPointsRateLimit; |
|
|
|
@Schema(example = "20:1,600:60") |
|
|
|
private String transportGatewayDeviceMsgRateLimit; |
|
|
|
@Schema(example = "20:1,600:60") |
|
|
|
private String transportGatewayDeviceTelemetryMsgRateLimit; |
|
|
|
@Schema(example = "20:1,600:60") |
|
|
|
private String transportGatewayDeviceTelemetryDataPointsRateLimit; |
|
|
|
|
|
|
|
@Schema(example = "20:1,600:60") |
|
|
|
private String tenantEntityExportRateLimit; |
|
|
|
@Schema(example = "20:1,600:60") |
|
|
|
private String tenantEntityImportRateLimit; |
|
|
|
@Schema(example = "20:1,600:60") |
|
|
|
private String tenantNotificationRequestsRateLimit; |
|
|
|
@Schema(example = "20:1,600:60") |
|
|
|
private String tenantNotificationRequestsPerRuleRateLimit; |
|
|
|
|
|
|
|
@Schema(example = "10000000") |
|
|
|
private long maxTransportMessages; |
|
|
|
@Schema(example = "10000000") |
|
|
|
private long maxTransportDataPoints; |
|
|
|
@Schema(example = "4000000") |
|
|
|
private long maxREExecutions; |
|
|
|
@Schema(example = "5000000") |
|
|
|
private long maxJSExecutions; |
|
|
|
@Schema(example = "5000000") |
|
|
|
private long maxTbelExecutions; |
|
|
|
@Schema(example = "0") |
|
|
|
private long maxDPStorageDays; |
|
|
|
@Schema(example = "50") |
|
|
|
private int maxRuleNodeExecutionsPerMessage; |
|
|
|
@Schema(example = "0") |
|
|
|
private long maxEmails; |
|
|
|
@Schema(example = "true") |
|
|
|
private Boolean smsEnabled; |
|
|
|
@Schema(example = "0") |
|
|
|
private long maxSms; |
|
|
|
@Schema(example = "1000") |
|
|
|
private long maxCreatedAlarms; |
|
|
|
|
|
|
|
private String tenantServerRestLimitsConfiguration; |
|
|
|
|