Skip to content

Commit 8aeb5f4

Browse files
committed
modify visualis deploy doc.
1 parent d52956b commit 8aeb5f4

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

visualis_docs/en_US/Visualis_display_dashboard_privew_en.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,5 +45,5 @@
4545
    Since PhantomJS is in an unmaintained state, there is a possibility of migrating to Chrome in the future. You can also download the corresponding driver on the Selenium official website, but to use Chrome, you need to install the real Chrome browser on the Linux machine , if you want to switch to Chromer, you need to perform adaptation testing and compatibility testing.
4646

4747
## 3. Preview optimization
48-
    In the actual production and use, the occasional scene will appear the screenshot of the wrong page execution error, resulting in the occasional report as an error result when the email is sent. This is a production problem in the usage scenario. In order to solve this problem, we introduce a failure tag monitoring mechanism, add **WidgetExecuteFailedTag** front-end tag elements to the front and back ends, and detect them by the back end.
48+
    In the actual production and use, the occasional scene will appear the screenshot of the wrong page execution error, resulting in the occasional report as an error result when the email is sent. This is a production problem in the usage scenario. In order to solve this problem, we introduce a failure tag monitoring mechanism, add **WidgetExecuteFailedTag** front-end tag elements to the front and back ends, and detect them by the back end.
4949
![Preview result](../images/preview_bug_fix_1.png)

visualis_docs/zh_CN/Visualis_Davinci_difference_cn.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
33
## 1. 自定义变量格式
44

5-
Davinci的自定义变量格式默认为$variableName$的方式,并支持在配置中对默认格式进行修改,而Visualis中,变量一律为${variableName}格式,且无法修改,此格式与Linkis的自定义变量一致。如:
5+
    Davinci的自定义变量格式默认为$variableName$的方式,并支持在配置中对默认格式进行修改,而Visualis中,变量一律为${variableName}格式,且无法修改,此格式与Linkis的自定义变量一致。如:
66

77
````sql
88
select * from students where class = ${className}

visualis_docs/zh_CN/Visualis_appconn_install_cn.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
>> ls
2222
>> appconn-install.sh checkEnv.sh excecuteSQL.sh install.sh
2323
```
24-
    为了能够安装顺利,首先我们需要部署和启动Visualis服务。Visualis的安装部署可以参考[Visualis安装部署文档](),使用AppConn安装脚本工具时步骤如下:
24+
    为了能够安装顺利,首先我们需要部署和启动Visualis服务。Visualis的安装部署可以参考[Visualis安装部署文档](./Visualis_deploy_doc_cn.md),使用AppConn安装脚本工具时步骤如下:
2525
```shell
2626
>> sh appconn-install.sh
2727

visualis_docs/zh_CN/Visualis_display_dashboard_privew_cn.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
> Visualis Display和Dashboard预览机制
22
33
## 1. 简介
4-
    Display和Dashboard的预览机制,提供了对将要发送的邮件进行预览的功能。在使用上,可以在开发完成Display和Dashboard后,点击组件上面工具栏中的预览按钮,游览器会新建一个tab并打开预览页面,当页面完全打开后,能看到最终的图片效果。如下图是Display开发完成后最终的预览效果,即最终的邮件报表发送的效果图。
4+
    Display和Dashboard的预览机制,提供了对将要发送的邮件进行预览的功能。在使用上,可以在开发完成Display和Dashboard后,点击组件上面工具栏中的预览按钮,游览器会新建一个tab并打开预览页面,当页面完全打开后,能看到最终的图片效果。如下图是Display开发完成后最终的预览效果,即最终的邮件报表发送的效果图。
55
![预览结果](../images/preview_page.png)
66

77
## 2. 设计原理
8-
    Visualis后端提供了预览接口,该接口使用场景分为两个,第一个是支持Visualis的前端预览功能,第二个是对接DSS工作流时,Display和Dashboard执行调用的接口。请求值主要是Display和Dashboard的主键ID,其返回值为图片的输出流。
9-
![预览总体流程](../images/preview.png)
8+
    Visualis后端提供了预览接口,该接口使用场景分为两个,第一个是支持Visualis的前端预览功能,第二个是对接DSS工作流时,Display和Dashboard执行调用的接口。请求值主要是Display和Dashboard的主键ID,其返回值为图片的输出流。
9+
![预览总体流程](../images/preview.png)
1010
    Display预览和Dashboard预览接口较为类似,Dashboard的预览接口可以查看源码中DashboardPreviewController类的previewPortal方法,只是Dashboard的预览存在多个面板页,并对图片进行了聚合,其它逻辑基本相同,Display的预览接口代码:
1111
```java
1212
@MethodLog
@@ -45,6 +45,6 @@
4545
    由于PhantomJS属于不维护状态,未来存在迁移到Chrome的可能性,同样可以在Selenium官网上下载到对应的driver,但使用Chrome需要在Linux机器上安装真正的Chrome浏览器,如需切换为Chromer需要进行适配测试和兼容性测试。
4646

4747
## 3. 预览优化
48-
    在实际的生产使用时,偶发场景会出现截图出现错执行误页面的情况,导致邮件发送时,会偶发出现报表为错误结果。这是使用场景上存在的一个生产问题,为了解决这个问题,我们引入失败标签监控机制,在前后端加入**WidgetExecuteFailedTag**前端标签元素,并由后端进行检测。
48+
    在实际的生产使用时,偶发场景会出现截图出现错执行误页面的情况,导致邮件发送时,会偶发出现报表为错误结果。这是使用场景上存在的一个生产问题,为了解决这个问题,我们引入失败标签监控机制,在前后端加入**WidgetExecuteFailedTag**前端标签元素,并由后端进行检测。
4949
![预览结果](../images/preview_bug_fix_1.png)
5050

visualis_docs/zh_CN/Visualis_sql_databind_cn.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ show(df)
3131
"desc": ""
3232
}
3333
```
34-
    其创建过程可以如下图所示:
34+
    其创建过程可以如下图所示:
3535
![绑定数据节点](../images/sql_databind.png)
3636

3737
## 3.1. 与DSS对接实现细节

0 commit comments

Comments
 (0)