---
http_interactions:
- request:
    method: put
    uri: http://backend:5352/source/project_used_for_restoration/_meta?user=user_4
    body:
      encoding: UTF-8
      string: |
        <project name="project_used_for_restoration">
          <title>restoration_project_title</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:
      - '130'
    body:
      encoding: UTF-8
      string: |
        <project name="project_used_for_restoration">
          <title>restoration_project_title</title>
          <description></description>
        </project>
  recorded_at: Thu, 04 Jun 2020 21:22:14 GMT
- request:
    method: put
    uri: http://backend:5352/source/project_used_for_restoration/restoration_package_0/_meta?user=user_5
    body:
      encoding: UTF-8
      string: |
        <package name="restoration_package_0" project="project_used_for_restoration">
          <title>restoration_title_0</title>
          <description>restoration_desc_0</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:
      - '174'
    body:
      encoding: UTF-8
      string: |
        <package name="restoration_package_0" project="project_used_for_restoration">
          <title>restoration_title_0</title>
          <description>restoration_desc_0</description>
        </package>
  recorded_at: Thu, 04 Jun 2020 21:22:14 GMT
- request:
    method: put
    uri: http://backend:5352/source/project_used_for_restoration/restoration_package_0/_meta?user=user_5
    body:
      encoding: UTF-8
      string: |
        <package name="restoration_package_0" project="project_used_for_restoration">
          <title>restoration_title_0</title>
          <description>restoration_desc_0</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:
      - '174'
    body:
      encoding: UTF-8
      string: |
        <package name="restoration_package_0" project="project_used_for_restoration">
          <title>restoration_title_0</title>
          <description>restoration_desc_0</description>
        </package>
  recorded_at: Thu, 04 Jun 2020 21:22:15 GMT
- request:
    method: put
    uri: http://backend:5352/source/project_used_for_restoration/restoration_package_1/_meta?user=user_6
    body:
      encoding: UTF-8
      string: |
        <package name="restoration_package_1" project="project_used_for_restoration">
          <title>restoration_title_1</title>
          <description>restoration_desc_1</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:
      - '174'
    body:
      encoding: UTF-8
      string: |
        <package name="restoration_package_1" project="project_used_for_restoration">
          <title>restoration_title_1</title>
          <description>restoration_desc_1</description>
        </package>
  recorded_at: Thu, 04 Jun 2020 21:22:15 GMT
- request:
    method: put
    uri: http://backend:5352/source/project_used_for_restoration/restoration_package_1/_meta?user=user_6
    body:
      encoding: UTF-8
      string: |
        <package name="restoration_package_1" project="project_used_for_restoration">
          <title>restoration_title_1</title>
          <description>restoration_desc_1</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:
      - '174'
    body:
      encoding: UTF-8
      string: |
        <package name="restoration_package_1" project="project_used_for_restoration">
          <title>restoration_title_1</title>
          <description>restoration_desc_1</description>
        </package>
  recorded_at: Thu, 04 Jun 2020 21:22:15 GMT
- request:
    method: get
    uri: http://backend:5352/source/project_used_for_restoration/restoration_package_0?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: 200
      message: OK
    headers:
      Content-Type:
      - text/xml
      Cache-Control:
      - no-cache
      Connection:
      - close
      Content-Length:
      - '137'
    body:
      encoding: UTF-8
      string: |
        <sourceinfo package="restoration_package_0" srcmd5="d41d8cd98f00b204e9800998ecf8427e">
          <error>no source uploaded</error>
        </sourceinfo>
  recorded_at: Thu, 04 Jun 2020 21:22:15 GMT
- request:
    method: get
    uri: http://backend:5352/source/project_used_for_restoration/restoration_package_0
    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:
      - '96'
    body:
      encoding: UTF-8
      string: |
        <directory name="restoration_package_0" srcmd5="d41d8cd98f00b204e9800998ecf8427e">
        </directory>
  recorded_at: Thu, 04 Jun 2020 21:22:15 GMT
- request:
    method: post
    uri: http://backend:5352/source/project_used_for_restoration/restoration_package_0?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:
      - '337'
    body:
      encoding: UTF-8
      string: |
        <sourcediff key="35a675711b094f47f2508d04fdd29c1d">
          <old project="project_used_for_restoration" package="restoration_package_0" rev="0" srcmd5="d41d8cd98f00b204e9800998ecf8427e"/>
          <new project="project_used_for_restoration" package="restoration_package_0" rev="0" srcmd5="d41d8cd98f00b204e9800998ecf8427e"/>
          <files/>
        </sourcediff>
  recorded_at: Thu, 04 Jun 2020 21:22:15 GMT
- request:
    method: get
    uri: http://backend:5352/source/project_used_for_restoration/restoration_package_1?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: 200
      message: OK
    headers:
      Content-Type:
      - text/xml
      Cache-Control:
      - no-cache
      Connection:
      - close
      Content-Length:
      - '137'
    body:
      encoding: UTF-8
      string: |
        <sourceinfo package="restoration_package_1" srcmd5="d41d8cd98f00b204e9800998ecf8427e">
          <error>no source uploaded</error>
        </sourceinfo>
  recorded_at: Thu, 04 Jun 2020 21:22:15 GMT
- request:
    method: get
    uri: http://backend:5352/source/project_used_for_restoration/restoration_package_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:
      - '96'
    body:
      encoding: UTF-8
      string: |
        <directory name="restoration_package_1" srcmd5="d41d8cd98f00b204e9800998ecf8427e">
        </directory>
  recorded_at: Thu, 04 Jun 2020 21:22:15 GMT
- request:
    method: post
    uri: http://backend:5352/source/project_used_for_restoration/restoration_package_1?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:
      - '337'
    body:
      encoding: UTF-8
      string: |
        <sourcediff key="a287296290b4f91629dad12e8fa7d3b6">
          <old project="project_used_for_restoration" package="restoration_package_1" rev="0" srcmd5="d41d8cd98f00b204e9800998ecf8427e"/>
          <new project="project_used_for_restoration" package="restoration_package_1" rev="0" srcmd5="d41d8cd98f00b204e9800998ecf8427e"/>
          <files/>
        </sourcediff>
  recorded_at: Thu, 04 Jun 2020 21:22:15 GMT
- request:
    method: get
    uri: http://backend:5352/getprojpack?expandedrepos=1&nopackages=1&project=project_used_for_restoration&withrepos=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:
      - '180'
    body:
      encoding: UTF-8
      string: |
        <projpack repoid="304696764">
          <project name="project_used_for_restoration">
            <title>restoration_project_title</title>
            <description></description>
          </project>
        </projpack>
  recorded_at: Thu, 04 Jun 2020 21:22:15 GMT
recorded_with: VCR 6.0.0
