barbican/barbican
Douglas Mendizábal 06b4b32d20 Fix consumer name length validator
This patch fixes a mismatch between the size of the column for a
consumer "name" in the database and the value being checked by the api
validator.

The maximum size in the database is 36 chars [1], so we must use that value
in the validator.

[1] https://opendev.org/openstack/barbican/src/branch/stable/xena/barbican/model/models.py#L826

Story: 2009672
Task: 43933

Change-Id: I76f075a94056aa65cd44fd1d7f5d4b24109b6ed1
(cherry picked from commit 31aa926175)
(cherry picked from commit 059b4a080a)
(cherry picked from commit c1204779b2)
2021-11-12 19:01:27 +00:00
..
api Fix RBAC and ACL access for managing secret containers 2021-10-27 18:03:46 +00:00
cmd Allow multiple token labels for PKCS#11 driver 2021-03-08 11:58:40 -06:00
common Fix consumer name length validator 2021-11-12 19:01:27 +00:00
hacking Update hacking for Python3 2021-03-04 17:27:30 -06:00
locale Imported Translations from Zanata 2020-04-30 06:08:08 +00:00
model Update hacking for Python3 2021-03-04 17:27:30 -06:00
objects Merge "Adding the unit-tests of OVO for Barbican [2]" 2020-01-10 16:32:09 +00:00
plugin Ignore network errors during C_Finalize 2021-09-23 12:21:58 +00:00
queue Support listener pooling in keystone listener 2019-10-03 14:47:00 +00:00
tasks Remove translation of log messages 2017-06-03 10:18:55 +07:00
tests Fix POST /v1/secret/{secret-id}/metadata response 2021-10-25 19:21:55 +00:00
__init__.py Files with no code must be left completely empty 2016-11-17 14:19:47 +08:00
context.py Enforce usage of oslo.context's project_id 2018-04-23 17:37:52 +03:00
i18n.py Remove translation logging prefixes from i18n 2017-06-08 03:13:19 +00:00
version.py Enable tag-based full version reporting via pbr 2014-01-22 18:01:30 -06:00