This commit is part of a series to retire the Packaging Deb
project. Step 2 is to remove all content from the project
repos, replacing it with a README notification where to find
ongoing work, and how to recover the repo if needed at some
future point (as in
https://docs.openstack.org/infra/manual/drivers.html#retiring-a-project).
Change-Id: I0c4fa1f8587a80706a15b788f97f075876b0943b
recent refactor seems to have caused a regression
with the client default version, using openstack
client causes this error:
Invalid client version 1; must be one of: v1
Closes-Bug: 1705322
Change-Id: Ib3d8efce41c00ab8573461ea30357d1a611529e5
Signed-off-by: Thiago da Silva <thiago@redhat.com>
We have two documents referenced from barbican repo, update the
references to enable the link.
Also update api references according to recent refactor patch [1].
[1] https://review.openstack.org/#/c/403604/
Change-Id: I9cb593e60cfb5220a56356f3f807bbb9ace0cb1c
As part of the docs migration work[0] for Pike we need to switch to use
the openstackdocstheme.
[0]https://review.openstack.org/#/c/472275/
Change-Id: I81e959fbd1544d543dd39898dbc2d63ef991a925
Add v1 directory for APIs, CLIs and API testcases.
Currently, v1 is supported and the default api version. If version is not
specified when constructing barbicanclient, default api version will be used.
Implements: blueprint refactor-barbicanclient
Change-Id: Ib91e7049de007f4d4254abcd4c125b4dc7e03c55
Switch both client and functional test to use generic auth plugin.
Also keep keystone auth_uri as one option so we needn't add extra
version to the endpoint and let keystoneauth handle this.
Change-Id: I5535d4d459496eec9052131b43615e6056e249e8
Closes-bug: #1691480
Exposes the secret_type, created, updated, expiration, and sort as
filters for listing secrets.
Change-Id: I583f27f91cb3c6bdb23438dff6b539407b4005ed
Depends-On: I95b5390ef24a754f66ccdb9ccde34cd0820b02fd
We just run pep8 test on barbicanclient directory and functionaltests
directory is not included. This patch extends pep8 test coverage and
removes the script for running pep8 test.
Change-Id: I2b4fe6fadd69884c749a91b390297600bfa40182
DevStack was updated so that the port can't be used
with the keystone URI anymore.
See I46294fb24e3c23fa19fcfd7d6c9ee8a932354702
Change-Id: I808240d534be5e4d50f3f51e6b8318cbffec9c96
1.As mentioned in [1], we should avoid using six.iteritems to achieve
iterators. We can use dict.items instead, as it will return iterators
in PY3 as well. And dict.items/keys will more readable.
2.In py2, the performance about list should be negligible, see the
link [2].
[1] https://wiki.openstack.org/wiki/Python3
[2] http://lists.openstack.org/pipermail/openstack-dev/2015-June/066391.html
Change-Id: I093160f746f346871c136043a8fa48c9491fdc1a
Flake8 was configured to ignore F and H rules, which are the PyFlakes
rules and OpenStack hacking rules.
H202 (tests for the too-general Exception used with assertRaises) is
still ignored because some code actually throws a generic Exception
and so the unit test must check that Exception is raised.
Change-Id: I4c4b67631547cd2db784936287355968a6d3b6c7
According to PEP 396, the version of client library
should be set in xxxclient.__version__, that help
python-openstackclient command "module list" to get
the right plugin module versions.
Change-Id: I74f624e75b5335c657d7bb741435bfafedcc974e
Partial-Bug: #1662058
The deletion of the secrets wasn't happening correctly in the
clean-up methods for the CLI functional tests because items
were being deleted from the lists as the list was being iterated
over.
Includes general clean-up of the entities being created and deleted.
Change-Id: I87d0ef93505ee46ab8314a2562b5d4ab59717649