Commit Graph

28 Commits

Author SHA1 Message Date
huazhongming c9b6e85d03
The compiler version is the same as the trunk version (#10144) 2022-06-14 14:09:14 +08:00
GuoHao e4b4306818
Enable mvn cache (#9889) 2022-04-03 03:17:12 +08:00
Albumen Kevin d41a0448c7
Fix integration test cache (#9795) 2022-03-16 18:49:46 +08:00
Pin Xiong d5aa923d68
fix: Obtain the downloaded zookeeper path when run unit test (#9486)
* fix: Obtain the downloaded zookeeper path when run unit test

1. Set priorities for the downloaed zookeeper path
2. Support environment variables

see: https://github.com/apache/dubbo/issues/9478

* perf: Remove unused code

* perf: Optimize the customized directory
2021-12-27 15:56:56 +08:00
Albumen Kevin f33398f857
JDK17 Support for Dubbo (#9062)
* Add JDK17 Support for Javaassist

* compact javaassist

* compact javaassist

* opt code

* fix compile

* fix classpath

* add ant

* tmp fix

* fix ut

* change name

* Refactor get class

* remove reflect get stackTrace

* Fix support jdk 17

* Add jdk 17 to ut

* Add jdk 17 to ut

* update mockito version

* update jacoco

* ignore java compile

* add open

* fix ut

* fix ut

* fix jupiter api

* fix pom

* disable zk 3.4

* disable script router in jdk 17

* remove curator5

* fix ut

* fix ut

* fix ut

* fix ut

* fix ut

* fix ut

* fix ut

* fix ut

* fix zk

* remove test scope

* fix ut

* add open

* fix ut

* add curator

* fix pom

* fix pom

* enable debug

* remove add open

* add open profile

* auto activate open

* disable test in zk

* refactor zk dependency

* remove curator test

* add zookeeper dependency

* fix compile

* change zk default wait time

* change zk default wait time

* fix ut

* set throwable message by constructor

* Add unit prepare jdk 17 support

* fix zk dependency

* remove jackson-databind
2021-12-27 13:18:15 +08:00
Pin Xiong 3f598490a5
perf: Optimize the shell script in github workflow (#9462)
1. Avoid to download zookeeper if cached
2. Optimize the shell script
2021-12-22 10:54:46 +08:00
Pin Xiong a489ad9111
fix: Download zookeeper archive binary in github workflow (#9431)
fixes  #9430
2021-12-17 09:17:11 +08:00
huazhongming 54b27a9f7b
add issues template (#9036) 2021-10-15 14:26:13 +08:00
huazhongming 27ef85c9d7
UT: refer metadata service (#8761)
* add ut for refer metadata service

* fix mockito

* fix

* fix

* fix
2021-09-12 16:58:46 +08:00
Albumen Kevin 0a9276d7bf
[3.0] Multi Instances - Refactor ServiceRepository (#8684)
* Introduce ServiceMetadata for Triple Health check

* Reintroduce some method

* Refactor ServiceRepository

* Support Consumer Param override

* Support multi consumer

* Fix ut

* Fix ut

* Fix ut

* Fix ut

* Fix ut

* Fix ut

* Support Multi ClassLoader

* Add Multi ClassLoader Test

* change zk time

* change timeout

* Fix compatible module support

* Refactor consumer param override in ServiceDiscovery
2021-09-06 15:24:02 +08:00
Gong Dewei ea151d0f51
[3.0] New service repository support for multi instance (#8669)
* Add ExtensionDirector and Models

* Fix access static getter method of ApplicationModel

* Replace ExtensionFactory with ExtensionInjector

* specify scope of some SPIs

* Support scoped injection for extension

* improve create extension loader logic

* Add ScopeModel and ScopeBeanFactory, fix extension initialization of XxxConfig

* polish doc of scope model

* Extract FrameworkStatusReportService from FrameworkStatusReporter

* Fix application model of default bootstrap instance

* Pass scope model through URL

* Fix scope model of registry, metadata, cluster and so on

* exact ServiceModel from ProviderModel and ConsumerModel

* Add ASF license header for ScopeBeanFactoryInitializer

* Remove unused import

* Remove unused import

* Fix ut in ConfigManagerTest

* Change default Scope Behave

* Resolve recursive creation of Scope Model

* Fix inject default model when scope is parent

* Fix inject default model when scope is parent

* Compact with url without ScopeModel

* Change HttpBinder Scope

* Change some SPIs' scope

* Fix setApplicationModel override issue of MetadataServiceNameMapping

* Default inject ScopeModel in ConfigManager

* Add default Scope for AbstractConfig when init

* Fix field override & Fix ut env

* Fix zk not startup in DubboBootstrapMultiInstanceTest

* Fix ExtensionAccessor not inject in UT of MetricsFilterTest

* Compact old style getName

* Fix UT in DNSServiceDiscoveryTest

* Compact old style ApplicationModel

* Fix UT in DNSServiceDiscoveryTest

* Fix repository changed after ApplicationModel destroyed

* Fix SpringExtensionInjector pollution in UT

* Pass ApplicationModel in ServiceInstance

* reintroduce metadata delay key

* Add Transient on ApplicationModel getter of DefaultServiceInstance

* Fix Configurator Listener in Singleton mode override issue

* Fix Configurator Listener in Singleton mode override issue

* Compact old style getApplication

* Invocation pass ServiceModel

* Compact old style registerConsumer

* Fix NPE in RpcInvocation

* Add ServiceModel pass when init

* Fix ServiceModel cast error

* Add ServiceModel pass when invoke

* Fix NPE when simplify registry url

* Revert "Resolve recursive creation of Scope Model"

This reverts commit 37a99957

* Improve scope model aware

* polish scope model

* Cleanup ApplicationModel.defaultModel usage

* Fix ut

* Compatible with 2.6 Registry

* Fix ut

* Add Callback Service build ProviderModel

* improve scope model of config bean

* Fix scope model of reference/service model

* Revert CallbackServiceCodec for dev

* Fix scope model NPE

* Fix consumer url NPE

* Add Callback Service build ProviderModel

* Fix NPE when destroy

* Fix ut

* pick from Add Callback Service build ProviderModel (b47b2777f9)

* add failback logic for ut

* Fix ut

* Add Scope Model check

* Fix adaptive spi extension loading

* update adaptive classes

* Split ServiceRepository

* Fix apache license

* Fix UT

* Fix uts

* Fix DubboCodec

* Fix ut in DubboBootstrapTest

* Fix ut in DubboBootstrapTest

* Suspend register duplicate providers error

* Improve get unwrapped extension

* Fix GenericServiceTest

* Destroy all protocols in DubboBootstrap.reset()

* Add --no-snapshot-updates and -fae for test fail safe

* Fix uts

* Reset ApplicationModel Before Test

* Improve scope model initialization

* Support instantiating spi/bean constructor with scope model parameters

* change to fail never mode (-fn)

* get unwrapped instance of DubboProtocol

* Change referenced config's scope model after scope model changed

* Change referenced config's scope model after scope model changed

* Fix NPE of setScopeMode

* change to fail-at-end (-fae) mode

* Fix change scope model error

* Avoid duplicate destroy model

* Fix LocalCallMultipleReferenceAnnotationsTest

* Avoid injection bean type of java.lang.Object

* change to fail fast mode

Co-authored-by: Albumen Kevin <jhq0812@gmail.com>
2021-09-03 21:00:47 +08:00
Albumen Kevin 358bee2b02
Disable File System Test for all envs (#8076) 2021-06-18 11:16:20 +08:00
Albumen Kevin 0e66de1c61
[3.0] Code reformat (#8019)
* convert files, add checker

* rename id

* tab to space

* change git attributes auto convert

* fix end new line

* fix end new line

* fix end new line

* ignore generated files

* override tomcat-embed-core version

* add ignore for codestyle/checkstyle.xml

* add ignore for codestyle/checkstyle.xml

* add rat ignore

* add suppression

* force update

* disable zk dynamic configurator
2021-06-10 20:13:39 +08:00
Gong Dewei d0454fdbef
[3.0] Refactor dubbo config (#7891)
fixes #7574
2021-06-08 16:44:54 +08:00
Albumen Kevin a7fb614c13
[Github-Actions] Improve Test cases (#7849)
* Improve Test cases for Dubbo 3.0, from #7592 #7829

* Fix compile error

* move static field recover to final block

* Move application config set to ApplicationModel in ReferenceConfigTest
2021-05-24 16:35:36 +08:00
Albumen Kevin be54ec206a
[Spring Boot Project] Merge 3.0.x Spring-Boot project into Dubbo 3.0.x (#7441)
* [Spring Boot Project] Merge 3.0.x Spring-Boot project into Dubbo 3.0.x

* add junit5 dependency

* ignore ut

* change to junit5

* reset ApplicationModel
2021-04-01 15:28:31 +08:00
Albumen Kevin a812a7a9bf [3.0-Actions] Add rat result upload & Fix rat in Ubuntu (#7394) 2021-03-24 15:24:36 +08:00
Albumen Kevin ca6ed67341
Improve Github Actions Script for 3.0 branch (#7148) 2021-02-19 17:11:54 +08:00
Albumen Kevin a38471d173
Add Github Actions UT and IT check for 3.0 branch (#7136)
* Add Github Actions UT and IT check for 3.0 branch

* Add workflow_dispatch support
2021-01-26 21:04:24 +08:00
Huang YunKun 85f3db20e2
disable github action 2019-11-27 10:19:02 +08:00
Huang YunKun 423facb22c
enable github action for basic ci check 2019-10-12 17:30:18 +08:00
Xin Wang a8ca64c8aa
Remove incubator (#4161) 2019-05-25 00:06:55 +08:00
elmar.chen c9eb57fde2 Update dubbo-issue-report-template.md (#2483)
fix some wording issue.
2018-09-11 16:03:08 +08:00
Huxing Zhang bb4ea54cfb Update FAQ link. 2018-07-18 21:42:42 +08:00
Ian Luo da6556fee1 Update issue templates
suggest the reporter to provide GitHub address for reproducer.
2018-07-18 10:12:25 +08:00
Huxing Zhang 14ff83046f Update issue template description. 2018-06-29 10:09:41 +08:00
Huxing Zhang ae162a1aca Remove custom.md. 2018-06-29 10:05:22 +08:00
Huxing Zhang f8cd9d9f50 Create issue templates 2018-06-29 10:00:22 +08:00