Project

Profile

Help

Story #3044

Updated by jortel@redhat.com over 5 years ago

To prevent race conditions related to base_path checking, Distribution CRUD operations need to be done asynchronously under the protection of resource locking. 

 The plan: 
 * The locked resource will be a _(string)_ URL for _string_ name of the distribution resource collection: _" /api/v3/distributions/"_ model: _"Distribution"_. 
 * The base_path checking needs to be moved from the serializer to the model. 
 * Create a new _AsyncCreateMixin_ following the same pattern as update & delete mixins. 
 * The DistributionViewSet will use the _AsyncUpdateMixin_, _AsyncDeleteMixin_, and _AsyncCreateMixin_ 

Back