dkt-projekt / DocumentStorage

0 stars 0 forks source link

Problem in parametrized pipelines #7

Closed jnehring closed 8 years ago

jnehring commented 8 years ago

I added a zip file to the document storage. This API call reveals that the first file failed:

http://dev.digitale-kuratierung.de/api/document-storage/my-collection/documents

Error message:

    "errorMessage": "{\n  \"exception\": \"eu.freme.common.exception.BadRequestException\",\n  \"path\": \"/e-sesame/storeData\",\n  \"message\": \"Unable to generate directory: /opt/storage/sesameStorage/$collection-name$\",\n  \"error\": \"Bad Request\",\n  \"status\": 400,\n  \"timestamp\": 1471531589630\n}",

it looks like the collection name was not replaced with a parameter.

jnehring commented 8 years ago

This problem was solved. In the dkt-dev broker I used an old version of the pipelining api that did not support parameters.