the upgrade to rails 6.1 in sdr-api added a new column to the active_storage_blobs table. sdr-api is sending this back in the response for file uploads, and since the field wasn't declared in the DirectUploadResponseStruct, it was causing an error when attempting to instantiate DirectUplaodResponse from the actual updated sdr-api responses.
How was this change tested?
unit tests, integration tests (using this branch of sdr-client in the integration test suite, as well as a stage deployment of H2 which uses this branch of sdr-client).
Why was this change made?
the upgrade to rails 6.1 in sdr-api added a new column to the
active_storage_blobs
table. sdr-api is sending this back in the response for file uploads, and since the field wasn't declared in theDirectUploadResponse
Struct
, it was causing an error when attempting to instantiateDirectUplaodResponse
from the actual updated sdr-api responses.How was this change tested?
unit tests, integration tests (using this branch of sdr-client in the integration test suite, as well as a stage deployment of H2 which uses this branch of sdr-client).
see also: https://github.com/sul-dlss/happy-heron/pull/801 https://github.com/sul-dlss/infrastructure-integration-test/pull/189
Which documentation and/or configurations were updated?
n/a