Questions regarding data transfer in the Dataspace Connector #54
-
Hi everyone, while testing the latest version of the Dataspace Connector (b75efa9), I encountered three problems which I would like to discuss here. 1. I did not manage to register an 'http-get' resource. I tried amending the provided JSON with the 'local' example by exchanging 'local' through 'http-get' and adding the fields 'url', 'username', and 'password'. I The url I used was taken from an earlier example in the Dataspace Connector (https://samples.openweathermap.org/data/2.5/weather?lat=35&lon=139&appid=439d4b804bc8187953eb36d2a8c26a02). Does anyone know where my mistake is or whether this is a bug in the current release? 2. Is 'PUT /admin/api/resources/{resource-id}/data' actually the intended way to upload data to an internal database? 2.1 Having to upload data as a String might potentially be a limitation or lead to overhead. Does anyone agree or am I missing something here? 3. The iterative protocol required when trying to obtain an artifact from another connector seems quite heavy. I encountered issues when trying to automate the workflow, as parsing the necessary data in the responses obtained from 'POST /admin/api/request/description' and 'POST /admin/api/request/artifact' is quite difficult. Potentially this protocol could be improved or the data in the responses structured in a more forward way? |
Beta Was this translation helpful? Give feedback.
Replies: 0 comments 3 replies
-
Hello, we (@ronjaquensel and me) have been capable of registering a resource successfully.
|
Beta Was this translation helpful? Give feedback.
Hello,
we (@ronjaquensel and me) have been capable of registering a resource successfully.