Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
117 commits
Select commit Hold shift + click to select a range
90f4f44
ADD: init
wanchun Jul 25, 2019
d1e9222
优化README
wanchun Jul 25, 2019
be1fd85
remove local vuescroll
demonray Jul 25, 2019
f4ccf2c
update license
peacewong Jul 25, 2019
9689369
initial commit
peacewong Jul 25, 2019
b1e6183
initial commit
wushengyeyouya Jul 25, 2019
45b19fb
Merge remote-tracking branch 'origin/master'
wushengyeyouya Jul 25, 2019
7819d46
initial commit
yangzhiyue Jul 25, 2019
535f804
delete a doc
yangzhiyue Jul 25, 2019
02cbe5f
提交public
wanchun Jul 25, 2019
e75d044
Merge branch 'master' of https://github.com/WeBankFinTech/Scriptis
wanchun Jul 25, 2019
627e35a
初始代码
wanchun Jul 25, 2019
e398e2a
Update READMe.md
MountHuang Jul 25, 2019
e915451
Add Chinese documents
peacewong Jul 25, 2019
40ff0fd
Add Chinese documents
peacewong Jul 25, 2019
8c0f5ac
Add Chinese documents
peacewong Jul 25, 2019
26e1977
Add English documents
peacewong Jul 25, 2019
46caa6f
Add contact information
peacewong Jul 25, 2019
ea9468b
Add contact information
peacewong Jul 25, 2019
477e2e6
Add Linkis DeployDoc
peacewong Jul 25, 2019
4fb53d7
add English doc link
peacewong Jul 25, 2019
55a2589
Update README.md
MountHuang Jul 26, 2019
51caf15
Modify contact information
leeebai Jul 26, 2019
323b342
update cn readem
peacewong Jul 26, 2019
6fb5386
Revision of the text
Jul 26, 2019
9476eab
fix save button is not displayed
Jul 26, 2019
933f3b4
fix require vue file error
Jul 26, 2019
60cec01
Merge pull request #5 from xtt55/fix-origin
demonray Jul 26, 2019
fa2451c
masking setting button when unsupport script
Jul 26, 2019
49fd3ad
Update README.md
wushengyeyouya Jul 26, 2019
f507f74
Update README.md
wushengyeyouya Jul 26, 2019
69b8144
Update README.md
wushengyeyouya Jul 26, 2019
e10f78c
Update README.md
wushengyeyouya Jul 26, 2019
688ec72
remove local vuescroll
demonray Jul 25, 2019
4d579e7
Merge pull request #1 from WeBankFinTech/master
xtt55 Jul 27, 2019
52e55ef
delete the redundant files
Jul 27, 2019
7fd7b3e
Merge pull request #4 from leeebai/master
wushengyeyouya Jul 27, 2019
d5a6b7c
Merge pull request #6 from xtt55/fix-origin
wushengyeyouya Jul 27, 2019
a4b65af
modify the system title
Jul 27, 2019
e86d7cf
Merge pull request #7 from xtt55/fix-origin
wushengyeyouya Jul 27, 2019
eced15e
update wechat pic
peacewong Jul 27, 2019
ded88c2
rm package-lock.json
demonray Jul 30, 2019
f467296
modify repo url in compilation.md
demonray Jul 30, 2019
7120d54
scriptes -> scriptis
demonray Jul 30, 2019
725eefa
Update relevant words
Jul 30, 2019
37d4825
audit fix
demonray Jul 30, 2019
447df82
Merge branch 'master' into fix-origin
demonray Jul 30, 2019
b07f9dc
Merge pull request #9 from xtt55/fix-origin
demonray Jul 30, 2019
9863420
Modify the deployment document
peacewong Jul 30, 2019
c0d1704
zip release source
demonray Jul 30, 2019
2e66309
0.5.0
demonray Jul 30, 2019
043fbb0
Modify pic
peacewong Jul 30, 2019
b8d2c78
Merge branch 'master' of github.com:WeBankFinTech/Scriptis
peacewong Jul 30, 2019
35e3010
Modify pic
peacewong Jul 30, 2019
b7cb995
Modify Scriptis manual
peacewong Jul 30, 2019
a4e3c90
Merge pull request #1 from WeBankFinTech/master
OOOOOwenXu Jul 31, 2019
8b0dac2
Update 前台部署文档.md
wushengyeyouya Jul 31, 2019
3a18ea7
update deploy docs
OOOOOwenXu Jul 31, 2019
c714b5b
DataWorkShop -> Scriptis
demonray Jul 31, 2019
76aa36d
Merge branch 'master' of github.com:WeBankFinTech/Scriptis
demonray Jul 31, 2019
9dcf361
Merge pull request #2 from WeBankFinTech/master
xtt55 Jul 31, 2019
15f2f7b
Merge pull request #10 from owenlovemika/master
wushengyeyouya Jul 31, 2019
3c27170
Merge pull request #3 from WeBankFinTech/master
xtt55 Aug 5, 2019
afea898
remove the special processing of HDFS files
Aug 5, 2019
1436d81
Merge pull request #11 from xtt55/fix-origin
peacewong Aug 5, 2019
283015b
update document
wushengyeyouya Aug 5, 2019
2482798
Merge pull request #4 from WeBankFinTech/master
xtt55 Aug 16, 2019
d6f5677
fix the memory leak in clickoutside
Aug 16, 2019
bd7b66b
1.remove auto-save of temp scripts;
Aug 16, 2019
83997ca
optimizing the acquisition of python's keyword
Aug 16, 2019
967e049
1.add admin model to global history;
Aug 16, 2019
d360f66
add FAQ
Aug 16, 2019
fa6c1fb
delete the date report
Aug 16, 2019
efc579d
submitting missing dependencies
Aug 16, 2019
7c7a550
Merge pull request #12 from xtt55/0.7.0
peacewong Aug 16, 2019
ea732f2
update pic
peacewong Aug 17, 2019
ed301cf
change version number
Aug 19, 2019
f50cf47
Merge pull request #5 from WeBankFinTech/master
xtt55 Aug 19, 2019
dc01e9b
Merge branch '0.7.0' of https://github.com/xtt55/Scriptis into 0.7.0
Aug 19, 2019
869670e
Merge pull request #13 from xtt55/0.7.0
wushengyeyouya Aug 19, 2019
ef125fd
judge whether to jump to SSO when landing overtime
Aug 21, 2019
e2e8cd8
Merge pull request #14 from xtt55/0.7.0
wushengyeyouya Aug 21, 2019
af1b4ee
update readme picture
peacewong Aug 22, 2019
140b282
Table text overflow changed to multi-line display
xtt55 Sep 5, 2019
605d4f9
Fixed non-SQL script type could not be closed
xtt55 Sep 5, 2019
b792004
Modify the Chinese in the GIF of readme to English
peacewong Sep 6, 2019
c9ee1a0
Modify the Chinese in the GIF of readme to English
peacewong Sep 6, 2019
90fffc1
Modify the Chinese in the readme to English
peacewong Sep 6, 2019
f5507fd
Table text overflow changed to multi-line display
xtt55 Sep 5, 2019
c2f7b91
1.sqlPaser not executed when grammar check closed;
xtt55 Sep 16, 2019
6c64010
modify global mixin
xtt55 Sep 16, 2019
3429aa9
fix error:failed to resolve async component
xtt55 Sep 16, 2019
f1dea54
update the result table references
xtt55 Sep 16, 2019
c12d2a6
update version
xtt55 Sep 16, 2019
1e19fa0
1.automatic packaging into ZIP packages;
xtt55 Sep 16, 2019
dfd3d34
fix multiple scripts executing simultaneously
xtt55 Sep 16, 2019
efbc745
Merge pull request #25 from xtt55/0.7.0
wushengyeyouya Sep 17, 2019
2cfc859
fix: Cannot be terminated scripts task
demonray Sep 19, 2019
2c59d4e
Modify the photo of the readme
peacewong Sep 23, 2019
40b1600
Merge pull request #1 from WeBankFinTech/master
xtt55 Sep 24, 2019
eb7ad41
fixed: failed to resolve async component
xtt55 Sep 24, 2019
0b9d34a
change sass to scss
xtt55 Sep 29, 2019
9ad3755
Merge pull request #30 from xtt55/0.7.0
wushengyeyouya Oct 8, 2019
b1eed22
Update README.md
wushengyeyouya Nov 20, 2019
d0cfbf5
Update README.md
wushengyeyouya Nov 20, 2019
f5f6101
修改接口路径
zwx-master Dec 6, 2019
2c6982c
add .mlsql script
allwefantasy Oct 21, 2019
0e3cd8b
add FAQ
Aug 16, 2019
6d118e4
add .mlsql script
allwefantasy Oct 21, 2019
4c3b3af
update url
peacewong Mar 24, 2020
d916960
Update README.md
sargentti Mar 4, 2021
f0f1983
Update README.md
sargentti Mar 4, 2021
db4da5a
Update README.md
sargentti Mar 4, 2021
17f2cb2
Update README.md
sargentti Mar 4, 2021
ca32699
Update README.md
peacewong Jun 30, 2022
030b6e8
update weChat pic
peacewong Mar 14, 2024
3389962
Update weChat pic
peacewong Mar 14, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 3 additions & 0 deletions .browserslistrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
> 1%
last 2 versions
not ie <= 8
9 changes: 9 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[*]
charset = utf-8
indent_style = space

