-
-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
110 changed files
with
923 additions
and
960 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
#!/bin/sh0 | ||
|
||
HOME=$(pwd) | ||
VERSION=2024.03.8-SNAPSHOT | ||
|
||
common_install_handler() { | ||
TYPE=$1 | ||
if [ ! -d "${HOME}/${TYPE}s" ]; | ||
then | ||
mkdir "${HOME}/${TYPE}s" | ||
echo "Create ${TYPE}s directory" | ||
fi | ||
|
||
echo "Install datacap ${TYPE}, usage version is ${VERSION}" | ||
while read line; do | ||
full_line=$(echo "$line" | cut -c 1) | ||
if [ "$full_line" != "-" ] && [ "$full_line" != "#" ] && [ ! -z $full_line ] | ||
then | ||
echo "install connector : $line" | ||
"${HOME}"/mvnw dependency:get -DgroupId=io.edurt.datacap -DartifactId="${line}" -Dversion=${VERSION} -Ddest="${HOME}/${TYPE}s" | ||
fi | ||
done <"${HOME}/configure/${TYPE}".conf | ||
} | ||
|
||
job_install_plugin() { | ||
printf "========== Job install plugin start ========== \n" | ||
common_install_handler "plugin" | ||
printf "========== Job install plugin end ========== \n" | ||
} | ||
|
||
job_install_notify() { | ||
printf "========== Job install notify start ========== \n" | ||
common_install_handler "notify" | ||
printf "========== Job install notify end ========== \n" | ||
} | ||
|
||
job_install_scheduler() { | ||
printf "========== Job install scheduler start ========== \n" | ||
common_install_handler "scheduler" | ||
printf "========== Job install scheduler end ========== \n" | ||
} | ||
|
||
job_install_parser() { | ||
printf "========== Job install parser start ========== \n" | ||
common_install_handler "parser" | ||
printf "========== Job install parser end ========== \n" | ||
} | ||
|
||
job_install_fs() { | ||
printf "========== Job install fs start ========== \n" | ||
common_install_handler "fs" | ||
printf "========== Job install fs end ========== \n" | ||
} | ||
|
||
job_install_convert() { | ||
printf "========== Job install convert start ========== \n" | ||
common_install_handler "convert" | ||
printf "========== Job install convert end ========== \n" | ||
} | ||
|
||
job_install_executor() { | ||
printf "========== Job install executor start ========== \n" | ||
common_install_handler "executor" | ||
printf "========== Job install executor end ========== \n" | ||
} | ||
|
||
job_install_plugin | ||
job_install_notify | ||
job_install_scheduler | ||
job_install_parser | ||
job_install_fs | ||
job_install_convert | ||
job_install_executor |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
-- Convert list -- | ||
datacap-convert-txt | ||
datacap-convert-json | ||
datacap-convert-none | ||
datacap-convert-csv | ||
datacap-convert-xml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
-- Executor list -- | ||
datacap-executor-local | ||
datacap-executor-seatunnel |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
-- Fs list -- | ||
datacap-fs-local | ||
datacap-fs-qiniu | ||
datacap-fs-alioss |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
-- Notify list -- | ||
datacap-notify-dingtalk |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
-- Parser list -- | ||
datacap-parser-trino | ||
datacap-parser-mysql |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
-- Plugin list -- | ||
datacap-native-alioss | ||
datacap-native-zookeeper | ||
datacap-native-redis | ||
datacap-native-kafka | ||
datacap-native-h2 | ||
datacap-native-hdfs | ||
datacap-http-cratedb | ||
datacap-http-clickhouse | ||
datacap-http-ceresdb | ||
datacap-http-greptime | ||
datacap-http-questdb | ||
datacap-jdbc-clickhouse | ||
datacap-jdbc-cratedb | ||
datacap-jdbc-db2 | ||
datacap-jdbc-dm | ||
datacap-jdbc-dremio | ||
datacap-jdbc-druid | ||
datacap-jdbc-duckdb | ||
datacap-jdbc-elasticsearch | ||
datacap-jdbc-h2 | ||
datacap-jdbc-hive | ||
datacap-jdbc-ignite | ||
datacap-jdbc-impala | ||
datacap-jdbc-iotdb | ||
datacap-jdbc-kylin | ||
datacap-jdbc-kyuubi | ||
datacap-jdbc-monetdb | ||
datacap-jdbc-mongo | ||
datacap-jdbc-ydb | ||
datacap-jdbc-mysql | ||
datacap-jdbc-neo4j | ||
datacap-jdbc-oceanbase | ||
datacap-jdbc-oracle | ||
datacap-jdbc-phoenix | ||
datacap-jdbc-postgresql | ||
datacap-jdbc-presto | ||
datacap-jdbc-redis | ||
datacap-jdbc-snowflake | ||
datacap-jdbc-sqlserver | ||
datacap-jdbc-tdengine | ||
datacap-jdbc-trino | ||
datacap-jdbc-doris | ||
datacap-jdbc-starrocks | ||
datacap-jdbc-hologres | ||
datacap-plugin-pinot | ||
datacap-plugin-mongo-community | ||
datacap-plugin-cassandra | ||
datacap-plugin-matrixone | ||
datacap-plugin-scylladb | ||
datacap-plugin-paradedb | ||
datacap-plugin-timescale | ||
datacap-plugin-solr | ||
datacap-plugin-influxdb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
-- Scheduler list -- | ||
datacap-scheduler-local |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.