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. openstack. org/614021 /git.openstack. org/cgit/ openstack/ keystonemiddlew are/commit/ ?id=e37bbe0a116 689043e8c3ec886 7bbb3eae062093
Committed: https:/
Submitter: Zuul
Branch: stable/rocky
commit e37bbe0a1166890 43e8c3ec8867bbb 3eae062093
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