[Fiware-robotics] R: R: R: Demo web page + RCM demo

Garino Pierangelo pierangelo.garino at telecomitalia.it
Fri Jan 30 11:09:10 CET 2015


Pretty good indeed, thanks to all!
I'm going to provide in the chapter coords' shared doc the inputs for the connection to the demo, let's hope nobody objects for using hangouts...
Pier



Da: fiware-robotics-bounces at lists.fi-ware.org [mailto:fiware-robotics-bounces at lists.fi-ware.org] Per conto di Angel Hernandez
Inviato: venerdì 30 gennaio 2015 11:01
A: Iñigo Gonzalez
Cc: fiware-robotics at lists.fi-ware.org
Oggetto: Re: [Fiware-robotics] R: R: Demo web page + RCM demo

Good job guys!
Thank you for the update.


Enviado de Samsung Mobile


-------- Mensaje original --------
De: Iñigo Gonzalez
Fecha:30/01/2015 10:58 AM (GMT+01:00)
Para:
Cc: fiware-robotics at lists.fi-ware.org
Asunto: Re: [Fiware-robotics] R: R: Demo web page + RCM demo
Hi,

Davide and me have done the test for monday's demo, here you have the results:

  *   The web page for the demo is hosted in http://130.206.127.115/demo1/
  *   In the first test, turtlesim started but firos didn't. We have been checking, and the last time firos seems not to be closed correctly, Davide has check if RCM sends the correct signal to firos (SIGINT or SIGTERM) and it seems that is ok, it sends SIGINT. Davide has closed it manually.
  *   After that, we have send to RCM start signal, moved the turtlesim and send stop signal to RCM for 3-4 times and it has worked perfectly every time, so we think that the environment is ready for the demo.

For the demo we think that the computer that contains the turtlesim (the one that yesterday I access via VNC) should be started from scratch, to avoid the possibility of having firos port busy again.

For next releases we are going to take in mind what has happened today to try to solve it.

Regards,
Iñigo

On 30/01/15 10:01, Angel Hernandez wrote:
Me neither.
But you dont need us :)
Let us know how it goes


Enviado de Samsung Mobile


-------- Mensaje original --------
De: Garino Pierangelo
Fecha:30/01/2015 10:00 AM (GMT+01:00)
Para: Iñigo Gonzalez
Cc: fiware-robotics at lists.fi-ware.org<mailto:fiware-robotics at lists.fi-ware.org>
Asunto: [Fiware-robotics] R: R: Demo web page + RCM demo
Hi All,

I'm pretty sure you don't need me to be present for the tests, but just to let you know I'm not available this morning.

BR
Pier


-----Messaggio originale-----
Da: fiware-robotics-bounces at lists.fi-ware.org<mailto:fiware-robotics-bounces at lists.fi-ware.org> [mailto:fiware-robotics-bounces at lists.fi-ware.org] Per conto di Iñigo Gonzalez
Inviato: venerdì 30 gennaio 2015 09:04
Cc: fiware-robotics at lists.fi-ware.org<mailto:fiware-robotics at lists.fi-ware.org>
Oggetto: Re: [Fiware-robotics] R: Demo web page + RCM demo

Hi Davide,

as Angel said, we have thought about a fast workaround without any visual feedback for the user. We have already added it to the page, so if you want we can have a hangout at 10:00 or 10:30 (if you prefer another our tell me please), to test everything.

Is it all right for you?

Regards,
Iñigo

