---
http_interactions:
- request:
    method: get
    uri: http://backend:5352/source/source_project/source_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:
      - '301'
    body:
      encoding: UTF-8
      string: |
        <directory name="source_package" rev="34" vrev="34" srcmd5="fbe538d1db5286a734396cf98593e76f">
          <entry name="_config" md5="7cc1c193402c5cb8738e99777b33a485" size="70" mtime="1688462844"/>
          <entry name="somefile.txt" md5="8bc8b279be5b9899070591b779e593e4" size="22" mtime="1688460416"/>
        </directory>
  recorded_at: Tue, 04 Jul 2023 09:46:34 GMT
- request:
    method: post
    uri: http://backend:5352/source/source_project/source_package?cacheonly=1&cmd=diff&expand=1&filelimit=10000&opackage=target_package&oproject=target_project&tarlimit=10000&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
      Content-Length:
      - '1121'
      Cache-Control:
      - no-cache
      Connection:
      - close
    body:
      encoding: UTF-8
      string: |
        <sourcediff key="90fa13f3f7bb51f8cedc424fb76337a9">
          <old project="target_project" package="target_package" rev="2" srcmd5="08a08b1dc8b730e9fa505fe0fe626773"/>
          <new project="source_project" package="source_package" rev="34" srcmd5="fbe538d1db5286a734396cf98593e76f"/>
          <files>
            <file state="changed">
              <old name="_config" md5="aaa5d30a52fef01334039e4606954b44" size="69"/>
              <new name="_config" md5="7cc1c193402c5cb8738e99777b33a485" size="70"/>
              <diff lines="5">@@ -1,1 +1,1 @@
        -Saepe quos dicta. Dolor aspernatur at. Sapiente perferendis voluptas.
        \ No newline at end of file
        +Aut necessitatibus aspernatur. Inventore amet iure. Et commodi minima.
        \ No newline at end of file
        </diff>
            </file>
            <file state="changed">
              <old name="somefile.txt" md5="11a31b90d280a13710401556a3256e44" size="23"/>
              <new name="somefile.txt" md5="8bc8b279be5b9899070591b779e593e4" size="22"/>
              <diff lines="5">@@ -1,1 +1,1 @@
        -# This will be replaced
        \ No newline at end of file
        +# This is the new text
        \ No newline at end of file
        </diff>
            </file>
          </files>
          <issues>
          </issues>
        </sourcediff>
  recorded_at: Tue, 04 Jul 2023 09:46:34 GMT
- request:
    method: get
    uri: http://backend:5352/source/target_project/target_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:
      - '299'
    body:
      encoding: UTF-8
      string: |
        <directory name="target_package" rev="2" vrev="2" srcmd5="08a08b1dc8b730e9fa505fe0fe626773">
          <entry name="_config" md5="aaa5d30a52fef01334039e4606954b44" size="69" mtime="1688462844"/>
          <entry name="somefile.txt" md5="11a31b90d280a13710401556a3256e44" size="23" mtime="1688460222"/>
        </directory>
  recorded_at: Tue, 04 Jul 2023 09:46:34 GMT
recorded_with: VCR 6.2.0
