Comment 5 for bug 1251880

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ironic (master)

Reviewed: https://review.openstack.org/66621
Committed: https://git.openstack.org/cgit/openstack/ironic/commit/?id=de3de047d1163775cebda55ef04603e0a93777b2
Submitter: Jenkins
Branch: master

commit de3de047d1163775cebda55ef04603e0a93777b2
Author: Roman Prykhodchenko <email address hidden>
Date: Tue Jan 14 18:14:32 2014 +0200

    Process public API list as regular expressions

    In order to allow flexible patterns for public API specification
    and to speed up the process of checking whether some request is
    performed against the public API, it's reasonable to interpret the
    list of public endpoints as regular expressions.

    This patch changes the logic of checking whether a request requires
    authorisation from searching the endpoint in the set to checking the
    endpoint against a list of regular expressions.

    Closes-bug: #1251880
    Change-Id: I638ca0e20fa7e44fbeeae0d1e4c2f4188fb597a5