Make functional test service endpoint selection criteria configurable

Bug #1501462 reported by Arun Kant
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Barbican
Fix Released
Medium
Arun Kant

Bug Description

Currently barbican functional test selects barbican endpoint from service catalog using a hard-coded selection criteria. (https://github.com/openstack/barbican/blob/master/functionaltests/common/client.py#L194)

As selection criteria is hard-coded, so deployment service catalog need to define barbican endpoint entry matching to that criteria. This is quite inflexible and may not work for deployment to run this test in their build setup (as not every deployment going to define their region as 'RegionOne')

Barbican should allow endpoint selection values to be configurable in its barbican-functional.conf. Current values can be defined as
default. With configurable selection criteria, custom override_url would not be needed.

[keymanager]

#service_type='key-manager',
#service_name='barbican',
#region_name='RegionOne',
#endpoint_type='public'

Arun Kant (arukant)
description: updated
description: updated
Arun Kant (arukant)
Changed in barbican:
assignee: nobody → Arun Kant (arunkant-uws)
Revision history for this message
Arun Kant (arukant) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to barbican (master)

Reviewed: https://review.openstack.org/229588
Committed: https://git.openstack.org/cgit/openstack/barbican/commit/?id=ea95d8e768ec6f3944a301bf6ddc4955f331bbd0
Submitter: Jenkins
Branch: master

commit ea95d8e768ec6f3944a301bf6ddc4955f331bbd0
Author: Arun Kant <email address hidden>
Date: Wed Sep 30 12:25:18 2015 -0700

    Making barbican endpoint selection values to be configurable attributes.

    Added configurable attributes in barbican functional config with current
    values as default values. So it should not impact gate builds.

    Change-Id: I4908e0da700154322183f82431c0a1a0f272cf52
    Closes-bug: #1501462

Changed in barbican:
status: New → Fix Committed
Changed in barbican:
status: Fix Committed → Fix Released
Changed in barbican:
milestone: none → mitaka-1
importance: Undecided → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.