Commit Graph

158 Commits

Author SHA1 Message Date
jean pierre Lerbscher 00812ce41c
Fix Sonar issue s2293 The diamond operator ('<>') should be used (#14005) 2024-03-29 11:40:06 +08:00
huazhongming 730695a7a2
[3.2]Use spotless to format the code (#13320)
* Use spotless to format the code

Signed-off-by: crazyhzm <crazyhzm@gmail.com>

* Support develop with JDK 21

Signed-off-by: crazyhzm <crazyhzm@gmail.com>

---------

Signed-off-by: crazyhzm <crazyhzm@gmail.com>
2023-11-07 15:40:13 +08:00
liaozan f2dbc84cac
Align logic between JValidatorNew and JValidator (#13063)
Co-authored-by: Albumen Kevin <jhq0812@gmail.com>
2023-09-20 09:44:23 +08:00
liaozan 8a509e9601
Update jvalidator to support parameter name retrieval (#13029)
* Update jvalidator to support parameter name retrieval

* Add unit test when parameters are primitive types

* Remove unused code

* Trigger ci

* Fix testcase

* Add more test case

* Update as suggested
2023-09-13 17:12:25 +08:00
Mengyang Tang 35751cbfae
Remove logic to simplify ConstraintViolationException to ValidationException. (#11883) 2023-03-27 10:04:14 +08:00
Mengyang Tang d061b29b39
Some code optimization (#11825)
* Code optimization

* Code optimization: modifier optimization, condition simplification, etc.

* Fix CI error

* Fix CI error
2023-03-16 09:43:57 +08:00
尔等同学 c272af38c6
Reactor some newInstance method (#11686) 2023-03-03 06:43:37 +08:00
常珂洁 5483693119
fix: remove redundancy exceptions (#11676) 2023-02-28 13:32:31 +08:00
尔等同学 7e51047cb0
delete never thrown exception (#11674) 2023-02-27 20:09:15 +08:00
Albumen Kevin 45120670ba
Remove public modifier in configcenter, container, filter, kubernetes… (#10979) 2022-11-22 10:49:50 +08:00
cnjxzhao 4d289883e7
Error code is managed with constants (#10771) (#10820)
* Add error code 5-2 ~ 5-20.

* Error code is managed with constants (#10549)

* Error code is managed with constants (#10549)

* Error code is managed with constants (#10771)

* Error code is managed with constants (#10771)

* Error code is managed with constants (#10771)
2022-10-25 11:58:11 +08:00
cheese8 fd48e1cc28 using guard clause to refactor CacheFilter (#10274)
* using guard clause to refactor CacheFilter

* Update CacheFilter.java
2022-07-06 14:27:33 +08:00
桔子 7e7fc2807c refactor: Modify the parameter validation log level to info (#10275) 2022-07-06 14:27:33 +08:00
Albumen Kevin ccf20fb6de
[3.0] Fix validation exception (#9620)
* [3.0] Fix validation exception

* fix ut
2022-01-26 11:40:42 +08:00
桔子 c589064e20
feature: support jsr-303 jakarta namespace (#9552)
Java EE has been renamed from javax to jakarta, including the jsr-303 api.
To support Hibernate Validator 7.x, a new JValidatorNew file has been added for compatibility with version 7.x

close #9544
2022-01-23 17:03:57 +08:00
ken.lj b2a4f612ec
3.0 service discovery metadata refactor (#9506) 2021-12-29 10:56:05 +08:00
lmj 40bd0cab93
change cache key #9076 (#9154) 2021-10-29 10:50:05 +08:00
Gong Dewei 1bdf359b1a
[3.0] Manage global resources and executor services, fix zk client connections (#9033)
* shutdown scheduledExecutors and executorServiceRing

* fix NPE of configuration

* Fix notify loop after executor service is shutdown

* improve registry center in tests

* polish unregister shutdown hook log

* Fix systemConfiguration NPE

* enable surefire reuseForks for fast testing

* Fix checking DubboShutdownHook is alive

* fix SPI/Bean instantiation constructor matching

* shutdown share executor

* release zk client

* Improve application destroy processing

* Add GlobalResourcesRepository to manager static resources, including ExecutorService and HashedWheelTimer

* revert zk client address mapping

* Fix zk client early close problem

* improve executor service

* improve both start by module and by application

* release sharedScheduledExecutor and fix AccessLogFilter

* Fix tests

* checking zk registry if destroyed

* fix testSystemPropertyOverrideReferenceConfig config error

* improve KeepRunningOnSpringClosedTest

* SPI extension/scope bean prefers parameterized constructor instead of default constructor

* Support compatible usage of ZookeeperRegistryFactory

* Improve the application/module destroy process, the deployer destruction is divided into pre-destroy and post-destroy

* Destroy NacosDynamicConfiguration

* Destroy MetadataReportFactory

* Recreate adaptive classes

* Destroy global resources on dubbo shutdown

* Fix zk thread leaks when create client failed

* Improve protocol destroying

* Improve thread name of protocol port

* Manage global EventLoopGroup, HashedWheelTimer, etc.

* Protected metadata info in memory

* Support checking unclosed threads when finish test class

* Improve application check started

* add test log4j.properties

* add pom.xml of dubbo-test-check

* fix CodecSupport.checkSerialization error

* Fix ReferenceCountExchangeClientTest log msg checking

* Fix ServiceInstanceMetadataUtilsTest and MigrationInvokerTest

* Fix protocol destroy problem

* rename test check jvm args

* cancel asyncMetadataFuture and unregisterServiceInstance in pre-destroy application

* Ignore refresh metadata if application is stopping

* Remove unused destroyDynamicConfigurations method

* Change ZookeeperTransporter to application scope

* Add testMultiProviderApplicationsStopOneByOne

* Destroy ZookeeperTransporter in RemotingScopeModelInitializer

* support specify test check report file
2021-10-19 10:11:53 +08:00
Gong Dewei eba466e0c8
[3.0] improve unit test efficiency (#8877)
* speed up maven building, disable update snapshot, remove unnecessary repositories

* reduce shutdown wait time

* update maven version to fix build error such as "java.lang.IllegalStateException: Entry [id:..][route:{s}->...][state:null] has not been leased from this pool", see
 https://issues.apache.org/jira/browse/HTTPCORE-634 (httpcore 4.4.14)

* add shutdown timeout for netty4

* fix scope model

* read server shutdown wait time before destroy

* Add shutdown timeout for triple protocol

* Improve register center of tests

* set shutdown wait time as attribute of ProtocolServer

* Fix reconnect and close

* fix closePromise
2021-09-23 17:38:19 +08:00
hunjipo 0b067c628b
Use StringBuilder#append(Char) to improve performance (#8169)
* To slightly improve performance, this commit switches to
StringBuilder.append(char) instead of StringBuilder.append(String)
whenever we append a single character to a StringBuilder.

* fix ReflectUtils#getName error

Co-authored-by: praychen <pray9612>
2021-07-08 21:51:35 +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
Albumen Kevin 8bc9257f4e
Migrate master bugfix (#7927) 2021-06-01 14:14:35 +08:00
Albumen Kevin 7dd5524733
Fix Integration Test (#7853)
* fix group key fetch

* enhance LRUCache (#7461)

* enhance LRUCache

* enhance LRUCache

(cherry picked from commit d3a400daca)

* add dependency pass

Co-authored-by: gcx <18716558336@163.com>
2021-05-24 20:48:14 +08:00
ken.lj 58e29bc77d fix wrong parent module version 2020-08-17 14:50:42 +08:00
ken.lj 8bdecea7ef
Move some SPI extensions to apache/dubbo-spi-extensions, add sub package modules (#6157) 2020-08-17 13:38:04 +08:00
陈哈哈 3ef35a1c0d
fix method name typo in JValidator.java (#6344) 2020-06-18 19:34:03 +08:00
myPrecious 4dd5a0db57
lfu cache (#5734)
fixes #5130
2020-04-03 10:30:00 +08:00
Ian Luo 0f99cb65c3 issue5432: avoid of serialization exception for javax.validation.ConstraintViolationException (#5672) 2020-01-17 14:34:56 +08:00
GungnirLaevatain 4d6639e2ea use ReflectUtils#isPrimitives instead of JValidator#isPrimitives (#5508) 2019-12-20 13:18:13 +08:00
ken.lj b576bb770c fix UTs 2019-11-21 20:30:17 +08:00
ken.lj 39f84fe8fe Merge branch 'master-merged-performance-cloudnative'
# Conflicts:
#	dubbo-bootstrap/dubbo-bootstrap-spring/src/main/java/org/apache/dubbo/config/spring/beans/factory/annotation/ReferenceAnnotationBeanPostProcessor.java
#	dubbo-bootstrap/dubbo-bootstrap-spring/src/main/java/org/apache/dubbo/config/spring/util/ClassUtils.java
#	dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/router/tag/TagRouter.java
#	dubbo-common/pom.xml
#	dubbo-common/src/main/java/org/apache/dubbo/common/URL.java
#	dubbo-common/src/main/java/org/apache/dubbo/common/config/configcenter/Constants.java
#	dubbo-common/src/main/java/org/apache/dubbo/common/constants/CommonConstants.java
#	dubbo-common/src/main/java/org/apache/dubbo/common/utils/ReflectUtils.java
#	dubbo-common/src/main/java/org/apache/dubbo/common/utils/StringUtils.java
#	dubbo-common/src/main/java/org/apache/dubbo/common/utils/UrlUtils.java
#	dubbo-common/src/main/java/org/apache/dubbo/config/AbstractConfig.java
#	dubbo-common/src/main/java/org/apache/dubbo/config/AbstractInterfaceConfig.java
#	dubbo-common/src/main/java/org/apache/dubbo/config/AbstractReferenceConfig.java
#	dubbo-common/src/main/java/org/apache/dubbo/config/AbstractServiceConfig.java
#	dubbo-common/src/main/java/org/apache/dubbo/config/ConfigCenterConfig.java
#	dubbo-common/src/main/java/org/apache/dubbo/config/Constants.java
#	dubbo-common/src/main/java/org/apache/dubbo/rpc/support/ProtocolUtils.java
#	dubbo-compatible/src/main/java/com/alibaba/dubbo/common/Constants.java
#	dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/ReferenceConfig.java
#	dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/ServiceConfig.java
#	dubbo-config/dubbo-config-api/src/test/java/org/apache/dubbo/config/AbstractConfigTest.java
#	dubbo-config/dubbo-config-api/src/test/java/org/apache/dubbo/config/AbstractReferenceConfigTest.java
#	dubbo-config/dubbo-config-api/src/test/java/org/apache/dubbo/config/AbstractServiceConfigTest.java
#	dubbo-config/dubbo-config-api/src/test/java/org/apache/dubbo/config/ConfigCenterConfigTest.java
#	dubbo-config/dubbo-config-api/src/test/java/org/apache/dubbo/config/builders/AbstractReferenceBuilderTest.java
#	dubbo-config/dubbo-config-api/src/test/java/org/apache/dubbo/config/builders/AbstractServiceBuilderTest.java
#	dubbo-config/dubbo-config-api/src/test/java/org/apache/dubbo/config/url/UrlTestBase.java
#	dubbo-config/dubbo-config-spring/src/main/java/org/apache/dubbo/config/spring/ServiceBean.java
#	dubbo-configcenter/dubbo-configcenter-apollo/src/main/java/org/apache/dubbo/configcenter/support/apollo/ApolloDynamicConfiguration.java
#	dubbo-configcenter/dubbo-configcenter-consul/src/main/java/org/apache/dubbo/configcenter/consul/ConsulDynamicConfiguration.java
#	dubbo-configcenter/dubbo-configcenter-etcd/src/main/java/org/apache/dubbo/configcenter/support/etcd/EtcdDynamicConfiguration.java
#	dubbo-configcenter/dubbo-configcenter-zookeeper/src/main/java/org/apache/dubbo/configcenter/support/zookeeper/ZookeeperDynamicConfiguration.java
#	dubbo-dependencies-bom/pom.xml
#	dubbo-dependencies/dubbo-dependencies-zookeeper/pom.xml
#	dubbo-metadata-report/dubbo-metadata-report-api/src/main/java/org/apache/dubbo/metadata/integration/MetadataReportService.java
#	dubbo-metadata-report/dubbo-metadata-report-api/src/test/java/org/apache/dubbo/metadata/integration/MetadataReportServiceTest.java
#	dubbo-metadata-report/dubbo-metadata-report-etcd/src/test/java/org/apache/dubbo/metadata/store/etcd/EtcdMetadataReportTest.java
#	dubbo-remoting/dubbo-remoting-api/src/main/java/org/apache/dubbo/remoting/Constants.java
#	dubbo-remoting/dubbo-remoting-netty4/src/main/java/org/apache/dubbo/remoting/transport/netty4/NettyClientHandler.java
#	dubbo-remoting/dubbo-remoting-netty4/src/main/java/org/apache/dubbo/remoting/transport/netty4/NettyServerHandler.java
#	dubbo-remoting/dubbo-remoting-zookeeper/src/main/java/org/apache/dubbo/remoting/zookeeper/curator/CuratorZookeeperClient.java
#	dubbo-rpc/dubbo-rpc-api/src/main/java/org/apache/dubbo/rpc/Constants.java
#	dubbo-rpc/dubbo-rpc-api/src/main/java/org/apache/dubbo/rpc/filter/ContextFilter.java
#	dubbo-rpc/dubbo-rpc-api/src/main/java/org/apache/dubbo/rpc/filter/GenericFilter.java
#	dubbo-rpc/dubbo-rpc-api/src/main/java/org/apache/dubbo/rpc/interceptors/ConsumerContextClusterInterceptor.java
#	dubbo-rpc/dubbo-rpc-dubbo/src/test/java/org/apache/dubbo/rpc/service/GenericServiceTest.java
#	dubbo-rpc/dubbo-rpc-dubbo/src/test/java/org/apache/dubbo/rpc/validation/ValidationTest.java
#	dubbo-rpc/dubbo-rpc-rest/src/main/java/org/apache/dubbo/rpc/protocol/rest/RpcContextFilter.java
#	dubbo-rpc/dubbo-rpc-rest/src/test/java/org/apache/dubbo/rpc/protocol/rest/RestProtocolTest.java
#	pom.xml
2019-10-28 21:39:34 +08:00
ken.lj 62e204e424 Merge branch 'cloud-native' into master-merged-performance-cloudnative 2019-10-10 21:15:18 +08:00
leitao 60abb6dbae fix doc typo in CacheFilter.java (#5042) 2019-09-13 16:04:59 +08:00
ken.lj e261acc98a Solve conflicts after merged 3.x 2019-09-02 19:18:07 +08:00
ken.lj 9f5cc83d34 Merge branch '3.x-dev' 2019-08-30 17:31:01 +08:00
luryson d7e2ef42b9 Fix [3796] fix method parameter bean generation (#4859)
* 封装验证参数实体时,增加同步控制,防止容器启动后第一次调用时的并发问题

封装验证参数实体时,增加同步控制,防止容器启动后第一次调用时的并发问题

* move relevant code to a new method

* add try block to catch NotFoundException when try to generate method-parameter-class
2019-08-20 14:33:16 +08:00
Mercy Ma e7ce16d992
Dubbo Cloud Native (#4764)
* Polish apache/dubbo#4542 : [Enhancement] Adapt the Java standard Event/Listener mechanism

* Polish apache/dubbo#4541 : [Feature] Add local File System DynamicConfigurationFactory‘s extension

* Polish apache#4541 : Bugfix

* Polish apache/dubbo#4541 : Optimization

* Polish apache/dubbo#4541 : Add the compatibility for PollingWatchService on the some platforms

* Polish apache/dubbo#4541 : Add delay publish without ThreadPoolExecutor

* Polish apache/dubbo#4541 : Refactor the extension name

* Polish apache/dubbo#4541 : Add remove ops

* Polish apache/dubbo#4541 : Add testable constructor

* Polish apache/dubbo#4541 : Add getConfigGroups method

* Polish apache/dubbo#4610 : [Refactor] Refactor the bootstrap module

* Polish apache/dubbo#4541 : Fix the nulling URL issue

* Polish apache/dubbo#4622 : [Refactor] Refactor ConfigManager

* Polish apache/dubbo#4622 : [Refactor] Refactor ConfigManager

* Polish apache/dubbo#4622 : Support multiple configcenters

* Polish apache/dubbo#4671 : ServiceNameMapping will not map the group, version and protocol

* update referenceCount log (#4683)

Add comments to support multiple shared connections

* Polish /apache/dubbo#4687 : Remove the duplicated test code in dubbo-config-spring (#4688)

* #4685  修改代码if判断false问题 if (hasException == false)修改成if (!hasException) (#4695)

* Fixed Service annotation method parameters are not in effect (#4598)

* keep demo simple, and switch to use zookeeper as registry center (#4705)

* keep demo simple, and switch to use zookeeper as registry center

* remove comment

* @Reference auto-wires the instance of generic interface #4594 (#4677)

* try to shorten maven output to make travis build pass (#4710)

* use CountDownLatch to check zk registry if establish connection (#4589)

* Minor change

* Rename the extension name of WritableMetadataService

* Polish apache/dubbo#4759 : [Refactor] Change the signature of methods of MetadataService #4759

* Merge remote-tracking branch 'upstream/master' into dubbo-cloud-native

# Conflicts:
#	dubbo-all/pom.xml
#	dubbo-bom/pom.xml
#	dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/AbstractInterfaceConfig.java
#	dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/ApplicationConfig.java
#	dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/ConfigCenterConfig.java
#	dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/ReferenceConfig.java
#	dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/RegistryConfig.java
#	dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/ServiceConfig.java
#	dubbo-config/dubbo-config-api/src/test/java/org/apache/dubbo/config/ReferenceConfigTest.java
#	dubbo-configcenter/dubbo-configcenter-api/src/main/java/org/apache/dubbo/configcenter/DynamicConfiguration.java
#	dubbo-configcenter/dubbo-configcenter-api/src/test/java/org/apache/dubbo/configcenter/mock/MockDynamicConfiguration.java
#	dubbo-configcenter/dubbo-configcenter-consul/src/main/java/org/apache/dubbo/configcenter/consul/ConsulDynamicConfiguration.java
#	dubbo-configcenter/dubbo-configcenter-etcd/src/test/java/org/apache/dubbo/configcenter/support/etcd/EtcdDynamicConfigurationTest.java
#	dubbo-configcenter/dubbo-configcenter-nacos/src/main/java/org/apache/dubbo/configcenter/support/nacos/NacosDynamicConfiguration.java
#	dubbo-configcenter/dubbo-configcenter-nacos/src/test/java/org/apache/dubbo/configcenter/support/nacos/NacosDynamicConfigurationTest.java
#	dubbo-configcenter/dubbo-configcenter-zookeeper/src/main/java/org/apache/dubbo/configcenter/support/zookeeper/ZookeeperDynamicConfiguration.java
#	dubbo-metadata/dubbo-metadata-api/src/main/java/org/apache/dubbo/metadata/definition/model/MethodDefinition.java
#	dubbo-metadata/dubbo-metadata-api/src/main/java/org/apache/dubbo/metadata/report/identifier/MetadataIdentifier.java
#	dubbo-metadata/dubbo-metadata-api/src/main/java/org/apache/dubbo/metadata/report/support/AbstractMetadataReport.java
#	dubbo-metadata/dubbo-metadata-api/src/test/java/org/apache/dubbo/metadata/report/identifier/MetadataIdentifierTest.java
#	dubbo-metadata/dubbo-metadata-definition-protobuf/src/main/java/org/apache/dubbo/metadata/definition/protobuf/ProtobufTypeBuilder.java
#	dubbo-metadata/dubbo-metadata-definition-protobuf/src/test/java/org/apache/dubbo/metadata/definition/protobuf/ProtobufTypeBuilderTest.java
#	dubbo-metadata/pom.xml
#	dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/integration/AbstractConfiguratorListener.java
#	dubbo-registry/dubbo-registry-nacos/src/main/java/org/apache/dubbo/registry/nacos/NacosRegistry.java
#	dubbo-registry/dubbo-registry-nacos/src/main/java/org/apache/dubbo/registry/nacos/NacosRegistryFactory.java
#	dubbo-rpc/dubbo-rpc-xml/src/main/java/org/apache/dubbo/xml/rpc/protocol/xmlrpc/XmlRpcProtocol.java

* Polish apache/dubbo#3984 : Add the implementation of Page<ServiceInstance> getInstances(String serviceName, int offset, int pageSize, boolean healthyOnly)

* Code merge
2019-08-08 10:42:14 +08:00
jimin 764b8dffcc optimize some code styles (#4260)
* optimize some code styles

Signed-off-by: jimin.jm <slievrly@163.com>

* optimize some code styles

Signed-off-by: jimin.jm <slievrly@163.com>
2019-07-22 14:51:45 +08:00
jimin 041a6addc1 [Dubbo-4323]fix use AtomicInteger instead of volatile to inc (#4324)
Signed-off-by: slievrly <slievrly@163.com>
2019-06-18 11:04:29 +08:00
jimin 8f783fad91 optimize junit Assert usage (#4214) 2019-06-02 01:16:53 +08:00
ken.lj ebafc18c4d merge async changes in 3.x to 2.7 (#3997) 2019-05-23 10:19:04 +08:00
Ian Luo 0b380e3280 [DUBBO-3137]: step3, remove constants completely. (#4053)
* [DUBBO-3137]: step3, start to use ConfigConstants, FilterConstants, and remove Constants.java completely.

* remove Constants imports
2019-05-14 16:12:30 +08:00
Ian Luo fe3d345883 [DUBBO-3137]: step3 - start using CommonConstants (#4030)
* [DUBBO-3137]: start to use org.apache.dubbo.common.constants.CommonConstants

* remove useless imports

* remove useless imports

* remove unused imports

* remove unused imports

* remove unused imports

* remove unused imports

* remove unused imports

* use static import
2019-05-12 16:33:35 +08:00
ken.lj 59dab14ceb Use maven CI friendly versions: revision. (#3851) 2019-04-12 11:41:51 +08:00
Alex 47d3cbcdb4 polish code and fix (#3761) (#3838) 2019-04-12 11:39:38 +08:00
ken.lj b26604ffb4 use maven CI friendly versions: revision, cherry-pick to 3.x. (#3852)
* use maven CI friendly versions: revision
* add back mis-deleted files
* bump version to 3.0.0-SNAPSHOT
2019-04-12 11:33:26 +08:00
ken.lj 003e400b6f Async optimization (#3738)
* Result implement CF

* Result implement CF

* Result implement CF

* Add AsyncRpcResult

* Fix bugs and refactor Filter

* Try to add onSend onError for Filter

* invoke different filter method according to result status.

*  make generic work with async call, including add $invokeAsync

* refactor legacy Filter implementation to work with onResponse.

* demo changes

* Fixes #3620, provider attachment lose on consumer side, fix this by reverting RpcContext copy

* AsyncRpcResult should always holds an Invocation instance

* refactor filter signature

* reimplement embedded Filters

* use ProviderModel modification in 3.x

* Fix address notification processing workflow after merging 3.x branch

* Fix UT

* Fix UT

* Unit test of JValidator; Clean code of JValidator (#3723)

* Fixes #3625 (#3730)

use constant to replace magic number

* Fix conflict when merging master and 3.x

* Fix conflict when merging master and 3.x

* Result interface itself has Future status.

* Fix DefaultFuture UT

* Wrap all protocol Invoker with AsyncToSyncInvoker & Fix UT

* Add license

* fix UT

* Fix ut in MonitorFilterTest

* avoid duplicate async to sync wrapper

* return async result in CacheFilter.

* fix UT in CacheFilterTest

* Add generic condition check to GenericFilter callback.

* Fix UT

* Get generic from RpcContext if the value in Invocation is empty.

* Fix RSocketProtocol to meet AbstractProtocol adjustment

* rename RpcResult to AppResponse to help avoid confusion with AsyncRpcResult.

* RSocket module switch to AsyncRpcResult
2019-04-12 10:29:30 +08:00
Ian Luo 91101cf741 Merge branch '2.7.1-release' 2019-03-26 17:10:57 +08:00
Taosheng Wei c1be6c6160 Unit test of JValidator; Clean code of JValidator (#3723) 2019-03-25 10:44:39 +08:00
Ian Luo bc67770d64 [maven-release-plugin] prepare for next development iteration 2019-03-18 19:11:51 +08:00