Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

merge #2

Merged
merged 1,424 commits into from
Mar 26, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1424 commits
Select commit Hold shift + click to select a range
0fba21c
avoid duplicated refresh for application (#3157)
beiwei30 Jan 7, 2019
b9c8bb8
override equals of Config
chickenlj Jan 7, 2019
824aaf9
move refresh() into setter to avoid duplicate refresh during check.
chickenlj Jan 7, 2019
a66784a
fix UT
chickenlj Jan 7, 2019
d4532c6
add empty check at the start of setter.
chickenlj Jan 7, 2019
e095bd9
code optimization (#3167)
CrazyHZM Jan 8, 2019
b399df7
fix UT
chickenlj Jan 8, 2019
e632504
Add javadoc for dubbo-serialization module(#3002). (#3004)
majinkai Jan 8, 2019
bcf474d
fix UT
chickenlj Jan 8, 2019
d1aa4da
give router rule a more layered extensiable ZK path:
chickenlj Jan 8, 2019
fb5f1af
Fix UT
chickenlj Jan 8, 2019
2cbc83f
optimize ReconnectTimerTask's log output (#3162)
kexianjun Jan 8, 2019
5a87918
Adjust ZK to handle layered routers path
chickenlj Jan 8, 2019
176a86b
Remove BlackWhiteListRule
chickenlj Jan 8, 2019
f4e96a4
add some small optimize (#3171)
lixiaojiee Jan 9, 2019
460c3a1
fix telnet trace times is always 1 (#3038)
LiZhenNet Jan 9, 2019
21e0227
modify metadata node path in zookeeper (#3166)
cvictory Jan 9, 2019
1b6bbf1
Adjust code to avoid possible ConcurrentModificationException
chickenlj Jan 9, 2019
a02f7a6
refresh only once
chickenlj Jan 9, 2019
c4e9b9d
revert router from layered path to flat path:
chickenlj Jan 9, 2019
c679d0b
Routers zookeeper path (#3173)
chickenlj Jan 9, 2019
1eebe74
refresh configCenter before start
chickenlj Jan 9, 2019
39583d4
resolve merge conflicts
chickenlj Jan 9, 2019
178282c
fetch from ConfigManager if ConfigCenter is not set
chickenlj Jan 9, 2019
db0c0a8
put checkRegistry() inside refer() not before refer()
chickenlj Jan 9, 2019
41c8ae4
Fix DynamicConfiguration SPI config
chickenlj Jan 9, 2019
c89807e
Keep parameters in registry url.
chickenlj Jan 9, 2019
1f2122e
Fix wrong reference
chickenlj Jan 9, 2019
1db53cf
Fix mock in UT
chickenlj Jan 9, 2019
b725826
set literal 'protocol' for ReferenceBean
chickenlj Jan 9, 2019
747b804
Fix UT
chickenlj Jan 10, 2019
5298afd
Upgrade junt to junit5 (#3149)
lovepoem Jan 11, 2019
031c011
[Dubbo-3169]Check future status before get(), return default value if…
chickenlj Jan 11, 2019
a8af5ce
Fix metadata report configuration error (#3183)
foreveryang321 Jan 11, 2019
347f154
Async enhancement (#3184)
chickenlj Jan 11, 2019
bb18512
Format change.
ralf0131 Jan 13, 2019
67df884
fix wrong word spelling (#3217)
Jan 13, 2019
8e838d5
Merge pull request #3224, support jax-rs annotation on interface as w…
Jeff-Lv Jan 14, 2019
2f74354
fix #3179. Make registry, configcenter, matadata-report share a zooke…
cvictory Jan 14, 2019
5caa422
just for modify comments and imports (#3227)
cvictory Jan 14, 2019
505b41d
Fix provicer --> provider (#3222)
mimihom Jan 14, 2019
e1f4466
Optimize the code: use logger instead of printStackTrace(). (#3202)
zhaoyuguang Jan 14, 2019
de204cf
Optimize code: remove unnecessary judgment code. (#3196)
zhaoyuguang Jan 14, 2019
f76ae21
Optimize the code: fix CallbackServiceCodec.java exportOrunexportCall…
zhaoyuguang Jan 15, 2019
a151262
add 2.7.0 release notes
chickenlj Jan 15, 2019
0e0fbd5
Refactor telnet invoke command (#3210)
LiZhenNet Jan 15, 2019
a93e96c
[Dubbo-3226] guarantee interoperability with 2.6.x and lower versions…
chickenlj Jan 15, 2019
f73e8cc
refactor method name
chickenlj Jan 15, 2019
1e1a5ec
refactor method name
chickenlj Jan 15, 2019
3c38f20
Remove deprecated AnnotationBean, please refer #1485 for the new meth…
chickenlj Jan 15, 2019
5acb4bf
[Dubbo-3231]keep TagRouter consistent with 2.6.x (#3233)
chickenlj Jan 15, 2019
66afe96
Modified to lower camel case (#3003)
CrazyHZM Jan 16, 2019
416c575
wrong event setting (#3043)
CrazyHZM Jan 16, 2019
458a450
call the util method (#3230)
CrazyHZM Jan 16, 2019
43d74b3
Qos heart (#3170)
CrazyHZM Jan 16, 2019
8c2fbc8
Merge pull request #3246 from cvictory:2.7.0-release remove gson from…
cvictory Jan 16, 2019
e24e568
Extract compareTo impl to Router interface and concrete Router only r…
chickenlj Jan 16, 2019
a8e1d26
Protocol compatibility (#3254)
chickenlj Jan 16, 2019
f770b7c
remove getContext() (#3235)
beiwei30 Jan 17, 2019
16fbc93
modify some typos (#3257)
mimihom Jan 17, 2019
78accf7
Merge 2.6.6 source code into 2.7 (#3241)
mercyblitz Jan 17, 2019
e73624c
Add activation for the release profile
ralf0131 Jan 13, 2019
de3014d
Update the Java SE link to Java 8.
ralf0131 Jan 13, 2019
d98b24c
Move the doclint configuration to correct position.
ralf0131 Jan 13, 2019
9f6b8c8
Deactivate maven release profile.
ralf0131 Jan 17, 2019
6675c82
Fix final name.
ralf0131 Jan 17, 2019
44b4e42
Optimize the Apollo extension of Config-Center SPI
ralf0131 Jan 17, 2019
fda71e7
must shutdown thread pool when no in use (#3255)
scxwhite Jan 18, 2019
477ef97
Update 2.7.0 release notes
ralf0131 Jan 18, 2019
1c78148
Igonre .patch file.
ralf0131 Jan 18, 2019
e4f39a3
[maven-release-plugin] prepare release dubbo-2.7.0
ralf0131 Jan 18, 2019
de4f91b
[maven-release-plugin] prepare for next development iteration
ralf0131 Jan 18, 2019
5f62633
[maven-release-plugin] prepare release dubbo-2.7.0
ralf0131 Jan 19, 2019
2134b89
[maven-release-plugin] prepare for next development iteration
ralf0131 Jan 19, 2019
576a413
Bring back redis auth UT (#3278)
biyuhao Jan 20, 2019
cb59913
Optimize code: Fix Constructor to determine illegal logic problems (#…
zhaoyuguang Jan 20, 2019
bcb6eee
fix return type (#3284)
mjaow Jan 21, 2019
ca84f6c
use standardcharset.utf-8 instead of literal (#3285)
mjaow Jan 21, 2019
d470679
Move the iteration of methods of a service config to the if block of …
tswstarplanet Jan 21, 2019
e18ec0d
Merge branch '2.7.0-release' of https://github.com/apache/incubator-d…
chickenlj Jan 21, 2019
0a2b9bf
Add shutdown command for telnet (#3280)
LiZhenNet Jan 21, 2019
dbc1f79
Ignore mvn wrapper binary files.
ralf0131 Jan 21, 2019
614bceb
[maven-release-plugin] prepare release dubbo-2.7.0
ralf0131 Jan 21, 2019
d2b62d3
[maven-release-plugin] prepare for next development iteration
ralf0131 Jan 21, 2019
9f3ac61
Fix typo (#3293)
htynkn Jan 21, 2019
0f86000
Improve/heartbeat (#3276)
lexburner Jan 22, 2019
215ed36
code optimization (#3297)
CrazyHZM Jan 22, 2019
73d9cd3
further enhancement for pull request #3297, also fix an issue introdu…
beiwei30 Jan 22, 2019
d75ce73
Merge branch '2.7.0-release' of https://github.com/apache/incubator-d…
chickenlj Jan 22, 2019
68fa9c1
Merge branch '2.7.0-release'
chickenlj Jan 22, 2019
04bcfe2
Fix UT conflicts of merging 2.7.0-release
chickenlj Jan 22, 2019
f0f124d
Remove usage of classes in Junit 4
chickenlj Jan 22, 2019
971d6d9
Remove usage of classes in Junit 4
chickenlj Jan 22, 2019
d688d92
Remove usage of classes in Junit 4
chickenlj Jan 22, 2019
132c20b
Remove usage of classes in Junit 4
chickenlj Jan 22, 2019
4527b7d
Remove usage of classes in Junit 4
chickenlj Jan 22, 2019
5c75eb2
remove not used import (#3309)
lovepoem Jan 22, 2019
d3b2439
remove unused import (#3311)
lovepoem Jan 22, 2019
bfdde7e
Degrade some UTs in dubbo-config-spring to use junit 4.
chickenlj Jan 23, 2019
0642b3e
use beforeEach and afterEach
chickenlj Jan 23, 2019
d27fb1f
Merge pull request #3295, unregister consumer url when client destroy…
zonghaishang Jan 23, 2019
b4aa515
Optimize heartbeat (#3299)
carryxyh Jan 23, 2019
babf0d1
simply telnet command enabled check logic (#3316)
kexianjun Jan 23, 2019
e07038b
Add comments, manually merge #3181.
chickenlj Jan 23, 2019
33f1726
Fix for loop reference test pass on protostuff (#3252)
Bricks-Man Jan 24, 2019
4d78772
Fix maven compile warning (#3322)
biyuhao Jan 24, 2019
21a608c
Merge pull request #3174, make timeout filter not work in async way.
carryxyh Jan 24, 2019
faf3983
Merge pull request #3323, fix double-checked locking.
biyuhao Jan 24, 2019
c72708b
Merge pull request #2959, fix a bug of service config.
tswstarplanet Jan 24, 2019
4fbdc4f
Fix random ut falling in DubboMonitorTest (#3327)
biyuhao Jan 24, 2019
6a87dc5
Merge pull request #3017, fixes #2981, refresh invocation's attachmen…
carryxyh Jan 24, 2019
9cdb2f0
Merge pull request #3141, optimize outbound event and some code forma…
carryxyh Jan 24, 2019
15faa9b
Merge pull request #3333, add @Override for sub-class method.
LiZhenNet Jan 24, 2019
e3aac2d
Fix thrift protocol, use path to locate exporter. (#3331)
chickenlj Jan 25, 2019
ece58a8
fix #2842. remove duplicate SPI definitions for 2.7.x (#3340)
cvictory Jan 25, 2019
5a67a19
fix org.apache.dubbo replace com.alibaba.dubbo (#3338)
CrazyHZM Jan 25, 2019
26f010d
fix the typo of notification mail list address (#3335)
tswstarplanet Jan 25, 2019
ed8bb74
Review code of TypeDefinitionBuilder (#3064)
carryxyh Jan 25, 2019
a6d55fa
[Dubbo-3339] Remove futility check code (#3346)
Bricks-Man Jan 25, 2019
6dcd593
add no-argument constructor method to URL.java fix #3342 (#3350)
qq925716471 Jan 25, 2019
c8cf56b
Enable ZookeeperMetadataReportTest (#3360)
biyuhao Jan 26, 2019
2300fca
Package name error (#3354)
kunblue Jan 26, 2019
21046c8
some optimize on ExtensionLoader (#3307)
lixiaojiee Jan 26, 2019
2308a36
Fix some unit test failure (#3337)
kexianjun Jan 27, 2019
95fc75a
Fix compilation error fix #3365 (#3366)
CrazyHZM Jan 28, 2019
df9f998
[Dubbo-900] Fix 通过 override 修改 hessian协议的提供者的配置 不生效 #900 (#3363)
CrazyHZM Jan 28, 2019
f5b6d2a
delete useless judgment (#3326)
CrazyHZM Jan 28, 2019
1f02113
Fix self assignment (#3301)
biyuhao Jan 29, 2019
7b529a3
[Dubbo-2423] Multicast demo fails with message "Can't assign requeste…
chickenlj Jan 29, 2019
7f262f9
simplify map empty judgment (#3376)
zonghaishang Jan 29, 2019
58e35b2
应该是非空才循环,不然会导致在使用redis注册中心时消费者引用不到服务 (#3291)
dadadadudu Jan 29, 2019
d7e95b4
enhance unit test and logging (#3374)
beiwei30 Jan 29, 2019
1efa457
follow up for #3291 (#3378)
beiwei30 Jan 29, 2019
47abf6c
correct typos,eg: occured -> occurred (#3380)
FrankBian Jan 29, 2019
a074319
follow up for #3376 (#3377)
beiwei30 Jan 29, 2019
fd16a2b
[Dubbo-3347] Update package name in README file fix#3347 (#3362)
CrazyHZM Jan 29, 2019
19c1af8
[Enhancement] Replace explicit resource management with try-with-reso…
kun-song Jan 30, 2019
dd2e16b
first pull request (#3396)
hjq2016 Jan 30, 2019
7826f27
[Dubbo-3361] Make DubboAppender extends from FileAppender (#3383)
biyuhao Jan 30, 2019
663738f
Modify deprecated class to updated class in some comments (#3402)
tswstarplanet Jan 31, 2019
35f1914
Merge pull request #3341, start to use IdleStateHandler in Netty4.
beiwei30 Jan 31, 2019
342f37a
Enhancement/logger factory (#3389)
kezhenxu94 Jan 31, 2019
93a8ee0
move construction of ConfigChangeEvent outside the lambda expression …
wanghbxxxx Jan 31, 2019
9b89d41
make ConfigChangeEvent immutable (#3403)
wanghbxxxx Jan 31, 2019
2a91684
Fix license issues (#3382)
ralf0131 Jan 31, 2019
5d7b25a
[Dubbo-936]fix The nc command is unstable in the dubbo startup script…
CrazyHZM Jan 31, 2019
713a3ea
refactor ScriptRouter: (#3404)
wanghbxxxx Jan 31, 2019
ea45921
Clean pom.xml file #3186 (#3211)
kezhenxu94 Jan 31, 2019
dbab8c5
[Enhancement] Use ThreadLocalRandom and try-with-resource (#3239)
kun-song Jan 31, 2019
b09a150
polish pom.xml (remove test profile and jvm permSize args) (#3407)
htynkn Jan 31, 2019
99771a4
update dubbo samples' link (#3413)
kun-song Feb 1, 2019
5146f6d
Acesslog dateformat enhancemnet (#3274)
khanimteyaz Feb 2, 2019
dcee618
refactor loadClass method (#3410)
wanghbxxxx Feb 2, 2019
e692d8a
implement pull request #3412 on master branch (#3418)
beiwei30 Feb 2, 2019
1ecf2dd
event of response fix#3244 (#3247)
CrazyHZM Feb 2, 2019
c2c9de9
[Dubbo-3069]Use regular expressions to judge fix #3069 (#3093)
CrazyHZM Feb 2, 2019
d2b5914
Support multiple shared links (#2457)
Feb 3, 2019
1a88b32
remove useless catch exception (#3421)
mjaow Feb 3, 2019
5ab3138
remove duplicated import (#3440)
kezhenxu94 Feb 8, 2019
bccac78
Update junit to 5.4.0 release version (#3441)
lovepoem Feb 8, 2019
ba282a8
remove duplicated unused method and move unit test (#3446)
kezhenxu94 Feb 11, 2019
b2901f5
Add checkstyle rule for redundant import (#3444)
htynkn Feb 11, 2019
e9e176b
Enhance the java doc of dubbo-container module (#3437)
dreamer-nitj Feb 11, 2019
7a53a1b
refactor adaptive extension class code creation: extract class Adapti…
wanghbxxxx Feb 11, 2019
caac0b5
refactor javassist compiler: extract class CtClassBuilder (#3424)
wanghbxxxx Feb 11, 2019
b757e19
fix #2619: is there a problem in NettyBackedChannelBuffer.setBytes(..…
beiwei30 Feb 11, 2019
8a02f9a
Bugfix/timeout queue full (#3451)
lexburner Feb 12, 2019
36c75d7
extract 2 methods: (#3453)
wanghbxxxx Feb 12, 2019
fa2316e
Add delay export test case (#3447)
LiZhenNet Feb 12, 2019
10912c8
[Dubbo-3237]fix connectionMonitor in RestProtocol seems not work #323…
CrazyHZM Feb 12, 2019
cad253a
extract method to cache default extension name (#3456)
wanghbxxxx Feb 13, 2019
6f28ff4
possibly bug fix (#3460)
wanghbxxxx Feb 13, 2019
6058846
Merge pull request #3470, Apache parent pom version is updated to 21.
kamaci Feb 14, 2019
ff0ce37
A follow up of 6058846, update apache pom version to 21
chickenlj Feb 14, 2019
bd6e5f1
Class comment error (#3481)
Bricks-Man Feb 15, 2019
e72e0b2
enhancement: extract duplicated method calls to variable (#3482)
kezhenxu94 Feb 15, 2019
9c049f6
[Enhancement]: language level migration (#3485)
kezhenxu94 Feb 15, 2019
d33784d
Branch refactor version (#3471)
wanghbxxxx Feb 15, 2019
2b12c16
fix typo (#3491)
kezhenxu94 Feb 17, 2019
813fed5
[Enhancement]: RestProtocol (#3480)
kezhenxu94 Feb 17, 2019
9031a4c
Merge pull request #3466, Condition is not properly used.
beiwei30 Feb 18, 2019
7c236ca
fix issue#1293: A question for ReferenceConfigCache. (#3505)
beiwei30 Feb 19, 2019
717c15e
[Enhancement]: refactor categorizing with Collectors.groupingBy (#3490)
kezhenxu94 Feb 19, 2019
aadf57d
Fix invocation of toString on an array (#3507)
Feb 20, 2019
e918fa4
Fix inefficient use of keySet iterator instead of entrySet iterator (…
Feb 20, 2019
f415fda
Boolean class use method toString() instead of String.valueof() (#3495)
Bricks-Man Feb 20, 2019
a362986
Merge pull request #3515, add metadataFactory SPI config for all-in-o…
foreveryang321 Feb 20, 2019
112ad0c
Merge pull request #3513, bump up hessian-lite version
nzomkxia Feb 20, 2019
a40c2f8
[Dubbo-3106]Make getRegistered return unmodifiable collection. #3106 …
kezhenxu94 Feb 21, 2019
55285a1
Merge pull request #3527 Bricks-Man/incubator-dubbo, fix accidentally…
Bricks-Man Feb 21, 2019
dd7d3ee
Fix UT error following PR #3527
chickenlj Feb 21, 2019
44348f4
Cache CompiledScript #390 (#3524)
CrazyHZM Feb 21, 2019
43e92d3
Merge pull request #3532 from beiwei30:use-concurrent-map, avoid usin…
beiwei30 Feb 21, 2019
f71a95b
Fix context filter's bug (#3526)
carryxyh Feb 21, 2019
6b589f0
Modify MetadataReportRetry ThreadName (#3550)
cvictory Feb 22, 2019
e89b3f2
fix issue #3533 (#3548)
hekrxe Feb 24, 2019
05a98f3
fix issue #195: @Reference check=false不生效 (#3530)
beiwei30 Feb 24, 2019
6034ceb
Merge pull request #3528, fixes #208, setOnreturn does not work with …
beiwei30 Feb 26, 2019
4aaa542
fix issue #274: monitor的cluster一定是failsafe的,而且无法修改 (#3523)
beiwei30 Feb 26, 2019
ade0cd7
Merge pull request #3520, fix #538 polish the process of deciding the…
beiwei30 Feb 26, 2019
5434ab7
Fix npe when package is null. (#3557)
ujjboy Feb 26, 2019
b149378
a more elegant way (#3567)
CalvinKirs Feb 26, 2019
0355cd3
Correct security report link.
ralf0131 Feb 27, 2019
e1cb03b
Add go implementation link.
ralf0131 Feb 27, 2019
8c934c9
fix DubboCodec re-implements Codec2 #2977 (#3547)
CrazyHZM Mar 1, 2019
e8d645b
Merge pull request #3566, optimize compareTo of Router to guarantee c…
lexburner Mar 4, 2019
bb85d07
Merge pull request #3577, rmi support generic.
CrazyHZM Mar 4, 2019
8f7b0c3
Fixes #3367, fail to parse config text with white space (#3589)
chickenlj Mar 4, 2019
25f2d4c
[DUBBO-3476]: NullPointerException happened when using SpringContaine…
beiwei30 Mar 5, 2019
6a70284
replace magic string "dubbo" with constants (#3602)
kezhenxu94 Mar 6, 2019
1420698
dubbo-parent是头文件不包含依赖。替换成dubbo, 同时增加zk连接的依赖。因为curator-framework在dubbo…
awayings Mar 7, 2019
af8cbe5
Merge pul request #3607, introduce dubbo-dependencies-zookeeper.
beiwei30 Mar 7, 2019
fe049b8
Merge RestProtocolTest.java (#3597)
CrazyHZM Mar 7, 2019
d414c7b
[DUBBO-3494]: Refactor URL to URLBuilder (#3500)
kezhenxu94 Mar 7, 2019
2e660df
Dubbo-3473 Fix Not Properly Closed Resources (#3474)
kamaci Mar 7, 2019
319a766
Dump TagRouterRule (#3536)
carryxyh Mar 7, 2019
172d694
Merge pull request #3578, fixes #3289, enhance tagRoute: support ip …
cvictory Mar 7, 2019
a8b28cf
Merge pull request #2614, follow up for issue #195.
beiwei30 Mar 8, 2019
b8827f9
[Dubbo-3367] Fail to parse config text with white space (#3590)
chickenlj Mar 8, 2019
42646d7
Merge pull request #3558, check if remoteGroup is empty or not.
kexianjun Mar 8, 2019
b7ca86b
Fluent style builder API support(#3431) (#3549)
Bricks-Man Mar 9, 2019
10ec77f
Update maven central badge.
ralf0131 Mar 9, 2019
096d1da
Merge pull request #3593, Consul support for Registry and Metadata.
beiwei30 Mar 11, 2019
1ee4d84
[Dubbo-808] Support etcd registry (#3605)
ralf0131 Mar 11, 2019
c65b589
rename dubbo-ops to dubbo-admin (#3628)
kezhenxu94 Mar 11, 2019
5f19335
typo for AccessLogFilter (#3633)
Bricks-Man Mar 11, 2019
fed47bf
Fix some etcd3 registry bugs. (#3632)
zonghaishang Mar 11, 2019
1f193b9
[Dubbo-3570] repackage compatible enhancement. (#3622)
chickenlj Mar 11, 2019
dc04701
Replace RpcStatus to count (#2984) (#3636)
Mar 12, 2019
9ee2f23
Fix when qos is disable,log will print every time. (#3397)
LiZhenNet Mar 12, 2019
bf3b423
add openjdk to travis (#3300)
lovepoem Mar 12, 2019
ea3fbc8
Merge pull request #3647, workaround to fix #3646.
beiwei30 Mar 14, 2019
e4bfb3d
add metrics integration #3598 (#3643)
nzomkxia Mar 14, 2019
08d5f15
Merge pull request #3639, Add equivalent annotation support for Metho…
cvictory Mar 14, 2019
2cfc2b3
Fixes #3478, #3477 and #3445
chickenlj Mar 14, 2019
0c2232f
fix heartbeat internal (#3579)
carryxyh Mar 14, 2019
9598cd0
Merge pull request #3603, configcenter share zookeeper connection wit…
cvictory Mar 14, 2019
ed5fea6
correct spelling error (#3645)
kexianjun Mar 14, 2019
70898ef
make snakeyaml transitive, governance rule relies on this dependency …
chickenlj Mar 15, 2019
5e6cbbe
check null for path before call rest server (#3665)
chickenlj Mar 15, 2019
b2bfbc7
[Dubbo-3653] etcd as config center (#3663)
ralf0131 Mar 16, 2019
79f0b7c
Polish code and fix some documentation errors (#3655)
kezhenxu94 Mar 18, 2019
dd5ec5c
[Dubbo-3657] Fix junit test failed (#3658)
zhaixiaoxiang Mar 19, 2019
32d59f7
Improve the checking of lease id. #3684 (#3692)
ralf0131 Mar 19, 2019
660624c
Optimize DefaultTpsLimiter (#3654)
LiZhenNet Mar 19, 2019
ad5f9f9
Correct @Parameter config of field of ConfigCenterConfig (#3688)
tswstarplanet Mar 20, 2019
da69a9c
fix-3678 (#3681)
kexianjun Mar 20, 2019
6e4ff91
Add unit test for unpack and stick pack of dubbo and telent (#3703)
zhaixiaoxiang Mar 20, 2019
c1be6c6
Unit test of JValidator; Clean code of JValidator (#3723)
tswstarplanet Mar 25, 2019
ad72159
Fixes #3625 (#3730)
John-Smile Mar 26, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
11 changes: 11 additions & 0 deletions .codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
coverage:
status:
# pull-requests only
patch:
default:
threshold: 0.1%
ignore:
- "dubbo-demo/.*"
- "dubbo-common/src/main/java/org/apache/dubbo/common/json/*.java" # internal JSON impl is deprecate, ignore test coverage for them
- "dubbo-config/dubbo-config-spring/src/main/java/org/apache/dubbo/config/spring/AnnotationBean.java" # Deprecated
- "dubbo-rpc/dubbo-rpc-thrift/.*"
36 changes: 36 additions & 0 deletions .github/ISSUE_TEMPLATE/dubbo-issue-report-template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
---
name: Dubbo issue report template
about: If you would like to report a issue to Dubbo, please use this template.

---

- [ ] I have searched the [issues](https://github.com/apache/incubator-dubbo/issues) of this repository and believe that this is not a duplicate.
- [ ] I have checked the [FAQ](https://github.com/apache/incubator-dubbo/blob/master/FAQ.md) of this repository and believe that this is not a duplicate.

### Environment

* Dubbo version: xxx
* Operating System version: xxx
* Java version: xxx

### Steps to reproduce this issue

1. xxx
2. xxx
3. xxx

Pls. provide [GitHub address] to reproduce this issue.

### Expected Result

What do you expected from the above steps?

### Actual Result

What actually happens?

If there is an exception, please attach the exception trace:

```
Just put your stack trace here!
```
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# maven ignore
target/
*.jar
!.mvn/wrapper/*
*.war
*.zip
*.tar
Expand All @@ -27,4 +28,4 @@ target/
# system ignore
.DS_Store
Thumbs.db

*.orig
Binary file added .mvn/wrapper/maven-wrapper.jar
Binary file not shown.
1 change: 1 addition & 0 deletions .mvn/wrapper/maven-wrapper.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
distributionUrl=https://repo1.maven.org/maven2/org/apache/maven/apache-maven/3.5.0/apache-maven-3.5.0-bin.zip
24 changes: 20 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,23 @@
language: java
sudo: false # faster builds

jdk:
- oraclejdk8
- oraclejdk7
- openjdk6
- openjdk11
- oraclejdk11
- openjdk8
- oraclejdk8

cache:
directories:
- $HOME/.m2

install: true

script:
- travis_wait 30 ./mvnw clean install -DskipTests=false -Dcheckstyle.skip=false -Drat.skip=false -Dmaven.javadoc.skip=true

after_success:
- bash <(curl -s https://codecov.io/bash)

script: mvn -DskipTests=true clean package
after_failure:
- if [ -f dubbo.log ]; then echo "------TAIL of dubbo.log------"; tail -n 1000 dubbo.log; echo "------END of dubbo.log------"; fi
158 changes: 158 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,158 @@
# Release Notes

## 2.7.0

Requirements: **Java 8+** required

Please check [here](https://github.com/apache/incubator-dubbo/blob/2.7.0-release/CHANGES.md#upgrading-and-compatibility-notifications) for notes and possible compatibility issues for upgrading from 2.6.x or lower to 2.7.0.

### New Features

- Enhancement of service governance rules.
- Enriched Routing Rules.
1. Conditional Routing. Supports both application-level and service-level conditions.
2. Tag Routing. Newly introduced to better support traffic isolation, such as grey deployment.
- Decoupling governance rules with the registry, making it easier to extend. Apollo and Zookeeper are available in this version. Nacos support is on the way...
- Application-level Dynamic Configuration support.
- Use YAML as the configuration language, which is more friendly to read and use.

- Externalized Configuration. Supports reading `dubbo.properties` hosted in remote centralized configuration center - centralized configuration.

- Simplified registry URL. With lower Registry memory use and less notification pressure from Service Directory, separates Configuration notification from Service Discovery.

- Metadata Center. A totally new concept since 2.7.0, used to store service metadata including static configuration, service definition, method signature, etc.. By default, Zookeeper and Redis are supported as the backend storage. Will work as the basis of service testing, mock and other service governance features going to be supported in [Dubbo-Admin](https://github.com/apache/incubator-dubbo-admin).

- Asynchronous Programming Model (only works for Dubbo protocol now)
- Built-in support for the method with CompletableFuture<T> signature.
- Server-side asynchronous support, with an AsyncContext API works like Servlet 3.0.
- Asynchronous filter chain callback.

- Serialization Extension: Protobuf.

- Caching Policy Extension: Expiring Cache.

### Enhancements / Bugfixes

- Load Balancing strategy enhancement: ConsitentHash #2190, LeastActive #2171, Random #2597, RoundRobin #2650.

- Third-party dependency upgrading.
- Switch default remoting to Netty 4.
- Switch default Zookeeper client to Curator.
- Upgrade Jetty to 9.x.

- IPV6 support #2079.

- Performance tuning, check hanging requests on a closed channel, make them return directly #2185.

- Fixed the serialization problem of JDK primitive types in Kryo #2178.

- Fixed the problem of failing to notify Consumer as early as possible after the Provider side deserialization failed #1903.

### Upgrading and Compatibility Notifications

We have always keep compatibility in mind during the whole process of 2.7.0. We even want old users to upgrade with only on pom version upgrade, but it's hard to achieve that, especially when considering that we have the package renamed in this version, so we had some tradeoffs. If you only used the Dubbo's most basic features, you may have little problems of upgrading, but if you have used some advanced features or have some SPI extensions inside, you'd better read the upgrade notifications carefully. The compatibility issues can be classified into the following 5 categories, for each part, there will have detailed dos and don'ts published later in the official website.

1. Interoperability between 2.7.0 and lower versions

2. Package renaming

com.alibaba.dubbo -> org.apache.dubbo

3. Simplification of registered URLs

4. Service Governance Rules

5. Configuration


## 2.6.5

Enhancements / Features:

- Reactor the generation rule for @Service Bean name [#2235](https://github.com/apache/incubator-dubbo/issues/2235)
- Introduce a new Spring ApplicationEvent for ServiceBean exporting [#2251](https://github.com/apache/incubator-dubbo/issues/2251)
- [Enhancement] the algorithm of load issue on Windows. [#1641](https://github.com/apache/incubator-dubbo/issues/1641)
- add javadoc to dubbo-all module good first issue. [#2600](https://github.com/apache/incubator-dubbo/issues/2600)
- [Enhancement] Reactor the generation rule for @Service Bean name type/enhancement [#2235](https://github.com/apache/incubator-dubbo/issues/2235)
- Optimize LeastActiveLoadBalance and add weight test case. [#2540](https://github.com/apache/incubator-dubbo/issues/2540)
- Smooth Round Robin selection. [#2578](https://github.com/apache/incubator-dubbo/issues/2578) [#2647](https://github.com/apache/incubator-dubbo/pull/2647)
- [Enhancement] Resolve the placeholders for sub-properties. [#2297](https://github.com/apache/incubator-dubbo/issues/2297)
- Add ability to turn off SPI auto injection, special support for generic Object type injection. [#2681](https://github.com/apache/incubator-dubbo/pull/2681)


Bugfixes:

- @Service(register=false) is not work. [#2063](https://github.com/apache/incubator-dubbo/issues/2063)
- Our customized serialization id exceeds the maximum limit, now it cannot work on 2.6.2 anymore. [#1903](https://github.com/apache/incubator-dubbo/issues/1903)
- Consumer throws RpcException after RegistryDirectory notify in high QPS. [#2016](https://github.com/apache/incubator-dubbo/issues/2016)
- Annotation @Reference can't support to export a service with a sync one and an async one . [#2194](https://github.com/apache/incubator-dubbo/issues/2194)
- `org.apache.dubbo.config.spring.beans.factory.annotation.ReferenceAnnotationBeanPostProcessor#generateReferenceBeanCacheKey` has a bug. [#2522](https://github.com/apache/incubator-dubbo/issues/2522)
- 2.6.x Spring Event & Bugfix. [#2256](https://github.com/apache/incubator-dubbo/issues/2256)
- Fix incorrect descriptions for dubbo-serialization module. [#2665](https://github.com/apache/incubator-dubbo/issues/2665)
- A empty directory dubbo-config/dubbo-config-spring/src/test/resources/work after package source tgz. [#2560](https://github.com/apache/incubator-dubbo/issues/2560)
- Fixed 2.6.x branch a minor issue with doConnect not using getConnectTimeout() in NettyClient. (*No issue*). [#2622](https://github.com/apache/incubator-dubbo/pull/2622)
- Bean name of @service annotated class does not resolve placeholder. [#1755](https://github.com/apache/incubator-dubbo/issues/1755)



Issues and Pull Requests, check [milestone-2.6.5](https://github.com/apache/incubator-dubbo/milestone/21).

## 2.6.4

Enhancements / Features

- Support access Redis with password, [#2146](https://github.com/apache/incubator-dubbo/pull/2146)
- Support char array for GenericService, [#2137](https://github.com/apache/incubator-dubbo/pull/2137)
- Direct return when the server goes down abnormally, [#2451](https://github.com/apache/incubator-dubbo/pull/2451)
- Add log for trouble-shooting when qos start failed, [#2455](https://github.com/apache/incubator-dubbo/pull/2455)
- PojoUtil support subclasses of java.util.Date, [#2502](https://github.com/apache/incubator-dubbo/pull/2502)
- Add ip and application name for MonitorService, [#2166](https://github.com/apache/incubator-dubbo/pull/2166)
- New ASCII logo, [#2402](https://github.com/apache/incubator-dubbo/pull/2402)

Bugfixes

- Change consumer retries default value from 0 to 2, [#2303](https://github.com/apache/incubator-dubbo/pull/2303)
- Fix the problem that attachment is lost when retry, [#2024](https://github.com/apache/incubator-dubbo/pull/2024)
- Fix NPE when telnet get a null parameter, [#2453](https://github.com/apache/incubator-dubbo/pull/2453)

UT stability

- Improve the stability by changing different port, setting timeout to 3000ms, [#2501](https://github.com/apache/incubator-dubbo/pull/2501)

Issues and Pull Requests, check [milestone-2.6.4](https://github.com/apache/incubator-dubbo/milestone/19).

## 2.6.3

Enhancements / Features

- Support implicit delivery of attachments from provider to consumer, #889
- Support inject Spring bean to SPI by bean type, #1837
- Add generic invoke and attachments support for http&hessian protocol, #1827
- Get the real methodname to support consistenthash for generic invoke, #1872
- Remove validation key from provider url on Consumer side, config depedently, #1386
- Introducing the Bootstrap module as a unified entry for Dubbo startup and resource destruction, #1820
- Open TCP_NODELAY on Netty 3, #1746
- Support specify proxy type on provider side, #1873
- Support dbindex in redis, #1831
- Upgrade tomcat to 8.5.31, #1781

Bugfixes

- ExecutionDispatcher meet with user docs, #1089
- Remove side effects of Dubbo custom loggers on Netty logger, #1717
- Fix isShutdown() judge of Dubbo biz threadpool always return true, #1426
- Selection of invoker node under the critical condition of only two nodes, #1759
- Listener cann't be removed during unsubscribe when use ZK as registry, #1792
- URL parsing problem when user filed contains '@', #1808
- Check null in CacheFilter to avoid NPE, #1828
- Fix potential deadlock in DubboProtocol, #1836
- Restore the bug that attachment has not been updated in the RpcContext when the Dubbo built-in retry mechanism is triggered, #1453
- Some other small bugfixes

Performance Tuning

- ChannelState branch prediction optimization. #1643
- Optimize AtomicPositiveInteger, less memory and compute cost, #348
- Introduce embedded Threadlocal to replace the JDK implementation, #1745

Hessian-lite
46 changes: 46 additions & 0 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# Contributor Covenant Code of Conduct

## Our Pledge

In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.

## Our Standards

Examples of behavior that contributes to creating a positive environment include:

* Using welcoming and inclusive language
* Being respectful of differing viewpoints and experiences
* Gracefully accepting constructive criticism
* Focusing on what is best for the community
* Showing empathy towards other community members

Examples of unacceptable behavior by participants include:

* The use of sexualized language or imagery and unwelcome sexual attention or advances
* Trolling, insulting/derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or electronic address, without explicit permission
* Other conduct which could reasonably be considered inappropriate in a professional setting

## Our Responsibilities

Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior.

Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.

## Scope

This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.

## Enforcement

Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [email protected]. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.

Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.

## Attribution

This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]

[homepage]: http://contributor-covenant.org
[version]: http://contributor-covenant.org/version/1/4/
76 changes: 76 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@

## Contributing to dubbo
Dubbo is released under the non-restrictive Apache 2.0 license, and follows a very standard Github development process, using Github tracker for issues and merging pull requests into master. If you want to contribute even something trivial please do not hesitate, but follow the guidelines below.

### Sign the Contributor License Agreement
Before we accept a non-trivial patch or pull request we will need you to sign the Contributor License Agreement. Signing the contributor’s agreement does not grant anyone commit rights to the main repository, but it does mean that we can accept your contributions, and you will get an author credit if we do. Active contributors might be asked to join the core team, and given the ability to merge pull requests.

### Contact

#### Mailing list

The mailing list is the recommended way for discussing almost anything that related to Dubbo. Please refer to this [guide](https://github.com/apache/incubator-dubbo/wiki/Mailing-list-subscription-guide) for detailed documentation on how to subscribe.

- [[email protected]](mailto:[email protected]): the develop mailing list, you can ask question here if you have encountered any problem when using or developing Dubbo.
- [[email protected]](mailto:[email protected]): all the commits will be sent to this mailing list. You can subscribe to it if you are interested in Dubbo's development.
- [[email protected]](mailto:[email protected]): all the Github [issue](https://github.com/apache/incubator-dubbo/issues) updates and [pull request](https://github.com/apache/incubator-dubbo/pulls) updates will be sent to this mailing list.

### Reporting issue

Please follow the [template](https://github.com/apache/incubator-dubbo/issues/new?template=dubbo-issue-report-template.md) for reporting any issues.

### Code Conventions
Our code style is almost in line with the standard java conventions (Popular IDE's default setting satisfy this), with the following additional restricts:
* If there are more than 120 characters in current line, start a new line.

* Make sure all new .java files to have a simple Javadoc class comment with at least a @date tag identifying birth, and preferably at least a paragraph on what the class is for.

* Add the ASF license header comment to all new .java files (copy from existing files in the project)

* Make sure no @author tag added to the file you contribute since @author tag is not used at Apache, other ways such as cvs will record all your contributions fairly.

* Add some Javadocs and, if you change the namespace, some XSD doc elements.

* A few unit tests should be added for a new feature or an important bugfix.

* If no-one else is using your branch, please rebase it against the current master (or other target branch in the main project).

* When writing a commit message please follow these conventions, if you are fixing an existing issue please add Fixes #XXX at the end of the commit message (where XXX is the issue number).

### Contribution flow

This is a rough outline of what a contributor's workflow looks like:

* Fork the current repository
* Create a topic branch from where to base the contribution. This is usually master.
* Make commits of logical units.
* Make sure commit messages are in the proper format (see below).
* Push changes in a topic branch to your forked repository.
* Follow the checklist in the [pull request template](https://github.com/apache/incubator-dubbo/blob/master/PULL_REQUEST_TEMPLATE.md)
* Before you sending out the pull request, please sync your forked repository with remote repository, this will make your pull request simple and clear. See guide below:
```
git remote add upstream [email protected]:apache/incubator-dubbo.git
git fetch upstream
git rebase upstream/master
git checkout -b your_awesome_patch
... add some work
git push origin your_awesome_patch
```
* Submit a pull request to apache/incubator-dubbo and wait for the reply.

Thanks for contributing!

### Code style

We provide a template file [dubbo_codestyle_for_idea.xml](https://github.com/apache/incubator-dubbo/tree/master/codestyle/dubbo_codestyle_for_idea.xml) for IntelliJ idea, you can import it to you IDE.
If you use Eclipse you can config manually by referencing the same file.

**NOTICE**

It is very important to set the dubbo_codestyle_for_idea.xml, otherwise you will fail to pass the Travis CI. Steps to set the code style are as below:

1. Enter `Editor > Code Style`
2. To manage a code style scheme, in the Code Style page, select the desired scheme from the drop-down list, and click ![manage profiles](codestyle/manage_profiles.png).
From the drop-down list, select `Import Scheme`, then select this option `IntelliJ IDEA code style XML` to import scheme
3. In the Scheme field, type the name of the new scheme and press ⏎ to save the changes.

Loading