Skip the services with no endpoints when parsing service catalog
When parsing the service catalog to find the source, audit middleware
should skip over the services which have no endpoints instead of
assuming they will have at least one endpoint.
Change-Id: I287873e99338d95baaf20d52ecb3a43763a401fc
Closes-Bug: #1800017
(cherry picked from commit 6779838a242b222672721407cc320672ab24067a)
Reviewed: https:/ /review. opendev. org/678610 /git.openstack. org/cgit/ openstack/ keystonemiddlew are/commit/ ?id=bc03de9ca41 2805490a39dfbd0 0b4f938e64895b
Committed: https:/
Submitter: Zuul
Branch: stable/queens
commit bc03de9ca412805 490a39dfbd00b4f 938e64895b
Author: Guang Yee <email address hidden>
Date: Thu Oct 25 13:01:23 2018 -0700
Skip the services with no endpoints when parsing service catalog
When parsing the service catalog to find the source, audit middleware
should skip over the services which have no endpoints instead of
assuming they will have at least one endpoint.
Change-Id: I287873e99338d9 5baaf20d52ecb3a 43763a401fc 672721407cc3206 72ab24067a)
Closes-Bug: #1800017
(cherry picked from commit 6779838a242b222