---
http_interactions:
- request:
    method: put
    uri: http://backend:5352/source/home:kugelblitz/_meta?user=kugelblitz
    body:
      encoding: UTF-8
      string: |
        <project name="home:kugelblitz">
          <title/>
          <description/>
          <person userid="kugelblitz" 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:
      - '142'
    body:
      encoding: UTF-8
      string: |
        <project name="home:kugelblitz">
          <title></title>
          <description></description>
          <person userid="kugelblitz" role="maintainer"/>
        </project>
  recorded_at: Mon, 18 Oct 2021 11:53:14 GMT
- request:
    method: put
    uri: http://backend:5352/source/home:titan/_meta?user=titan
    body:
      encoding: UTF-8
      string: |
        <project name="home:titan">
          <title/>
          <description/>
          <person userid="titan" 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:
      - '132'
    body:
      encoding: UTF-8
      string: |
        <project name="home:titan">
          <title></title>
          <description></description>
          <person userid="titan" role="maintainer"/>
        </project>
  recorded_at: Mon, 18 Oct 2021 11:53:14 GMT
- request:
    method: put
    uri: http://backend:5352/source/home:titan/test-package-ascii/_meta?user=kugelblitz
    body:
      encoding: UTF-8
      string: |
        <package name="test-package-ascii" project="home:titan">
          <title>Ego Dominus Tuus</title>
          <description>Consequatur consequatur quod enim.</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:
      - '166'
    body:
      encoding: UTF-8
      string: |
        <package name="test-package-ascii" project="home:titan">
          <title>Ego Dominus Tuus</title>
          <description>Consequatur consequatur quod enim.</description>
        </package>
  recorded_at: Mon, 18 Oct 2021 11:53:14 GMT
- request:
    method: put
    uri: http://backend:5352/source/home:titan/test-package-ascii/_config
    body:
      encoding: UTF-8
      string: Rerum et illum. Ea est incidunt. Et maiores cumque.
    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:
      - '209'
    body:
      encoding: UTF-8
      string: |
        <revision rev="23" vrev="23">
          <srcmd5>e302a9d7a3a49944c43924b9dd4ab505</srcmd5>
          <version>unknown</version>
          <time>1634557994</time>
          <user>unknown</user>
          <comment></comment>
          <requestid/>
        </revision>
  recorded_at: Mon, 18 Oct 2021 11:53:14 GMT
- request:
    method: put
    uri: http://backend:5352/source/home:titan/test-package-ascii/somefile.txt
    body:
      encoding: UTF-8
      string: |
        a
        a
        a
        a
        a
    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:
      - '209'
    body:
      encoding: UTF-8
      string: |
        <revision rev="24" vrev="24">
          <srcmd5>e302a9d7a3a49944c43924b9dd4ab505</srcmd5>
          <version>unknown</version>
          <time>1634557994</time>
          <user>unknown</user>
          <comment></comment>
          <requestid/>
        </revision>
  recorded_at: Mon, 18 Oct 2021 11:53:14 GMT
- request:
    method: put
    uri: http://backend:5352/source/home:kugelblitz/ball/_meta?user=kugelblitz
    body:
      encoding: UTF-8
      string: |
        <package name="ball" project="home:kugelblitz">
          <title>The Road Less Traveled</title>
          <description>Non voluptas natus reiciendis.</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:
      - '159'
    body:
      encoding: UTF-8
      string: |
        <package name="ball" project="home:kugelblitz">
          <title>The Road Less Traveled</title>
          <description>Non voluptas natus reiciendis.</description>
        </package>
  recorded_at: Mon, 18 Oct 2021 11:53:14 GMT
