Add Basic tests for Barbican - key management

Registered by Meera Belur

Add tempest tests for the supported features in v1.0 Barbican API

This blue print covers basic functional tests for supported features of Barbican 1.0 API

Testcases on key management lifecycle tests

CRUD Operatins on secret resource
    - create secret via POST (with payload) and POST (without payload)/PUT
    - retrieving secret (read)
    - expiration, revoking, deleting/destroy (delete)

CRUD Operations on order resource
    - generation
    - get list of orders
    - Get details
    - cancel an order

Operations on container resource
    list all containers
    create new container
    get container
    delete container

Work items:
1. Implement a client in tempest for invoking REST operations on the barbican API. This rest client is based off of the tempest.common.rest_client.
a. secrets_client
b. orders_client
c. containers_client
2. Add base class for the keymanamagement tests
3. Add tests to cover the CRUD operation on the resources specified above
a. test cases for the secret resource
b. test cases for the orders resource
c. test cases for the containers resource

Blueprint information

Status:
Complete
Approver:
Matthew Treinish
Priority:
Medium
Drafter:
Meera Belur
Direction:
Approved
Assignee:
Meera Belur
Definition:
Obsolete
Series goal:
Proposed for juno
Implementation:
Started
Milestone target:
milestone icon juno-3
Started by
Meera Belur
Completed by
Matthew Treinish

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/add-basic-tests-for-barbican,n,z

Addressed by: https://review.openstack.org/99978
    QA spec for bp:add-basic-tests-for-barbican

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.