---
http_interactions:
- request:
    method: put
    uri: http://backend:5352/source/target_project/_meta?user=user_6
    body:
      encoding: UTF-8
      string: |
        <project name="target_project">
          <title>Dance Dance Dance</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:
      - '108'
    body:
      encoding: UTF-8
      string: |
        <project name="target_project">
          <title>Dance Dance Dance</title>
          <description></description>
        </project>
  recorded_at: Mon, 27 Feb 2023 14:20:09 GMT
- request:
    method: put
    uri: http://backend:5352/source/target_project/target_package/_meta?user=user_7
    body:
      encoding: UTF-8
      string: |
        <package name="target_package" project="target_project">
          <title>Surprised by Joy</title>
          <description>At repudiandae quas et.</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:
      - '155'
    body:
      encoding: UTF-8
      string: |
        <package name="target_package" project="target_project">
          <title>Surprised by Joy</title>
          <description>At repudiandae quas et.</description>
        </package>
  recorded_at: Mon, 27 Feb 2023 14:20:09 GMT
- request:
    method: put
    uri: http://backend:5352/source/target_project/target_package/_config
    body:
      encoding: UTF-8
      string: Et et beatae. Autem laudantium et. Vero ut officiis.
    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="3" vrev="3">
          <srcmd5>6dc799c3ed3253427362b3efeeeb52a3</srcmd5>
          <version>unknown</version>
          <time>1677507609</time>
          <user>unknown</user>
          <comment></comment>
          <requestid/>
        </revision>
  recorded_at: Mon, 27 Feb 2023 14:20:09 GMT
- request:
    method: put
    uri: http://backend:5352/source/target_project/target_package/somefile.txt
    body:
      encoding: UTF-8
      string: "# This will be replaced"
    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="4" vrev="4">
          <srcmd5>6dc799c3ed3253427362b3efeeeb52a3</srcmd5>
          <version>unknown</version>
          <time>1677507609</time>
          <user>unknown</user>
          <comment></comment>
          <requestid/>
        </revision>
  recorded_at: Mon, 27 Feb 2023 14:20:09 GMT
- request:
    method: put
    uri: http://backend:5352/source/source_project/_meta?user=user_8
    body:
      encoding: UTF-8
      string: |
        <project name="source_project">
          <title>Cover Her Face</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:
      - '105'
    body:
      encoding: UTF-8
      string: |
        <project name="source_project">
          <title>Cover Her Face</title>
          <description></description>
        </project>
  recorded_at: Mon, 27 Feb 2023 14:20:09 GMT
- request:
    method: put
    uri: http://backend:5352/source/source_project/_project/_attribute?meta=1&user=user_8
    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:
      - '169'
    body:
      encoding: UTF-8
      string: |
        <revision rev="51">
          <srcmd5>e5cfc01bcfcf1b3b77a0bb71d3bb2d8f</srcmd5>
          <time>1677507609</time>
          <user>user_8</user>
          <comment></comment>
          <requestid/>
        </revision>
  recorded_at: Mon, 27 Feb 2023 14:20:09 GMT
- request:
    method: put
    uri: http://backend:5352/source/source_project/source_package/_meta?user=user_9
    body:
      encoding: UTF-8
      string: |
        <package name="source_package" project="source_project">
          <title>Cover Her Face</title>
          <description>Nobis vero vel est.</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:
      - '149'
    body:
      encoding: UTF-8
      string: |
        <package name="source_package" project="source_project">
          <title>Cover Her Face</title>
          <description>Nobis vero vel est.</description>
        </package>
  recorded_at: Mon, 27 Feb 2023 14:20:09 GMT
- request:
    method: put
    uri: http://backend:5352/source/source_project/source_package/_config
    body:
      encoding: UTF-8
      string: Recusandae ea labore. Ea non minima. Illo expedita aperiam.
    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="3" vrev="3">
          <srcmd5>83bfef41fbe2ed833bb805b7b8ce51ed</srcmd5>
          <version>unknown</version>
          <time>1677507609</time>
          <user>unknown</user>
          <comment></comment>
          <requestid/>
        </revision>
  recorded_at: Mon, 27 Feb 2023 14:20:09 GMT
