Logo: Relish

  1. Sign in

Project: Asset-service

Asset List

The asset service retrieves a list of all the storage resources related to a given company

Scenarios
Storage Resources
Given
Stark Industries has procured some storage resources
When
a get request is performed for 'assets/stark_industries_proposition_id/storages'
Then
the following response should be included
{
  "ci":"12",
  "storage_capacity":"100 GB Storage Capacity",
  "cloudstack_name":"ESSENTIAL-2",
  "procured_date":"2013-05-09 11:37:47",
  "state":"Pending",
  "actions": [
              {"name": "name 1","id" : "id 1","description" : "description 1"},
              {"name": "name 2","id" : "id 2","description" : "description 2"}
  ]
}
Storage Resources List
Given
Stark Industries has procured some storage resources
When
a get request is performed for 'assets/stark_industries_proposition_id/storages'
Then
the following storage resources list should be returned
CI STATE STORAGE CAPACITY PROCURE DATE NAME
1 Available 50 GB Storage Capacity 2013-05-08 11:37:47
12 Pending 100 GB Storage Capacity 2013-05-09 11:37:47 ESSENTIAL-2
3 Available 150 GB Storage Capacity 2013-04-10 11:37:47

Last published almost 4 years ago by John James.