---
http_interactions:
- request:
    method: put
    uri: http://backend:5352/source/fake_project/_meta
    body:
      encoding: UTF-8
      string: |
        <project name="fake_project">
          <title>To a God Unknown</title>
          <description/>
        </project>
    headers:
      Accept-Encoding:
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
      Accept:
      - "*/*"
      User-Agent:
      - Ruby
  response:
    status:
      code: 200
      message: OK
    headers:
      Content-Type:
      - text/xml
      Cache-Control:
      - no-cache
      Connection:
      - close
      Content-Length:
      - '105'
    body:
      encoding: UTF-8
      string: |
        <project name="fake_project">
          <title>To a God Unknown</title>
          <description></description>
        </project>
    http_version: 
  recorded_at: Mon, 06 Nov 2017 12:06:13 GMT
- request:
    method: put
    uri: http://backend:5352/source/fake_project/_config
    body:
      encoding: UTF-8
      string: Cumque ut adipisci distinctio quibusdam et ea. Sed officia autem non.
        Iure numquam quam nihil et dicta voluptate.
    headers:
      Accept-Encoding:
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
      Accept:
      - "*/*"
      User-Agent:
      - Ruby
  response:
    status:
      code: 200
      message: OK
    headers:
      Content-Type:
      - text/xml
      Cache-Control:
      - no-cache
      Connection:
      - close
      Content-Length:
      - '21'
    body:
      encoding: UTF-8
      string: '<status code="ok" />

'
    http_version: 
  recorded_at: Mon, 06 Nov 2017 12:06:13 GMT
- request:
    method: put
    uri: http://backend:5352/source/fake_project/package_with_invalid_kiwi_file/_meta?user=_nobody_
    body:
      encoding: UTF-8
      string: |
        <package name="package_with_invalid_kiwi_file" project="fake_project">
          <title>Nectar in a Sieve</title>
          <description>Est rerum consequatur cupiditate esse consequatur ut nisi.</description>
        </package>
    headers:
      Accept-Encoding:
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
      Accept:
      - "*/*"
      User-Agent:
      - Ruby
  response:
    status:
      code: 200
      message: OK
    headers:
      Content-Type:
      - text/xml
      Cache-Control:
      - no-cache
      Connection:
      - close
      Content-Length:
      - '205'
    body:
      encoding: UTF-8
      string: |
        <package name="package_with_invalid_kiwi_file" project="fake_project">
          <title>Nectar in a Sieve</title>
          <description>Est rerum consequatur cupiditate esse consequatur ut nisi.</description>
        </package>
    http_version: 
  recorded_at: Mon, 06 Nov 2017 12:06:13 GMT
- request:
    method: put
    uri: http://backend:5352/source/fake_project/package_with_invalid_kiwi_file/_meta
    body:
      encoding: UTF-8
      string: |
        <package name="package_with_invalid_kiwi_file" project="fake_project">
          <title>Nectar in a Sieve</title>
          <description>Est rerum consequatur cupiditate esse consequatur ut nisi.</description>
        </package>
    headers:
      Accept-Encoding:
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
      Accept:
      - "*/*"
      User-Agent:
      - Ruby
  response:
    status:
      code: 200
      message: OK
    headers:
      Content-Type:
      - text/xml
      Cache-Control:
      - no-cache
      Connection:
      - close
      Content-Length:
      - '205'
    body:
      encoding: UTF-8
      string: |
        <package name="package_with_invalid_kiwi_file" project="fake_project">
          <title>Nectar in a Sieve</title>
          <description>Est rerum consequatur cupiditate esse consequatur ut nisi.</description>
        </package>
    http_version: 
  recorded_at: Mon, 06 Nov 2017 12:06:13 GMT
- request:
    method: put
    uri: http://backend:5352/source/fake_project/package_with_invalid_kiwi_file/package_with_invalid_kiwi_file.kiwi
    body:
      encoding: UTF-8
      string: |
        <?xml version="1.0" encoding="UTF-8"?>
        <image name="Christians_openSUSE_13.2_JeOS" displayname="Christians_openSUSE_13.2_JeOS" schemaversion="5.2">
          <description type="system">
            <author>Christian Bruckmayer</author>
            <contact>noemail@example.com</contact>
            <specification>Tiny, minimalistic appliances</specification>
          </description>
          <packages type="image" patternType="onlyRequired">
            <package name="e2fsprogs"/>
            <package name="aaa_base"/>
            <package name="branding-openSUSE"/>
            <package name="patterns-openSUSE-base"/>
            <package name="grub2"/>
            <package name="hwinfo"/>
            <package name="iputils"/>
            <package name="kernel-default"/>
            <package name="netcfg"/>
            <package name="openSUSE-build-key"/>
            <package name="openssh"/>
            <package name="plymouth"/>
            <package name="polkit-default-privs"/>
            <package name="rpcbind"/>
            <package name="syslog-ng"/>
            <package name="vim"/>
            <package name="zypper"/>
            <package name="timezone"/>
            <package name="openSUSE-release-dvd"/>
            <package name="gfxboot-devel" bootinclude="true"/>
          </packages>
          <packages type="delete">
            <package name="e2fsprogss"/>
            <package name="bbb_base"/>
          </packages>
          <repository type="apt-deb" priority="10" alias="debian" imageinclude="true" password="123456" prefer-license="true" status="replaceable" username="Tom">
            <source path="http://download.opensuse.org/update/13.2/"/>
          </repository>
          <repository type="rpm-md">
            <source path="obsrepositories:/"/>
          </repository>
        </image>
    headers:
      Accept-Encoding:
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
      Accept:
      - "*/*"
      User-Agent:
      - Ruby
  response:
    status:
      code: 200
      message: OK
    headers:
      Content-Type:
      - text/xml
      Cache-Control:
      - no-cache
      Connection:
      - close
      Content-Length:
      - '207'
    body:
      encoding: UTF-8
      string: |
        <revision rev="6" vrev="6">
          <srcmd5>febd44ad0e6a0c4271b0197ea7a125e9</srcmd5>
          <version>unknown</version>
          <time>1509969973</time>
          <user>unknown</user>
          <comment></comment>
          <requestid/>
        </revision>
    http_version: 
  recorded_at: Mon, 06 Nov 2017 12:06:13 GMT