[*.{js,jsx,ts,tsx,vue}]
indent_style = space
indent_size = 2
trim_trailing_whitespace = true
insert_final_newline = true
3 changes: 3 additions & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
VUE_APP_HOST=
VUE_APP_MN_CONFIG_PREFIX=/api/rest_j/v1/
VUE_APP_MN_CONFIG_SOCKET=/ws/api/entrance/connect
69 changes: 69 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
module.exports = {
root: true,
env: {
node: true
},
'extends': [
'plugin:vue/essential',
'@vue/standard'
],
rules: {
'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
'key-spacing': ['error'],
'keyword-spacing': ['error'],
'standard/no-callback-literal': 0,
'handle-callback-err': 0,
'no-return-assign': 0,
'eqeqeq': 0,
'comma-dangle': 0,
'semi': 0,
'space-before-function-paren': 0,
'keyword-spacing': 0,
'no-useless-escape': 0,
'no-invalid-this': 0,
'operator-linebreak': 0,
'indent': [
'error',
4,
{
'SwitchCase': 1
}
],
'no-const-assign': 'warn',
'no-this-before-super': 'warn',
'no-undef': 2,
'no-unreachable': 'warn',
'no-unused-vars': 'warn',
'constructor-super': 'warn',
'valid-typeof': 'warn',
'one-var': 'warn',
'max-len': 'off',
'no-trailing-spaces': 'off',
'require-jsdoc': 'warn',
'camelcase': 'warn',
'no-invalid-this': 'warn',
'linebreak-style': 0,
'vue/no-parsing-error': [2, {
'x-invalid-end-tag': false,
'invalid-first-character-of-tag-name': false
}],
'no-tabs': 0,
'vue/html-indent': [2, 2, {
'attribute': 1,
'closeBracket': 0,
'alignAttributesVertically': false
}],
'vue/require-default-prop': 0,
'vue/component-name-in-template-casing': 0,
'vue/html-closing-bracket-spacing': 0,
'vue/html-closing-bracket-newline': 0,
'vue/singleline-html-element-content-newline': 0,
'vue/multiline-html-element-content-newline': 0,
'vue/attributes-order': 0,
'vue/html-self-closing': 0
},
parserOptions: {
parser: 'babel-eslint'
}
}
4 changes: 4 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
* text=auto
* text eol=lf
*.png binary
*.gif binary
11 changes: 11 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
.DS_Store
.vscode
.cache
.idea/

