This is an automated email from the ASF dual-hosted git repository.
dockerzhang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/inlong.git
The following commit(s) were added to refs/heads/master by this push:
new 3412d9b963 [INLONG-10651][Dashboard] File Type data stream supports
minute-level periods (#10653)
3412d9b963 is described below
commit 3412d9b96368c3ab5fff7651606f554fdb02f56a
Author: kamianlaida <[email protected]>
AuthorDate: Thu Jul 18 14:21:04 2024 +0800
[INLONG-10651][Dashboard] File Type data stream supports minute-level
periods (#10653)
---
inlong-dashboard/src/plugins/sources/defaults/File.ts | 4 ++++
inlong-dashboard/src/ui/locales/cn.json | 1 +
inlong-dashboard/src/ui/locales/en.json | 1 +
3 files changed, 6 insertions(+)
diff --git a/inlong-dashboard/src/plugins/sources/defaults/File.ts
b/inlong-dashboard/src/plugins/sources/defaults/File.ts
index 52835a7e87..81ce7e99d1 100644
--- a/inlong-dashboard/src/plugins/sources/defaults/File.ts
+++ b/inlong-dashboard/src/plugins/sources/defaults/File.ts
@@ -177,6 +177,10 @@ export default class PulsarSource
label: i18n.t('meta.Sources.File.Cycle.Hour'),
value: 'H',
},
+ {
+ label: i18n.t('meta.Sources.File.Cycle.Minute'),
+ value: 'm',
+ },
{
label: i18n.t('meta.Sources.File.Cycle.RealTime'),
value: 'R',
diff --git a/inlong-dashboard/src/ui/locales/cn.json
b/inlong-dashboard/src/ui/locales/cn.json
index 6ff457fe97..565f5fd6ac 100644
--- a/inlong-dashboard/src/ui/locales/cn.json
+++ b/inlong-dashboard/src/ui/locales/cn.json
@@ -43,6 +43,7 @@
"meta.Sources.File.Cycle.Day": "天",
"meta.Sources.File.Cycle.Hour": "小时",
"meta.Sources.File.Cycle.RealTime": "实时",
+ "meta.Sources.File.Cycle.Minute": "分钟",
"meta.Sources.File.TimeZone": "时区",
"meta.Sources.Db.Server": "服务器地址",
"meta.Sources.Db.Port": "服务器端口",
diff --git a/inlong-dashboard/src/ui/locales/en.json
b/inlong-dashboard/src/ui/locales/en.json
index 8d05262a88..809d676b54 100644
--- a/inlong-dashboard/src/ui/locales/en.json
+++ b/inlong-dashboard/src/ui/locales/en.json
@@ -43,6 +43,7 @@
"meta.Sources.File.Cycle.Day": "Day",
"meta.Sources.File.Cycle.Hour": "Hour",
"meta.Sources.File.Cycle.RealTime": "Real time",
+ "meta.Sources.File.Cycle.Minute": "Minute",
"meta.Sources.File.TimeZone": "Time zone",
"meta.Sources.Db.Server": "Server",
"meta.Sources.Db.Port": "Port",