Skip to content
Snippets Groups Projects
  • Rafael Guterres Jeffman's avatar
    bde3eb82
    IPAAnsibleModule: cache IPA domain. · bde3eb82
    Rafael Guterres Jeffman authored
    Some attributes retrieved by the IPA API backend don't change, and are
    used more than once, in different places of the code. IPA API domain
    is one of these attributes.
    
    This patch adds a cache to the attribute, so there is only one request
    for the API, improving access time to the object and alowing multiple
    calls with no efficiency penalty.
    bde3eb82
    History
    IPAAnsibleModule: cache IPA domain.
    Rafael Guterres Jeffman authored
    Some attributes retrieved by the IPA API backend don't change, and are
    used more than once, in different places of the code. IPA API domain
    is one of these attributes.
    
    This patch adds a cache to the attribute, so there is only one request
    for the API, improving access time to the object and alowing multiple
    calls with no efficiency penalty.