nova/nova/tests/functional/api/openstack/placement/gabbits
Chris Dent 7792ba33a0 [placement] Update allocation-candidates.yaml for gabbi 1.35
Gabbi 1.35 provides template variable susbtitution on the left hand side
of a JSONPath expression. That's used here to remove the need for static
fake uuids in the test data for allocation-candidates and the
SharedStorageFixture.

A couple of other clean ups to the use of gabbi, unrelated to the 1.35
update:

* It's possible to test the entire value in one response:

    resources:
         VCPU: 4
         DISK_GB: 5

  instead of:

    resources.VCPU: 4
    resources.DISK_GB: 5

  This is handy when the root of the expression is calculated and
  repeating that calculation is noisy.

* [?foo.bar=baz] is the more canonical form of [?(@.foo.bar=baz)]. The
  former is built into jsonpath, the latter dips into the underlying
  implementation.

Change-Id: Ie6b5e0186533581815d04411ed7b321948464bb6
2017-07-17 13:04:48 +00:00
..
aggregate.yaml Placement api: set custom json_error_formatter in aggregate and usage 2017-02-13 18:34:10 +00:00
allocation-candidates.yaml [placement] Update allocation-candidates.yaml for gabbi 1.35 2017-07-17 13:04:48 +00:00
allocations-1-8.yaml placement project_id, user_id in PUT /allocations 2017-06-15 18:23:37 +00:00
allocations.yaml Add check for invalid allocation amounts 2017-03-21 16:45:36 -07:00
basic-http.yaml [placement] Allow PUT and POST without bodies 2017-04-06 10:45:06 +00:00
confirm-auth.yaml
cors.yaml Add rudimentary CORS support to placement API 2017-01-16 12:04:24 +00:00
inventory.yaml [placement] Increase test coverage 2017-06-12 14:07:32 +00:00
microversion.yaml placement: support GET /allocation_candidates 2017-07-03 10:57:59 -04:00
non-cors.yaml Add rudimentary CORS support to placement API 2017-01-16 12:04:24 +00:00
resource-classes-1-6.yaml [placement] Idempotent PUT /resource_classes/{name} 2017-04-20 15:51:37 +00:00
resource-classes-1-7.yaml [placement] Idempotent PUT /resource_classes/{name} 2017-04-20 15:51:37 +00:00
resource-classes.yaml [placement] Idempotent PUT /resource_classes/{name} 2017-04-20 15:51:37 +00:00
resource-provider-aggregates.yaml fix typos 2017-04-19 03:36:04 -07:00
resource-provider-links.yaml [placement] adjust resource provider links by microversion 2017-05-29 16:38:59 +00:00
resource-provider-resources-query.yaml Placement api: set custom json_error_formatter in resource_provider 2017-02-13 16:56:51 +00:00
resource-provider.yaml [placement] adjust resource provider links by microversion 2017-05-29 16:38:59 +00:00
traits.yaml Sync os-traits to Traits database table 2017-06-06 10:31:05 +00:00
unicode.yaml Remove invalid URL in gabbi tests 2017-01-17 21:10:45 +00:00
usage.yaml placement: Add GET /usages to placement API 2017-06-15 18:23:37 +00:00
with-allocations.yaml placement: Add GET /usages to placement API 2017-06-15 18:23:37 +00:00