You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by GitBox <gi...@apache.org> on 2021/01/14 11:08:57 UTC

[GitHub] [servicecomb-java-chassis] liubao68 commented on issue #2199: CSE版本由3.0.0版本升级至3.1.6版本后注册接口删除,导致业务报错

liubao68 commented on issue #2199:
URL: https://github.com/apache/servicecomb-java-chassis/issues/2199#issuecomment-760127310


   这个接口仍然存在的,只是重构了一下:
   
   ```
   RegistrationManager.INSTANCE.registerMicroserviceMappingByEndpoints("testServiceName",
           "1.0.1", endpoints, ThirdPartyService.class);
       thirdPartyService = Invoker.createProxy("testServiceName",
           "testServiceName", ThirdPartyService.class);
   ```
   
   这个版本提供了更多更加方便的调用第三方接口的能力, 参考:https://docs.servicecomb.io/java-chassis/zh_CN/build-consumer/3rd-party-service-invoke/
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org