UI: Fixed tenant profile default configuration
This commit is contained in:
parent
cca4ac3629
commit
3e2ebcf685
@ -86,7 +86,6 @@ export class DefaultTenantProfileConfigurationComponent implements ControlValueA
|
||||
tenantNotificationRequestsRateLimit: [null, []],
|
||||
tenantNotificationRequestsPerRuleRateLimit: [null, []],
|
||||
maxTransportMessages: [null, [Validators.required, Validators.min(0)]],
|
||||
maxDebugModeDurationMinutes: [null, [Validators.min(0)]],
|
||||
maxTransportDataPoints: [null, [Validators.required, Validators.min(0)]],
|
||||
maxREExecutions: [null, [Validators.required, Validators.min(0)]],
|
||||
maxJSExecutions: [null, [Validators.required, Validators.min(0)]],
|
||||
@ -97,6 +96,7 @@ export class DefaultTenantProfileConfigurationComponent implements ControlValueA
|
||||
maxSms: [null, []],
|
||||
smsEnabled: [null, []],
|
||||
maxCreatedAlarms: [null, [Validators.required, Validators.min(0)]],
|
||||
maxDebugModeDurationMinutes: [null, [Validators.min(0)]],
|
||||
defaultStorageTtlDays: [null, [Validators.required, Validators.min(0)]],
|
||||
alarmsTtlDays: [null, [Validators.required, Validators.min(0)]],
|
||||
rpcTtlDays: [null, [Validators.required, Validators.min(0)]],
|
||||
|
||||
@ -31,6 +31,7 @@ export interface DefaultTenantProfileConfiguration {
|
||||
maxUsers: number;
|
||||
maxDashboards: number;
|
||||
maxRuleChains: number;
|
||||
maxEdges: number;
|
||||
maxResourcesInBytes: number;
|
||||
maxOtaPackagesInBytes: number;
|
||||
maxResourceSize: number;
|
||||
@ -42,6 +43,13 @@ export interface DefaultTenantProfileConfiguration {
|
||||
transportDeviceTelemetryMsgRateLimit?: string;
|
||||
transportDeviceTelemetryDataPointsRateLimit?: string;
|
||||
|
||||
transportGatewayMsgRateLimit?: string;
|
||||
transportGatewayTelemetryMsgRateLimit?: string;
|
||||
transportGatewayTelemetryDataPointsRateLimit?: string;
|
||||
transportGatewayDeviceMsgRateLimit?: string;
|
||||
transportGatewayDeviceTelemetryMsgRateLimit?: string;
|
||||
transportGatewayDeviceTelemetryDataPointsRateLimit?: string;
|
||||
|
||||
tenantEntityExportRateLimit?: string;
|
||||
tenantEntityImportRateLimit?: string;
|
||||
tenantNotificationRequestsRateLimit?: string;
|
||||
@ -59,6 +67,8 @@ export interface DefaultTenantProfileConfiguration {
|
||||
smsEnabled: boolean;
|
||||
maxCreatedAlarms: number;
|
||||
|
||||
maxDebugModeDurationMinutes: number;
|
||||
|
||||
tenantServerRestLimitsConfiguration: string;
|
||||
customerServerRestLimitsConfiguration: string;
|
||||
|
||||
@ -75,6 +85,11 @@ export interface DefaultTenantProfileConfiguration {
|
||||
|
||||
cassandraQueryTenantRateLimitsConfiguration: string;
|
||||
|
||||
edgeEventRateLimits?: string;
|
||||
edgeEventRateLimitsPerEdge?: string;
|
||||
edgeUplinkMessagesRateLimits?: string;
|
||||
edgeUplinkMessagesRateLimitsPerEdge?: string;
|
||||
|
||||
defaultStorageTtlDays: number;
|
||||
alarmsTtlDays: number;
|
||||
rpcTtlDays: number;
|
||||
@ -100,6 +115,7 @@ export function createTenantProfileConfiguration(type: TenantProfileType): Tenan
|
||||
maxUsers: 0,
|
||||
maxDashboards: 0,
|
||||
maxRuleChains: 0,
|
||||
maxEdges: 0,
|
||||
maxResourcesInBytes: 0,
|
||||
maxOtaPackagesInBytes: 0,
|
||||
maxResourceSize: 0,
|
||||
@ -114,6 +130,7 @@ export function createTenantProfileConfiguration(type: TenantProfileType): Tenan
|
||||
maxSms: 0,
|
||||
smsEnabled: true,
|
||||
maxCreatedAlarms: 0,
|
||||
maxDebugModeDurationMinutes: 0,
|
||||
tenantServerRestLimitsConfiguration: '',
|
||||
customerServerRestLimitsConfiguration: '',
|
||||
maxWsSessionsPerTenant: 0,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user