Codebase list python-castellan / 3d39e35
Merge "Use 'barbican_endpoint_type'config option to get endpoint from catalog" Zuul authored 3 years ago Gerrit Code Review committed 3 years ago
2 changed file(s) with 8 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
192192 return barbican.barbican_endpoint
193193 elif getattr(auth, 'service_catalog', None):
194194 endpoint_data = auth.service_catalog.endpoint_data_for(
195 service_type='key-manager')
195 service_type='key-manager',
196 interface=barbican.barbican_endpoint_type)
196197 return endpoint_data.url
197198 else:
198199 service_parameters = {'service_type': 'key-manager',
0 ---
1 fixes:
2 - |
3 ``barbican_endpoint_type`` is now used to retrieve Barbican endpoint URL
4 from service catalog. This config option is set to 'public' by default so
5 it will not change the current behaviour.