- request:
    method: get
    uri: http://backend:5352/source/fake_project/package_with_invalid_kiwi_file
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Accept-Encoding:
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
      Accept:
      - "*/*"
      User-Agent:
      - Ruby
  response:
    status:
      code: 200
      message: OK
    headers:
      Content-Type:
      - text/xml
      Cache-Control:
      - no-cache
      Connection:
      - close
      Content-Length:
      - '247'
    body:
      encoding: UTF-8
      string: |
        <directory name="package_with_invalid_kiwi_file" rev="6" vrev="6" srcmd5="febd44ad0e6a0c4271b0197ea7a125e9">
          <entry name="package_with_invalid_kiwi_file.kiwi" md5="b766875b54bc4fbf48bbbf1017104e1e" size="1536" mtime="1509969972" />
        </directory>
    http_version: 
  recorded_at: Mon, 06 Nov 2017 12:06:13 GMT
- request:
    method: get
    uri: http://backend:5352/source/fake_project/package_with_invalid_kiwi_file/package_with_invalid_kiwi_file.kiwi
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Accept-Encoding:
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
      Accept:
      - "*/*"
      User-Agent:
      - Ruby
  response:
    status:
      code: 200
      message: OK
    headers:
      Content-Type:
      - application/octet-stream
      Content-Length:
      - '1536'
      Cache-Control:
      - no-cache
      Connection:
      - close
    body:
      encoding: UTF-8
      string: |
        <?xml version="1.0" encoding="UTF-8"?>
        <image name="Christians_openSUSE_13.2_JeOS" displayname="Christians_openSUSE_13.2_JeOS" schemaversion="5.2">
          <description type="system">
            <author>Christian Bruckmayer</author>
            <contact>noemail@example.com</contact>
            <specification>Tiny, minimalistic appliances</specification>
          </description>
          <packages type="image" patternType="onlyRequired">
            <package name="e2fsprogs"/>
            <package name="aaa_base"/>
            <package name="branding-openSUSE"/>
            <package name="patterns-openSUSE-base"/>
            <package name="grub2"/>
            <package name="hwinfo"/>
            <package name="iputils"/>
            <package name="kernel-default"/>
            <package name="netcfg"/>
            <package name="openSUSE-build-key"/>
            <package name="openssh"/>
            <package name="plymouth"/>
            <package name="polkit-default-privs"/>
            <package name="rpcbind"/>
            <package name="syslog-ng"/>
            <package name="vim"/>
            <package name="zypper"/>
            <package name="timezone"/>
            <package name="openSUSE-release-dvd"/>
            <package name="gfxboot-devel" bootinclude="true"/>
          </packages>
          <packages type="delete">
            <package name="e2fsprogss"/>
            <package name="bbb_base"/>
          </packages>
          <repository type="apt-deb" priority="10" alias="debian" imageinclude="true" password="123456" prefer-license="true" status="replaceable" username="Tom">
            <source path="http://download.opensuse.org/update/13.2/"/>
          </repository>
          <repository type="rpm-md">
            <source path="obsrepositories:/"/>
          </repository>
        </image>
    http_version: 
  recorded_at: Mon, 06 Nov 2017 12:06:13 GMT
- request:
    method: get
    uri: http://backend:5352/source/fake_project/package_with_invalid_kiwi_file
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Accept-Encoding:
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
      Accept:
      - "*/*"
      User-Agent:
      - Ruby
  response:
    status:
      code: 200
      message: OK
    headers:
      Content-Type:
      - text/xml
      Cache-Control:
      - no-cache
      Connection:
      - close
      Content-Length:
      - '247'
    body:
      encoding: UTF-8
      string: |
        <directory name="package_with_invalid_kiwi_file" rev="6" vrev="6" srcmd5="febd44ad0e6a0c4271b0197ea7a125e9">
          <entry name="package_with_invalid_kiwi_file.kiwi" md5="b766875b54bc4fbf48bbbf1017104e1e" size="1536" mtime="1509969972" />
        </directory>
    http_version: 
  recorded_at: Mon, 06 Nov 2017 12:06:13 GMT
recorded_with: VCR 3.0.3
