You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
47 lines
904 B
47 lines
904 B
defaults: |
|
request_headers: |
|
X-Auth-Token: $ENVIRON['OS_TOKEN'] |
|
|
|
tests: |
|
- name: stack list |
|
GET: /stacks |
|
status: 200 |
|
response_headers: |
|
content-type: application/json; charset=UTF-8 |
|
|
|
- name: create empty stack |
|
POST: /stacks |
|
request_headers: |
|
content-type: application/json |
|
data: |
|
files: {} |
|
disable_rollback: true |
|
parameters: {} |
|
stack_name: $ENVIRON['PREFIX']-empty |
|
environment: {} |
|
template: |
|
heat_template_version: '2016-04-08' |
|
|
|
status: 201 |
|
response_headers: |
|
location: //stacks/$ENVIRON['PREFIX']-empty/[a-f0-9-]+/ |
|
|
|
|
|
- name: poll for empty CREATE_COMPLETE |
|
GET: $LOCATION |
|
redirects: True |
|
poll: |
|
count: 5 |
|
delay: 1.0 |
|
response_json_paths: |
|
$.stack.stack_status: CREATE_COMPLETE |
|
|
|
- name: show empty stack |
|
GET: $LAST_URL |
|
redirects: True |
|
status: 200 |
|
|
|
- name: delete empty stack |
|
DELETE: $LAST_URL |
|
redirects: True |
|
status: 204
|
|
|