You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@servicecomb.apache.org by "何一乐 (JIRA)" <ji...@apache.org> on 2018/11/23 09:11:00 UTC

[jira] [Created] (SCB-1039) Add interface to compatible with ServiceCenter Aggregator

何一乐 created SCB-1039:
------------------------

             Summary: Add interface to compatible with ServiceCenter Aggregator
                 Key: SCB-1039
                 URL: https://issues.apache.org/jira/browse/SCB-1039
             Project: Apache ServiceComb
          Issue Type: Improvement
          Components: Java-Chassis
            Reporter: 何一乐


1.增加几个接口
  org.apache.servicecomb.serviceregistry.client.ServiceRegistryClient#getMicroservice旁边加getAggregatedMicroervice
  org.apache.servicecomb.serviceregistry.ServiceRegistry#getRemoteMicroservice旁边加上getAggregatedRemoteMicroervice
  org.apache.servicecomb.serviceregistry.client.ServiceRegistryClient#getSchema旁边加getAggregatedSchema
  都加上java doc注释,描述以下信息:
    1)连接普通ServiceCenter时,效果等同于不带Aggregagit chected的信息
    2)连接ServiceCenter Aggregator时,表示获取范围不仅仅局限在本ServiceCenter中,还包括其他ServiceCenter集群

  向ServiceCenter发RESTful请求时,Aggregated的版本是在query参数部分加上global=true
2.搜索旧接口的所有引用
   所有在服务发现流程中对它们的调用,都需要切换为Aggregated版本




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)