sul-dlss / dor-services-app

A Rails application exposing Digital Object Registry functions as a RESTful HTTP API
https://sul-dlss.github.io/dor-services-app/
Other
3 stars 2 forks source link

allow the workspace call to return the location created #5042

Closed peetucket closed 3 months ago

peetucket commented 3 months ago

Why was this change made? 🤔

ocrWF will be making a call to create the relevant /dor/workspace druid tree directory. It will not need the source path and symlink, it just wants to the workspace folder. So this:

There is a corresponding dor-services-client PR to grab the location and return to the consumer.

How was this change tested? 🤨

Updated existing spec Created a new spec Localhost using updated dor-services-client: https://github.com/sul-dlss/dor-services-client/pull/436

peetucket commented 3 months ago

Added the ability to request the content and/or metadata subfolders be created as well. This will be useful for the OCR work too (where we want the content subfolder if it doesn't exist).