Details
-
Type: extRequest
-
Status: Closed
-
Priority: Major
-
Resolution: Done
-
Component/s: FRACTALS
-
Labels:None
Description
Dear coachers
EMPORIA Project has submitted the following email, as they are having some issues with the Repository GE.
On behalf of the EMPORIA development team (funded by FRACTALS Accelerator) we would like to ask for your help regarding the following technical issue we are facing with the Repository GE:
fiware Repository GE
What we have done:
1. We have used the available image in order to create a fiware Repository instance in our filab cloud infrastructure.
2. We checked that Tomcat is running at the instance’s IP
3. We checked that the fiware Repository is running by calling “http://#INSTANCE-IP#/FiwareRepository/v1” and the message returned is that we have not specified a collection - seems legit
What we have failed to do:
1. We failed to create a resource in the Repository. The steps that we followed and the responses we got are the following:
a. We created a file named data.txt and we wrote ‘Some testing content here’
b. We called via curl the following command and got the response:
$ curl -v -H "Content-Type: text/plain" -X PUT --data "@data.txt" http://185.23.171.48/FiwareRepository/v1/collectionA/collectionB/ResourceName
- timeout on name lookup is not supported
- About to connect() to 185.23.171.48 port 80 (#0)
- Trying 185.23.171.48...
- connected
- Connected to 185.23.171.48 (185.23.171.48) port 80 (#0)
> PUT /FiwareRepository/v1/collectionA/collectionB/ResourceName HTTP/1.1
> User-Agent: curl/7.26.0
> Host: 185.23.171.48
> Accept: /
> Content-Type: text/plain
> Content-Length: 25
> - upload completely sent off: 25 out of 25 bytes
< HTTP/1.1 500 Error Interno del Servidor
< Server: Apache-Coyote/1.1
< Content-Type: application/xml
< Content-Length: 289
< Date: Wed, 19 Aug 2015 10:06:06 GMT
< Connection: close
<
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><exception><description>Parser Exception for class org.fiware.apps.repository.model.Resource Error parsing null can't call something</description><errorCode>500</errorCode><reasonPhrase>Internal Server Error</reasonPhrase></exception>* Closing connection #0
c. We should receive (based on the examples provided): - upload completely sent off: 25 out of 25 bytes
< HTTP/1.1 201 Created
< Server: Apache-Coyote/1.1
< Content-Length: 0
< Date: Wed, 11 Jul 2012 11:38:29 GMT - Closing connection #0
2. What did we do wrong ? What should have been done differently? Please elaborate and provide a working example.
Looking forward to your response,
Christos Alatzidis
Can you provide some help?
Thanks in advance.
Best Regards
This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it.
As its integrity cannot be secured on the Internet, the Atos group liability cannot be triggered for the message content. Although the sender endeavors to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted.
Este mensaje y los ficheros adjuntos pueden contener información confidencial destinada solamente a la(s) persona(s) mencionadas anteriormente y pueden estar protegidos por secreto profesional.
Si usted recibe este correo electrónico por error, gracias por informar inmediatamente al remitente y destruir el mensaje.
Al no estar asegurada la integridad de este mensaje sobre la red, Atos no se hace responsable por su contenido. Su contenido no constituye ningún compromiso para el grupo Atos, salvo ratificación escrita por ambas partes.
Aunque se esfuerza al máximo por mantener su red libre de virus, el emisor no puede garantizar nada al respecto y no será responsable de cualesquiera daños que puedan resultar de una transmisión de virus.
_______________________________________________
Fiware-fractals-coaching mailing list
Fiware-fractals-coaching@lists.fi-ware.org
https://lists.fi-ware.org/listinfo/fiware-fractals-coaching
[Created via e-mail received from: "Romero, Javier" <javier.romero@atos.net>]
Issue Links
- relates to
-
HELP-4510 FIWARE.Request.Tech.Apps.Repository.ImageIssues
- Closed
Dear Francesco,
Could you help with these questions from the Fractals SME?
Thanks..
ilknur