---
http_interactions:
- request:
    method: get
    uri: http://backend:5352/source/home:tom/test_package/_service
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Content-Type:
      - text/plain
      Accept-Encoding:
      - identity
      Accept:
      - "*/*"
      User-Agent:
      - Ruby
  response:
    status:
      code: 404
      message: _service  no such file
    headers:
      Content-Type:
      - text/xml
      Cache-Control:
      - no-cache
      Connection:
      - close
      Content-Length:
      - '122'
    body:
      encoding: UTF-8
      string: |
        <status code="404">
          <summary>_service: no such file</summary>
          <details>404 _service: no such file</details>
        </status>
    http_version: 
  recorded_at: Thu, 03 Mar 2016 10:50:53 GMT
- request:
    method: put
    uri: http://backend:5352/source/home:tom/test_package/_service?user=tom
    body:
      encoding: UTF-8
      string: |-
        <services>
          <service name="kiwi_import"/>
        </services>
    headers:
      Content-Type:
      - text/plain
      Accept-Encoding:
      - identity
      Content-Length:
      - '54'
      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: |
        <revision rev="44" vrev="44">
          <srcmd5>c351589df01799dc4fe4fc5f2b21f013</srcmd5>
          <version>unknown</version>
          <time>1457002253</time>
          <user>tom</user>
          <comment></comment>
          <requestid/>
        </revision>
    http_version: 
  recorded_at: Thu, 03 Mar 2016 10:50:53 GMT
- request:
    method: post
    uri: http://backend:5352/source/home:tom/test_package?cmd=runservice&user=tom
    body:
      encoding: UTF-8
      string: ''
    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: 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: Thu, 03 Mar 2016 10:50:54 GMT
- request:
    method: get
    uri: http://backend:5352/source/home:tom/test_package
    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:
      - '432'
    body:
      encoding: UTF-8
      string: |
        <directory name="test_package" rev="45" vrev="45" srcmd5="4a08f4b14e59ab5a100ce57d9785b2b0">
          <serviceinfo code="running" />
          <entry name="_service" md5="489f334e1b6bcff609a0c01f2d937242" size="54" mtime="1456997438" />
          <entry name="config.kiwi" md5="d41d8cd98f00b204e9800998ecf8427e" size="0" mtime="1456997438" />
          <entry name="foo.kiwi.txz" md5="d41d8cd98f00b204e9800998ecf8427e" size="0" mtime="1457000684" />
        </directory>
    http_version: 
  recorded_at: Thu, 03 Mar 2016 10:50:54 GMT
- request:
    method: get
    uri: http://backend:5352/source/home:tom/test_package?nofilename=1&view=info&withchangesmd5=1
    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:
      - '148'
    body:
      encoding: UTF-8
      string: |
        <sourceinfo package="test_package" rev="45" vrev="45" srcmd5="4a08f4b14e59ab5a100ce57d9785b2b0">
          <error>service in progress</error>
        </sourceinfo>
    http_version: 
  recorded_at: Thu, 03 Mar 2016 10:50:54 GMT
- request:
    method: get
    uri: http://backend:5352/source/home:tom/test_package
    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:
      - '432'
    body:
      encoding: UTF-8
      string: |
        <directory name="test_package" rev="45" vrev="45" srcmd5="4a08f4b14e59ab5a100ce57d9785b2b0">
          <serviceinfo code="running" />
          <entry name="_service" md5="489f334e1b6bcff609a0c01f2d937242" size="54" mtime="1456997438" />
          <entry name="config.kiwi" md5="d41d8cd98f00b204e9800998ecf8427e" size="0" mtime="1456997438" />
          <entry name="foo.kiwi.txz" md5="d41d8cd98f00b204e9800998ecf8427e" size="0" mtime="1457000684" />
        </directory>
    http_version: 
  recorded_at: Thu, 03 Mar 2016 10:50:54 GMT
- request:
    method: post
    uri: http://backend:5352/source/home:tom/test_package?cmd=diff&linkrev=base&onlyissues=1&orev=0&view=xml
    body:
      encoding: UTF-8
      string: ''
    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: 200
      message: OK
    headers:
      Content-Type:
      - text/xml
      Cache-Control:
      - no-cache
      Connection:
      - close
      Content-Length:
      - '306'
    body:
      encoding: UTF-8
      string: |
        <sourcediff key="c4a6dd8c3a91dd8f9c7e4ee6fe66f620">
          <old project="home:tom" package="test_package" rev="0" srcmd5="d41d8cd98f00b204e9800998ecf8427e" />
          <new project="home:tom" package="test_package" rev="45" srcmd5="4a08f4b14e59ab5a100ce57d9785b2b0" />
          <files />
          <issues>
          </issues>
        </sourcediff>
    http_version: 
  recorded_at: Thu, 03 Mar 2016 10:50:54 GMT
- request:
    method: post
    uri: http://backend:5352/source/home:tom/test_package?cmd=waitservice
    body:
      encoding: UTF-8
      string: ''
    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: 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: Thu, 03 Mar 2016 10:50:55 GMT
- request:
    method: post
    uri: http://backend:5352/source/home:tom/test_package?cmd=mergeservice&user=tom
    body:
      encoding: UTF-8
      string: ''
    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: 200
      message: OK
    headers:
      Content-Type:
      - text/xml
      Cache-Control:
      - no-cache
      Connection:
      - close
      Content-Length:
      - '205'
    body:
      encoding: UTF-8
      string: |
        <revision rev="46" vrev="46">
          <srcmd5>f619aceb9f94380f0b8272f79c9658ab</srcmd5>
          <version>unknown</version>
          <time>1457002255</time>
          <user>tom</user>
          <comment></comment>
          <requestid/>
        </revision>
    http_version: 
  recorded_at: Thu, 03 Mar 2016 10:50:55 GMT
- request:
    method: get
    uri: http://backend:5352/source/home:tom/test_package?view=info
    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: 404
      message: project 'home tom' does not exist
    headers:
      Content-Type:
      - text/xml
      Cache-Control:
      - no-cache
      Connection:
      - close
      Content-Length:
      - '144'
    body:
      encoding: UTF-8
      string: |
        <status code="404">
          <summary>project 'home:tom' does not exist</summary>
          <details>404 project 'home:tom' does not exist</details>
        </status>
    http_version: 
  recorded_at: Tue, 16 Jan 2018 14:43:50 GMT
recorded_with: VCR 4.0.0
