-
Notifications
You must be signed in to change notification settings - Fork 12.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
修改长连接request response 类注册逻辑,由类扫描改成手动注册 (#9738)
* 修改request response 类加载逻辑,有类扫描改成手动注册 * 优化注册方式,直接SPI注册payload
- Loading branch information
1 parent
b472d70
commit 6904707
Showing
20 changed files
with
147 additions
and
394 deletions.
There are no files selected for viewing
57 changes: 57 additions & 0 deletions
57
api/src/main/resources/META-INF/services/com.alibaba.nacos.api.remote.Payload
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
# | ||
# Copyright 1999-2021 Alibaba Group Holding Ltd. | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
# | ||
# | ||
com.alibaba.nacos.api.remote.request.ClientDetectionRequest | ||
com.alibaba.nacos.api.remote.request.ConnectionSetupRequest | ||
com.alibaba.nacos.api.remote.request.ConnectResetRequest | ||
com.alibaba.nacos.api.remote.request.HealthCheckRequest | ||
com.alibaba.nacos.api.remote.request.PushAckRequest | ||
com.alibaba.nacos.api.remote.request.ServerCheckRequest | ||
com.alibaba.nacos.api.remote.request.ServerLoaderInfoRequest | ||
com.alibaba.nacos.api.remote.request.ServerReloadRequest | ||
com.alibaba.nacos.api.remote.response.ClientDetectionResponse | ||
com.alibaba.nacos.api.remote.response.ConnectResetResponse | ||
com.alibaba.nacos.api.remote.response.ErrorResponse | ||
com.alibaba.nacos.api.remote.response.HealthCheckResponse | ||
com.alibaba.nacos.api.remote.response.ServerCheckResponse | ||
com.alibaba.nacos.api.remote.response.ServerLoaderInfoResponse | ||
com.alibaba.nacos.api.remote.response.ServerReloadResponse | ||
com.alibaba.nacos.api.config.remote.request.ClientConfigMetricRequest | ||
com.alibaba.nacos.api.config.remote.request.ConfigBatchListenRequest | ||
com.alibaba.nacos.api.config.remote.request.ConfigChangeNotifyRequest | ||
com.alibaba.nacos.api.config.remote.request.ConfigPublishRequest | ||
com.alibaba.nacos.api.config.remote.request.ConfigQueryRequest | ||
com.alibaba.nacos.api.config.remote.request.ConfigRemoveRequest | ||
com.alibaba.nacos.api.config.remote.response.ClientConfigMetricResponse | ||
com.alibaba.nacos.api.config.remote.response.ConfigChangeBatchListenResponse | ||
com.alibaba.nacos.api.config.remote.response.ConfigChangeNotifyResponse | ||
com.alibaba.nacos.api.config.remote.response.ConfigPublishResponse | ||
com.alibaba.nacos.api.config.remote.response.ConfigQueryResponse | ||
com.alibaba.nacos.api.config.remote.response.ConfigRemoveResponse | ||
com.alibaba.nacos.api.config.remote.request.cluster.ConfigChangeClusterSyncRequest | ||
com.alibaba.nacos.api.config.remote.response.cluster.ConfigChangeClusterSyncResponse | ||
com.alibaba.nacos.api.naming.remote.request.BatchInstanceRequest | ||
com.alibaba.nacos.api.naming.remote.request.InstanceRequest | ||
com.alibaba.nacos.api.naming.remote.request.NotifySubscriberRequest | ||
com.alibaba.nacos.api.naming.remote.request.ServiceListRequest | ||
com.alibaba.nacos.api.naming.remote.request.ServiceQueryRequest | ||
com.alibaba.nacos.api.naming.remote.request.SubscribeServiceRequest | ||
com.alibaba.nacos.api.naming.remote.response.BatchInstanceResponse | ||
com.alibaba.nacos.api.naming.remote.response.InstanceResponse | ||
com.alibaba.nacos.api.naming.remote.response.NotifySubscriberResponse | ||
com.alibaba.nacos.api.naming.remote.response.QueryServiceResponse | ||
com.alibaba.nacos.api.naming.remote.response.ServiceListResponse | ||
com.alibaba.nacos.api.naming.remote.response.SubscribeServiceResponse |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
46 changes: 0 additions & 46 deletions
46
client/src/main/java/com/alibaba/nacos/client/remote/ClientPayloadPackageProvider.java
This file was deleted.
Oops, something went wrong.
18 changes: 0 additions & 18 deletions
18
...c/main/resources/META-INF/services/com.alibaba.nacos.common.remote.PayloadPackageProvider
This file was deleted.
Oops, something went wrong.
18 changes: 0 additions & 18 deletions
18
...c/test/resources/META-INF/services/com.alibaba.nacos.common.remote.PayloadPackageProvider
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
40 changes: 0 additions & 40 deletions
40
common/src/test/java/com/alibaba/nacos/common/remote/MockPayloadPackageProvider.java
This file was deleted.
Oops, something went wrong.
18 changes: 0 additions & 18 deletions
18
...c/test/resources/META-INF/services/com.alibaba.nacos.common.remote.PayloadPackageProvider
This file was deleted.
Oops, something went wrong.
44 changes: 0 additions & 44 deletions
44
...ig/src/main/java/com/alibaba/nacos/config/server/remote/ConfigPayloadPackageProvider.java
This file was deleted.
Oops, something went wrong.
18 changes: 0 additions & 18 deletions
18
...c/main/resources/META-INF/services/com.alibaba.nacos.common.remote.PayloadPackageProvider
This file was deleted.
Oops, something went wrong.
18 changes: 0 additions & 18 deletions
18
...c/test/resources/META-INF/services/com.alibaba.nacos.common.remote.PayloadPackageProvider
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.