config.ts
6.59 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
export default {
tenantConfig: '租户配置', //Tenant Configuration
setDefault: '设为默认', //Set as default
error: '设置该租户配置为默认失败', //Setting the tenant configuration as default failed
success: '设置该租户配置为默认成功', //Set the tenant configuration to default success
table: {
title: '租户配置列表', //Tenant Configuration List
},
form: {
name: '名称',
illustrate: '说明',
default: '默认',
tenantConfigName: '租户配置名称',
maxNumberDevice: '最大设备数',
maxNumberPanels: '最大仪表板数',
maxNumberAssets: '最大资产数',
maxNumberUsers: '最大用户数',
maxNumberCustomers: '最大客户数',
maxNumberRuleChains: '最大规则链数',
maxNumberRuleEngines: '最大规则引擎数',
maxNumberMessage: '最大传输消息数',
maxNumberJavascript: '最大JavaScript执行数',
maxNumberTBELExecutions: '最大TBEL执行数',
maxNumberMessageRule: '每条消息的最大规则节点执行数',
maxNumberPoints: '最大传输数据点数',
maxNumberPointDays: '最大存储点天',
alarmTTLDays: '告警TTL天数',
defaultTTLDays: '默认存储TTL天数',
RPCTTLDays: 'RPC TTL天数',
queueTTLDays: '队列统计信息TTL天数',
engineExceptionTTLDays: '规则引擎异常TTL天数',
enableSMS: '启用短信',
maxNumberSMSSent: '发送的最大短信数',
maxNumberEmailsSent: '最大电子邮件发送数',
maxNumberAlarm: '最大创建告警数',
filesTotalSize: '资源文件总大小',
otaFileSize: 'Ota包文件大小',
maxNumberFileSize: '最大资源文件大小',
maxNumberTenants: '租户最大会话数',
maxNumberSubscriptTenants: '租户最大订阅数',
maxNumberCustomer: '客户最大会话数',
maxNumberSubscriptCustomers: '客户最大订阅数',
maxNumberSessionUsers: '公共用户最大会话数',
maxNumberSubscriptUsers: '公共用户最大订阅数',
maxNumberRegularUsers: '普通用户最大会话数',
maxNumberSubscriptOrdinaryUsers: '普通用户最大订阅数',
queueLimitedSystemSize: '队列的大小也受系统配置的限制。',
maxNUmberQueueSizeSession: '会话最大消息队列大小',
transferTenantInformation: '传输租户信息',
transferDeviceInformation: '传输设备信息',
transferTenantTelemetryMessage: '传输租户遥测消息',
transferDeviceTelemetryMessage: '传输设备遥测消息',
transferTenantPoints: '传输租户遥测数据点',
transferDevicePoints: '传输设备遥测数据点',
tenantRESTRequest: '租户REST请求',
customerRESTRequest: '客户REST请求',
entityVersionCreation: '实体版本创建',
entityVersionLoading: '实体版本加载',
sessionWSUpdate: '会话WS更新',
tenantCassandraQuery: '租户Cassandra查询',
notiRequest: '通知请求',
eachRuleRequests: '每个通知规则的通知请求',
pleaseEnterNumber: '请输入(请输入数字)',
pleaseMaxNumber: '请输入{label}(请输入数字)',
editTransmissionTenantMessage: '编辑传输租户消息速率配置',
notConfigured: '未配置',
messageNumberEverySeconds: '{messageNumber} 条消息每 {secondsNumber} 秒',
butMessageNumberEverySeconds: '但小于 {messageNumber} 条消息每 {secondsNumber} 秒',
createMesageLimitMaxNumber: '添加的消息速率限制不能超过10条',
messageOfNumber: '消息数量',
perSecond: '每秒',
messageNumberRequired: '消息数量必填',
timeRatioRequired: '时间比例必填',
createRestrictions: '添加限制',
entityUnlimited: '实体 (0-无限制)',
ruleEngineUnlimited: '规则引擎 (0-无限制)',
TTLUnlimited: 'TTL (0-无限制)',
alarmUnlimited: '告警与通知 (0-无限制)',
OTAUnlimited: 'OTA文件(字节)(0-无限制)',
WSAUnlimited: 'WS (0-unlimited)',
speedLimit: '速率限制',
queue: '队列',
onlyQueue: '队列名称必须唯一。',
useingEngineService: '使用独立的规则引擎服务',
eachUseingEngineService: '(每个独立租户需要单独的规则引擎微服务)',
createQueue: '@:common.createText@:tenant.config.queue',
nameRule: '不能包含ASCII字母数字以外的字符, ".", "_" 和 "-"等',
customAttribute: '自定义属性',
customQueueMessage:
'自定义队列(主题)创建属性,例如:retention.ms:604800000;retention.bytes:1048576000',
descriptionMessage: '此文本将显示在队列说明中,而不是所选策略中',
policyType: '策略类型',
policyMessage: {
m1: '按发起者顺序处理:在确认设备A的前一条消息之前,不会提交设备A的新消息',
m2: '按租户顺序处理:在确认租户A的前一条消息之前,不会提交租户A的新消息',
m3: '顺序处理:在确认前一条消息之前,不会提交新消息',
m4: '突发处理:所有消息都按到达顺序提交到规则链',
m5: '批量处理:在确认前一批消息之前,不会提交新批',
},
batchProcessingSize: '批量处理大小',
processType: '处理类型',
processMessage: {
m1: '失败与超时重试:重试处理包重所有失败和超时的消息',
m2: '跳过所有失败:忽略所有失败',
m3: '跳过所有失败和超时:忽略所有失败和超时',
m4: '全部重试:重试处理包中的所有消息',
m5: '失败重试:重试处理包重的所有失败消息',
m6: '超时重试:重试处理包中的所有超时消息',
},
numberRetries: '重试次数(0-无限制)',
percentageFailed: '跳过重试的失败消息百分比',
retryInterval: '重试间隔(秒)',
maxRetryInterval: '最大重试间隔(秒)',
pollingInterval: '轮询间隔',
partition: '分区',
eachPartitionCon: '每个分区消费者单独轮询消息',
processingTimeout: '处理超时(毫秒)',
submitSettings: '提交设置',
retrySettings: '重试处理设置',
pollingSettings: '轮询设置',
},
enum: {
PolicyTypeLabelEnum: {
SEQUENTIAL_BY_ORIGINATOR: '按发起者顺序处理',
SEQUENTIAL_BY_TENANT: '按租户顺序处理',
SEQUENTIAL: '顺序处理',
BURST: '突发处理',
BATCH: '批量处理',
},
ProcessTypeLabelEnum: {
RETRY_FAILED_AND_TIMED_OUT: '失败与超时重试',
SKIP_ALL_FAILURES: '跳过所有失败',
SKIP_ALL_FAILURES_AND_TIMED_OUT: '跳过所有失败和超时',
RETRY_ALL: '全部重试',
RETRY_FAILED: '失败重试',
RETRY_TIMED_OUT: '超时重试',
},
},
};