cnr-ibf-pa / hbp-bsp-issues

Ticketing system for developers/testers and power users of the Brain Simulation Platform of the Human Brain Project
4 stars 0 forks source link

Service Account PizDaint - filename with '.' (dot) are not retrievable #508

Closed antonelepfl closed 4 years ago

antonelepfl commented 4 years ago

If I submit a file called input.sh then when I use the API to get the content

https://bspsa.cineca.it/files/PIZDAINT/bsp_pizdaint_01/{{JOB_ID}}/{{INPUT_FILENAME}}

I get

{
    "detail": "Not found."
}

But if I upload / get with input_sh it works correctly. The same issue with .zip, .txt, etc

rcsm17 commented 4 years ago

Hi @antonelepfl could you check again if it works ?

alex4200 commented 4 years ago

@rcsm17 @antonelepfl Any news on this issue?

antonelepfl commented 4 years ago

I'm not using this feature because I'm using the advanced endpoint.

alex4200 commented 4 years ago

So ticket can be closed?

alex4200 commented 4 years ago

@lbologna Asking @rcsm17

rcsm17 commented 4 years ago

Hi, sorry for the late reply first. So I checked the normal endpoint to fetch a file with dot notation and in my case it works. I tried with the "output.zip" and "CA1_int_cAC_010710HP2_20200305092603.zip" and I received them without any problem.

If you want to check by yourself go to: https://collab.humanbrainproject.eu/#/collab/17259/nav/301898. Here you can find the Service Account API, just compile the fields with the correct parameters and run the cell.

antonelepfl commented 4 years ago

Ok then, we close this one and re-open in case that someone has the same issue. Thank you Roberto