Skip to content

Commit

Permalink
Merge pull request #110 from QQDQ/main
Browse files Browse the repository at this point in the history
ecp v2.4 update - template delivery
  • Loading branch information
QQDQ authored Nov 6, 2024
2 parents 641abb9 + 27ca477 commit 56f12cf
Show file tree
Hide file tree
Showing 20 changed files with 117 additions and 6 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified ecp/en_US/edge_service/_assets/edge-template-deliver.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
31 changes: 28 additions & 3 deletions ecp/en_US/edge_service/edge_resource_management.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,21 +29,33 @@ Click the **Template Distribution** button in the **Action** column to open the

![template-deliver](./_assets/edge-template-deliver.png)

#### Template Edit

In the pop-up window, you can make necessary modifications to the template content. The modifications will only affect the current delivery and will not be saved in the template.

![template-deliver-edit](./_assets/edge-template-deliver-1.png)
Use **\$\{\}** to parameterize some parameters in the delivered configuration.

For example, parameterize `192.168.1.100` as `host`.

![template-deliver-edit](./_assets/edge-template-deliver-1_en.png)

Click the **Next** button to choose the target edge services to which the template will be delivered. You can quickly locate service instances by filtering on their name, endpoint, version or tags and select them by checking the checkbox.

![template-deliver-target](./_assets/edge-template-deliver-2.png)
![template-deliver-target](./_assets/edge-template-deliver-2_en.png)

In the **Parameters Edit** page, you can add parameters to the template edit page, and batch assign values to parameters of multiple edge services based on the parameterized variables added in the template edit page, improving the efficiency of edge configuration.

The input in the `default` row represents the default value, and the input in the `default` row can be left blank. The value of the parameter assigned to the specific edge service will override the input value in the `default` row. Click the **Preview** button to preview the delivered configuration.

![template-deliver-result](./_assets/edge-template-deliver-3_en.png)

Click the **Implement** button, and ECP will deliver the template to the specified target edge services. The delivery status will be displayed on the results page in real-time. Please wait on this page for a moment to view the following results:

- The total number of edge service instances to be configured, the count of successful delivery, and the counf of failed delivery, will be displayed. A `green circle` indicates a successful delivery, while a `red exclamation mark` indicates a failed one.

- Failure reasons can be checked in the **Reason** column.

![template-deliver-result](./_assets/edge-template-deliver-3.png)
![template-deliver-result](./_assets/edge-template-deliver-4_en.png)

To review the previous delivery results, you can search from the **Audit** page under the **Administration** menu.

Expand Down Expand Up @@ -85,3 +97,16 @@ To review the previous delivery results, you can search from the **Audit** page

![ext-deliver-audit](./_assets/edge-ext-deliver-audit.png)

## Template and Plugin Version Management

Starting from ECP v2.4.0, template and plugin version management is supported. The version management function supports storing and managing multiple versions in a template, and supports selecting different versions during distribution.

![template-version-zh](./_assets/template_version_en.png)

![plugin_version_zh](_assets/plugin_version_en.png)

## Template and Plugin Sharing

Starting from ECP v2.4.0, template and plugin sharing between multiple organizations and projects is supported.

![template_share_zh](_assets/template_share_en.png)
30 changes: 30 additions & 0 deletions ecp/en_US/release_history/release_history.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,35 @@
# Release History

## v2.4.0
Release Date: 2024-11-07

### Enhancements

- Optimized SSO Functionality
- When SSO users log into ECP, user registration page no longer appears. ECP will automatically synchronize the organization & project permissions for SSO users
- Dashboard now supports displaying “SP Entity ID”
- Configuration supports "Auto Bind IdP User" option
- New user creation supports the option to designate as SSO user
- Added Trace Functionality
- Internal integration with OpenTelemetry
- Supports tracing of NeuronEX and EMQX messages
- Dashboard displays trace chain results
- Enhanced Template Features
- Added template version management
- Added support for template parameter modification during distribution
- Added template sharing between multiple organizations
- ECP Dashboard supports synchronizing NeuronEX drivers and rule configurations as ECP templates
- Added EMQX cluster registered node management, supporting helm installation method
- Added storage of NeuronEX CPU and memory metrics to Prometheus

### Fixes

- Fixed pagination issue for abnormal driver list in edge service monitoring page
- Fixed organization project frame ID flash issue
- Fixed login failure issue caused by long email addresses during first SSO login
- Fixed display issues with user information when email addresses are lengthy


