Commit Graph

17 Commits

Author SHA1 Message Date
Eric Gao
f93e93cfd2
[Feature][Style] Make sure there is one and only one empty line at the end of each java file (#11520) 2022-08-17 12:59:08 +08:00
Eric Gao
896fef6c98
[Feature][Style] Enable spotless to manage imports (#11458) 2022-08-13 10:05:03 +08:00
Eric Gao
6a02870926
[Feature][style] Add spotless maven plugin for automatic style fix. (#11272)
* [Feature][style] Add spotless maven plugin for automatic style fix (#10963)

* Fix spotless ratchet configuration

* Remove license-check and decrease line length threshold value

* Update related docs

* Remove checkstyle and add pre-commit hook

* Test updated pre-commit hook

* Replace checkstyle with spotless in CI

* Remove reviewdog
2022-08-06 19:29:23 +08:00
Wenjun Ruan
00f86da1da
Open checkstyle, change checkstyle severity from info to warning (#10492)
* Open checkstyle, change checkstyle severity from info to warning
2022-06-17 19:01:54 +08:00
Jiajie Zhong
6045728428
[ci] Add checkstyle prohibit rule System.out.println (#6778)
* [ci] Add checkstyle prohibit rule System.out.println

* Correct RegexpSingleline place
2021-11-13 16:47:29 +08:00
Jiajie Zhong
a3119330b7
Remove Intellij code style (#6432)
closes: #6428
2021-10-09 00:29:13 +08:00
kezhenxu94
ea2a9dbcb2
Clean up third-party files that are not mentioned in LICENSE (#6165) 2021-09-11 11:27:42 +08:00
kezhenxu94
cfb03ce8ee
Reorganize CI workflows to fasten the wasted time and resources (#6011) 2021-08-22 07:01:42 +08:00
Wenjun Ruan
16986c3c65
[Imporvement #5725][CheckStyle] upgrade checkstyle file (#5789)
* [Imporvement #5725][CheckStyle] upgrade checkstyle file
  Upgrade checkstyle.xml to support checkstyle version 8.24+

* change ci checkstyle version
2021-07-11 00:31:45 +08:00
gaojun2048
1d254347df [Feature-3189][alert,spi,dao,plugin-api] base code of dolphinscheduler spi and alert plugin implement (#3601)
* DS SPI

* Add DolphinScheduler SPI , and rebuilt the code of the Alert plug-in based on SPI

* Add DolphinScheduler SPI , and rebuilt the code of the Alert plug-in based on SPI

* add TODO

* delete

* compile

* spi commit

* Plugin Alert

* fix some bug

* add todo

* change web ui from alpacajs to form-create

* remove module

* add plugin schema

* add license header

* update alert and spi module version

* update the alert plugin sub module version

* comment the maven.local.repository param

* move utils from spi to common module

* add license header

* add license header and delete some chinese comment

* update spi packages

* delete no use alert_xx.properties

* update mysql.connector.version back to 5.1.34

* delete no use comment in pom.xml

* update email stmp password

* add license

* add semicolon to sql/upgrade/1.4.0_schema/mysql/dolphinscheduler_ddl.sql file

* format the code style

* format new clase file with checkstyle

* update plugin params to Builder model

* move JSONUtils to SPI because plugin can not dependency common module

* move JSONUtils to SPI because plugin can not dependency common module

* delete collection dependency

* replace PluginParamsTransfer to spi PluginParamsTransfer

* update dolphinscheduler-maven-plugin to 1.0.0

* update license

* update apache-rat-plugin add exclude '.iml' file

* check license

* ArtifactResolver only use in development and configPlugins is not empty

* ArtifactResolver only use in development and configPlugins is not empty

* ArtifactResolver only use in development and configPlugins is not empty

* default datasource should be postgresql

* add license files

* add license files

* postgresql port should be 5432

* postgresql test

* mv show_type to spi

add license header to AlertConstants

* check style fix

* copy check style file from branch dev

* alert show_type set by plugin

* alert show_type set by plugin

* add PluginDefineMapper to dolphinscheduler-server/src/test/java/org/apache/dolphinscheduler/server/registry/DependencyConfig.java

* add Bean to TaskCallbackServiceTestConfig

* add Bean to TaskCallbackServiceTestConfig

* fix check style

* check style fix

* [feature-3665][ui]Add element-ui (#3666)

* [feature-3665][ui]Add element-ui

* add license

* fix check style

* [Feature-3682][ui]Add form-create plug-in and alarm group management add sample demo (#3683)

* Add form-create plug-in and alarm group management add sample demo

* Modify node version

* fix

* fix

* check style fix

* rollback test change

* rollback test change

* rollback dao pom change

* [feature-3665][ui]Add element-ui (#3666)

* [feature-3665][ui]Add element-ui

* add license

* Add form-create plug-in and alarm group management add sample demo

* Modify node version

* fix

* fix

* add ut to pom.xml

* add upgrade schema to global schema

* fix ut failed

* fix ut failed

* fix ut failed

* fix ut failed

* add test EmailAlertPluginTest to pom.xml

* fix ut failed

* fix ut failed

* fix check style

* update license header to presto license header

* presto license header not check

* fix ut coverage

* fix ut coverage

* fix ut

* fix ut

* fix ut

* fix ut coverage

* fix ut coverage

* fix ut coverage

* fix ut coverage

* fix ut coverage

* fix ut coverage

Co-authored-by: break60 <790061044@qq.com>
2020-10-12 15:28:11 +08:00
Yichao Yang
5d4658ca0d
[Improvement][code style] Add sign next line automatic assigner (#3522) 2020-08-19 16:31:00 +08:00
Yichao Yang
7d7313fcc0
[Fix][checkstyle] Fix checkstyle static type order checker (#3520) 2020-08-16 18:57:34 +08:00
Yichao Yang
db39f1f385
[Improvement][style] Improve checkstyle import order and code style importer (#3368)
* [Improvement][style] Add code import style automatic formatter

* Update checkstyle.xml

* Update checkstyle.xml

* [Improvement][api] Improve the code style and checkstyle of ds

* Update checkstyle.xml
2020-08-10 15:03:27 +08:00
Yichao Yang
afeeb34d2e
[Improvement][style] Add code import style automatic formatter (#3333) 2020-07-29 19:13:17 +08:00
lamber-ken
769b0537f1 [checkstyle] optimize java code checkstyle for LeftCurly rule (#1375) 2019-12-04 20:18:37 +08:00
lamber-ken
2dc5a732eb [checkstyle] optimize java code checkstyle for EmptyStatement rule (#1373) 2019-12-02 23:20:58 +08:00
lamber-ken
da319242ef [Checkstyle] Add java checkstyle (#1367) 2019-12-01 13:00:09 +08:00