As a user, I have default values for download_policy and sync_mode on importer create
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
#1 Updated by ttereshc over 3 years ago
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.
#2 Updated by firstname.lastname@example.org over 3 years ago
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").
Please register to edit this issue