无法启动芭蕾舞女演员作为网关 [英] unable to start ballerina as gateway

查看:15
本文介绍了无法启动芭蕾舞女演员作为网关的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经下载了 WSO2-ApiManager-3.0.0-m2 版本,我正在尝试通过 Ballerina 网关(0.88 版)调用 api.当我尝试开始芭蕾舞演员时:

I've downloaded the WSO2-ApiManager-3.0.0-m2 release and I'm trying to invoke an api via the ballerina gateway(version 0.88). When I'm trying to start ballerina with:

bin/ballerina 运行服务部署/org/wso2/apim/

它给了我 ballerina:没有这样的文件或目录:deployment/org/wso2/apim

如果我在 $gwHome 中手动创建该目录,我会得到 ballerina: no bal files in the package: deployment/org/wso2/apim

If I manually create that directory in $gwHome I get ballerina: no bal files in the package: deployment/org/wso2/apim

如何启动芭蕾舞女演员网关?

How do I start the ballerina gateway?

推荐答案

WSO2-ApiManager-3.0.0-m2 适用于 ballerina 0.85 版本.在这里,您必须通过指向 Ballerina 主目录将环境变量设置为gwHome".然后启动 APIM 并发布一个 API,它将在 ballerina 中创建 deployment/org/wso2/apim 路径,并在那里创建一个 API.然后您可以使用相同的命令启动芭蕾舞演员.

WSO2-ApiManager-3.0.0-m2 works with ballerina 0.85 version. Here you have to set an environment variable as 'gwHome' by pointing to the Ballerina home directory. Then start APIM and publish an API which will create the deployment/org/wso2/apim path in ballerina and also create an API there. Then you can start ballerina with the same command.

另请注意,APIM 3.0.0 M3 将在本周末或下周初发布,有较大变化.

Also note that, APIM 3.0.0 M3 will be released end of this week or early next week, which has major changes.

这篇关于无法启动芭蕾舞女演员作为网关的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