Project

Profile

Help

Story #3044

Updated by amacdona@redhat.com almost 6 years ago

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

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

Back