Comment by toffoli@linkroma.it :
Dear Sandor,
during the past months we had performed simple tests on the Object
Storage by creating containers and uploading objects from the web
interface of the FI-Lab portal.
In order to test some application functions using the Object Storage
API, we started with the execution of the sample code in the Object
Storage wiki
(https://forge.fiware.org/plugins/mediawiki/wiki/fiware/index.php/Object_Storage_-_User_and_Programmers_Guide#Programmer_Guide_-_Accessing_Object_Storage_via_the_native_API).
But we met a few problems, due to our lack of experience and possibly to
uncomplete documentation.
1. Some swift endpoints listed as available don't respond
We repeatedly executed the sample code without success. Then, since it
seems that there are some 10 swift endpoints in the list, while the
sample code in the wiki always picks always the same endpoint
(http://api3.ficore.imaginlab.fr:8080/v1 in our case), we iterated on
the list until we found one service provider working
(http://api2.xifi.imaginlab.fr:8080/v1).
2. Cannot find complete documentation on the OS service provided by the
FI-Lab
By executing the modified sample code, eventually we are able to create
a test container and to put a test object inside it.
At the start we were confused: not finding specific information on the
endpoints of the swift service, we tried to use the first one that
allowed us to execute the test procedure (modified sample code) with
success.
We thought that the different endpoints were working as a federation
managing a shared namespace. Only by trying we became aware that we
should pick from the list the Budapest2 endpoint in order to get a
synchronized view of our containers from both the Fi-lab dashboard and
the API interface.
By the way: we noticed that, adding an object to a container through the
REST API, the count of objects in the web view is refreshed with
considerable delay, possibly due to some caching.
Could you tell us where we could find some more documentation, besides
the general one concerning the Object Storage specifications and the
Object Storage API?
Thank you in advance.
Best regards, Giovanni
–
Giovanni Toffoli, CEO
LINK srl - Via Udine 30, 00161 Roma
+39 06 44231115, +39 340 0727780
Since January 1st, old domains won't be supported and messages sent to any domain different to @lists.fiware.org will be lost.
Please, send your messages using the new domain (Fiware-fiadopt-coaching@lists.fiware.org) instead of the old one.
Dear Giovanni,
Currently I'm out of office. My colleagues will check you issue and send you a reply soon.
Best regards,
Sandor
Sony Xperia™ okostelefonomról küldve
---- Giovanni Toffoli - LINK írta ----
Since January 1st, old domains won't be supported and messages sent to any domain different to @lists.fiware.org will be lost.
Please, send your messages using the new domain (Fiware-fiadopt-coaching@lists.fiware.org) instead of the old one.
_______________________________________________
Fiware-fiadopt-coaching mailing list
Fiware-fiadopt-coaching@lists.fiware.org
https://lists.fiware.org/listinfo/fiware-fiadopt-coaching