Story #3052
closed
As a user, I have default values for download_policy and sync_mode on importer create
Description
Creating an importer in pulp 3 requires the user to specify download_policy and sync_mode. In pulp 2, the fields were defaulted to immediate and additive respectively. I think for convenience we should have the same behavior in pulp 3
I'm on the fence here. Maybe it's good that user has to specify download policy explicitly and has no assumptions. Pulp 3 is so different in many ways... And it's also arguable which default makes more sense if we are not focused on keeping Pulp 2 default behavior.
I'd agree, download_policy should default to immediate. (1) The streamer is optional. (2) As a user I expect immediate unless I specify otherwise.
I don't think sync_mode should have a default because I want to force users to choose what they want. Additive and mirror both seem like reasonable default behaviors, so I'd rather not surprise anyone. (If we default, I agree with @daviddavis, it should be "additive").
- Tracker changed from Issue to Story
- Subject changed from Default fields download_policy and sync_mode on importer create to As a user, I have default values for download_policy and sync_mode on importer create
- % Done set to 0
- Tags deleted (
Easy Fix)
- Status changed from NEW to CLOSED - WONTFIX
download policy and sync mode are being moved off of the Remote (formerly Importer)
- Sprint/Milestone set to 3.0.0
Also available in: Atom
PDF