---
http_interactions:
- request:
    method: post
    uri: http://backend:5352/cloudupload?arch=x86_64&filename=appliance.raw.gz&package=aws&project=Cloud&repository=standard&target=ec2&user=tom
    body:
      encoding: UTF-8
      string: '{"user_id":3,"external_id":"h9p47ovsmdigok35irpdzxqh","arn":"arn:bqkg7sinuv","region":"us-east-1"}'
    headers:
      Content-Type:
      - application/octet-stream
      Accept-Encoding:
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
      Accept:
      - "*/*"
      User-Agent:
      - Ruby
  response:
    status:
      code: 400
      message: no cloud upload server configurated
    headers:
      Content-Type:
      - text/xml
      Cache-Control:
      - no-cache
      Connection:
      - close
      Content-Length:
      - '87'
    body:
      encoding: UTF-8
      string: |
        <status code="400">
          <summary>no cloud upload server configurated</summary>
        </status>
    http_version: 
  recorded_at: Thu, 04 Jan 2018 14:12:59 GMT
- request:
    method: post
    uri: http://backend:5352/cloudupload?arch=x86_64&filename=appliance.raw.xz&package=aws&project=Cloud&repository=standard&target=ec2&user=tom
    body:
      encoding: UTF-8
      string: '{"user_id":8,"external_id":"jj54vb3fe6tre05jcfudse2i","arn":"arn:wt1dbjjahp","region":"us-east-1","virtualization_type":"hvm","ami_name":"my-image"}'
    headers:
      Content-Type:
      - application/octet-stream
      Accept-Encoding:
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
      Accept:
      - "*/*"
      User-Agent:
      - Ruby
  response:
    status:
      code: 400
      message: no cloud upload server configurated
    headers:
      Content-Type:
      - text/xml
      Cache-Control:
      - no-cache
      Connection:
      - close
      Content-Length:
      - '87'
    body:
      encoding: UTF-8
      string: |
        <status code="400">
          <summary>no cloud upload server configurated</summary>
        </status>
    http_version: 
  recorded_at: Thu, 11 Jan 2018 14:40:10 GMT
recorded_with: VCR 4.0.0
