From andrea.maestrini at create-net.org Wed Nov 5 16:53:21 2014 From: andrea.maestrini at create-net.org (Andrea Maestrini) Date: Wed, 05 Nov 2014 16:53:21 +0100 Subject: [Fiware-creatifi-coaching] Unable to launch a custom blueprint instance: unexpected error or no feedback at all Message-ID: <545A47F1.1010209@create-net.org> Dear FIWARE coach, we forward you a support request received from a CreatiFI applicant we are not able to solve. Please let us know if you nedd direct contact with the submitter. Thanks General Support #8: Unable to launch a custom blueprint instance: unexpected error or no feedback at all * Author: Daniele Fusi * Status: New * Priority: Normal * Assignee: Trento Tech Support (Italy&Belgium) * Category: Trento Hub (Italy) * Support Type: FIWARE Infrastructure As both a simple test and a case study for my FiWare project, I'm trying to create a MySql service. All what I need is a VM running MySql and a connection string to it. Maybe I'm missing some point, but I found no blueprint for such a simple scenario. I can find only MySql + NodeJS, which is not what I need as I'm not going to use JavaScript for my complex data handling logic, nor Node in my scenario looks like an ideal candidate. I thus tried to create a new one, by creating a new blueprint, checking the public IP option (I suppose I'm going to need an endpoint to access from my software via TCP) and adding just a single MySql tier: I don't know it this would provide the desired result (i.e. a VM ready to use with a given connection string), but I was going to learn by trial. (BTW, in the Lab the distinction between PaaS and IaaS modules seems unclear. I'm still wondering if and how I can just fire a ready-to-use MySql instance with a few clicks, or if I'll have to manually configure a VM once instantiated so I can finally get a connection string.) Once this was completed, I tried to launch an instance of this new blueprint: I entered a name and description in the Launch Blueprint Instance dialog, and clicked the Launch button. After 15 minutes of wait time, with the client side UI stuck with the spinning wheel at its center, I closed and reopened the Lab. Of course no instance was there. No error was reported. I tried this several times and once I got this error, but I could not further reproduce it: Unexpected error creating environment com.telefonico.euro_iaas.paasmanager.model.EnvironmentInstance at aaaf.Description:null I'm using the Spain region as recommended; anyway, it is the only one I can see available in the lab. ------------------------------------------------------------------------ You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://techsupport.creatifi.eu/my/account -------------- next part -------------- An HTML attachment was scrubbed... URL: From andrea.maestrini at create-net.org Thu Nov 6 13:40:55 2014 From: andrea.maestrini at create-net.org (Andrea Maestrini) Date: Thu, 06 Nov 2014 13:40:55 +0100 Subject: [Fiware-creatifi-coaching] KeyRock API: documentation? Message-ID: <545B6C57.2000205@create-net.org> Dear FIWARE coach, we forward you a support request received from a CreatiFI applicant we are not able to solve. Please let us know if you need direct contact with the submitter. Thanks. General Support #9: KeyRock API: documentation? * Author: Daniele Fusi * Status: New * Priority: Normal * Assignee: Trento Tech Support (Italy&Belgium) * Category: Trento Hub (Italy) * Support Type: FIWARE Infrastructure I'm trying to understand the capabilities of KeyRock GE to use it in a scenario where a client-side web app should allow both registration of new users and login. The KeyRock documentation seems insufficient for my evaluation. I can easily create a new user using the FiWare web UI, yet the only documentation here points to a video with the procedure for doing this. /(As a general remark, please do not underestimate the power of a well-written documentation for the adoption of your technology. As a developer, I prefer having even less numerous, but well-documented and fully refined components, rather than a bunch of stuff without further aid. First of all, it would be really useful to have more "real-world" documentation here. Videos are often just descriptions of procedures, or generic talks; developers also need raw programmers guides, where to find references and examples, possibly short and to the point. Personally I hate having to skip back and forth in a video hoping to happen at the right point in time and find what I need. Traditional documentation here is much more usable as I can easily scroll and locate what I need, and eventually copy it or save it somehow for later. Also, the existing documentation looks fragmented and scattered along several places, hosted in different sites or GitHub projects. It is often hard to f! ind and follow its path from one system to another, and remember which was the useful link.)/ The programmer's guide instead gives more insight in the GE, yet I cannot get to the real thing. For instance, take a registration process: it requires a complex flow, but first of all of course a way of adding a new user. Thus, I'd first need to know the data model for representing a registered user. Which data are stored for a user? E.g. name, email, etc. Are they closed or I can add custom fields? Or should I rather add them to another database with some user ID as a FK? Which attribute is used as a PK? Which are the attributes domains? E.g. max length for a field, or password strength policies constraints, etc. Looking at https://github.com/ging/fi-ware-idm/blob/master/API.md it seems that to register a new user I should refer to the add new actor API: this requires an app slug, a user slug and a set of roles. Yet, how this is related to section #6 of the same page, Users API? Which is the difference between an actor and a user? And at any rate, there seems to be no way of creating new users. Looking further at https://github.com/ging/fi-ware-idm/wiki/Using-the-FI-LAB-instance where the returned user data contain a nickname, a display name, an email address, a numeric ID and an actor ID which looks like a FK, I get even more confused. The data are different, the entities are different, and have a connection via a FK. Which is for what? ------------------------------------------------------------------------ You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://techsupport.creatifi.eu/my/account -------------- next part -------------- An HTML attachment was scrubbed... URL: From silvio.cretti at create-net.org Thu Nov 6 13:46:28 2014 From: silvio.cretti at create-net.org (silvio.cretti at create-net.org) Date: Thu, 06 Nov 2014 13:46:28 +0100 Subject: [Fiware-creatifi-coaching] KeyRock API: documentation? In-Reply-To: <545B6C57.2000205@create-net.org> References: <545B6C57.2000205@create-net.org> Message-ID: <545B6DA4.7080000@create-net.org> Dear all, since the automatic ticket creation is not yet in place, I took care of creating a ticket manually: http://jira.fi-ware.org/browse/IMK-2 Best regards, silvio On 11/06/14 13:40, Andrea Maestrini wrote: > Dear FIWARE coach, > we forward you a support request received from a CreatiFI applicant we > are not able to solve. > Please let us know if you need direct contact with the submitter. > Thanks. > > > General Support #9: KeyRock API: documentation? > > > * Author: Daniele Fusi > * Status: New > * Priority: Normal > * Assignee: Trento Tech Support (Italy&Belgium) > * Category: Trento Hub (Italy) > * Support Type: FIWARE Infrastructure > > I'm trying to understand the capabilities of KeyRock GE to use it in a > scenario where a client-side web app should allow both registration of > new users and login. > > The KeyRock documentation seems insufficient for my evaluation. I can > easily create a new user using the FiWare web UI, yet the only > documentation here points to a video with the procedure for doing this. > > /(As a general remark, please do not underestimate the power of a > well-written documentation for the adoption of your technology. As a > developer, I prefer having even less numerous, but well-documented and > fully refined components, rather than a bunch of stuff without further > aid. First of all, it would be really useful to have more "real-world" > documentation here. Videos are often just descriptions of procedures, > or generic talks; developers also need raw programmers guides, where > to find references and examples, possibly short and to the point. > Personally I hate having to skip back and forth in a video hoping to > happen at the right point in time and find what I need. Traditional > documentation here is much more usable as I can easily scroll and > locate what I need, and eventually copy it or save it somehow for > later. Also, the existing documentation looks fragmented and scattered > along several places, hosted in different sites or GitHub projects. It > is often hard to f! ind and follow its path from one system to > another, and remember which was the useful link.)/ > > The programmer's guide instead gives more insight in the GE, yet I > cannot get to the real thing. For instance, take a registration > process: it requires a complex flow, but first of all of course a way > of adding a new user. Thus, I'd first need to know the data model for > representing a registered user. Which data are stored for a user? E.g. > name, email, etc. Are they closed or I can add custom fields? Or > should I rather add them to another database with some user ID as a > FK? Which attribute is used as a PK? Which are the attributes domains? > E.g. max length for a field, or password strength policies > constraints, etc. > > Looking at https://github.com/ging/fi-ware-idm/blob/master/API.md it > seems that to register a new user I should refer to the add new actor > API: this requires an app slug, a user slug and a set of roles. Yet, > how this is related to section #6 > of the same page, Users API? > Which is the difference between an actor and a user? And at any rate, > there seems to be no way of creating new users. > > Looking further at > https://github.com/ging/fi-ware-idm/wiki/Using-the-FI-LAB-instance > where the returned user data contain a nickname, a display name, an > email address, a numeric ID and an actor ID which looks like a FK, I > get even more confused. The data are different, the entities are > different, and have a connection via a FK. Which is for what? > -------------- next part -------------- An HTML attachment was scrubbed... URL: