Browse Source
Merge pull request #3721 from YevhenBondarenko/feature/tenant-profile
DefaultTenantProfileConfiguration improvements
pull/3722/head
Igor Kulikov
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
8 additions and
0 deletions
-
ui-ngx/src/app/shared/models/tenant.model.ts
|
|
|
@ -26,6 +26,10 @@ export enum TenantProfileType { |
|
|
|
export interface DefaultTenantProfileConfiguration { |
|
|
|
maxDevices: number; |
|
|
|
maxAssets: number; |
|
|
|
maxCustomers: number; |
|
|
|
maxUsers: number; |
|
|
|
maxDashboards: number; |
|
|
|
maxRuleChains: number; |
|
|
|
|
|
|
|
transportTenantMsgRateLimit?: string; |
|
|
|
transportTenantTelemetryMsgRateLimit?: string; |
|
|
|
@ -56,6 +60,10 @@ export function createTenantProfileConfiguration(type: TenantProfileType): Tenan |
|
|
|
const defaultConfiguration: DefaultTenantProfileConfiguration = { |
|
|
|
maxDevices: 0, |
|
|
|
maxAssets: 0, |
|
|
|
maxCustomers: 0, |
|
|
|
maxUsers: 0, |
|
|
|
maxDashboards: 0, |
|
|
|
maxRuleChains: 0, |
|
|
|
maxTransportMessages: 0, |
|
|
|
maxTransportDataPoints: 0, |
|
|
|
maxREExecutions: 0, |
|
|
|
|