-
Notifications
You must be signed in to change notification settings - Fork 164
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
106 additions
and
285 deletions.
There are no files selected for viewing
46 changes: 0 additions & 46 deletions
46
...ud/sermant/tag/transmission/declarers/rpc/servicecomb/ServiceCombRpcProviderDeclarer.java
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
123 changes: 0 additions & 123 deletions
123
...mant/tag/transmission/interceptors/rpc/servicecomb/ServiceCombRpcProviderInterceptor.java
This file was deleted.
Oops, something went wrong.
37 changes: 37 additions & 0 deletions
37
...in/src/main/java/com/huaweicloud/sermant/tag/transmission/service/HeaderParseService.java
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,37 @@ | ||
/* | ||
* Copyright (C) 2023-2023 Huawei Technologies Co., Ltd. All rights reserved. | ||
* | ||
* 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. | ||
*/ | ||
|
||
package com.huaweicloud.sermant.tag.transmission.service; | ||
|
||
import com.huaweicloud.sermant.core.plugin.service.PluginService; | ||
|
||
import java.util.Map; | ||
|
||
/** | ||
* 用于从http header的value中解析json字符串为rpc服务的header | ||
* | ||
* @author daizhenyu | ||
* @since 2023-09-14 | ||
**/ | ||
public interface HeaderParseService extends PluginService { | ||
/** | ||
* 将json字符串解析为rpc服务 的header | ||
* | ||
* @param header Json字符串 | ||
* @return rpc服务 的header | ||
*/ | ||
Map<String, String> parseHeaderFromJson(String header); | ||
} |
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
114 changes: 0 additions & 114 deletions
114
.../tag/transmission/interceptors/rpc/servicecomb/ServiceCombRpcProviderInterceptorTest.java
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
Oops, something went wrong.