node_modules/
dist/

package-lock.json
.env.development
wedatasphere-scriptis-*.zip
56 changes: 56 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
Scriptis
============

[![License](https://img.shields.io/badge/license-Apache%202-4EB1BA.svg)](https://www.apache.org/licenses/LICENSE-2.0.html)

English | [Chinese](docs/zh_CN/README.md)

### !This project has been merged into [DataSphereStudio](https://github.com/WeBankFinTech/DataSphereStudio)
## Introduction
Scriptis is for interactive data analysis with script development(SQL, Pyspark, HiveQL), task submission(Spark, Hive), UDF, function, resource management and intelligent diagnosis.

![running](docs/en_US/images/readme/running.gif)

## Features

* Script editor: Support multi-language, auto-completion, syntax highlighting and SQL syntax error-correction.

* Computation engines: Based on Linkis, Scriptis connects with multiple computation engines such as Spark, Hive, Python, etc.

* Runtime functionality: Complete job life cycle display and intelligent diagnosis.

* Result set: Multiple result sets support, customized result set alias and one-click visualization.

* Database Services: Functionalities for database management and files(CVS, Excel) import/export to/from tables.

* Context: UDFs, custom variables and functions management and sharing.

* Console: Customized settings for engine parameters, task/engine management and resource isolation/display.


## QuickStart

Read the Quick Start [Quick Start](docs/en_US/ch1/Front-end_deployment_documentation.md)

## Comparison with similar scheduler systems

![Comparison](/docs/en_US/images/readme/Comparison.png)

## Documentations

[Quick Start](docs/en_US/ch1/Front-end_deployment_documentation.md)

[Quick Use](docs/en_US/ch3/Scriptis_Quick_Start.md)

[User Manual](docs/en_US/ch4/Scriptis_Manual.md)

[Compilation](docs/en_US/ch2/Compilation.md)

## Community
If you desire immediate response, please kindly raise issues to us or scan the below QR code by WeChat and QQ to join our group:

![WeChatQQ](https://github.com/WeBankFinTech/WeDataSphere/assets/11496700/853e2b68-109f-42ba-a1b7-5e42d01b2865)

## License

Scriptis is under the Apache 2.0 license. See the [LICENSE]((http://www.apache.org/licenses/LICENSE-2.0)) file for details
5 changes: 5 additions & 0 deletions babel.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
module.exports = {
presets: [
'@vue/app'
]
}
8 changes: 8 additions & 0 deletions config.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Configuring front-end ports
scriptis_port="8088"

# URL of the backend linkis gateway
linkis_url="http://localhost:20401"

# Scriptis ip address
scriptis_ipaddr=$(ip addr | awk '/^[0-9]+: / {}; /inet.*global/ {print gensub(/(.*)\/(.*)/, "\\1", "g", $2)}')
34 changes: 34 additions & 0 deletions docs/en_US/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
## Introduction

Scriptis is for interactive data analysis with script development(SQL, Pyspark, HiveQL), task submission(Spark, Hive), UDF, function, resource management and intelligent diagnosis.

## Features

* Script editor: Support multi-language, auto-completion, syntax highlighting and SQL syntax error-correction.

* Computation engines: Based on Linkis, Scriptis connects with multiple computation engines such as Spark, Hive, Python, etc.

* Runtime functionality: Complete job life cycle display and intelligent diagnosis.

* Result set: Multiple result sets support, customized result set alias and one-click visualization.

* Database Services: Functionalities for database management and files(CVS, Excel) import/export to/from tables.

* Context: UDFs, custom variables and functions management and sharing.

* Console: Customized settings for engine parameters, task/engine management and resource isolation/display.


## Comparison with similar scheduler systems
![Comparison](/docs/en_US/images/readme/Comparison.png)

## Document
* [Front-end_deployment_documentation](ch1/Front-end_deployment_documentation.md)
* [Compilation](ch2/Compilation.md)
* [Scriptis_Quick_Start](ch3/Scriptis_Quick_Start.md)
* [Scriptis_Manual](ch4/Scriptis_Manual.md)


## License

Scriptis is under the Apache 2.0 license. See the [LICENSE]((http://www.apache.org/licenses/LICENSE-2.0)) file for details
10 changes: 10 additions & 0 deletions docs/en_US/SUMMARY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Summary
* [Introduction](README.md)
* [ch1 Front-end_deployment_documentation]()
* [Front-end_deployment_documentation](ch1/Front-end_deployment_documentation.md)
* [ch2 Compilation ]()
* [Compilation](ch2/Compilation.md)
* [ch3 Scriptis_Quick_Start]()
* [Scriptis_Quick_Start](ch3/Scriptis_Quick_Start.md)
* [ch4 Scriptis_Manual ]()
* [Scriptis_Manual](ch4/Scriptis_Manual.md)
114 changes: 114 additions & 0 deletions docs/en_US/ch1/Front-end_deployment_documentation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,114 @@
Scriptis is a data analysis tool based on Linkis. Before deploying Scriptis, you need to deploy Linkis first. For the Linkis deploy document, see: [Linkis DeployDoc](https://github.com/WeBankFinTech/Linkis/blob/master/docs/en_US/ch1/deploy.md)

## 1 Preparation

1. Select the corresponding installation package to download.

2. Unzip the downloaded installation package in the installation directory: unzip wedatasphere-scriptis-0.7.0-dist.zip.

## 2 Deploy

​ There are two deployment methods, automated and manual deployment.

### 2.1 Automated deployment

Go to the frontend directory ```wedatasphere-scriptis``` and edit ```vi config.sh ``` to change the interface address of the frontend and backend port. backend port interface address is the gateway address of linkis.

### (3) Modify and save the configuration file created above

```
# Configuring front-end ports
scriptis_port="8088"

# URL of the backend linkis gateway
linkis_url="http://localhost:20401"

# Scriptis ip address
scriptis_ipaddr=$(ip addr | awk '/^[0-9]+: / {}; /inet.*global/ {print gensub(/(.*)\/(.*)/, "\\1", "g", $2)}')
```

After the modification, run the following command in the directory: ```sudo sh install.sh > install.log 2>&1```

Next, you can access ```http://scriptis_ipaddr:scriptis_port``` directly via Chrome, scriptis_port is the port configured in config.sh and scriptis_ipaddr is the IP of the machine that used for installation.

If encounter access failure, please check install.log and find out the errors.

### 2.2 Manual deployment

1. Install Nginx: ```sudo yum install nginx -y```

2. Modify the configuration file:```sudo vi /etc/nginx/conf.d/scriptis.conf```

Add the following:

```
server {
listen 8080;# Access Port
server_name localhost;
#charset koi8-r;
#access_log /var/log/nginx/host.access.log main;
location / {
root /appcom/Install/scriptis/ROOT; # directory where package decompressed
#in the fronted
index index.html index.html;
}
location /ws {#webSocket configure spport
proxy_pass http://192.168.xxx.xxx:9001;#IP port of the linkis gateway service
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
}
location /api {
proxy_pass http://192.168.xxx.xxx:9001;#IP port of the linkis gateway service
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header x_real_ipP $remote_addr;
proxy_set_header remote_addr $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_http_version 1.1;
proxy_connect_timeout 4s;
proxy_read_timeout 600s;
proxy_send_timeout 12s;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection upgrade;
}
#error_page 404 /404.html;
# redirect server error pages to the static page /50x.html
#
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /usr/share/nginx/html;
}
}
```

3. Copy the frontend package to the corresponding directory: ```/appcom/Install/scriptis/ROOT; # directory where package decompressed in the frontend```
4. Start service: ```sudo systemctl restart nginx```
5. You can directly access ```http://nginx_ip:nginx_port``` via Chrome after execution.

## 3 FAQs

(1) limitations on the size of files that being uploaded

```
sudo vi /etc/nginx/nginx.conf
```

Change the uploading size:

```
client_max_body_size 200m
```

(2) Interface timeout

```
sudo vi /etc/nginx/conf.d/scriptis.conf
```

Change the interface timeout:

```
proxy_read_timeout 600s
```

Loading