Story #3052
closedAs a user, I have default values for download_policy and sync_mode on importer create
0%
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
Updated by ttereshc about 7 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.
Updated by amacdona@redhat.com about 7 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").
Updated by ttereshc about 7 years ago
- 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)
Updated by dalley over 6 years ago
- Status changed from NEW to CLOSED - WONTFIX
download policy and sync mode are being moved off of the Remote (formerly Importer)