Commit Graph

2654 Commits

Author SHA1 Message Date
GangHuo
2c5887bf76
Replace RuntimeException caused by HealthCheckerFactory with Nacos serialization exception (#3282) 2020-07-09 13:13:11 +08:00
杨翊 SionYang
fce01b1457
Remove default test mysql config (#3279) 2020-07-08 17:10:05 +08:00
Hu Zongtang
2342952b63
[ISSUE#3275]Fix the problem that 1.3.1-BETA SDK LifeCycle can't be shutdown for some thread executors. (#3280)
* [#3275]resolve the issue that lifecycle can't be shutdown for some thread executors.

* [ISSUE#3275]do close for upsocket in shutdown method.

* [ISSUE#3249]fix typo.
2020-07-08 16:54:40 +08:00
Gagharv
9e9b95b9a0
[#3249]Resolve the issues of codestyle of nacos-config module for phase6 (#3277)
Change-Id: I731548ea51b8ccf2a7f2635bd0e864573ccc7fc9
2020-07-08 15:11:58 +08:00
Hu Zongtang
0086dfe787
Resolve the issues of codestyle of nacos-config module for phase5. (#3272)
* [#3249]Fix chinese unit method name in config test module.

* [#3249]resolve the code style issue in service package.

* [ISSUE#3249]fix typo.
2020-07-08 09:21:13 +08:00
lidaoyang
144c1819b0
Optimize startup.cmd, fix #3269 (#3270)
* Fix #3269

* Fix #3269
2020-07-08 09:20:26 +08:00
杨翊 SionYang
c34abf368c
Hotfix register null cluster name instance problem (#3267) 2020-07-07 20:14:41 +08:00
Gagharv
a4fe234a26
Resolve the issues of codestyle of nacos-config module for phase4 (#3262)
* [ISSUE#3249]Resolve the part issues of codestyle for nacos-config module(package:service/repository)

Change-Id: I394a7639c70b6d30c2b800d5608ba62b6b64c76c

* 1.adjust ignore exception
2.adjust sql

Change-Id: I1e190872dc85d1d81a6afc2a204331bd779c04b0

* adjust sql

Change-Id: Ie4a085487b3642d0da150162b9a750bd803bf07e
2020-07-07 20:13:32 +08:00
markhuyong
3f95bf824c
fix readme typos (#3256)
use english comma instead
2020-07-07 17:35:48 +08:00
杨翊 SionYang
220b6c4f8d
Hotfix double register null service and beat info invalid problem (#3260)
* Hotfix, double register null service and beat info invalid problem

* Revert nacos-client JDK back to 6

* Revert nacos-client JDK back to 6
2020-07-06 19:41:18 +08:00
Hu Zongtang
9966ec38d9
[ISSUE#3249]Resolve the issues of codestyle of nacos-config module(parameters/enums/exception/filter/manager/model/service). (#3259) 2020-07-06 15:35:10 +08:00
Gagharv
4278b483ca
Resolve the issues of codestyle of nacos-config module for phase2 (#3253)
* [ISSUE#3249]Resolve the part issues of codestyle for nacos-config module(package:service/dump)

Change-Id: I273493054e3d7f5f26d73d65fa8360266a93cbfc

* [ISSUE#3249]Resolve the part issues of codestyle for nacos-config module(package:service/merge)

Change-Id: I8cdf601c2cb5f177a920c0f690cfbace8108c4cc
2020-07-06 10:08:32 +08:00
Hu Zongtang
c40de72f34
Resolve the issues of codestyle of nacos-config module for phase1 (#3250)
* [ISSUE#3249]Resolve the part issues of codestyle for nacos-config module(package:aspect/auth/configuration).

* [ISSUE#3249]Resolve the part issues of codestyle for nacos-config module(package:constant/controller).

* [ISSUE#3249]translate Chinese comments into English.

* [ISSUE#3249]fix typo.
2020-07-06 09:56:34 +08:00
Joe
2f5fb235b2
optimize isExistTable function (#3236)
* Update EmbeddedStoragePersistServiceImpl.java

If the table data volume is large, count (*) will be particularly slow

* Update ExternalStoragePersistServiceImpl.java

If the table data volume is large, count (*) will be particularly slow

* Update ExternalStoragePersistServiceImpl.java

* Update EmbeddedStoragePersistServiceImpl.java
2020-07-04 09:27:18 +08:00
杨翊 SionYang
8c9622fbda
[ISSUE #2992] Use new code style for nacos-address module. (#3239)
* reformat with new code style for nacos-address

* Use new code style for nacos-address module.
2020-07-03 17:30:31 +08:00
杨翊 SionYang
1a0df78d8a
[ISSUE #2992] Use new code style for nacos-client module. (#3219)
* Use new code style for nacos-client module.

* For checkstyle
2020-07-03 17:30:05 +08:00
杨翊 SionYang
b1d1ac1324
Use new code style for nacos-cmdb module. (#3242) 2020-07-03 17:29:17 +08:00
Hu Zongtang
31670f124c
[#3241]Reformat the nacos-config module by new code style. (#3243) 2020-07-03 16:51:08 +08:00
yangy
aa020e0b81
upgrade log4j version (#3229) 2020-07-03 09:22:44 +08:00
dependabot[bot]
86d8ff1a81
Bump mysql-connector-java from 8.0.13 to 8.0.16 (#3222)
Bumps [mysql-connector-java](https://github.com/mysql/mysql-connector-j) from 8.0.13 to 8.0.16.
- [Release notes](https://github.com/mysql/mysql-connector-j/releases)
- [Changelog](https://github.com/mysql/mysql-connector-j/blob/release/8.0/CHANGES)
- [Commits](https://github.com/mysql/mysql-connector-j/compare/8.0.13...8.0.16)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-02 09:17:49 +08:00
zhichen
adb5bc9bfc
Upgrade jquery dependency to fix security problems (#3201)
* upgrade jquery #3115

* upgrade webpack to fix websocket-extensions security #3115
2020-06-29 15:43:07 +08:00
杨翊 SionYang
88480f7c0f
Update to 1.3.1-BETA (#3194) 2020-06-29 13:56:16 +08:00
杨翊 SionYang
0a65aa8976
Use new code style for nacos-console module. (#3195) 2020-06-29 13:55:42 +08:00
杨翊 SionYang
c9bf5f2f70
For new codeStyle in nacos-api module (#3190) 2020-06-29 13:54:31 +08:00
Hu Zongtang
51c0eb25ad
[#3179]fix Notify's typos in common module and remove NotifyCenter's unit test in test module (#3187)
* [#3141]fix Notify's typos in common module and remove NotifyCenter's unit test in test module.

* [#3141]fix variable naming issue.
2020-06-28 13:01:12 +08:00
Gagharv
3f145e6374
[ISSUE #2856]Adjust the use of thread pools (naming module) (#3136)
Change-Id: I626179bd9ee8e852d9d51787950ad80744ec71cd
2020-06-28 10:59:09 +08:00
吴晟 Wu Sheng
b1f0d63e05
Update NOTICE (#3177) 2020-06-28 10:32:31 +08:00
liaochuntao
2c733d57ff
[#2979] Inline storage support importing data from external data sources (#3138)
* feat: data import Derby, Derby export complete

* feat: external data source import is complete

* feat: import data to derby and derby backup finished

* fix: fixed bug where external storage mode could not find beans

* style: fix code style

* style: remove unuse code

* refactor: fixed configuration file information

* improvement: merge upstream/develop

* style: fix code style

* fix: a way to fix the missing

* fix: fix derby data import in standalone mode

* style: fix code style

* refactor: merge upstream develop and fix code style

* test: modify ut

* style: fix code style
2020-06-28 10:25:06 +08:00
liwen2555376
82efc57017
移除NacosAuthConfig类上冗余注解@Configuration (#3149) 2020-06-28 10:09:09 +08:00
Hu Zongtang
38a2aa111a
[#3185]Fix chinese unit method name in config test module. (#3186) 2020-06-28 09:49:53 +08:00
Joe
41525b0a5c
Update ServiceController.java (#3176)
adjust order for start and end ,avoid end value is negative number
2020-06-28 09:21:28 +08:00
杨翊 SionYang
49c163b266
Hotfix frequent member change logs after #3168 (#3174)
* Fix operate for unmodifiableList error

* Hotfix frequent member change logs after #3168
2020-06-25 11:14:38 +08:00
mai.jh
aac1c6f013
[ISSUE #3160]fix compatibility issue when reading cache files with suffix ".datum" (#3163)
* fix: #3160

* change the name definition
2020-06-24 19:18:24 +08:00
Hu Zongtang
ac0eabf6cc
[#3141]Move the related notify test cases code to common module, fix NPE and improve peformance. (#3145)
* [#3141]fix typo and move unit test cases codes from core to common module.

* [#3141]implement DefaultSharePublisher to separate sharePublish from default publisher and fix typo.

* [#3141]fix typo and NPE issue.

* [#3141]improve performance and fix typo.

* [#3141]add removeSubscriber logical codes.

* [#3141]rename the unit test method's names.

* [#3141]fix typo.

* [#3141]fix thread unsafe and atomic issue.
2020-06-24 19:13:34 +08:00
liaochuntao
f5e1025f14
[ISSUE #3110] Hotfix member health (#3168)
* improvement: merge upstream/develop

* fix: fix node status change not notified

* style: fix code style

* refactor: optimize node change event logic

* refactor: adjust the node change event receiver logic
2020-06-24 15:30:10 +08:00
lin-mt
1c8425300c
replace lang3 in api (#3126)
* replace lang3

* style:remove this
2020-06-23 22:20:28 +08:00
lin-mt
9d34193bb4
Add the location of the CodeStyle plugin configuration (#3151) 2020-06-23 09:45:49 +08:00
mai.jh
6ce8d8ca79
[ISSUE #3140]nacos-client module replace http client (#3142)
* nacos-client http client replace

* Remove some explain

* Remove some explain

* Adjust some code styles and fix some misspelled method names

* Fix code style issues

* fix some misspelled method names

* Fix code style issues
2020-06-22 20:42:46 +08:00
Hu Zongtang
1dc29f2d52
[#3117]Just Sink the Notify implementation into common module and optimize some parts (#3118)
* [#3117]Sink the Notify implementation into common module and optimize some parts.

* [#3117]fix typo and reformat code styles.

* [#3117]fix typo and reformat code styles.

* [#3118]fix typo and formate.

* [#3118]Unify Subsciber and SmartSubscriber, and fix some typo and reformat.

* [#3118]fix some typo and reformat.
2020-06-22 01:10:56 +08:00
liaochuntao
bb7cfbcc5d
[ISSUE #2847] Fix config IT (#3120)
* improvement: merge upstream/develop

* fix: fix config ut bug

* style: fix code style

* fix: fix ut bug
2020-06-19 20:14:22 +08:00
杨翊 SionYang
532aad685e
upgrade version of Jackson and Guava (#3116) 2020-06-19 10:55:14 +08:00
杨翊 SionYang
67b58a0117
Add missing java doc for nacos-common for checkstyle (#3112) 2020-06-19 10:24:25 +08:00
liaochuntao
9a44b920a8
[ISSUE #3107] Style format core (#3108)
* improvement: merge upstream/develop

* style: format code style

* style: modify pom.xml

* fix: fix code style
2020-06-18 21:27:49 +08:00
pengzhengfa
961f0d14f2
Schedule naming optimization of cp architecture (#3109)
* Instance eliminate module naming optimization

* Solve PMD check failed

* Method name optimization

* Solve code space problem

* Method name optimization

* Optimize the naming of persistence layer

* Schedule naming optimization of cp architecture
2020-06-18 19:17:20 +08:00
杨翊 SionYang
f864880136
[ISSUE #2992] use new code style for nacos-common (#3106)
* use new code style for nacos-common

* Fix code style file can't set java import problem.
2020-06-18 17:05:15 +08:00
pengzhengfa
38d0b6bdbe
Method name optimization (#3104)
* Instance eliminate module naming optimization

* Solve PMD check failed

* Method name optimization

* Solve code space problem

* Method name optimization

* Optimize the naming of persistence layer
2020-06-18 16:32:14 +08:00
pengzhengfa
d24f36b9eb
Instance eliminate module naming optimization (#3093)
* Instance eliminate module naming optimization

* Solve PMD check failed
2020-06-17 21:04:50 +08:00
杨翊 SionYang
67829bb5e3
[ISSUE #2992] Use new code style for nacos-naming (#3090)
* Update check style to ignore spring bean java doc

* use new code style for nacos-naming
2020-06-17 18:21:41 +08:00
Gagharv
f94e8f8fb4
[ISSUE #2856]Adjust the use of thread pools (#3084)
* [ISSUE #2856][module:core、consistency]Adjust the use of thread pools

Change-Id: I793770ca0f287157dc88e3ecf1147ea308e4a547

* code optimize

Change-Id: I023ed73332f3f69c93277f25e57e0ee5c3975f02
2020-06-17 18:21:00 +08:00
mai.jh
e528ea82e9
[ISSUE #3094]abstract create nacos restTemplate factory (#3095)
* abstract create nacos restTemplate factory, allowing users to customize the commonly used http client config

* add class file license.

* change class file name

* Adjust some code
2020-06-17 17:53:37 +08:00