On 29/01/15 15:14, Garino Pierangelo wrote:
> Hi Jose,
>
> I suggest we move to hangouts to set up things.
>
> Pier
>
>
> -----Messaggio originale-----
> Da: fiware-robotics-bounces at lists.fi-ware.org<mailto:fiware-robotics-bounces at lists.fi-ware.org>
> [mailto:fiware-robotics-bounces at lists.fi-ware.org] Per conto di Jose
> Jaime Ariza
> Inviato: giovedì 29 gennaio 2015 14:44
> A: Iñigo Gonzalez; Colombatto Davide
> Cc: fiware-robotics at lists.fi-ware.org<mailto:fiware-robotics at lists.fi-ware.org>
> Oggetto: Re: [Fiware-robotics] Demo web page + RCM demo
>
> Hi,
>
> Could we have the 3pm meeting via hangout? we should also talk about webex.
>
> BR,
> Pepe
>
> On 29/01/15 11:29, Iñigo Gonzalez wrote:
>> Hi,
>>
>> the web app is just a web page that is hosted in our fiware machine.
>> What it does is to send ajax calls to the different REST services:
>>
>> - Context broker
>> - RCM
>>
>> So to do this functionality we need support for cross origin request,
>> in our case as we need something to reach the context broker we have
>> created our context broker proxy, which supports cross origin and
>> redirects the requests to the context broker.
>>
>> In your case, your service should provide support for cross origin so
>> the web app could reach to it. To achieve this, what is needed is
>> just to add support in your server to the OPTIONS request and both
>> OPTIONS and GET methods return the following headers in the response:
>>
>> header("Access-Control-Allow-Headers", "api-version, content-length,
>> content-md5, content-type, date, request-id, response-time")
>> header("Access-Control-Allow-Methods", "GET,POST,PUT,DELETE")
>> header("Access-Control-Expose-Headers", "api-version, content-length,
>> content-md5, content-type, date, request-id, response-time")
>> header("Access-Control-Allow-Origin", "*")
>>
>> Regards,
>> Iñigo
>>
>>
>> On 29/01/15 10:30, Colombatto Davide wrote:
>>> Hi Inigo and all,
>>>
>>> I re-attach the document sent by Angel yesterday.
>>>
>>> If the arch in the document is used there would be no cross-domain problems for connection 4:
>>> the web-app should work as "intermediate" between the browser and the RCM and NOT the browser contacts directly the RCM with Javascript/AJAX.
>>>
>>>
>>> Use case:
>>> - Browser contacts your web-app for the page with the 3 buttons
>>> - When the user click on START and STOP, the browser contacts (with Javascript/AJAX) your web-app and the web-app performs this contacting RCM itself.
>>> - When your web-app obtains the XML response by RCM, the web-app
>>> responses to the browser
>>>
>>> I think this use case does not create cross domain on your side (no cross-domain Server2Server connection).
>>>
>>>
>>> Davide
>>>
>>>
>>> ________________________________________
>>> Da: Iñigo Gonzalez [igonzalez at ikergune.com<mailto:igonzalez at ikergune.com>]
>>> Inviato: giovedì 29 gennaio 2015 9.54
>>> A: fiware-robotics at lists.fi-ware.org<mailto:fiware-robotics at lists.fi-ware.org>
>>> Cc: Colombatto Davide
>>> Oggetto: Demo web page + RCM demo
>>>
>>> Hello Davide et al,
>>>
>>> Please note that I am moving this conversation to the robotics list so we do not overload everyone's inbox.
>>> I have just added to the demo webpage the urls sent by Daide. I have tried to launch the start command and found this issue:
>>>
>>> "XMLHttpRequest cannot load http://188.15.109.226:8088/platform/?command=SL&sc_host=localhost&sc_port=11312&package=turtlesim&name=monosim&_=1422520888499. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'null' is therefore not allowed access."
>>>
>>> This issue is related to what Angel said in his mail yesterday. When calling to a REST service from a web page the cross origin security policy appears. So your api must add support to cross origin to allow the web page to connect to it.
>>>
>>> Please let us know when this is fixed so we can give it another try.
>>>
>>> Regards,
>>> Iñigo
>>>
>>> Questo messaggio e i suoi allegati sono indirizzati esclusivamente alle persone indicate. La diffusione, copia o qualsiasi altra azione derivante dalla conoscenza di queste informazioni sono rigorosamente vietate. Qualora abbiate ricevuto questo documento per errore siete cortesemente pregati di darne immediata comunicazione al mittente e di provvedere alla sua distruzione, Grazie.
>>>
>>> This e-mail and any attachments is confidential and may contain privileged information intended for the addressee(s) only. Dissemination, copying, printing or use by anybody else is unauthorised. If you are not the intended recipient, please delete this message and any attachments and advise the sender by return e-mail, Thanks.
>>>
>> _______________________________________________
>> Fiware-robotics mailing list
>> Fiware-robotics at lists.fi-ware.org<mailto:Fiware-robotics at lists.fi-ware.org>
>> https://lists.fi-ware.org/listinfo/fiware-robotics
>>
>
> --
> José Jaime Ariza
> R&D Engineer
> +34 696604288
> Ikergune, Etxe-Tar group
>
> _______________________________________________
> Fiware-robotics mailing list
> Fiware-robotics at lists.fi-ware.org<mailto:Fiware-robotics at lists.fi-ware.org>
> https://lists.fi-ware.org/listinfo/fiware-robotics
>

_______________________________________________
Fiware-robotics mailing list
Fiware-robotics at lists.fi-ware.org<mailto:Fiware-robotics at lists.fi-ware.org>
https://lists.fi-ware.org/listinfo/fiware-robotics
_______________________________________________
Fiware-robotics mailing list
Fiware-robotics at lists.fi-ware.org<mailto:Fiware-robotics at lists.fi-ware.org>
https://lists.fi-ware.org/listinfo/fiware-robotics

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.fiware.org/private/fiware-robotics/attachments/20150130/d161a395/attachment.html>


More information about the Fiware-robotics mailing list

You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy   Cookies policy