将 API 从本地存储库/环境导入/迁移到其他环境 [英] Importing/Migrating an API from Local Repo/ Environment to Other Environment

查看:22
本文介绍了将 API 从本地存储库/环境导入/迁移到其他环境的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试将 API 从一个环境导出/导入到另一个环境,因为导出工作正常,但在从本地/环境导入 API 时遇到问题

I tried to export/import an API from one environment to other environment, where as Exporting is working fine but facing issues while Importing an API from Local/Environment

我在 APIM-2.6.0 中使用了 api-import-export-2.6.0.war,

I have used api-import-export-2.6.0.war with APIM-2.6.0,

用于导入api的命令:apimcli import-api -f G:/Petstore_1.0.0.zip -e dev

Command used to Import api: apimcli import-api -f G:/Petstore_1.0.0.zip -e dev

Error importing API Reason: C:\Users\RAVIKU~1\AppData\Local\Temp\apim130994779\Petstore_1.0.0\Meta-information\api was not found as a YAML or JSON退出状态 1

Error importing API Reason: C:\Users\RAVIKU~1\AppData\Local\Temp\apim130994779\Petstore_1.0.0\Meta-information\api was not found as a YAML or JSON Exit status 1

推荐答案

API 导入和导出 Web 应用程序的版本与 WSO2 WUM 兼容.同时请检查那个 也是.

The version of the API Import and Export web application is compatible with the WSO2 WUM. Meanwhile please check with that also.

这篇关于将 API 从本地存储库/环境导入/迁移到其他环境的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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