简体   繁体   English

wso2 Greg-服务注册表和Rest发现

[英]wso2 Greg - Service Registry and Discover with Rest

I have all wso2 products, but I don't understand how I can use Governance Registry in conjunction with rest webservices. 我拥有所有wso2产品,但是我不明白如何将Governance Registry与其余的Web服务结合使用。

For example: I published a Rest Webservice in Governance, and now I want to use the service discovery to get the endpoint for this Webservice. 例如:我在Governance中发布了Rest Web服务,现在我想使用服务发现来获取该Web服务的端点。

It's possible to do this with wso2 products? 使用wso2产品可以做到这一点吗?

Thanks 谢谢

With WSO2 Governance Registry, you can discover endpoint details in three different ways: As example, if you are using WSO2 ESB( integration scenarios for Governance ) 使用WSO2 Governance Registry,您可以通过三种不同的方式发现端点详细信息:例如,如果您使用的是WSO2 ESB( 用于Governance的集成方案

  • Share Registry space with both ESB and G-Reg 与ESB和G-Reg共享注册表空间
  • Use G-Reg to push artifacts into ESB node 使用G-Reg将工件推入ESB节点
  • ESB pull artifact from the G-Reg ESB从G-Reg提取工件

Since you have already created a Rest Service in the G-Reg side, you can retrieve Endpoint details using Governance Rest API. 由于您已经在G-Reg端创建了Rest服务,因此您可以使用Governance Rest API检索Endpoint详细信息。 It has an inbuilt functionality to retrieve Endpoint associated with a given RestService instance. 它具有内置功能,可以检索与给定RestService实例关联的Endpoint。 You can find more details from this doc . 您可以从此文档中找到更多详细信息。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM