Commit Graph

5597 Commits

Author SHA1 Message Date
kezhenxu94
05bae0b226
Refactor alert plugins and simplify its usage (#6723) 2021-11-09 18:59:34 +08:00
kezhenxu94
02350ea37b
Fix datasource not work in tests and standalone server, and run all tests by default (#6743) 2021-11-09 16:57:26 +08:00
JinYong Li
be28d2c63b
[Bug][SnowFlakeUtils] fix snowFlake bug (#6744)
* fix snowFlake bug

* fix hash machine
2021-11-09 10:59:16 +08:00
GaoTianDuo
484153ef76
[Feature][Install-sql] supplement Postgre procedure sql file #6716 (#6741)
* [Feature][Install-sql] supplement Postgre procedure sql file #6716
1、add dolphinscheduler_ddl_post.sql

* [Feature][Install-sql] supplement Postgre procedure sql file #6716
1、modify  dolphinscheduler_ddl.sql

* [Feature][Install-sql] supplement Postgre procedure sql file #6716
1、modify Code annotation

* [Feature][Install-sql] supplement Postgre procedure sql file #6716
1、modify sql:ALTER TABLE "t_ds_process_definition" ADD CONSTRAINT "t_ds_process_definition_pkey" PRIMARY KEY ("id","code");

* [Feature][Install-sql] supplement Postgre procedure sql file #6716
1、delete code annotation
2021-11-09 10:00:08 +08:00
kezhenxu94
63602bf77c
Clean up the utility codes (#6732) 2021-11-08 23:22:07 +08:00
Wenjun Ruan
0f94577d26
Use nanoTime replace currentTimemill to avoid clock backwards (#6740) 2021-11-08 22:26:17 +08:00
wind
b6824b4741
[DS-6737][MasterServer] fix event handle twice (#6738)
Co-authored-by: caishunfeng <534328519@qq.com>
2021-11-08 16:54:58 +08:00
JinYong Li
bdea8d6ae4
[Upgrade][Install] fix upgrade 2.0 bug (#6734)
* add convert dependent/conditions

* fix upgrade 2.0 bug

* fix upgrade 2.0 bug
2021-11-08 11:57:38 +08:00
OS
24bd8a16e1
[Bug][Master] The task of dependent should use taskCode (#6730)
* fix #6682 The task of dependent should use taskCode

* fix #6682 The task of dependent should use taskCode
2021-11-07 23:20:35 +08:00
Wenjun Ruan
0afb780718
[Improvement-5807][Dao] Use h2 in UT (#6500)
* Use H2 in UT

* change scope

* Change profile name to h2

* Add datasource-h2.properties, datasource-postgresql.properties

* Fix UT

* Resolve conflict

* Remove startDatabase
2021-11-07 23:19:19 +08:00
wangxj3
d27c6ea8f0
fix bug (#6728)
Co-authored-by: wangxj <wangxj31>
2021-11-07 18:01:40 +08:00
kezhenxu94
5400abc74f
Refactor registry plugin and simplify its usage (#6712) 2021-11-07 15:18:10 +08:00
Yao WANG
73f20b7553
[Fix-#6641]fix npe when the LowerWeightHostManager can not get the workNodeInfo (#6656)
* change the return type of getHostWeight

Co-authored-by: ywang46 <ywang46@paypal.com>
2021-11-07 11:40:54 +08:00
wangyizhi
b226253eec
Replace taskName with taskCode (#6719) 2021-11-07 10:35:29 +08:00
小张
69f2d3b21b
[FIX:201106]fix issue#6657 (#6717)
Co-authored-by: 张柏强 <zhangbaiqiang@lvshou.com>
2021-11-06 19:27:00 +08:00
Yanbin Lin
a728c85a92
[Fix-6649][UI] Get project according to code (#6649) (#6650)
Co-authored-by: linyanbin <linyanbin@lizhi.fm>
2021-11-06 10:12:01 +08:00
JinYong Li
1144360257
add convert dependent/conditions (#6710) 2021-11-05 23:02:46 +08:00
myangle1120
b8d0f06ad8
[Feature-#6268][UI]Serial execte proces (#6267)
* serial

* del ip
2021-11-05 21:36:44 +08:00
ReonYu
d4d59b0627
[FIX 6701] [API] Fix paging error when worker group number more than 10 (#6704) 2021-11-05 20:23:20 +08:00
kezhenxu94
5e923971bf
Migrate http to https in maven address (#6698) 2021-11-05 20:17:27 +08:00
wind
72daba58cd
[DS-6694][Master] Reduce the refresh resource interval of LowerWeight (#6695)
* [DS-6694][Master] Reduce the refresh resource interval of LowerWeight

* add server node update event handle

Co-authored-by: caishunfeng <534328519@qq.com>
2021-11-05 19:10:36 +08:00
Jiajie Zhong
5855c936a4
[community] Add stale bot close issue/pr days (#6676)
* Add label `Waiting for reply` to bug/feature label
avoid stale bot close

* Remove bot label-on-issue

We do not need this anymore, cause when issue is created
it would auto add label `waiting for reply` for now

* Change issue/pr stale and close days.

After this PR merged, issue would be close in 37 days
and PR will be close in 127 days.
2021-11-05 18:35:41 +08:00
Jiajie Zhong
a269e3df76
Revert "Change the number of approving_review_count to 2 (#6456)" (#6706)
This reverts commit 4d69685b
2021-11-05 18:31:54 +08:00
wangxj3
dc8b87e473
[Feature-#6268][server-master] Serial execte process (#6185)
* add serial processInstance

* fix bug

* add test

* fix code style

* fix style code

* add sql

* fix sql error

* add api

* add test

* fix code style

* modify api

* delete column , fix mapper

* fix unimport

* fix test

* fix bug of missing param for Python

* fix code style

* fix test

* fix test

Co-authored-by: wangxj <wangxj31>
2021-11-05 17:25:45 +08:00
Jiajie Zhong
32d4411469
[python] Add flake8 and black for code style and integrated to GA (#6679)
* [python] Add code style lint for GA

* Change github action name

* Auto change by black

* Fix flake8

* Fix broken link for pyds README.md

* Auto fix by black

* Separate GitHub workflows

* Add Black badge and CI locally in README.md
2021-11-05 15:14:28 +08:00
xuhhui
2b90d90873
improve install_config.conf description (#6681)
* improve install_config.conf description

* Update install_config.conf

update accroding review ideas
2021-11-05 15:13:23 +08:00
wind
1ebab356f3
[DS-6660][Improvement] Change the registry default timeout (#6663)
* [DS-6660][Improvement] Change the registry default timeout

* [DS-6660][Improvement] Change the registry default timeout

* fix Double to Integer

Co-authored-by: caishunfeng <534328519@qq.com>
2021-11-04 22:31:13 +08:00
Jiajie Zhong
1165afbdd1
[python] Add param workgroup to process definition (#6667) 2021-11-04 22:25:45 +08:00
LiuBodong
71047db39e
[FIX][Standalone Server] check if maven settings.xml not exists (#6691) 2021-11-04 20:17:53 +08:00
JinYong Li
66fbcae9dd
[Upgrade][Install] add upgrade 2.0 code (#6672)
* Optimizing SQL scripts

* add upgrade 2.0 ddl

* add upgrade 2.0.0 code

* fix valid license header

* fix valid license header

* fix valid license header

* fix ut

* fix code style

* fix code style
2021-11-04 17:20:23 +08:00
Jiajie Zhong
9fb6d6ba9f
Fix f-strings variable error (#6677) 2021-11-04 16:15:16 +08:00
Wenjun Ruan
cbb623bfa0
Remove repository directory (#6685) 2021-11-04 13:22:01 +08:00
Jiajie Zhong
2e7036529c
Add CI test for python API (#6636)
* Add CI for python API

* Fix task assign without process definition

* Fix ci

* Add header

* Add build badge for pydolphinscheduler

* Add content to README.md

* Remove unnecessary blank line
2021-11-04 11:19:11 +08:00
Jiajie Zhong
9060f8b462
Fix process definitions exists check error (#6668)
* Fix process definitions exists check error

* Add error log while verify status neither success or exists
2021-11-04 10:17:34 +08:00
Maxwell
0b93fd577d
fix REGISTER_PATH_PATTERN (#6669)
Co-authored-by: ouyangyewei <yewei.oyyw@alibaba-inc.com>
2021-11-04 10:04:11 +08:00
LiuBodong
61a8726ccc
[Fix][Standalone Server] fix plugin load failed when local maven repository path is not default value (#6625) (#6626)
* [Fix][Standalone Server] fix plugin load failed when local maven repository path is not default value
2021-11-03 18:46:25 +08:00
zekai-li
f5d8356dc3
[Fix][UI]Fix UI adaptation problem and semantic error (#6651)
* [Fix][UI]Fix UI adaptation Problem

* [Fix][UI]Fix semantic error
2021-11-03 18:43:56 +08:00
Jiajie Zhong
ef9de9de3b
Add example about how to bulk create workflow (#6659) 2021-11-03 11:23:09 +08:00
Jiajie Zhong
26a84b30d8
Change issue bot mailing list from chinese to english (#6420) 2021-11-02 21:00:23 +08:00
chouc
900cf3a7e3
[Fix][DAS] Specify the catalog and schema when check table or column exists (#6646)
* Specify the catalog and schema when check table and column exsits
2021-11-02 13:33:25 +08:00
JinYong Li
f20444792c
[Feature][Install] add upgrade 2.0 ddl (#6648)
* Optimizing SQL scripts

* add upgrade 2.0 ddl
2021-11-01 17:21:28 +08:00
wind
daca3baf66
[DS-6653][Server] fix netty create too many channels (#6654)
Co-authored-by: caishunfeng <534328519@qq.com>
2021-11-01 12:18:39 +08:00
BenjaminWenqiYu
3a8b80971b
1. ResourceMapper rename the original 'existResource' function to 'existResourceByUser' (#6409)
2. ResourceMapper add existResource function without the userId condition
3. change the ResourceServiceImpl's private function 'checkResourceExists' without userId condition
2021-10-31 21:26:48 +08:00
jon-qj
86c85114b2
make alert instance page display more friendly (#6635)
* make alert instance page display more friendly

* Update EmailAlertChannelTest.java
2021-10-31 21:16:10 +08:00
wind
ae0b18f3a3
[DS-6638][MasterServer] fix task state no change when failover worker (#6639)
Co-authored-by: caishunfeng <534328519@qq.com>
2021-10-31 21:12:55 +08:00
wind
8850baff07
[DS-6640][WorkerServer] support process update host command type (#6642)
Co-authored-by: caishunfeng <534328519@qq.com>
2021-10-31 21:10:51 +08:00
Jiajie Zhong
dd6ed36f65
Add Python API implementation of workflows-as-code (#6269)
* Init DS python SDK pydolphinscheduler: python code definition

* Doc first

* Add quick start and developer doc

* Java documentation change

* Add LICENSE-py4j.txt

* Add py4j to release-docs/LICENSE

* Move dependency version to parent pom

* Remove outdated code

* Add tenant parameter to tutorial
2021-10-31 20:35:46 +08:00
JinYong Li
00eea95df5
Optimizing SQL scripts (#6644) 2021-10-31 11:59:11 +08:00
aCodingAddict
f60e3c219a
[DS-6606] [common] JSONUtils#getNodeString String type (#6618) 2021-10-30 16:02:02 +08:00
wind
06e8e24708
[DS-6616][WorkerServer] fix worker stop fail and fakes death (#6621)
* [DS-6616][WorkerServer] fix worker stop fail and fakes death

* remove unuse test

* just add try catch to remove zk worker path

Co-authored-by: caishunfeng <534328519@qq.com>
2021-10-29 17:44:06 +08:00