问题标签 [usergrid]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
2 回答
159 浏览

apigee - Where are stored the assets on an Usergrid server?

I want to know where the assets (files) are stored on an Usergrid server and how to change their location on the filesystem.

0 投票
1 回答
46 浏览

apigee - 如何使用 export Usergrids 导出工具导出资产

当我在下面运行导出命令时,它会创建一个新的导出文件夹,其中包含一组对应于我拥有的不同应用程序和组织的 JSON 文件。

不幸的是,我存储的资产(文件)没有导出,我该如何导出它们?

0 投票
1 回答
144 浏览

rest - 如何为 Usergrid 启用 log4j

我在 tomcat 中部署了 usergrid,我看到它使用 slf4j 绑定到 log4j,我试图将 log4j.properties 放在 /var/lib/tomcat7/webapps/ROOT/WEB-INF/classes$ 中,但仍然没有看到创建的日志文件?有人可以帮忙吗?

用户网格在这里,github.com/apache/incubator-usergrid

我自己构建它并将ROOT.war放在tomcat /var/lib/tomcat7/webapps/中,尝试在usergrid中启用日志,我在usergrid的代码中看到很多log.info,然后我把log4j.properties放在/var /lib/tomcat7/webapps/ROOT/WEB-INF/classes,但未创建日志文件

0 投票
1 回答
154 浏览

usergrid - html5 javascript SDK中的分页

对于分页,我浏览了文档并了解到它基于一个光标,您必须在其中指定它才能来回导航。我需要导航到第一页和最后一页。就像您通常在具有 4 个按钮的传统 Jquery 或相关网格中看到的那样。这是可以实现的吗?我还想显示光标的当前页面,例如“第 2 页,共 10 页”。无论如何,当您查询时,我可以在同一响应中获得此记录计数吗?

0 投票
1 回答
32 浏览

usergrid - Tracking upload progress of asset upload

Can I track the upload progress of asset when attaching to an entity using the javascript SDK? Also my image is base64 encoded and embedded within a div (indeed as a img src attribute). When I try to attach this as a binary content I get the error as "readAsBinaryString is not an object". I used atob to do this conversion. Will this SDK request this in some specific format or do I just need to pass this binary content which I got as result?

0 投票
2 回答
105 浏览

node.js - node.js 的 Usergrid 模块在执行时失败

我在我的一台机器上使用 node.js 的 usergrid 模块,但现在我得到了我的新笔记本电脑,并在笔记本电脑上安装了所有必需的包,但是这里 usergrid 模块的执行失败,而相同的代码和相同的模块被执行我的机器。

谁能帮我这个?

我要执行的内容如下。

});

出现的错误是:

D:\REPOS\Exchange>node main.js 调用:GET https://api.usergrid.com/abc/test/abc_servers D:\REPOS\Exchange\node_modules\usergrid\lib\usergrid.js:112 r.body = r.body || {}; TypeError:无法读取未定义的属性“正文”

0 投票
1 回答
111 浏览

cassandra - Apigee Usergrid:这两者中哪个数据结构更好?

我正在使用内部用户 Cassandra 的 Apigee Usergrid。在存储数据时,我遇到了以下困境。

我是否像这样存储数据:

}]

或这个

这可能与所有 no-sql 数据库有关。什么数据格式更有效?

0 投票
2 回答
147 浏览

cassandra - 是否可以从 usergrid api 进行 Cassandra 查询

我正在使用 usergrid 并且需要执行原始 Cassandra 查询。是否可以从 usergrid api 执行原始 Cassandra 查询?

0 投票
1 回答
55 浏览

cassandra - usergrid 设置类型列

是否可以在 usergrid 中插入集合类型数据(列)(作为 cassandra 支持集合类型列)。我试过了

但它回复 json_parse 错误。


对回答的回应:我知道上述请求中的有效负载不是有效的 JSON,我只是试图告诉我有什么方法可以设置类型列(我需要防止单列记录上的重复条目)。使用方括号,它创建不会阻止重复条目的列表类型列。


一位核心成员回复说,在当前版本(1.0)上,usergrid 不支持设置类型列。

0 投票
2 回答
135 浏览

apigee - usergrid 收集权限不起作用

我已经创建了用户名abcdef并为该用户添加了concerts收集权限

在此处输入图像描述

当我查询音乐会时,我希望它什么都不返回,但它会返回所有音乐会实体。在申请许可时我有什么遗漏吗