viaacode / vrt_avo_transfer

[deprecated] Transfers files from the VRT tenant to the 'Archief voor Onderwijs' tenant
Apache License 2.0
0 stars 0 forks source link

Replace ftp with fragment update #10

Open maartends opened 5 years ago

maartends commented 5 years ago

Metadata update is pushed via FTP PUT as <pid>.xml to tra-server:

https://github.com/viaacode/vrt_avo_transfer/blob/5f90484f297d96484373ec1b832d6a74a63dcab7/src/main/app/poller.xml#L53

Replace with metadata-update via POST on fragment_id.

Needed: translation from media_id (VRT) to fragment_id.

maartends commented 5 years ago

[vrt_avo_transfer] Issue met metadata user op ftp fixen

maartends commented 5 years ago

Transfer of XML-metadata file could be simply replaced with a call/post to viaacode/mam-update-service.

dietervanhoof commented 5 years ago

Translation from pid -> fragment ID seems more logical to me. Media ID to fragment ID is harder.

maartends commented 5 years ago

Agreed. However, is it at all possible without an intermediate step?

media_id -> pid -> frag_id ?

dietervanhoof commented 5 years ago

Possibly with a custom query to MH based on the local cp ID.