| Package | Description |
|---|---|
| com.huaweicloud.router.core.distribute | |
| com.huaweicloud.router.core.match | |
| com.huaweicloud.router.core.model |
| Modifier and Type | Method and Description |
|---|---|
List<T> |
AbstractRouterDistributor.distribute(String targetServiceName,
List<T> list,
PolicyRuleItem invokeRule) |
List<T> |
RouterDistributor.distribute(String targetServiceName,
List<T> list,
PolicyRuleItem invokeRule) |
TagItem |
AbstractRouterDistributor.getFiltedServerTagItem(PolicyRuleItem rule,
String targetServiceName) |
| Modifier and Type | Method and Description |
|---|---|
PolicyRuleItem |
RouterRuleMatcher.match(String serviceName,
Map<String,String> invokeHeader)
匹配到合适的rule 匹配规则即: source (目标服务名字) sourceTags (一期先不考虑) headers (匹配header字段)
|
| Modifier and Type | Method and Description |
|---|---|
List<PolicyRuleItem> |
ServiceInfoCache.getAllrule() |
| Modifier and Type | Method and Description |
|---|---|
int |
PolicyRuleItem.compareTo(PolicyRuleItem param) |
TagItem |
ServiceInfoCache.getNextInvokeVersion(PolicyRuleItem policyRuleItem) |
| Modifier and Type | Method and Description |
|---|---|
void |
ServiceInfoCache.setAllrule(List<PolicyRuleItem> allrule) |
| Constructor and Description |
|---|
ServiceInfoCache(List<PolicyRuleItem> policyRuleItemList) |
Copyright © 2023 Pivotal Software, Inc.. All rights reserved.