Skip to content

Commit d79d75c

Browse files
author
zhangxiang
committed
merge conflicts & product iterate
2 parents ab4a48e + e8bd3d8 commit d79d75c

File tree

2,474 files changed

+113628
-56997
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,474 files changed

+113628
-56997
lines changed

.gitignore

Lines changed: 26 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@
66
assembly/target
77
assembly/dss-package/target
88

9+
10+
# dss-commons
11+
dss-commons/dss-sender-service/target
12+
913
# dss-appconn
1014
dss-appconn/appconns/dss-datachecker-appconn/target
1115
dss-appconn/appconns/dss-eventchecker-appconn/target
@@ -20,7 +24,9 @@ dss-appconn/dss-appconn-loader/target
2024
dss-appconn/dss-schedule-appconn-core/target
2125
dss-appconn/linkis-appconn-engineplugin/target
2226
dss-appconn/appconns/dss-dolphinscheduler-appconn/target
23-
27+
dss-appconn/dss-appconn-manager/dss-appconn-manager-client/target
28+
dss-appconn/dss-appconn-manager/dss-appconn-manager-core/target
29+
dss-appconn/dss-scheduler-appconn/target
2430

2531
# dss-apps
2632
dss-apps/dss-apiservice-server/target
@@ -51,6 +57,9 @@ dss-orchestrator/orchestrators/dss-workflow/dss-flow-execution-server/target
5157
dss-orchestrator/orchestrators/dss-workflow/dss-linkis-node-execution/target
5258
dss-orchestrator/orchestrators/dss-workflow/dss-workflow-common/target
5359
dss-orchestrator/orchestrators/dss-workflow/dss-workflow-server/target
60+
dss-orchestrator/dss-orchestrator-conversion-standard/target
61+
dss-orchestrator/orchestrators/dss-workflow/dss-workflow-conversion-standard/target
62+
dss-orchestrator/orchestrators/dss-workflow/dss-workflow-sdk/target
5463

5564
# dss-standars
5665
dss-standard/dss-standard-common/target
@@ -63,10 +72,26 @@ dss-standard/structure-standard/dss-project-plugin/target
6372
dss-standard/structure-standard/dss-role-plugin/target
6473
dss-standard/structure-standard/dss-structure-integration-standard
6574
dss-standard/structure-standard/spring-origin-dss-project-plugin/target
75+
6676
#dss-data-api
77+
dss-data-api/dss-data-api-server/src/main/resources
6778
dss-data-api/dss-api-sql-template/target
6879
dss-data-api/dss-data-api-server/target
6980

81+
#dss-data-governance
82+
dss-data-governance/dss-data-governance-server/src/main/resources
83+
dss-data-governance/dss-data-governance-server/target
84+
dss-data-governance/dss-data-governance-common/target
85+
dss-data-governance/dss-data-asset-server/target
86+
dss-data-governance/dss-data-classification-server/target
87+
dss-data-governance/dss-data-warehouse-dao/target
88+
dss-data-governance/dss-data-warehouse-service/target
89+
dss-data-governance/dss-data-warehouse-server/target
90+
91+
#dss-guide
92+
dss-guide/dss-guide-server/src/main/resources/
93+
dss-guide/dss-guide-server/target
94+
7095

