问题标签 [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.
apigee - Errors when getting started with Usergrid
Im looking to get started with Usergrid, and am following the steps on https://github.com/apache/incubator-usergrid/tree/master/stack
I get to the point of launching the gui launcher.
However I cannot get the webpage to load by going to http://apigee.github.io/usergrid-portal/?api_url=http://localhost:8080, I get a 404 each time.
What am I doing wrong??
And in the console I get the following error:
apigee - Usergrid: Unable to Login to local Usergrid
I setup Usergrid on my local machine, however even after modifying the 'usergrid-default.properties' file and adding:
I am not able to login to the local instance. Even with the test/test password it is not allowing me in. IS there a trick I am missing?
-S
apigee - Usergrid:GET请求中不接受查询
当我向我的 Usergrid 后端发出获取请求时使用 Postman,我得到了回复。例如:
当我运行时:
我得到回应:
但是,当我使用查询运行请求时:
我得到:
当我在查询中传入“id”时,我希望能够获得完整的响应,因为它来自我的 UI 并获得响应。有任何想法吗?
-S
apigee - 30 分钟后自动注销
我是apigee的新手。我正在使用以下功能登录应用程序:
我想在 30 分钟后设置自动注销,是否可以,如果可以,我们可以在哪里设置此限制?
apigee - 访问令牌和客户端 id/api 密钥关系
我使用客户端 id(apikey)_1 和客户端 secret_1 生成了一个访问令牌。
现在我使用上面生成的访问令牌和 GET 资源调用并传递 api key2。及其工作。. 但我想限制这一点,只有生成访问令牌的 api key1 才能使用它来访问资源。
注意 - apikey1 和 apikey2 都被授权访问资源。但是,我们希望限制使用其他任何人访问令牌。
请让我知道如何实现它。
apigee - 用户网格全文搜索
我正在使用 APIGEE (apigee.com) usergrid js lib,我是这项技术的新手,我为搜索记录“全文搜索”创建了功能,下面是我的代码
Brands.setQueryParams({"ql":"select * where brand contains '"+searchItem+"' ", "limit":'9999' }); Brands.get( function() { //首先清空列表中所有当前的品牌 $("#t_body").remove();
调用此函数 url 后,如下所示命中 apigee 服务器
api.usergrid.com//sandbox/brands?ql=select%20*%20where%20brand%20%20contains%20%27Sam%27%20&limit=9999
但未找到记录,但我们已记录到数据库中
apigee - 用户登录时分配角色 APIGEE + USERGRID
我是 APIGEE + Usergrid 的新手,我正在使用下面的用户登录功能
我想在用户使用脚本登录应用程序时分配权限和角色我的问题是当我在注册后使用仪表板(APIGEE仪表板)分配角色和权限时,登录用户能够添加/编辑/删除,但我想设置角色和使用脚本的权限,请让我知道当用户登录到应用程序时如何分配角色和权限。
谢谢 Vipin S
usergrid - 给定用户访问令牌,如何从 usergrid 中检索用户配置文件?
如果我有一个 usergrid 生成的用户访问令牌,我如何从中获取用户配置文件(用户名、组织等)信息?
我打算公开一个 REST api 服务,它将使用 usergrid 作为后端来存储多租户数据。
REST api 服务有一些业务逻辑,它会从 usergrid 中查询数据,执行业务逻辑并返回结果。
我认为该服务的用户将首先使用身份验证 api 进行身份验证(这是我计划公开的另一个 REST API)。他们会将他们的用户名和密码以及组织详细信息传递给身份验证 API,而身份验证 API 又会调用 usergrid 令牌 API 来验证用户并将访问令牌作为对请求的响应发回。
后续对业务服务 api 的请求将传递访问令牌。现在有了这个访问令牌,我想知道用户详细信息,比如用户名,这样我就可以查询该用户的正确数据(例如,应用过滤条件,如“where createdBY = :username”)并将其提供给业务逻辑。
可能吗 ?
apigee - Apigee 排除实体
我打算搬入 Apigee/Usergrid。当前的解决方案效果不佳(性能),因此可扩展性是我考虑 Apigee/Usergrid 的主要原因。
目前,我们允许用户忽略某些内容(提要条目)。它的工作方式类似于 Facebook 允许的方式——您可以忽略单个条目(实体)或用户。
我多次检查文档,但我不确定 Apigee 是否可行。据我所知,我必须使用查询语言来排除这样的条目
现在,当用户忽略很多项目时,这个查询语句会很长。
是否有可能在 Apigee 内处理排除项?
cassandra - 在哪里更改要在 Cassandra for Usergrid 中使用的默认键空间?
在哪里更改要在 Cassandra for Usergrid 中使用的默认键空间?安装 Usergrid 时,Cassandra 中使用的默认键空间是什么?我找不到在哪里可以找到通过管理门户存储的数据。谢谢。