[SSSD] [PATCH] responder: new interface for cache request

Pavel Březina pbrezina at redhat.com
Thu Nov 6 16:45:06 UTC 2014


Hi,
this patch set is based on Jakub's original code. The goal was to reduce 
code duplication among responders - the part that iterates over domains 
and performs a cache lookup and data provider communication if object is 
staled.

The first three patches are preparation for unit tests to allow testing 
with multi domain environment. The forth patch is the new interface. The 
fifth patch enables views with this interface - I made it a separate 
commit so the changes can be more easily spotted.

And finally the last patch make IFP to use this new interface. Only IFP 
uses it at the moment so we can find potential bugs without hitting NSS 
and other responders.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-tests-refactor-create_dom_test_ctx.patch
Type: text/x-patch
Size: 10261 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20141106/61dda643/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-tests-add-create_multidom_test_ctx.patch
Type: text/x-patch
Size: 3877 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20141106/61dda643/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-tests-add-test_multidom_suite_cleanup.patch
Type: text/x-patch
Size: 3540 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20141106/61dda643/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-responders-new-interface-for-cache-request.patch
Type: text/x-patch
Size: 42810 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20141106/61dda643/attachment-0003.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0005-responders-enable-views-in-cache-request.patch
Type: text/x-patch
Size: 2496 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20141106/61dda643/attachment-0004.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0006-IFP-use-new-cache-interface.patch
Type: text/x-patch
Size: 15739 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20141106/61dda643/attachment-0005.bin>


More information about the sssd-devel mailing list