[Fiware-robotics] CB-Proxy

Iñigo Gonzalez igonzalez at ikergune.com
Thu Apr 16 16:58:37 CEST 2015


Hi Davide,

I have to say that the proxy isn't available. As we said some time ago that proxy was a temporary solution to try firos with a control panel we had, and we are not using it anymore, so we deleted it. Anyway, as we have changed from office we haven't got our own Internet connection yet, so my PC cannot be accessed from outside the network, making me impossible to help you with this.

All I can do is send you the html code of the demo.

I have been thinking about possible solutions with our current environment (since the only reason of using the proxy was the CORS policy with the context broker):

 1.  Edit the javascript code I have sent you (app.js) change there the proxy's address with the one of the context broker (the one that you have configured in your firos instance) and launch chrome without the security flag so the CORS policy will be avoided.
 2.  Create a little server application that allows CORS and redirects all the requests to another url (the cb one).
 3.  Don't use the demo page, and use native code (java python, c++...) to make requests to the context broker.


Also I have read the documentation you sent about firos and RCM integration, and we are agree with what it is said on it, but I want to add some changes:

 1.  We should add namespaces to the topics, in firos we already had a topic for robot connection and disconnection and the namespace was firos: /firos/connect, /firos/disconnect So we think is interesting that topics to which firos publishes to should be in the "firos" namespace and the ones of rcm in "rcm" namespace for example. This is a way to have the topics well organized.
 2.  The CB_Event object is defined as string instance_name, int16 entity_status. We think both must be instances or entities (same name), but not one instance and the other one entity. As in this case we are talking about the context broker, we think is better to call both entity.

What do you think about these changes? Should I add them to the document?

We have been developing in firos what is said in the document. The communication defined in the document is developed and working, and we have also created a service that emulates what RCM sends to firos to try the full proccess and it seems to work. And this process seems to have sense.

Regards,
Iñigo

On 16/04/15 12:16, Colombatto Davide wrote:
Hi Inigo,

I need to use the web-app of first Robotics LiveDemo (http://130.206.127.115/demo1/) where the FORWARD button requires to switch on the CB-Proxy on your PC.
Can you tell me when I can use it?

Thank you,
Davide
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.

[data:image/jpeg;base64,R0lGODlhGgAoANU5AEiFNnikNyRvNcvYOafCOEOEW3DO3jB2NqjGs9ny9o+zOIOrN+L1+G+ggbzo8GCUN1SNNv///zx+NrPJOL/ROYPV44zY5YuzmrfQwCZxQlKNaMXZzOfy8NTi2TV6TuLs5vX8/ez5+4yzmtTj2cXr8mCXdKni62ycN5/f6aDf6X2qjrPl7rLl7Zu6OJbb53nS4PH188bs8sXZzfH18pq9p0SDWxhnNWbL3NfgOf///wAAAAAAAAAAAAAAAAAAAAAAACH5BAEAADkALAAAAAAaACgAAAb/wJxwSBQ6WMWkMmm6kZbQ5OvmjFoT1JuBYYWmsrcXqJvEgm8WctFypnI66pyjfXMhCmqGgR4r2S5dIBV0FjI2h3BRX20VHAUCEjZ4UHNtFo42BA+HCEskbQYOIwU2CjgBNgAZM0kMbSYcIjYCBDg4LTYLf0V6YCghNBk2DwO2OASZqkS9VBYMCB6pE8bGucidOYJUoaOptdQTFDg2ATgHGkIs2wyyAqbUtgICCwfluh8ge1sNNhDF8LYiHYKAg4INBJUS8FsAEF6AA6lsHWjg4gYKDDZONGwIAIAtCAX2hPAgYSNHj6ds3KiA8V3DAQGm2epoS4HKFQ0EmMRhc97Mwge2kN1IoIGgyQECD5wQUO6YygTkdtpCdSgqDl0VoDaVOmDBpm+oTCQoABQgBZfGbIrDAUBDAgcNDnDs98/WA504Buxa0RKgzVkB/h0oi+pDjgQhHtU1RgDioY6l8gpAJyTBCBsSFtuC6XjWTBuJhIRAgFkmwAmoAkM4mCQCBmEB1sIDIKAFRGytYfDrt4CAuAknqnrYYCXCBxGkqlYtgbtLhOcbMNSw0SBOEmg2VFj/sGHDhRLCNBC3fqFqARWhowQBADs=]Rispetta l'ambiente. Non stampare questa mail se non è necessario.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.fiware.org/private/fiware-robotics/attachments/20150416/d9bb90af/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: roboticsdemo.tar.gz
Type: application/gzip
Size: 129883 bytes
Desc: roboticsdemo.tar.gz
URL: <https://lists.fiware.org/private/fiware-robotics/attachments/20150416/d9bb90af/attachment.bin>


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