---
http_interactions:
- request:
    method: put
    uri: http://backend:5352/source/home:tom/_meta?user=tom
    body:
      encoding: UTF-8
      string: |
        <project name="home:tom">
          <title/>
          <description/>
          <person userid="tom" role="maintainer"/>
        </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:
      - '128'
    body:
      encoding: UTF-8
      string: |
        <project name="home:tom">
          <title></title>
          <description></description>
          <person userid="tom" role="maintainer"/>
        </project>
  recorded_at: Fri, 05 Jun 2020 11:30:00 GMT
- request:
    method: put
    uri: http://backend:5352/source/home:tom/package_with_broken_service/_meta?user=tom
    body:
      encoding: UTF-8
      string: |
        <package name="package_with_broken_service" project="home:tom">
          <title>Gone with the Wind</title>
          <description>Numquam corrupti sint 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:
      - '168'
    body:
      encoding: UTF-8
      string: |
        <package name="package_with_broken_service" project="home:tom">
          <title>Gone with the Wind</title>
          <description>Numquam corrupti sint nisi.</description>
        </package>
  recorded_at: Fri, 05 Jun 2020 11:30:00 GMT
- request:
    method: put
    uri: http://backend:5352/source/home:tom/package_with_broken_service/_service
    body:
      encoding: UTF-8
      string: "<service>broken</service>"
    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="2" vrev="2">
          <srcmd5>3d441b635e81b2e6f44b91e812f46033</srcmd5>
          <version>unknown</version>
          <time>1591356600</time>
          <user>unknown</user>
          <comment></comment>
          <requestid/>
        </revision>
  recorded_at: Fri, 05 Jun 2020 11:30:00 GMT
- request:
    method: get
    uri: http://backend:5352/source/home:tom/package_with_broken_service
    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:
      - '455'
    body:
      encoding: UTF-8
      string: |
        <directory name="package_with_broken_service" rev="2" vrev="2" srcmd5="3d441b635e81b2e6f44b91e812f46033">
          <serviceinfo code="failed" xsrcmd5="28b79506a7fa86b6c73556a0b5132a20">
            <error>service error:  400 remote error: unknown element 'service' (http://backend:5152/sourceupdate/home:tom/package_with_broken_service)</error>
          </serviceinfo>
          <entry name="_service" md5="27a21c968dc9fadcab4da63af004add0" size="25" mtime="1591356599"/>
        </directory>
  recorded_at: Fri, 05 Jun 2020 11:30:00 GMT
- request:
    method: get
    uri: http://backend:5352/source/home:tom/package_with_broken_service?expand=1&rev=2
    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: 400
      message: service error   400 remote error  unknown element 'service' (http //backend
        5152/sourceupdate/home tom/package_with_broken_service)
    headers:
      Content-Type:
      - text/xml
      Cache-Control:
      - no-cache
      Connection:
      - close
      Content-Length:
      - '183'
    body:
      encoding: UTF-8
      string: |
        <status code="400">
          <summary>service error:  400 remote error: unknown element 'service' (http://backend:5152/sourceupdate/home:tom/package_with_broken_service)</summary>
        </status>
  recorded_at: Fri, 05 Jun 2020 11:30:00 GMT
- request:
    method: get
    uri: http://backend:5352/source/home:tom/package_with_broken_service
    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:
      - '455'
    body:
      encoding: UTF-8
      string: |
        <directory name="package_with_broken_service" rev="2" vrev="2" srcmd5="3d441b635e81b2e6f44b91e812f46033">
          <serviceinfo code="failed" xsrcmd5="28b79506a7fa86b6c73556a0b5132a20">
            <error>service error:  400 remote error: unknown element 'service' (http://backend:5152/sourceupdate/home:tom/package_with_broken_service)</error>
          </serviceinfo>
          <entry name="_service" md5="27a21c968dc9fadcab4da63af004add0" size="25" mtime="1591356599"/>
        </directory>
  recorded_at: Fri, 05 Jun 2020 11:30:00 GMT
- request:
    method: get
    uri: http://backend:5352/source/home:tom/package_with_broken_service?expand=0&rev=2
    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:
      - '455'
    body:
      encoding: UTF-8
      string: |
        <directory name="package_with_broken_service" rev="2" vrev="2" srcmd5="3d441b635e81b2e6f44b91e812f46033">
          <serviceinfo code="failed" xsrcmd5="28b79506a7fa86b6c73556a0b5132a20">
            <error>service error:  400 remote error: unknown element 'service' (http://backend:5152/sourceupdate/home:tom/package_with_broken_service)</error>
          </serviceinfo>
          <entry name="_service" md5="27a21c968dc9fadcab4da63af004add0" size="25" mtime="1591356599"/>
        </directory>
  recorded_at: Fri, 05 Jun 2020 11:30:00 GMT
- request:
    method: get
    uri: http://backend:5352/source/home:tom/package_with_broken_service
    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:
      - '455'
    body:
      encoding: UTF-8
      string: |
        <directory name="package_with_broken_service" rev="2" vrev="2" srcmd5="3d441b635e81b2e6f44b91e812f46033">
          <serviceinfo code="failed" xsrcmd5="28b79506a7fa86b6c73556a0b5132a20">
            <error>service error:  400 remote error: unknown element 'service' (http://backend:5152/sourceupdate/home:tom/package_with_broken_service)</error>
          </serviceinfo>
          <entry name="_service" md5="27a21c968dc9fadcab4da63af004add0" size="25" mtime="1591356599"/>
        </directory>
  recorded_at: Fri, 05 Jun 2020 11:30:00 GMT
- request:
    method: get
    uri: http://backend:5352/source/home:tom/package_with_broken_service/_serviceerror?rev=28b79506a7fa86b6c73556a0b5132a20
    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:
      - '139'
      Cache-Control:
      - no-cache
      Connection:
      - close
    body:
      encoding: UTF-8
      string: |
        service daemon error:
         400 remote error: unknown element 'service' (http://backend:5152/sourceupdate/home:tom/package_with_broken_service)
  recorded_at: Fri, 05 Jun 2020 11:30:00 GMT
- request:
    method: get
    uri: http://backend:5352/source/home:tom/package_with_broken_service/_history?deleted=0&meta=0&rev=2
    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:
      - '31'
    body:
      encoding: UTF-8
      string: |
        <revisionlist>
        </revisionlist>
  recorded_at: Thu, 23 Feb 2023 08:49:22 GMT
recorded_with: VCR 6.1.0