## v2.3.0
Release Date: 07/12/2024

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified ecp/zh_CN/edge_service/_assets/edge-template-deliver.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
33 changes: 30 additions & 3 deletions ecp/zh_CN/edge_service/edge_resource_management.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,25 +28,39 @@ ECP 支持创建 NeuronEX 规则或南向驱动的模版,并使用模版将配

![template-deliver](./_assets/edge-template-deliver.png)

#### 模板编辑

在弹出的窗口中,可以对模版内容做必要的编辑。这里的编辑只影响本次下发,不会保存的模版中。

![template-deliver-edit](./_assets/edge-template-deliver-1.png)
使用 **\$\{\}** 参数化下发配置中的部分参数。

例如将 `192.168.1.100` 参数化为 `host`


![template-deliver-edit](./_assets/edge-template-deliver-1_zh.png)

点击**下一步**按钮,选择模版要下发到的目标边缘服务。您可以基于边缘服务名称、EndPoint、版本或标签快速定位服务实例,然后点击实例前的复选框快速选择。

![template-deliver-target](./_assets/edge-template-deliver-2.png)
![template-deliver-target](./_assets/edge-template-deliver-2_zh.png)

**参数编辑**页,可基于模板编辑页面添加的参数化变量,批量为多个边缘服务的参数赋值,提高边缘配置的效率。

`default` 行输入的参数赋值表示默认值,`default` 行输入内容可留空,具体边缘服务行的参数赋值会覆盖`default` 行的输入值。点击**预览**,可对下发配置进行预览检验。

![template-deliver-param](./_assets/edge-template-deliver-3_zh.png)

点击**执行**按钮,ECP 将把模版下发到指定的目标边缘服务。配置下发结果对话框将实时展示下发的状态。您可在该页面等待片刻后,查看到下发的结果:

- 待配置的实例总数、成功数和失败数。`绿色圆圈`表示执行成功,`红色感叹号`表示执行失败
- 对于下发失败的情况,您可在**原因**列查看失败的原因

![template-deliver-result](./_assets/edge-template-deliver-3.png)
![template-deliver-result](./_assets/edge-template-deliver-4_zh.png)

如果需要查看模版下发的历史结果,可以在**系统管理**界面的**操作审计**中查找。

![template-deliver-audit](./_assets/edge-template-deliver-audit.png)


## 算法插件管理和下发

ECP 支持下发插件和算法模型至边缘服务。
Expand Down Expand Up @@ -82,3 +96,16 @@ ECP 支持下发插件和算法模型至边缘服务。

![ext-deliver-audit](./_assets/edge-ext-deliver-audit.png)

## 模板及算法插件版本管理

从 ECP v2.4.0 版本开始,支持模版、算法插件的版本管理。版本管理功能支持在一个模版里存储管理多个版本,并支持在下发时选择不同的版本。

![template-version-zh](./_assets/template_version_zh.png)

![plugin_version_zh](_assets/plugin_version_zh.png)

## 模板及算法插件共享

从 ECP v2.4.0 版本开始,支持跨组织项目间的模板、算法插件共享。

![template_share_zh](_assets/template_share_zh.png)
29 changes: 29 additions & 0 deletions ecp/zh_CN/release_history/release_history.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,34 @@
# 发版历史

## v2.4.0
发布日期: 2024-11-07

### 增强

- 优化SSO功能
- SSO 用户登录 ECP,不再出现用户注册页面,ECP 将自动同步该 SSO 用户的组织项目权限。
- Dashboard 支持显示 SP Entity ID
- 配置项支持`自动绑定 IdP 用户`
- 新增用户支持选择是否为 SSO 用户
- 新增链路追踪功能
- 内部集成OpenTelemetry
- 支持追踪 NeuronEX 及 EMQX 消息
- Dashboard 展示链路追踪结果
- 优化模版功能
- 新增支持模板版本管理
- 新增支持模板下发时模板参数化修改
- 新增支持多组织间的模板共享
- ECP Dashboard 支持将 NeuronEX 驱动、规则配置同步为 ECP 模板
- 纳管 EMQX 集群注册节点,支持 helm 安装方式
- 新增存储 NeuronEX 的CPU、内存指标到 Prometheus

### 修复

- 修复边缘服务监控页面,异常驱动列表无法翻页的问题
- 修复组织项目框闪现 id 的问题
- 修复 SSO 首次登录,email 过长导致的登录失败问题
- 修复用户邮箱较长时个人信息的显示问题

## v2.3.0
发布日期: 2024-07-12

Expand Down

0 comments on commit 56f12cf

Please sign in to comment.