本文介绍了将IBM移动应用构建器连接到Cloudant JSON数据-bluemix-mobile-services的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用IBM Bluemix Mobile App Builder工具,并且了解它目前处于试验阶段,但是在将该工具连接到现有JSON数据源时遇到了问题.我尝试连接到Bluemix中的Cloudant实例,但是找不到将App Builder工具绑定到Bluemix中的Cloudant DB的方法.我看到"Mobile App Builder-6v当前未被授权访问其他服务实例.我还尝试使用Bluemix中的凭证来获取JSON数据,但是我得到了我们无法连接到您的Cloudant.请检查您的Cloudant配置."

I am using the IBM Bluemix Mobile App Builder tool and understand that it is currently experimental, but I have been having problems connecting the tool to an existing JSON data source. I have tried connecting to the Cloudant instance within Bluemix, but can't find a way to bind the App Builder tool to the Cloudant DB within Bluemix. I see "Mobile App Builder-6v is not currently authorized to access other service instances. I also tried using the credentials inside Bluemix to get to the JSON data, but I get "We couldn't connect to your Cloudant. Please check your Cloudant configuration."

我还尝试过使用JSON文件的API和cloudant.com凭据在cloudant.com上使用相同的数据源,但是我得到我们无法连接到Cloudant.请检查输入的配置."

I have also tried using the same Data Source on cloudant.com using the API for the JSON file and my cloudant.com credentials, but I get "We couldn't connect to Cloudant. Please review the entered configuration."

关于我所缺少的任何建议吗?

Any suggestions on what I am missing?

推荐答案

以以下格式放置Cloudant数据源:

Put your Cloudant data source in this format:

*****************-bluemix.cloudant.com/dbname/

,没有_all_docs.

从网址中删除_all_docs之后,我就可以连接到数据源了.

After I removed the _all_docs from the URL, I was able to connect to my data source.

例如,这是我用于连接到名为products的数据库的配置.

For example, here is my configuration for connecting to a database I have called products.

这篇关于将IBM移动应用构建器连接到Cloudant JSON数据-bluemix-mobile-services的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-11 20:38