WebCuratorTool / webcurator

The root of the webcurator tool project, containing all modules needed to run a fully functional webcurator tool.
Apache License 2.0
2 stars 1 forks source link

Made the mets.xml to contain only primary seed URL #95

Closed leefrank9527 closed 5 months ago

leefrank9527 commented 11 months ago

Simplified the mets.xml of harvests, to contain primary seed only: the footprint of harvest tasks, such as permissions and seeds were frozen and were saved in DB. This PR still keeps the data in DB not changed, and filters out the primary seed URL when generating the mets.xml.

obrienben commented 6 months ago

@leefrank9527 I don't understand the reason for the changes in TargetManager.java and PermissionSeedDTO.java, could you please explain why they are needed?

leefrank9527 commented 5 months ago

@obrienben The seed list was provided by TargetManager.java and transfered with PermissionSeedDTO. Previously, the seed list only contained the name of the seeds. So it's not able to check is it a primary seed. I changed the TargetManager.java and PermissionSeedDTO to let the seed list contains the seed objects.

obrienben commented 5 months ago

@hannakoppelaar ready to merge