Sha256: ecc37b49c7005a6d3964f650a8dbe51f08e1e82085dff59bd179582cd5fa0558

Contents?: true

Size: 1.32 KB

Versions: 29

Compression:

Stored size: 1.32 KB

Contents

@orbit
@orbitdownloads
Feature: User authenticated download of images from orbit
  In order to download images from orbit
  As a command line user
  I want to retrieve the URI via an optional cache and copy correctly to target in the right format using a user id directly

  Background: 
    Given an empty directory named "/tmp/uricp"
    And the default aruba timeout is 15 seconds
    And a container called "test"

  @new-qemu-image
  Scenario: qcow2v3 download no conversion, no cache with userid
    When I retrieve "img-qcow2" from container "test" into "file:///tmp/uricp/srv-test1" with a userid
    Then a file named "/tmp/uricp/srv-test1" should exist
    And the file named "/tmp/uricp/srv-test1" should have a file format of "qcow2v3"

  @old-qemu-image
  Scenario: qcow2 download no conversion, no cache with userid
    When I retrieve "img-qcow2" from container "test" into "file:///tmp/uricp/srv-test1" with a userid
    Then a file named "/tmp/uricp/srv-test1" should exist
    And the file named "/tmp/uricp/srv-test1" should have a file format of "qcow2"

  Scenario: direct upload with userid
    Given a 102400 byte file named "/tmp/uricp/srv-testy"
    When I store "img-usrid" into container "test" from "file:///tmp/uricp/srv-testy" with a userid
    Then a 102400 byte entry should exist in container "test" called "img-usrid"

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
uricp-0.0.37 features/userid_download.feature
uricp-0.0.36 features/userid_download.feature
uricp-0.0.35 features/userid_download.feature
uricp-0.0.34 features/userid_download.feature
uricp-0.0.32 features/userid_download.feature
uricp-0.0.31 features/userid_download.feature
uricp-0.0.30 features/userid_download.feature
uricp-0.0.29 features/userid_download.feature
uricp-0.0.28 features/userid_download.feature
uricp-0.0.27 features/userid_download.feature
uricp-0.0.26 features/userid_download.feature
uricp-0.0.25 features/userid_download.feature
uricp-0.0.24 features/userid_download.feature
uricp-0.0.23 features/userid_download.feature
uricp-0.0.22 features/userid_download.feature
uricp-0.0.21 features/userid_download.feature
uricp-0.0.20 features/userid_download.feature
uricp-0.0.18 features/userid_download.feature
uricp-0.0.17 features/userid_download.feature
uricp-0.0.16 features/userid_download.feature