- request:
    method: put
    uri: http://backend:5352/source/home:kugelblitz/_project/_attribute?meta=1&user=kugelblitz
    body:
      encoding: UTF-8
      string: |
        <attributes>
          <attribute name="ApprovedRequestSource" namespace="OBS"/>
        </attributes>
    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: |
        <revision rev="109">
          <srcmd5>ba07d19211c6e0e3642204f301d98ba2</srcmd5>
          <time>1634557994</time>
          <user>kugelblitz</user>
          <comment></comment>
          <requestid/>
        </revision>
  recorded_at: Mon, 18 Oct 2021 11:53:14 GMT
- request:
    method: get
    uri: http://backend:5352/source/home:kugelblitz/ball
    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:
      - '79'
    body:
      encoding: UTF-8
      string: |
        <directory name="ball" srcmd5="d41d8cd98f00b204e9800998ecf8427e">
        </directory>
  recorded_at: Mon, 18 Oct 2021 11:53:14 GMT
- request:
    method: post
    uri: http://backend:5352/source/home:kugelblitz/ball?cmd=diff&expand=1&filelimit=5&opackage=test-package-ascii&oproject=home:titan&tarlimit=5&view=xml&withissues=1
    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:
      - '752'
    body:
      encoding: UTF-8
      string: |
        <sourcediff key="a3995baafa8ab97260052527d289f939">
          <old project="home:titan" package="test-package-ascii" rev="24" srcmd5="e302a9d7a3a49944c43924b9dd4ab505"/>
          <new project="home:kugelblitz" package="ball" rev="0" srcmd5="d41d8cd98f00b204e9800998ecf8427e"/>
          <files>
            <file state="deleted">
              <old name="_config" md5="a1204ad2ca8ef9bc0b74d8340ba73b9b" size="51"/>
              <diff lines="3">@@ -1,1 +0,0 @@
        -Rerum et illum. Ea est incidunt. Et maiores cumque.
        \ No newline at end of file
        </diff>
            </file>
            <file state="deleted">
              <old name="somefile.txt" md5="3f65cbdca1b64c2f8f574fccae24f3a4" size="10"/>
              <diff lines="6" shown="5">@@ -1,5 +0,0 @@
        -a
        -a
        -a
        -a
        </diff>
            </file>
          </files>
          <issues>
          </issues>
        </sourcediff>
  recorded_at: Mon, 18 Oct 2021 11:53:14 GMT
- request:
    method: get
    uri: http://backend:5352/source/home:kugelblitz/ball
    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:
      - '79'
    body:
      encoding: UTF-8
      string: |
        <directory name="ball" srcmd5="d41d8cd98f00b204e9800998ecf8427e">
        </directory>
  recorded_at: Mon, 18 Oct 2021 11:53:14 GMT
- request:
    method: post
    uri: http://backend:5352/source/home:kugelblitz/ball?cacheonly=1&cmd=diff&expand=1&filelimit=0&opackage=test-package-ascii&oproject=home:titan&tarlimit=0&view=xml&withissues=1
    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: 412
      message: diff not yet in cache
    headers:
      Content-Type:
      - text/xml
      Cache-Control:
      - no-cache
      Connection:
      - close
      Content-Length:
      - '120'
    body:
      encoding: UTF-8
      string: |
        <status code="412">
          <summary>diff not yet in cache</summary>
          <details>412 diff not yet in cache</details>
        </status>
  recorded_at: Mon, 18 Oct 2021 11:53:14 GMT
- request:
    method: get
    uri: http://backend:5352/source/home:titan/test-package-ascii
    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:
      - '305'
    body:
      encoding: UTF-8
      string: |
        <directory name="test-package-ascii" rev="24" vrev="24" srcmd5="e302a9d7a3a49944c43924b9dd4ab505">
          <entry name="_config" md5="a1204ad2ca8ef9bc0b74d8340ba73b9b" size="51" mtime="1634557994"/>
          <entry name="somefile.txt" md5="3f65cbdca1b64c2f8f574fccae24f3a4" size="10" mtime="1634553057"/>
        </directory>
  recorded_at: Mon, 18 Oct 2021 11:53:14 GMT
recorded_with: VCR 6.0.0
