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 8497364bc [INLONG-5142][Dashboard] Change API paths and parameters to
adapt the Manager module (#5143)
8497364bc is described below
commit 8497364bcc0fc24b91ad302dc92f4ff8d5aca835
Author: healchow <[email protected]>
AuthorDate: Wed Jul 20 16:04:26 2022 +0800
[INLONG-5142][Dashboard] Change API paths and parameters to adapt the
Manager module (#5143)
---
inlong-dashboard/src/locales/cn.json | 4 ++--
inlong-dashboard/src/locales/en.json | 4 ++--
inlong-dashboard/src/pages/AccessDetail/DataStream/index.tsx | 2 +-
inlong-dashboard/src/pages/ApprovalDetail/index.tsx | 4 ++--
4 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/inlong-dashboard/src/locales/cn.json
b/inlong-dashboard/src/locales/cn.json
index f77f782f5..6ba5ae666 100644
--- a/inlong-dashboard/src/locales/cn.json
+++ b/inlong-dashboard/src/locales/cn.json
@@ -454,8 +454,8 @@
"pages.ClusterTags.DelCluster": "解绑",
"pages.ClusterTags.DelClusterConfirm": "确定解绑吗?",
"pages.ClusterTags.DelClusterSuccess": "解绑成功",
- "pages.ClusterTags.DelConfirm": "删除集群标签,会同时删除关联的集群,且需确保此标签没有被 InlongGroup
所使用",
- "pages.ClusterTags.NameEditHelp": "修改集群标签,会同时修改关联的集群,且需确保此标签没有被 InlongGroup
所使用",
+ "pages.ClusterTags.DelConfirm": "删除集群标签,会将其从绑定了此标签的所有集群中解绑,且需确保此标签没有被
InlongGroup 所使用",
+ "pages.ClusterTags.NameEditHelp": "修改集群标签名称,会同时修改所有绑定了此标签的集群中的标签名,且需确保此标签没有被
InlongGroup 所使用",
"pages.Datasources.status.Success": "正常",
"pages.Datasources.status.Error": "失败",
"pages.Datasources.status.Deleted": "已删除",
diff --git a/inlong-dashboard/src/locales/en.json
b/inlong-dashboard/src/locales/en.json
index ebb9413f7..85784fec7 100644
--- a/inlong-dashboard/src/locales/en.json
+++ b/inlong-dashboard/src/locales/en.json
@@ -454,8 +454,8 @@
"pages.ClusterTags.DelCluster": "Unbind",
"pages.ClusterTags.DelClusterConfirm": "Are you sure you want to unbind?",
"pages.ClusterTags.DelClusterSuccess": "Unbind successfully",
- "pages.ClusterTags.DelConfirm": "Deleting a cluster label will delete the
associated cluster at the same time, and make sure that this label is not used
by InlongGroup",
- "pages.ClusterTags.NameEditHelp": "Modifying a cluster label will delete the
associated cluster at the same time, and make sure that this label is not used
by InlongGroup",
+ "pages.ClusterTags.DelConfirm": "Deleting a cluster tag will unbind it from
all clusters bound to this tag, and make sure this tag is not used by
InlongGroup",
+ "pages.ClusterTags.NameEditHelp": "Modifying a cluster tag will also modify
the tag name in all clusters bound to this tag, and make sure that this label
is not used by InlongGroup",
"pages.Datasources.status.Success": "Success",
"pages.Datasources.status.Error": "Error",
"pages.Datasources.status.Deleted": "Deleted",
diff --git a/inlong-dashboard/src/pages/AccessDetail/DataStream/index.tsx
b/inlong-dashboard/src/pages/AccessDetail/DataStream/index.tsx
index 47260411f..c4b1c5a98 100644
--- a/inlong-dashboard/src/pages/AccessDetail/DataStream/index.tsx
+++ b/inlong-dashboard/src/pages/AccessDetail/DataStream/index.tsx
@@ -61,7 +61,7 @@ const Comp = ({ inlongGroupId, readonly, mqType }: Props,
ref) => {
const { data = realTimeValues, run: getList, mutate } = useRequest(
{
- url: '/stream/listAll',
+ url: '/stream/list',
method: 'POST',
data: {
...options,
diff --git a/inlong-dashboard/src/pages/ApprovalDetail/index.tsx
b/inlong-dashboard/src/pages/ApprovalDetail/index.tsx
index 8daafeeb8..c1a042d5a 100644
--- a/inlong-dashboard/src/pages/ApprovalDetail/index.tsx
+++ b/inlong-dashboard/src/pages/ApprovalDetail/index.tsx
@@ -174,8 +174,8 @@ const Comp: React.FC = () => {
const Form = useMemo(() => {
return {
- NEW_GROUP_PROCESS: Access,
- NEW_CONSUMPTION_PROCESS: Consume,
+ APPLY_GROUP_PROCESS: Access,
+ APPLY_CONSUMPTION_PROCESS: Consume,
}[processInfo?.name];
}, [processInfo]);