Mule 实施 API 网关

Mule Implementing API gateway

你好,我是 运行 一个应用程序

example.cloudhub.io

现在我在云集线器上创建了一个 API 并将实现 URI 指定为

example.cloudhub.io

现在我如何使用 soap 访问云 API 网关 UI

这个 API 网关的 URL 是什么,我在哪里可以找到它

假设您的应用程序中有一个入站 http 端点,地址为:“http://localhost:8081/order", then the CH URL is: "http://example.cloudhub.io/order

HTH

如果您的应用中有 http/https 入站端点。然后 URL 将是您使用的方案(http/https)加上域(example.cloudhub.io)加上端点路径属性或地址属性中的路径的串联。

所以:

<http:inbound:endpoint host="localhost" port=${http.port} path="/mypath" >

会是

http://example.cloudhub.io/mypath

注意 分别使用 ${http.port} 和 ${https.port},它们会自动分配给 80 和 443,Cloudhub 仅支持传入流量在这些端口上。

http://www.mulesoft.org/documentation/display/current/Developing+a+CloudHub+Application