Add functional tests for the resource types API

Bug #1336169 reported by FeihuJiang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Heat
Fix Released
Undecided
FeihuJiang
tempest
Fix Released
Undecided
FeihuJiang

Bug Description

We currently have no tempest test for the resource types API:

GET
/v1/​{tenant_id}​/resource_types
Lists the supported template resource types.

GET
/v1/​{tenant_id}​/resource_types/​{type_name}
​Shows the interface schema for a specified resource type.

GET
/v1/​{tenant_id}​/resource_types/​{type_name}​/template
Shows the template representation for a specified resource type.

It would be good to add coverage to ensure the resource types APIs work correctly.

FeihuJiang (jiangfeihu)
Changed in heat:
assignee: nobody → FeihuJiang (jiangfeihu)
FeihuJiang (jiangfeihu)
Changed in heat:
status: New → In Progress
Revision history for this message
FeihuJiang (jiangfeihu) wrote :

Basic test for the resource type list and show API has posted:
https://review.openstack.org/#/c/103775/

tags: added: tempest
FeihuJiang (jiangfeihu)
description: updated
FeihuJiang (jiangfeihu)
Changed in tempest:
status: New → In Progress
assignee: nobody → FeihuJiang (jiangfeihu)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tempest (master)

Reviewed: https://review.openstack.org/103775
Committed: https://git.openstack.org/cgit/openstack/tempest/commit/?id=b5fac2af7e09b3f150d8ee6f3ab9d6824907159b
Submitter: Jenkins
Branch: master

commit b5fac2af7e09b3f150d8ee6f3ab9d6824907159b
Author: FeihuJiang <email address hidden>
Date: Tue Jul 1 07:30:58 2014 +0000

    Adds an orchestration API test for resource types

    Adds an orchestration API test to ensure
    the resource types APIs work correctly.

    Change-Id: I9a28332debaad28b3725711f180242ac30744e76
    Closes-Bug: #1336169

Changed in tempest:
status: In Progress → Fix Released
FeihuJiang (jiangfeihu)
no longer affects: heat
Changed in heat:
status: New → In Progress
assignee: nobody → FeihuJiang (jiangfeihu)
FeihuJiang (jiangfeihu)
Changed in heat:
status: In Progress → Fix Released
FeihuJiang (jiangfeihu)
Changed in heat:
status: Fix Released → In Progress
Angus Salkeld (asalkeld)
summary: - Add tempest tests for the resource types API
+ Add functional tests for the resource types API
tags: added: functional-tests
removed: tempest
Changed in heat:
status: In Progress → Fix Released
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.