Keystone

Unpopulated fields between two Schemas keystone.js

三世轮回 提交于 2019-12-12 23:23:18
问题 I have two models: Entity and Cabinet. Entity model can have multiple cabinets. One cabinet can have one Entity object. In my admin UI when I create Cabinet I specify the Entity which the cabinet belongs to. I have linked Entity to Cabinets and Cabinets to Entity like this: models/Entity.js Entity.add({ name: { type: Types.Text, initial: true, label: 'Име' }, cabinets: { type: Types.Relationship, ref: 'Cabinet', many: true }, }) models/Cabinet.js Cabinet.add({ entity_id: { type: Types

Keystone with Material Design Bootstrap Incompatible units: 'rem' and 'px'

余生长醉 提交于 2019-12-12 12:12:29
问题 Did anyone managed to add the SCSS from Material Design Bootstrap in the default template of Keystone.js ? I am new to node.js and front-end development so I am not sure what I am doing but, I bascially added the MDB folder in my public/styles . After that I've modified the sites.scss , I commented out @import "site/variables"; and @import "site/layout"; and I added @import "mdb"; but this does not really seemed to work. I get the error: in /my_path/public/styles/mdb/free/data/_variables-b4

Experience Editor is not showing the ribbon options in sitecore 8

倖福魔咒の 提交于 2019-12-12 06:39:52
问题 I have logged in to sitecore through administrator account. I have a page in my site if press 'experience editor' or preview button,editor ribbon is not displaying. I am new to sitecore, Is that a permission issue am facing? 回答1: If you see only header of the ribbon like that: Click on the arrow on the right. You should see all the options: If you don't see even the header, there must be some errors on the console. 回答2: This specifically applies to MVC implementations and could apply to

Keystone JS: local file uploads being auto-renamed

隐身守侯 提交于 2019-12-12 05:48:14
问题 Whenever i am uploading file after upload name is getting change to random value? I think it is default function of keystone.How can i stop this? 回答1: You can pass originalName: true to the schema configuration. This gives you both names as a reference. 来源: https://stackoverflow.com/questions/41821564/keystone-js-local-file-uploads-being-auto-renamed

Fiware Keyrock - organizations are not returned

我们两清 提交于 2019-12-12 05:12:56
问题 I am needing the organizations info, from a specific user. This information is not returned as can be seen below: organizations: [], displayName: 'idm', roles: [ { name: 'Provider', id: 'provider' } ], I am getting an empty list of organizations. Even the owner of the organization receives an empty list. Is this a bug? What can we do to get this information? In my local instance I just get to do up to step 7 of this tutorial: http://forge.fiware.org/plugins/mediawiki/wiki/fiware/index.php

Fiware keystone api create user and access with horizon

孤街醉人 提交于 2019-12-12 03:27:35
问题 im using keystone api to create an user (as in Fiware Keystone API Create User). my steps: create project with: curl -s -H "X-Auth-Token:17007fe11124bd71eb60" -H "Content-Type: application/json" -d '{"tenant": {"description":"Project1", "name":"proyecto1", "enabled": true}}' http://localhost:35357/v2.0/tenants -X POST | python -mjson.tool create role: curl -s -H "X-Auth-Token:17007fe11124bd71eb60" -H "Content-Type: application/json" -d '{"role":{"name":"Project1Admin", "description":"Role

Keystone create user and permissions by api

故事扮演 提交于 2019-12-12 03:04:34
问题 I have an instance of Keyrock in fiware lab. in my app, im trying to create user with api as Fiware keystone api create user and access with horizon. now i check user: curl -s -H "X-Auth-Token:17007fe11124bd71eb60" http://localhost:5000/v3/users/admin | python -mjson.tool response: > { > "user": { > "default_project_id": "d0f384973b9f4a57b975fcd9bef10c6e", > "description": "admin", > "domain_id": "default", > "email": "admin@gmail.com", > "enabled": true, > "id": "admin", > "links": { > "self

TI KeyStone C66x开发板千兆以太网口、JTAG接口

 ̄綄美尐妖づ 提交于 2019-12-11 17:38:09
【推荐】2019 Java 开发者跳槽指南.pdf(吐血整理) >>> TL6678F-EasyEVM是广州创龙基于SOM-TL6678F核心板而研发的一款多核高性能DSP+FPGA开发板。开发板采用核心板+底板方式,底板采用沉金无铅工艺的8层板设计,尺寸为247.33mm*139.8mm,它为用户提供了SOM-TL6678F核心板的测试平台。为了方便用户开发和参考使用,上面引出了各种常见的接口,可以帮助用户快速评估SOM-TL6678F核心板的整体性能。 广州创龙SOM-TL6678F核心板基于TI KeyStone C66x多核定点/浮点TMS3206678 + Xilinx Kintex-7 FPGA设计的高性能DSP+FPGA高速大数据采集处理器,采用沉金无铅工艺的14层板设计,尺寸为112mm*75mm,经过专业的PCB Layout保证信号的完整性,和经过严格的质量管控,满足多种环境应用。 千兆以太网口 开发板 支持双千兆网口 (CON3、CON4) , 采用了Marvell Alaska 88E1111网络芯片,可自适应10/100/1000M网络,RJ45连接头内部已经包含了耦合线圈,因此不必另接网络变压器,使用普通的直连网线即可连接本开发板至路由器或者交换机,硬件及引脚定义如下图: JTAG接口 开发板引出了4个JTAG接口,DSP端2个(CON7:MIPI

创龙TI KeyStone C66x多核定点/浮点DSP TMS320C665x LED指示灯、按键

谁都会走 提交于 2019-12-11 12:07:47
【推荐】2019 Java 开发者跳槽指南.pdf(吐血整理) >>> TL665x-Easy EVM是 广州创龙基于SOM-TL665x核心板研发的 一款 TI C66x多核定点/浮点高性能DSP开发板, 采用核心板+底板 方式,底板 尺寸为 200 mm* 106.65 mm, 采用4*50pin和1*80pin B2B工业级连接器 , 稳定、可靠、便捷,可以帮助客户 快速评估 核心板 性能。 SOM-TL665x 核心板采用高密度沉金无铅工艺 8 层板设计,尺寸为 80 mm* 58 mm,采用 T I KeySton e C66x多核定点/浮点DSP TMS320 C665x高性能工业DSP处理器。采用 耐高温、体积小、 精 度高的B2B连接器,引出了核心板的全部接口资源,帮助开发者快速进行二次开发 。 TL665x-Easy EVM开发板 底板 采用 4 层无铅沉金电路板设计,为了方便用户学习开发参考使用,上面引出了各种常见的接口。 LED指示灯 核心板上有一个电源指示灯(D13),一个系统状态灯(D1),两个用户可编程指示灯(D7、D8),硬件及引脚定义如下图: LED编号 引脚定义 D7 GPIO[27] D8 GPIO[26] 开发板底板具有1个电源指示灯 ( D 4),有三个系统可编程用户指示灯(D3、D5、D7),硬件及引脚定义如下图 : 来源: oschina

Fiware Keystone API Create User

爱⌒轻易说出口 提交于 2019-12-11 10:54:01
问题 We are trying to create users in Fiware IDM using Keystone Identity API. We are sending the following curl command curl -s \ -H "X-Auth-Token: e746971040657101bb1e" \ -H "Content-Type: application/json" \ -d '{"user": {"name": "newuser", "password": "changeme"}}' \ http://localhost:35357/v3/users | python -mjson.tool The token we have used is the one configured in keystone.conf admin_token=e746971040657101bb1e But the result we are getting is the following { "error": { "code": 401, "message":