Closed MagielBruntink closed 2 years ago
I have a meeting with George later today. The issue goes a bit beyond just the ingestion table... I feel like we do not have a clear design directive for the REST API right now. :)
Has this been resolved with the latest merge of the generalized REST API?
Has this been resolved with the latest merge of the generalized REST API?
Apparently not, the Generalized Rest-API PR did not touch the ingestion process.
Describe the bug
The current version of the REST API still uses the original definition of the ingested_artifacts table. In https://github.com/fasten-project/fasten-docker-deployment/commit/c4f677300bc83bab26de7e30fafff81cd1a5a2bc @proksch changed this table to better suit usage by the FASTEN loader and plugins. Now the REST API needs adjustment otherwise it throws an exception after an ingestion request (when it checks the ingested_artifacts table).
To Reproduce
Steps to reproduce the behavior:
docker-compose --profile java up -d
docker logs fasten-docker-deployment-fasten-restapi-java-1