- request:
    method: put
    uri: http://backend:5352/source/source_project/source_package/somefile.txt
    body:
      encoding: UTF-8
      string: "# This is the new text"
    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="4" vrev="4">
          <srcmd5>83bfef41fbe2ed833bb805b7b8ce51ed</srcmd5>
          <version>unknown</version>
          <time>1677507609</time>
          <user>unknown</user>
          <comment></comment>
          <requestid/>
        </revision>
  recorded_at: Mon, 27 Feb 2023 14:20:09 GMT
- 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:
      - '299'
    body:
      encoding: UTF-8
      string: |
        <directory name="source_package" rev="4" vrev="4" srcmd5="83bfef41fbe2ed833bb805b7b8ce51ed">
          <entry name="_config" md5="e49b3be340c89fb29c781d00f216f563" size="59" mtime="1677507609"/>
          <entry name="somefile.txt" md5="8bc8b279be5b9899070591b779e593e4" size="22" mtime="1677507608"/>
        </directory>
  recorded_at: Mon, 27 Feb 2023 14:20:09 GMT
- request:
    method: post
    uri: http://backend:5352/source/source_project/source_package?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
      Cache-Control:
      - no-cache
      Connection:
      - close
      Content-Length:
      - '1092'
    body:
      encoding: UTF-8
      string: |
        <sourcediff key="513061c2e961ede443207de988c870b9">
          <old project="target_project" package="target_package" rev="4" srcmd5="6dc799c3ed3253427362b3efeeeb52a3"/>
          <new project="source_project" package="source_package" rev="4" srcmd5="83bfef41fbe2ed833bb805b7b8ce51ed"/>
          <files>
            <file state="changed">
              <old name="_config" md5="0d5c403a2ac0dfecb0fb2e0ec201ff62" size="52"/>
              <new name="_config" md5="e49b3be340c89fb29c781d00f216f563" size="59"/>
              <diff lines="5">@@ -1,1 +1,1 @@
        -Et et beatae. Autem laudantium et. Vero ut officiis.
        \ No newline at end of file
        +Recusandae ea labore. Ea non minima. Illo expedita aperiam.
        \ 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: Mon, 27 Feb 2023 14:20:09 GMT
- 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:
      - '299'
    body:
      encoding: UTF-8
      string: |
        <directory name="source_package" rev="4" vrev="4" srcmd5="83bfef41fbe2ed833bb805b7b8ce51ed">
          <entry name="_config" md5="e49b3be340c89fb29c781d00f216f563" size="59" mtime="1677507609"/>
          <entry name="somefile.txt" md5="8bc8b279be5b9899070591b779e593e4" size="22" mtime="1677507608"/>
        </directory>
  recorded_at: Mon, 27 Feb 2023 14:20:09 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:
      - '1092'
      Cache-Control:
      - no-cache
      Connection:
      - close
    body:
      encoding: UTF-8
      string: |
        <sourcediff key="513061c2e961ede443207de988c870b9">
          <old project="target_project" package="target_package" rev="4" srcmd5="6dc799c3ed3253427362b3efeeeb52a3"/>
          <new project="source_project" package="source_package" rev="4" srcmd5="83bfef41fbe2ed833bb805b7b8ce51ed"/>
          <files>
            <file state="changed">
              <old name="_config" md5="0d5c403a2ac0dfecb0fb2e0ec201ff62" size="52"/>
              <new name="_config" md5="e49b3be340c89fb29c781d00f216f563" size="59"/>
              <diff lines="5">@@ -1,1 +1,1 @@
        -Et et beatae. Autem laudantium et. Vero ut officiis.
        \ No newline at end of file
        +Recusandae ea labore. Ea non minima. Illo expedita aperiam.
        \ 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: Mon, 27 Feb 2023 14:20:09 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="4" vrev="4" srcmd5="6dc799c3ed3253427362b3efeeeb52a3">
          <entry name="_config" md5="0d5c403a2ac0dfecb0fb2e0ec201ff62" size="52" mtime="1677507609"/>
          <entry name="somefile.txt" md5="11a31b90d280a13710401556a3256e44" size="23" mtime="1677507608"/>
        </directory>
  recorded_at: Mon, 27 Feb 2023 14:20:09 GMT
recorded_with: VCR 6.1.0
