* move version to parent pom
* move version properties to parent pom for easy management
* remove freemarker dependency
* delete CombinedApplicationServer
* #1871 correct spelling
* #1873 some updates for TaskQueueZkImpl
* #1875 remove unused properties in pom
* #1878
1. remove tomcat dependency
2. remove combined_logback.xml in api module
3. format pom.xml for not aligning
* #1885 fix api server startup failure
1. add jsp-2.1 dependency
2. remove jasper-runtime dependency
* add stringutils ut (#1921)
* add stringutils ut
* Newfeature for #1675. (#1908)
Continue to finish the rest works, add the cache feature for dependence,mr,python,sub_process,procedure and shell.
* Add modify user name for process definition (#1919)
* class overrides equals() and should therefore also override hashCode()
* #1862 add modify user in process difinition list
* #1862 add pg-1.2.2 ddl.sql
* modify ScriptRunnerTest
* add updateProessDifinition UT
* modify updateProcessDifinition UT
* modify updateProcessDifinition UT
* modify mysql 1.2.2 ddl.sql&dml.sql
* add scope test to mysql in pom
* modify pg-1.2.2 ddl.sql
* refactor module
* updates
Co-authored-by: khadgarmage <khadgar.mage@outlook.com>
Co-authored-by: zhukai <boness@qq.com>
Co-authored-by: Yelli <amarantine@my.com>
* class overrides equals() and should therefore also override hashCode()
* #1862 add modify user in process difinition list
* #1862 add pg-1.2.2 ddl.sql
* modify ScriptRunnerTest
* add updateProessDifinition UT
* modify updateProcessDifinition UT
* modify updateProcessDifinition UT
* modify mysql 1.2.2 ddl.sql&dml.sql
* add scope test to mysql in pom
* modify pg-1.2.2 ddl.sql
* feature:data synchronization function
* feature:data synchronization function
* feature:data synchronization function
* fix:add license
* fix:resource close bug
* fix:remove class author
* fix:Improve test coverage
* fix:add UT
* fix:add UT
* fix:data sync node renamed to datax
* fix:add UT
* fix: UT bug
* fix:Optimize variable name
* fix:pom
* fix:Variable name error
* fix:optimize the code
* fix udfs assignment and task instance page jump #1789
* jest add coverage display
* Fix data echo, style, popup cannot be closed and license
* Fix data echo, style, popup cannot be closed and license
* fix
* Requests the previous page when there is no data on the list page
* Fix DAG task nodes keep requesting API and tooltip background color modification
* Modify list tooltip theme color
* Fix UDF function list delete data without refresh and page data display widened
* fix udfs assignment and task instance page jump #1789
* jest add coverage display
* Fix data echo, style, popup cannot be closed and license
* Fix data echo, style, popup cannot be closed and license
* fix
* Requests the previous page when there is no data on the list page
* Fix DAG task nodes keep requesting API and tooltip background color modification
* Modify list tooltip theme color
* Supplementary data by schedule
* fix sonar check bug
* fix code duplicated blocks
* ut
* loop by day
* MasterExecThread test
* test add licene
Co-authored-by: dailidong <dailidong66@gmail.com>
* fix udfs assignment and task instance page jump #1789
* jest add coverage display
* Fix data echo, style, popup cannot be closed and license
* Fix data echo, style, popup cannot be closed and license
* fix
* Requests the previous page when there is no data on the list page
* Fix DAG task nodes keep requesting API and tooltip background color modification
* fix udfs assignment and task instance page jump #1789
* jest add coverage display
* Fix data echo, style, popup cannot be closed and license
* Fix data echo, style, popup cannot be closed and license
* fix
* Requests the previous page when there is no data on the list page
* fix udfs assignment and task instance page jump #1789
* jest add coverage display
* Fix data echo, style, popup cannot be closed and license
* Fix data echo, style, popup cannot be closed and license
* fix
* Fix api url
* Fixed DAG zoom in and zoom out nodes separated from arrows
* Fix front-end code specifications
* Fix front-end code specifications
* Fix front-end code specifications
* jest unit test demo
* jest unit test demo
* Fix delete operation, no query interface request is made on the list page
* Fix delete operation, no query interface request is made on the list page
* Fixed some input box length restrictions and udfs not getting values
* Fix api url
* Fixed DAG zoom in and zoom out nodes separated from arrows
* Fix front-end code specifications
* Fix front-end code specifications
* Fix front-end code specifications
* jest unit test demo
* jest unit test demo
* Fix delete operation, no query interface request is made on the list page
* Fix delete operation, no query interface request is made on the list page
* Fix api url
* Fixed DAG zoom in and zoom out nodes separated from arrows
* Fix front-end code specifications
* Fix front-end code specifications
* Fix front-end code specifications
* jest unit test demo
* jest unit test demo
* Increase script text box to zoom in and fix log loading
* Timing operation adds default value for start and end dates
* Click the run button to add the workflow name echo
* Password verification and v-for add key
* DAG automatic layout
* combo.js replacement
* combo.js replacement
* webpack upgrade to 4
* packjson has a file name that has not changed
* Solve jertty packing garbled
* Modify dashboard color
* Remove iconfont, awesome, replace with ans-ui icon
* Menu arrow style fix
* Script input box style fix
* Password verification and v-for add key
* DAG automatic layout
* combo.js replacement
* combo.js replacement
* webpack upgrade to 4
* packjson has a file name that has not changed
* Solve jertty packing garbled
* Modify dashboard color
* Remove iconfont, awesome, replace with ans-ui icon
* Menu arrow style fix
* Password verification and v-for add key
* DAG automatic layout
* combo.js replacement
* combo.js replacement
* webpack upgrade to 4
* packjson has a file name that has not changed
* Solve jertty packing garbled
* Modify dashboard color
* Remove iconfont, awesome, replace with ans-ui icon
* Password verification and v-for add key
* DAG automatic layout
* combo.js replacement
* combo.js replacement
* webpack upgrade to 4
* packjson has a file name that has not changed
* Solve jertty packing garbled
* Modify dashboard color
* Password verification and v-for add key
* DAG automatic layout
* combo.js replacement
* combo.js replacement
* webpack upgrade to 4
* packjson has a file name that has not changed
* Solve jertty packing garbled
* Password verification and v-for add key
* DAG automatic layout
* combo.js replacement
* combo.js replacement
* webpack upgrade to 4
* packjson has a file name that has not changed
* Add FileUtilsTest.java , the unit test for FileUtils (#1493)
* #839 enhancement : add Spark Task Component can switch Spark Version (#1494)
* add Spark Version in Spark Component
add Spark Version in Spark Component
* add license for SparkVersion.class
add license
* 1 add spark task UT
2 add spark version param check
* add assert check for sparkTaskTest
* fix AbstractTask's handle method exception (#1490)
* fix AbstractTask's handle method exception
* update ut
* add ZkServer for UT (#1499)
* add ZkServer for UT
* Add FileUtilsTest.java , the unit test for FileUtils (#1493) (#1)
* updates for reference ZkServer
* DAG automatic layout (#1497)
* Password verification and v-for add key
* DAG automatic layout
* Add common utils CollectionUtils.java DateUtils.java unit test (#1496)
* dateutil test
* pom.xml
* Update README_zh_CN.md
* Update README.md
* Add ExcelUtilsTest.java , the unit test for ExcelUtils (#1500)
* fix issue:1477 some tasks would be running all the time when db delayed(#1477) (#1501)
* fix issue:1477 some tasks would be running all the time when db delayed
* fix issue:1477 some tasks would be running all the time when db delayed
* fix issue:1477 some tasks would be running all the time when db delayed
* change npm run build:combined to npm burn build:release (#1504)
* add Spark Version in Spark Component
add Spark Version in Spark Component
* add license for SparkVersion.class
add license
* 1 add spark task UT
2 add spark version param check
* add assert check for sparkTaskTest
To improve user experience in datasource page, add default port for each type database.
1. When create or edit datasource, there is a default vaule for port. If user changes type, the default value changes.
2. Use local variables in browser memory, to cache user previous input port for each type. For example :
time-a: MySQL default port is 3306 , user change 3306 to 4000.
time-b: User change type from MySQL to ClickHouse , the port change from 4000 to 8123.
time-c: User change type from ClickHouse back to MySQL,the port change from 8123 to 4000,use previous input cache to fillback.
3. In edit datasource page, when the page first loads, use the query value fillback instead of default value.
* [dolphinscheduler-1345] [newfeature] Add DB2 Datasource (#1391)
* Fix the problem that the 'queueId' is not present when creating a tenant based on the default queue. (#1409)
* dolphinscheduler-#1403][bug]improve the check rules (#1408)
1. When check failed, we don’t know whitch parameter has is wrong, Because username、password、email and phone were checks together. I refactored the check method ,Now it will return failed msg by each field.
2. The email check regex support [_|\-|\.]?) in createUser.vue, But it do not support in backend server , I fix it, Now they have the same check regex both in frontend and backend
* jcip-annotations define version information and maven-assembly-plugin add groupId (#1413)
* "v-for" add key (#1419)
* [dolphinscheduler-#1397] [bug]Resources can not be previewed or updated (#1406)
When create an resource the name will add the suffix, But When rename the resource there is no suffix add to the name, So When update resource name without suffix just like "test.sh" => "test" , Then the bug reproduced.
To fix this bug i add the logic bellow:
When rename, if the name without suffix then add it ,else use the origin name
* simply server module configs (#1424)
* move updateTaskState into try/catch block in case of exception
* fix NPE
* using conf.getInt instead of getString
* for AbstractZKClient, remove the log, for it will print the same log message in createZNodePath.
for AlertDao, correct the spelling.
* duplicate
* refactor getTaskWorkerGroupId
* add friendly log
* update hearbeat thread num = 1
* fix the bug when worker execute task using queue. and remove checking Tenant user anymore in TaskScheduleThread
* 1. move verifyTaskInstanceIsNull after taskInstance
2. keep verifyTenantIsNull/verifyTaskInstanceIsNull clean and readable
* fix the message
* delete before check to avoid KeeperException$NoNodeException
* fix the message
* check processInstance state before delete tenant
* check processInstance state before delete worker group
* refactor
* merge api constants into common constatns
* update the resource perm
* update the dataSource perm
* fix CheckUtils.checkUserParams method
* update AlertGroupService, extends from BaseService, remove duplicate methods
* refactor
* modify method name
* add hasProjectAndPerm method
* using checkProject instead of getResultStatus
* delete checkAuth method, using hasProjectAndPerm instead.
* correct spelling
* add transactional for deleteWorkerGroupById
* add Transactional for deleteProcessInstanceById method
* change sqlSessionTemplate singleton
* change sqlSessionTemplate singleton and reformat code
* fix unsuitable error message
* update shutdownhook methods
* fix worker log bug
* fix api server debug mode bug
* upgrade zk version
* delete this line ,for zkClient.close() will do the whole thing
* fix master server shutdown error
* degrade zk version and add FourLetterWordMain class
* fix PathChildrenCache not close
* add Transactional for createSession method
* add more message for java-doc
* delete App, let spring manage connectionFactory
* add license
* add class Application for test support
* refactor masterServer and workerServer
* add args
* fix the spring transaction not work bug
* remove author
* delete @Bean annotation
* delete master/worker properties
* updates
* rename application.properties to application-dao.properties
* delete this class
* delete master/worker properties and refactory master/worker
* delete unused imports
* merge
* delete unused config
When workgroup referenced by workflow , And there isn’t any instace in
workflow ,the workgroup can be delete . After the workgroup delete , Use the
default workgroup in the page ,Instead of the value id.
* Solve the problem that the pop-up box cannot be closed when the browser returns
* Change the ans-ui version and API interface name
* Add page number to list page