placement/placement/tests/functional/gabbits
Chris Dent 3772132579 Microversion 1.38: API support for consumer types
Update allocations, reshaper and usage APIs to accept and present
consumer_type in microversion 1.38.

ensure_consumer in placement/handlers/util.py is updated to be consumer
type aware.

allocation, usage and reshaper schema and handlers are updated

gabbits/consumer-types-1.38.yaml adds tests across the various URIs

A TODO is left in placement/handlers/allocation.py where the database
is being accessed in a way that is not ideal. This will be cleared
up in a followup patch (to add use of an AttributeCache).

Co-Authored-By: Surya Seetharaman <suryaseetharaman.9@gmail.com>
Co-Authored-By: melanie witt <melwittt@gmail.com>

Story: 2005473
Task: 36421

Change-Id: I24c2315093e07dbf25c4fb53152e6a4de7477a51
2021-08-05 23:23:47 +00:00
..
aggregate-legacy-rbac.yaml Implement secure RBAC for aggregates 2021-01-27 17:08:47 +00:00
aggregate-policy.yaml Move the functional test directories 2018-09-04 10:31:24 -05:00
aggregate-secure-rbac.yaml Implement secure RBAC for aggregates 2021-01-27 17:08:47 +00:00
aggregate.yaml Move the functional test directories 2018-09-04 10:31:24 -05:00
allocation-bad-class.yaml Move the functional test directories 2018-09-04 10:31:24 -05:00
allocation-candidates-bug-1792503.yaml Add a test for granular member_of not flowing down 2019-06-25 09:34:04 -05:00
allocation-candidates-legacy-rbac.yaml Implement secure RBAC for allocation candidates 2021-01-27 17:16:30 +00:00
allocation-candidates-mappings-numa.yaml Manage mappings on AllocationRequest object 2019-07-04 09:57:31 +00:00
allocation-candidates-mappings-sharing.yaml Implement allocation candidate mappings 2019-06-12 21:19:14 +00:00
allocation-candidates-member-of.yaml Negative member_of query with microversion 1.32 2019-03-29 05:14:27 +00:00
allocation-candidates-policy.yaml Move the functional test directories 2018-09-04 10:31:24 -05:00
allocation-candidates-root-required.yaml Fix allocation bug in NUMANetworkFixture 2019-08-14 13:35:38 -05:00
allocation-candidates-secure-rbac.yaml Implement secure RBAC for allocation candidates 2021-01-27 17:16:30 +00:00
allocation-candidates.yaml Correctly limit provider summaries when nested 2019-06-11 14:40:25 +01:00
allocations-1-8.yaml Move the functional test directories 2018-09-04 10:31:24 -05:00
allocations-1-12.yaml Move the functional test directories 2018-09-04 10:31:24 -05:00
allocations-1.28.yaml Clarify GET /allocations/$c for nonexistent $c 2019-10-18 01:09:45 +00:00
allocations-bug-1714072.yaml Move the functional test directories 2018-09-04 10:31:24 -05:00
allocations-bug-1778591.yaml Move the functional test directories 2018-09-04 10:31:24 -05:00
allocations-bug-1778743.yaml Move the functional test directories 2018-09-04 10:31:24 -05:00
allocations-bug-1779717.yaml Move the functional test directories 2018-09-04 10:31:24 -05:00
allocations-legacy-rbac.yaml Microversion 1.38: API support for consumer types 2021-08-05 23:23:47 +00:00
allocations-mappings.yaml Implement allocation candidate mappings 2019-06-12 21:19:14 +00:00
allocations-policy.yaml Microversion 1.38: API support for consumer types 2021-08-05 23:23:47 +00:00
allocations-post.yaml Move the functional test directories 2018-09-04 10:31:24 -05:00
allocations-secure-rbac.yaml Microversion 1.38: API support for consumer types 2021-08-05 23:23:47 +00:00
allocations.yaml Move the functional test directories 2018-09-04 10:31:24 -05:00
basic-http.yaml Move the functional test directories 2018-09-04 10:31:24 -05:00
bug-1674694.yaml Move the functional test directories 2018-09-04 10:31:24 -05:00
confirm-auth.yaml Move the functional test directories 2018-09-04 10:31:24 -05:00
consumer-types-1.38.yaml Microversion 1.38: API support for consumer types 2021-08-05 23:23:47 +00:00
cors.yaml Modernize CORS config and setup 2019-05-29 10:31:14 +01:00
ensure-consumer.yaml Move the functional test directories 2018-09-04 10:31:24 -05:00
granular-same-subtree.yaml gabbi test for same_subtree with an ancestry hole 2019-08-16 10:44:37 +01:00
granular.yaml Allow [a-zA-Z0-9_-]{1,64} for request group suffix 2019-05-21 11:07:38 +01:00
inventory-legacy-rbac.yaml Implement secure RBAC for inventories 2021-01-27 17:18:39 +00:00
inventory-policy.yaml Move the functional test directories 2018-09-04 10:31:24 -05:00
inventory-secure-rbac.yaml Implement secure RBAC for inventories 2021-01-27 17:18:39 +00:00
inventory.yaml Move the functional test directories 2018-09-04 10:31:24 -05:00
microversion-bug-1724065.yaml Move the functional test directories 2018-09-04 10:31:24 -05:00
microversion.yaml Microversion 1.38: API support for consumer types 2021-08-05 23:23:47 +00:00
non-cors.yaml Move the functional test directories 2018-09-04 10:31:24 -05:00
reshaper-legacy-rbac.yaml Implement secure RBAC for reshaper 2021-02-10 11:00:40 +00:00
reshaper-policy.yaml Move the functional test directories 2018-09-04 10:31:24 -05:00
reshaper-secure-rbac.yaml Implement secure RBAC for reshaper 2021-02-10 11:00:40 +00:00
reshaper.yaml Implement allocation candidate mappings 2019-06-12 21:19:14 +00:00
resource-class-in-use.yaml Move the functional test directories 2018-09-04 10:31:24 -05:00
resource-classes-1-6.yaml Move the functional test directories 2018-09-04 10:31:24 -05:00
resource-classes-1-7.yaml Move the functional test directories 2018-09-04 10:31:24 -05:00
resource-classes-last-modified.yaml Move the functional test directories 2018-09-04 10:31:24 -05:00
resource-classes-legacy-rbac.yaml Bump os-resource-classes requirements 2021-07-16 10:58:33 +00:00
resource-classes-policy.yaml Bump os-resource-classes requirements 2021-07-16 10:58:33 +00:00
resource-classes-secure-rbac.yaml Bump os-resource-classes requirements 2021-07-16 10:58:33 +00:00
resource-classes.yaml Bump os-resource-classes requirements 2021-07-16 10:58:33 +00:00
resource-provider-aggregates.yaml Negative member_of query with microversion 1.32 2019-03-29 05:14:27 +00:00
resource-provider-bug-1779818.yaml Move the functional test directories 2018-09-04 10:31:24 -05:00
resource-provider-duplication.yaml Move the functional test directories 2018-09-04 10:31:24 -05:00
resource-provider-legacy-rbac.yaml Implement secure RBAC for resource providers 2021-01-27 17:05:06 +00:00
resource-provider-links.yaml Move the functional test directories 2018-09-04 10:31:24 -05:00
resource-provider-policy.yaml Move the functional test directories 2018-09-04 10:31:24 -05:00
resource-provider-resources-query.yaml Move the functional test directories 2018-09-04 10:31:24 -05:00
resource-provider-secure-rbac.yaml Implement secure RBAC for resource providers 2021-01-27 17:05:06 +00:00
resource-provider.yaml Add support for RP re-parenting and orphaning 2021-07-14 17:55:41 +02:00
same-subtree-deep.yaml Add gabbits using a DeepNUMANetworkFixture 2019-08-16 10:44:37 +01:00
shared-resources.yaml Move the functional test directories 2018-09-04 10:31:24 -05:00
traits-legacy-rbac.yaml Implement secure RBAC for traits 2021-01-27 17:23:16 +00:00
traits-policy.yaml Move the functional test directories 2018-09-04 10:31:24 -05:00
traits-secure-rbac.yaml Implement secure RBAC for traits 2021-01-27 17:23:16 +00:00
traits.yaml Update traits in tests and requirements 2021-02-23 17:41:12 +00:00
unicode.yaml Move the functional test directories 2018-09-04 10:31:24 -05:00
usage-legacy-rbac.yaml Implement secure RBAC for usage 2021-01-27 17:29:47 +00:00
usage-policy.yaml Fix typo in usage.yaml and usage-policy.yaml 2019-05-23 22:56:11 +00:00
usage-secure-rbac.yaml Implement secure RBAC for usage 2021-01-27 17:29:47 +00:00
usage.yaml Fix typo in usage.yaml and usage-policy.yaml 2019-05-23 22:56:11 +00:00
with-allocations.yaml Move the functional test directories 2018-09-04 10:31:24 -05:00