Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(audit log): update dict for new api #2751

Merged
merged 2 commits into from
Jun 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/types/schemas/configs.schemas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ export const GetConfigsKey = {
limiter: 'limiter',
listeners: 'listeners',
log: 'log',
message_transformation: 'message_transformation',
mqtt: 'mqtt',
node: 'node',
opentelemetry: 'opentelemetry',
Expand Down
6 changes: 6 additions & 0 deletions src/types/schemas/monitor.schemas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@ export type GetPrometheusAuthParams = {
mode?: EmqxPrometheusApiModeParameter
}

export type GetPrometheusMessageTransformation200Two = { [key: string]: any }

export type GetPrometheusMessageTransformationParams = {
mode?: EmqxPrometheusApiModeParameter
}

export type GetPrometheusStats200Two = { [key: string]: any }

export type GetPrometheusSchemaValidation200Two = { [key: string]: any }
Expand Down
72 changes: 72 additions & 0 deletions src/views/General/resource_dict.json
Original file line number Diff line number Diff line change
Expand Up @@ -2254,5 +2254,77 @@
"en": "Update replicas of the durable storage",
"zh": "更新持久化存储的副本"
}
},
{
"method": "post",
"path": "/message_transformations",
"operation_label": {
"en": "Message Transformation",
"zh": "消息转换"
},
"operation_name_label": {
"en": "Append a new transformation",
"zh": "添加新的消息转换"
}
},
{
"method": "put",
"path": "/message_transformations",
"operation_label": {
"en": "Message Transformation",
"zh": "消息转换"
},
"operation_name_label": {
"en": "Update a transformation",
"zh": "更新消息转换"
}
},
{
"method": "post",
"path": "/message_transformations/reorder",
"operation_label": {
"en": "Message Transformation",
"zh": "消息转换"
},
"operation_name_label": {
"en": "Reorder of all transformations",
"zh": "重新排序所有消息转换"
}
},
{
"method": "delete",
"path": "/message_transformations/transformation/:name",
"operation_label": {
"en": "Message Transformation",
"zh": "消息转换"
},
"operation_name_label": {
"en": "Delete a transformation",
"zh": "删除消息转换"
}
},
{
"method": "post",
"path": "/message_transformations/transformation/:name/enable/:enable",
"operation_label": {
"en": "Message Transformation",
"zh": "消息转换"
},
"operation_name_label": {
"en": "Enable or disable a particular transformation",
"zh": "启用或禁用指定消息转换"
}
},
{
"method": "post",
"path": "/message_transformations/transformation/:name/metrics/reset",
"operation_label": {
"en": "Message Transformation",
"zh": "消息转换"
},
"operation_name_label": {
"en": "Reset metrics for a particular transformation",
"zh": "重置指定消息转换的指标"
}
}
]
Loading