7196
# plugins
7297
plugins/azkaban/linkis-jobtype/target
@@ -77,5 +102,3 @@ logs/*
77102

78103
*.iml
79104
/plugins/dolphinscheduler/linkis-dolphinscheduler-client/target/
80-
81-
web/yarn.lock

.vscode/settings.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"editor.formatOnPaste": true,
3+
"editor.formatOnType": true
4+
}

README-ZH.md

Lines changed: 73 additions & 111 deletions
Large diffs are not rendered by default.

README.md

Lines changed: 19 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -33,75 +33,77 @@ Please be patient, it will take some time to load gif.
3333

3434
       c. [Qualitis](https://github.com/WeBankFinTech/Qualitis) - Data Quality Management Tool
3535

36-
       d. [Azkaban](https://azkaban.github.io/) - Batch workflow job scheduler
36+
       d. [Schedulis](https://github.com/WeBankFinTech/Schedulis) - Batch workflow job scheduler
37+
38+
       f. [Exchangis](https://github.com/WeBankFinTech/Exchangis) - Data Exchange Tool
3739

3840
![DSS one-stop video](images/en_US/readme/onestop.gif)
3941

40-
### 2. AppJoint, based on Linkis,defines a unique design concept
42+
### 2. AppConn, based on Linkis,defines a unique design concept
4143

42-
       AppJoint——application joint, defining unified front-end and back-end
44+
       AppConn——application connector, defining unified front-end and back-end
4345
integration specifications, can quickly and easily integrate with external data application systems,
4446
making them as part of DSS data application development.
4547

46-
       DSS arranges multiple AppJoints in series to form a workflow that supports real-time execution and scheduled execution. Users can complete the entire process development of data applications with simple drag and drop operations.
48+
       DSS arranges multiple AppConns in series to form a workflow that supports real-time execution and scheduled execution. Users can complete the entire process development of data applications with simple drag and drop operations.
4749

48-
       Since AppJoint is integrated with Linkis, the external data application system shares the capabilities of resource management, concurrent limiting, and high performance. AppJoint also allows sharable context across system level and completely gets away from application silos.
50+
       Since AppConn is integrated with Linkis, the external data application system shares the capabilities of resource management, concurrent limiting, and high performance. AppConn also allows sharable context across system level and completely gets away from application silos.
4951

5052
### 3. Project, as the management unit
5153

5254
       With Project as the management unit, DSS organizes and manages the business applications of each data application system, and defines a set of common standards for collaborative development of projects across data application systems.
5355

5456
### 4. Integrated data application components
5557

56-
      a. Azkaban AppJoint —— Batch workflow job scheduler
58+
      a. Schedulis AppConn —— Batch workflow job scheduler
5759

5860
         Many data applications developed by users usually require periodic scheduling capability.
5961

6062
         At present, the open source scheduling system in the community is pretty unfriendly to integrate with other data application systems.
6163

62-
         DSS implements Azkaban AppJoint, which allows users to publish DSS workflows to Azkaban for regular scheduling.
64+
         DSS implements Schedulis AppConn, which allows users to publish DSS workflows to Azkaban for regular scheduling.
6365

6466
         DSS also defines standard and generic workflow parsing and publishing specifications for scheduling systems, allowing other scheduling systems to easily achieve low-cost integration with DSS.
6567

6668
![Azkaban](images/en_US/readme/Azkaban_AppJoint.gif)
6769

68-
      b. Scriptis AppJoint —— Data Development IDE Tool
70+
      b. Scriptis AppConn —— Data Development IDE Tool
6971

7072
         What is [Scriptis](https://github.com/WeBankFinTech/Scriptis)?
7173

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

74-
         Scriptis AppJoint integrates the data development capabilities of Scriptis to DSS, and allows various script types of Scriptis to serve as nodes in the DSS workflow to participate in the application development process.
76+
         Scriptis AppConn integrates the data development capabilities of Scriptis to DSS, and allows various script types of Scriptis to serve as nodes in the DSS workflow to participate in the application development process.
7577

7678
         Currently supports HiveSQL, SparkSQL, Pyspark, Scala and other script node types.
7779

7880
![Scriptis](images/en_US/readme/Scriptis_AppJoint.gif)
7981

80-
      c. Visualis AppJoint —— Data Visualization Tool
82+
      c. Visualis AppConn —— Data Visualization Tool
8183

8284
         What is [Visualis](https://github.com/WeBankFinTech/Visualis)?
8385

8486
         Visualis is a BI tool for data visualization. It provides financial-grade data visualization capabilities on the basis of data security and permissions, based on the open source project Davinci contributed by CreditEase.
8587

86-
         Visualis AppJoint integrates data visualization capabilities to DSS, and allows displays and dashboards, as nodes of DSS workflows, to be associated with upstream data market.
88+
         Visualis AppConn integrates data visualization capabilities to DSS, and allows displays and dashboards, as nodes of DSS workflows, to be associated with upstream data market.
8789

8890
![Visualis](images/en_US/readme/Visualis_AppJoint.gif)
8991

90-
      d. Qualitis AppJoint —— Data quality management Tool
92+
      d. Qualitis AppConn —— Data quality management Tool
9193

92-
         Qualitis AppJoint integrates data quality verification capabilities for DSS, allows Qualitis as a node in DSS workflow
94+
         Qualitis AppConn integrates data quality verification capabilities for DSS, allows Qualitis as a node in DSS workflow
9395

9496
![Qualitis](images/en_US/readme/Qualitis_AppJoint.gif)
9597

96-
      e. Data Sender——Sender AppJoint
98+
      e. Data Sender——Sender AppConn
9799

98-
         Sender AppJoint provides data delivery capability for DSS. Currently it supports the SendEmail node type, and the result sets of all other nodes can be sent via email.
100+
         Sender AppConn provides data delivery capability for DSS. Currently it supports the SendEmail node type, and the result sets of all other nodes can be sent via email.
99101

100102
         For example, the SendEmail node can directly send the screen shot of a display as an email.
101103

102-
      f. Signal AppJoint —— Signal Nodes
104+
      f. Signal AppConn —— Signal Nodes
103105

104-
         Signal AppJoint is used to strengthen the correlation between business and process while keeping them decoupled.
106+
         Signal AppConn is used to strengthen the correlation between business and process while keeping them decoupled.
105107

106108
         DataChecker Node:Checks whether a table or partition exists.
107109

assembly/bin/appconn-install.sh

Lines changed: 109 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,109 @@
1+
#!/bin/sh
2+
#Actively load user env
3+
source ~/.bashrc
4+
shellDir=`dirname $0`
5+
workDir=`cd ${shellDir}/..;pwd`
6+
7+
SOURCE_ROOT=${workDir}
8+
9+
#load config
10+
source ${SOURCE_ROOT}/conf/config.sh
11+
source ${SOURCE_ROOT}/conf/db.sh
12+
13+
APPCONN_NAME=''
14+
APPCONN_INSTALL_IP=127.0.0.1
15+
APPCONN_INSTALL_PORT=8088
16+
17+
#echo "Current path of init sql is ${DB_DML_PATH}"
18+
LOCAL_IP="`ifconfig | grep 'inet' | grep -v '127.0.0.1' | cut -d: -f2 | awk '{ print $2}'`"
19+
20+
function isSuccess(){
21+
if [ $? -ne 0 ]; then
22+
echo "Failed to " + $1
23+
exit 1
24+
else
25+
echo "Succeed to" + $1
26+
fi
27+
}
28+
29+
PROC_NAME=DSSProjectServerApplication
30+
ProcNumber=`ps -ef |grep -w $PROC_NAME|grep -v grep|wc -l`
31+
if [ $ProcNumber -le 0 ];then
32+
echo "${PROC_NAME} is not running,Please check whether DSS is installed"
33+
exit 1000
34+
else
35+
echo "Begine to install appconn"
36+
fi
37+
38+
##choose install mysql mode
39+
function initInstallAppConn() {
40+
echo "Please select the type of installation component?"
41+
echo " 1: schedulis"
42+
echo " 2: visualis"
43+
echo " 3:Your AppConn Name"
44+
echo " 4:exit"
45+
read -p "Please input the choice:" idx
46+
if [[ '1' = "$idx" ]];then
47+
APPCONN_NAME="schedulis"
48+
elif [[ '2' = "$idx" ]];then
49+
APPCONN_NAME="visualis"
50+
elif [[ '4' = "$idx" ]];then
51+
echo "no choice,exit!"
52+
exit 1
53+
else
54+
APPCONN_NAME=$idx
55+
fi
56+
echo "Current installation component is ${APPCONN_NAME}"
57+
58+
echo ""
59+
echo "If this machine(127.0.0.1) is installed, enter 1"
60+
echo "For others, you need to enter a complete IP address."
61+
read -p "Please enter the ip of appconn: " ip
62+
APPCONN_INSTALL_IP=$ip
63+
if [[ '1' = "$ip" ]];then
64+
APPCONN_INSTALL_IP="127.0.0.1"
65+
fi
66+
echo "You input ip is ${APPCONN_INSTALL_IP}"
67+
68+
echo ""
69+
read -p "Please enter the port of appconn:" port
70+
APPCONN_INSTALL_PORT=$port
71+
echo "You input ip is ${APPCONN_INSTALL_PORT}"
72+
}
73+
74+
function replaceCommonIp() {
75+
if [[ $APPCONN_INSTALL_IP == "127.0.0.1" ]] || [[ $APPCONN_INSTALL_IP == "0.0.0.0" ]];then
76+
echo "APPCONN_INSTALL_IP is equals $APPCONN_INSTALL_IP, we will change it to ip address"
77+
APPCONN_INSTALL_IP=$LOCAL_IP
78+
fi
79+
}
80+
81+
##choose execute mysql mode
82+
function executeSQL() {
83+
TEMP_DB_DML_PATH=${SOURCE_ROOT}/dss-appconns/${APPCONN_NAME}/db
84+
DB_DML_PATH=$TEMP_DB_DML_PATH/init_real.sql
85+
cp -rf $TEMP_DB_DML_PATH/init.sql $DB_DML_PATH
86+
sed -i "s/APPCONN_INSTALL_IP/$APPCONN_INSTALL_IP/g" $DB_DML_PATH
87+
sed -i "s/APPCONN_INSTALL_PORT/$APPCONN_INSTALL_PORT/g" $DB_DML_PATH
88+
sed -i "s#DSS_INSTALL_HOME_VAL#$DSS_INSTALL_HOME#g" $DB_DML_PATH
89+
mysql -h$MYSQL_HOST -P$MYSQL_PORT -u$MYSQL_USER -p$MYSQL_PASSWORD -D$MYSQL_DB --default-character-set=utf8 -e "source $DB_DML_PATH"
90+
isSuccess "source $DB_DML_PATH"
91+
echo "the table update finished"
92+
}
93+
94+
echo ""
95+
echo "step1:Initialize installation settings"
96+
initInstallAppConn
97+
echo ""
98+
99+
echo "step2:replaceIp"
100+
replaceCommonIp
101+
echo ""
102+
103+
echo "step3:update database"
104+
executeSQL
105+
echo ""
106+
107+
echo "step4:refresh appconn load"
108+
curl -H "Token-Code:BML-AUTH" -H "Token-User:hadoop" -X GET http://${GATEWAY_INSTALL_IP}:${GATEWAY_PORT}/api/rest_j/v1/dss/framework/project/appconn/${APPCONN_NAME}/load
109+
echo ""

assembly/bin/checkEnv.sh

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
#!/bin/sh
2+
#
3+
# Copyright 2019 WeBank
4+
#
5+
# Licensed under the Apache License, Version 2.0 (the "License");
6+
# you may not use this file except in compliance with the License.
7+
# You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing, software
12+
# distributed under the License is distributed on an "AS IS" BASIS,
13+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
# See the License for the specific language governing permissions and
15+
# limitations under the License.
16+
#
17+
say() {
18+
printf 'check command fail \n %s\n' "$1"
19+
}
20+
21+
err() {
22+
say "$1" >&2
23+
exit 1
24+
}
25+
26+
check_cmd() {
27+
command -v "$1" > /dev/null 2>&1
28+
}
29+
30+
need_cmd() {
31+
if ! check_cmd "$1"; then
32+
err "need '$1' (your linux command not found)"
33+
fi
34+
}
35+
echo "<-----start to check used cmd---->"
36+
need_cmd yum
37+
need_cmd java
38+
need_cmd mysql
39+
need_cmd telnet
40+
need_cmd tar
41+
need_cmd sed
42+
need_cmd dos2unix
43+
echo "<-----end to check used cmd---->"

0 commit comments

Comments
 (0)