Commit Graph

4219 Commits

Author SHA1 Message Date
Dean Wong
17c06ce966
[Feature-4423][UI] When the process definition is running, the pop-up box can manually set the global parameters. (#4433)
* [DS-130][feat] pass global param values when starting new process instance
    add optional param for start-process-instance api
    reuse command_param in command table for persistence
    overload curingGlobalParams function in ParameterUtils
    not adapt the UI code yet

* change import order

* support datetime expression

* print start params

* (fix) avoid npe when cmdParam is null

Change-Id: I3b4c4b5fa1df316ff221e27146e45d7d4d3a404e

* [Feature-4423][UI] When the process definition is running, the pop-up box can manually set the global parameters
(frontend) adapt the UI code
(backend-fix) add empty string check for param

Change-Id: I710db55f5059f8bd324c79f4494f2798d58e7b19

* add Startup parameters label

Change-Id: I5ac82031ea1b64abec330ee8cf2991477a28fcaa

* reuse i18n label

Change-Id: I5f322cb1dd8e2cade0c679bd025fc984e31bf3ae
2021-01-20 10:28:00 +08:00
青年
0963640ea7
[Improvement-#4481][API] ProcessDefinitionController save API optimization
Co-authored-by: lei.zou <lei.zou@rootcloud.com>
2021-01-19 23:03:13 +08:00
qmengss
690e4eae93
[Improvement-4480][API] change method checkAdmin to isNotAdmin (#4483)
* change method 'checkAdmin' to 'isNotAdmin', for better understand.

Co-authored-by: 蒙强 <mengqiang@zhongan.com>
2021-01-18 17:21:50 +08:00
zhuangchong
91dfe0913f
[Improvement-4435][datasource] the datasource tests the connection and returns details when the connection is wrong (#4436)
* add datasource test connection return result message.

* add code checkstyle.

* spark/hive datasoure test connection add loadKerberosConf.

* solve sonarcloud coverage.
2021-01-17 23:02:02 +08:00
zt-1997
fff06bf8b6
[FIX-4247][Api]Fixed the problem that the global parameters are not updated after the workflow instance click rerun
Co-authored-by: zt-1997 <“18841012545@163.com”>
2021-01-17 13:04:00 +08:00
linyanbin666
00829b99fd
[Feature-4451][UI]: add an option to the UI page for saving the workflow definition: whether to go online? online by default (#4474)
Co-authored-by: linyanbin <linyanbin@lizhi.fm>
2021-01-16 22:43:28 +08:00
xiagw
8c47dcb694
fix: use shellformat(shfmt) and shellcheck fix mvnw (#3692)
use shellformat(shfmt) and shellcheck fix mvnw
2021-01-15 21:30:47 +08:00
Segun Ogundipe
a0b2febd62
[Improvement][alert] Refactor alert module to fix code smell (#4434)
* chore: Refactore dolphinscheduler-alert to fix code smell

* chore: Refactor code to fix codestyle error
2021-01-15 21:11:54 +08:00
Zhenxu Ke
a6becd8c26
chore: set up license-eye to check license headers (#4453) 2021-01-15 11:18:37 +08:00
Hxssssss
54e110d17b
fix the exception of update null point of workflow instance due to no… (#4459)
* fix the exception of update null point of workflow instance due to not add global parameter when create workflow definition

* optimization of the leading package

Co-authored-by: yaoshui <huangqitao@accesscorporate.com.cn>
2021-01-15 10:32:16 +08:00
Kirs
b6ce3cfdf0
[FIX][UT]testVerifyTenantCode assert error (#4460)
* [FIX][UT]testVerifyTenantCode assert error

* [FIX][UT]testVerifyTenantCode assert error

* code smell
2021-01-15 07:59:48 +08:00
guohaozhang
fb5501f590
[Fix-4455][common] fix parse shell output (#4456) 2021-01-14 18:41:34 +08:00
qiubo
d0ac87a638
[Feature-4428][dao、UI] It is recommended to add an owner in the data source center and the Resource Center to make it easier to manage (#4442)
* add owner to datasource list and resource list

* add owner to datasource list and resource list

Co-authored-by: bobqiu <xiaoqiu369@gmail.com>
2021-01-14 17:10:14 +08:00
zt-1997
2a98aee1bd
[FEATURE-4451][API]After the workflow editing page is submitted, the user chooses whether to go online or not. 0 means not to go online, 1 means online. (#4437)
* vvvv

* vvvvv

* vvvvv

* testReleaseProcessDefinition

Co-authored-by: zt-1997 <“18841012545@163.com”>
2021-01-14 17:01:43 +08:00
Shiwen Cheng
6429e8c1db
[Improvement][UI] Correct spelling mistakes (#4440) 2021-01-13 20:09:42 +08:00
K.O
3dc4bdc4dd
[DS-4396][feat] Add project information to email alert message (#4413)
* [DS-4396][feat] Add project information to email alert message
- build find project and user sql to ProjectMapper
- add project information to alert db.

* [DS-4396][style] change style
2021-01-12 14:18:21 +08:00
Dean Wong
83d53505de
[Feature-#130] pass global param values when starting new process instance (#4372)
* [DS-130][feat] pass global param values when starting new process instance
    add optional param for start-process-instance api
    reuse command_param in command table for persistence
    overload curingGlobalParams function in ParameterUtils
    not adapt the UI code yet

* change import order

* support datetime expression

* print start params

* (fix) avoid npe when cmdParam is null

Change-Id: I3b4c4b5fa1df316ff221e27146e45d7d4d3a404e
2021-01-12 09:13:27 +08:00
Shiwen Cheng
58a9e12dcd
[Improvement][UI] Rename disabled to enabled in menu (#4414) 2021-01-11 16:33:25 +08:00
Shiwen Cheng
df0942b90e
[Fix-4293][UI] Fix data loss in switched tab (#4415)
* [Fix-4293][UI] Fix data loss in switched tab

* The disclaimer should be same with the website
2021-01-11 16:32:44 +08:00
dailidong
21d17783c1
Merge pull request #4267 from chengshiwen/dev
[Feature-3575][*] Force Task Success
2021-01-10 11:26:08 +08:00
ptyp
cf41fb7774
readme file fixed (#4374)
* readme fix

* readme fix

* readme fix

* readme fix

* readme fix

Co-authored-by: TinaPang <pangtianyang@analysys.com.cn>
2021-01-07 22:41:06 +08:00
chengshiwen
e3547a37cb refactor code styles 2021-01-07 15:32:01 +08:00
chengshiwen
5f39792c66 remove the operation resume_from_forced_success 2021-01-07 14:53:34 +08:00
yy0812
c67083f028
[Improvement-4257][api] Increase "queryProcessDefinitionByName" API (#4390)
* 1. Increase "queryProcessDefinitionByName" API.
2. Will queryProcessDefinitionById api "PROCESS_INSTANCE_EXIST" state is modified to "PROCESS_DEFINE_NOT_EXIST".

* Correct spelling mistakes in words

* Logging should not be vulnerable to injection attacks

Co-authored-by: yinyong <yinyong@netposa.com>
2021-01-06 18:27:30 +08:00
dailidong
325bc2e9e5
Merge branch 'dev' into dev 2021-01-05 16:13:03 +08:00
break60
e2e6a77ffe
[Improvement][ui] Introduce remixicon, delete ans-ui license and font-awesome (#4313)
* [Improvement-3878]Tenant list delete user name

* [Improvement-3878][ui]Fix the list style

* [Improvement][ui] List vacancy optimization and icon icon repair

* Add font-awesome license and delete ans-ui license

* Introduce remixicon
2021-01-05 10:14:05 +08:00
cooper
b8dc435727
[Fix-3233][api-server] Fix the bug when compile the code in Java9 env (#4312)
* [Fix-3233][api-server] Fix the bug when compile the code in Java9 env
 delete release-docs/licenses/LICENSE-jsp-api-2.1-6.1.14.txt
 delete ant-1.6.5.jar core-3.1.1.jar jsp-api-2.1-6.1.14.jar
 delete LICENSE-ant-1.6.5.txt,LICENSE-core-3.1.1.txt
 delete maven repository address of ant-1.6.5.jar ,core-3.1.1.jar ,jsp-api-2-1-6.1.14.jar

Co-authored-by: 李长福 <changfu.li@dmall.com>
2021-01-05 10:02:16 +08:00
guohaozhang
9c226435e3
[Feature-4318][API] Rename tenant code (#4320)
Rename tenant code
Rename tenant code (English version)
Rname tenant name in ui label
Rname TENANT_CODE_EXIST to OS_TENANT_CODE_EXIST
Rname enum  TENANT_CODE_* to OS_TENANT_CODE_*
2021-01-05 09:32:19 +08:00
xiaojingXU
0b71c77b2d
[FIX-4326][UI] Add description field to data source list (#4362) 2021-01-04 10:04:58 +08:00
zhuangchong
66141d58f6
fix the page does not refresh after clicking the delete function.. (#4360) 2021-01-04 09:30:04 +08:00
zt-1997
46443a6f3b
modify_Status (#4352)
Co-authored-by: zt-1997 <“18841012545@163.com”>
2020-12-31 16:28:33 +08:00
xingchun-chen
45b097f378
Merge pull request #4339 from chengshiwen/fix-dayjs
[FIx-4338][UI] Fix invalid date problem in IE
2020-12-30 12:00:56 +08:00
xingchun-chen
2e44f4c553
Merge pull request #4336 from chengshiwen/ie-fix
[Fix-4335][UI] Fix IE 9-11 not supported
2020-12-30 11:33:43 +08:00
kamisamak
ccd06fec16
[Fix][common] only two yarns can be selected(#4314) (#4344) 2020-12-30 11:03:36 +08:00
hailin0
b9e8dbed2f
[Improvement] Use environment variable $DOLPHINSCHEDULE_OPTS as daemon startup arguments (#4341)
Co-authored-by: hailin0 <hailin0@yeah.net>
2020-12-29 23:29:43 +08:00
chengshiwen
394e55e01a [FIx-4338][UI] Fix invalid date problem in IE 2020-12-29 18:45:59 +08:00
chengshiwen
cedc906d13 [Fix-4335][UI] Fix IE 9-11 not supported 2020-12-29 18:28:27 +08:00
Shiwen Cheng
806e8d9b60
[Improvement][UI] Improve script box and dialog css style (#4331) 2020-12-29 15:13:59 +08:00
Shiwen Cheng
6dd803e8ab
[Fix][UI] Fix ui style problem and refactor form style (#4329)
* rename from-model to form-model

* [UI] remove duplicated css style code

* [UI] refactor css style of form model

* fix form model overflow problem in ie

* Align each item one by one in locale

* fix el-dialog width is too wide

* fix locale
2020-12-29 10:55:16 +08:00
zhuangchong
d446e33ec8
fix user management authorization operation exceptions do not prompt exception information. (#4292) 2020-12-26 18:17:59 +08:00
zhuangchong
48b5fc6ae4
fix version close function does not take effect. (#4307) 2020-12-26 14:03:41 +08:00
李丛阳
ede7895083
Dev imp server process utils (#4263)
* Adds the comment on the WINDOWSATTERN

Co-authored-by: Kirs <acm_master@163.com>
Co-authored-by: 0002939 <licongyang@mininglamp.com>
2020-12-24 17:26:51 +08:00
zhuangchong
ec84695323
fix the token management list does not display the user name. (#4302) 2020-12-24 13:01:29 +08:00
zhuangchong
3f9dcd5d44
fix database is the mysql DB keyword. (#4295) 2020-12-24 09:20:58 +08:00
Shiwen Cheng
f0ada2aa2d
[Fix-4289][*] Flink name with disappeared and unescaped problem (#4290)
* fix flink name not display in process definition editor

* fix flink name not escape problem

* simplify escape method
2020-12-23 21:19:08 +08:00
geosmart
50237afe08
[FEATURE-736] integrate ldap authentication (#3743)
* [FEATURE-736] integrate ldap authentication

* add ldap authentication type
* refactor authentication with ldap and password
* add  createUser for ldap in user service
* remove duplicate password authenticator
2020-12-23 17:38:05 +08:00
chengshiwen
aa97b8a4b5 adjust locale for new pr 2020-12-23 13:04:50 +08:00
break60
e24e690c0b
[Improvement][ui]List vacancy optimization and icon icon repair (#4286)
* [Improvement][ui] List vacancy optimization and icon icon repair
2020-12-23 09:39:33 +08:00
zh0122
140679e337
[Improvement] Add Flink job name (#4285)
* [Improvement] Add Flink job name

* fix typo
2020-12-22 16:06:54 +08:00
hailin0
3a28a71b00
[Improvement] Refactor code to support distributed tracing (#4270)
* Refactor code to support tracing

* Extension network protocol, support context and version
* Extension master asynchronous queue support context
* Extract scan task method from MasterSchedulerService for tracing

* fix

* fix

* add test case

* fix

* fix

Co-authored-by: hailin0 <hailin0@yeah.net>
2020-12-22 15:32:41 +08:00