---
http_interactions:
- request:
    method: put
    uri: http://backend:5352/source/target_project/_meta?user=user_1
    body:
      encoding: UTF-8
      string: |
        <project name="target_project">
          <title>Gone with the Wind</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:
      - '109'
    body:
      encoding: UTF-8
      string: |
        <project name="target_project">
          <title>Gone with the Wind</title>
          <description></description>
        </project>
  recorded_at: Thu, 27 Mar 2025 11:41:25 GMT
- request:
    method: put
    uri: http://backend:5352/source/target_project/target_package/_meta?user=user_2
    body:
      encoding: UTF-8
      string: |
        <package name="target_package" project="target_project">
          <title>Consider Phlebas</title>
          <description>Cum facilis voluptas beatae.</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:
      - '160'
    body:
      encoding: UTF-8
      string: |
        <package name="target_package" project="target_project">
          <title>Consider Phlebas</title>
          <description>Cum facilis voluptas beatae.</description>
        </package>
  recorded_at: Thu, 27 Mar 2025 11:41:25 GMT
- request:
    method: put
    uri: http://backend:5352/source/target_project/target_package/_config
    body:
      encoding: UTF-8
      string: Quam qui modi. Distinctio ratione qui. Blanditiis tenetur iusto.
    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="1" vrev="1">
          <srcmd5>b169b5f6ff5e12863a684a46a59402a1</srcmd5>
          <version>unknown</version>
          <time>1743075685</time>
          <user>unknown</user>
          <comment></comment>
          <requestid/>
        </revision>
  recorded_at: Thu, 27 Mar 2025 11:41:25 GMT
- request:
    method: put
    uri: http://backend:5352/source/target_project/target_package/somefile.spec
    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="2" vrev="2">
          <srcmd5>4ba07b641ec59dd71dcd1e53901d3d9c</srcmd5>
          <version>unknown</version>
          <time>1743075685</time>
          <user>unknown</user>
          <comment></comment>
          <requestid/>
        </revision>
  recorded_at: Thu, 27 Mar 2025 11:41:25 GMT
- request:
    method: put
    uri: http://backend:5352/source/source_project/_meta?user=user_3
    body:
      encoding: UTF-8
      string: |
        <project name="source_project">
          <title>The Lathe of Heaven</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:
      - '110'
    body:
      encoding: UTF-8
      string: |
        <project name="source_project">
          <title>The Lathe of Heaven</title>
          <description></description>
        </project>
  recorded_at: Thu, 27 Mar 2025 11:41:25 GMT
- request:
    method: put
    uri: http://backend:5352/source/source_project/_project/_attribute?meta=1&user=user_3
    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:
      - '168'
    body:
      encoding: UTF-8
      string: |
        <revision rev="2">
          <srcmd5>459cf156bdf710047d40bd6cda0dcf9f</srcmd5>
          <time>1743075686</time>
          <user>user_3</user>
          <comment></comment>
          <requestid/>
        </revision>
  recorded_at: Thu, 27 Mar 2025 11:41:26 GMT
- request:
    method: put
    uri: http://backend:5352/source/source_project/source_package/_meta?user=user_4
    body:
      encoding: UTF-8
      string: |
        <package name="source_package" project="source_project">
          <title>Behold the Man</title>
          <description>Amet fugiat eos dolorem.</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:
      - '154'
    body:
      encoding: UTF-8
      string: |
        <package name="source_package" project="source_project">
          <title>Behold the Man</title>
          <description>Amet fugiat eos dolorem.</description>
        </package>
  recorded_at: Thu, 27 Mar 2025 11:41:26 GMT
- request:
    method: put
    uri: http://backend:5352/source/source_project/source_package/_config
    body:
      encoding: UTF-8
      string: Non beatae fugiat. Et qui perferendis. Quia voluptatem laudantium.
    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="1" vrev="1">
          <srcmd5>cd716f8f2e065892e6babe343b3855e5</srcmd5>
          <version>unknown</version>
          <time>1743075686</time>
          <user>unknown</user>
          <comment></comment>
          <requestid/>
        </revision>
  recorded_at: Thu, 27 Mar 2025 11:41:26 GMT
- request:
    method: put
    uri: http://backend:5352/source/source_project/source_package/somefile.spec
    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="2" vrev="2">
          <srcmd5>9efcb4d4c0ed55a12f6d732bb2740cdc</srcmd5>
          <version>unknown</version>
          <time>1743075686</time>
          <user>unknown</user>
          <comment></comment>
          <requestid/>
        </revision>
  recorded_at: Thu, 27 Mar 2025 11:41:26 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:
      - '300'
    body:
      encoding: UTF-8
      string: |
        <directory name="source_package" rev="2" vrev="2" srcmd5="9efcb4d4c0ed55a12f6d732bb2740cdc">
          <entry name="_config" md5="a76cec6802ff638471315a71816a939e" size="66" mtime="1743075686"/>
          <entry name="somefile.spec" md5="8bc8b279be5b9899070591b779e593e4" size="22" mtime="1743075686"/>
        </directory>
  recorded_at: Thu, 27 Mar 2025 11:41:26 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:
      - '1113'
    body:
      encoding: UTF-8
      string: |
        <sourcediff key="a490dbb977ab066e5e4c1cadda04b1ef">
          <old project="target_project" package="target_package" rev="2" srcmd5="4ba07b641ec59dd71dcd1e53901d3d9c"/>
          <new project="source_project" package="source_package" rev="2" srcmd5="9efcb4d4c0ed55a12f6d732bb2740cdc"/>
          <files>
            <file state="changed">
              <old name="_config" md5="60f8f29697e4e9af698ac17768453035" size="64"/>
              <new name="_config" md5="a76cec6802ff638471315a71816a939e" size="66"/>
              <diff lines="5">@@ -1,1 +1,1 @@
        -Quam qui modi. Distinctio ratione qui. Blanditiis tenetur iusto.
        \ No newline at end of file
        +Non beatae fugiat. Et qui perferendis. Quia voluptatem laudantium.
        \ No newline at end of file
        </diff>
            </file>
            <file state="changed">
              <old name="somefile.spec" md5="11a31b90d280a13710401556a3256e44" size="23"/>
              <new name="somefile.spec" 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: Thu, 27 Mar 2025 11:41:26 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:
      - '300'
    body:
      encoding: UTF-8
      string: |
        <directory name="source_package" rev="2" vrev="2" srcmd5="9efcb4d4c0ed55a12f6d732bb2740cdc">
          <entry name="_config" md5="a76cec6802ff638471315a71816a939e" size="66" mtime="1743075686"/>
          <entry name="somefile.spec" md5="8bc8b279be5b9899070591b779e593e4" size="22" mtime="1743075686"/>
        </directory>
  recorded_at: Thu, 27 Mar 2025 11:41:26 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:
      - '1113'
      Cache-Control:
      - no-cache
      Connection:
      - close
    body:
      encoding: UTF-8
      string: |
        <sourcediff key="a490dbb977ab066e5e4c1cadda04b1ef">
          <old project="target_project" package="target_package" rev="2" srcmd5="4ba07b641ec59dd71dcd1e53901d3d9c"/>
          <new project="source_project" package="source_package" rev="2" srcmd5="9efcb4d4c0ed55a12f6d732bb2740cdc"/>
          <files>
            <file state="changed">
              <old name="_config" md5="60f8f29697e4e9af698ac17768453035" size="64"/>
              <new name="_config" md5="a76cec6802ff638471315a71816a939e" size="66"/>
              <diff lines="5">@@ -1,1 +1,1 @@
        -Quam qui modi. Distinctio ratione qui. Blanditiis tenetur iusto.
        \ No newline at end of file
        +Non beatae fugiat. Et qui perferendis. Quia voluptatem laudantium.
        \ No newline at end of file
        </diff>
            </file>
            <file state="changed">
              <old name="somefile.spec" md5="11a31b90d280a13710401556a3256e44" size="23"/>
              <new name="somefile.spec" 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: Thu, 27 Mar 2025 11:41:26 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:
      - '300'
    body:
      encoding: UTF-8
      string: |
        <directory name="source_package" rev="2" vrev="2" srcmd5="9efcb4d4c0ed55a12f6d732bb2740cdc">
          <entry name="_config" md5="a76cec6802ff638471315a71816a939e" size="66" mtime="1743075686"/>
          <entry name="somefile.spec" md5="8bc8b279be5b9899070591b779e593e4" size="22" mtime="1743075686"/>
        </directory>
  recorded_at: Thu, 27 Mar 2025 11:41:26 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:
      - '1113'
      Cache-Control:
      - no-cache
      Connection:
      - close
    body:
      encoding: UTF-8
      string: |
        <sourcediff key="a490dbb977ab066e5e4c1cadda04b1ef">
          <old project="target_project" package="target_package" rev="2" srcmd5="4ba07b641ec59dd71dcd1e53901d3d9c"/>
          <new project="source_project" package="source_package" rev="2" srcmd5="9efcb4d4c0ed55a12f6d732bb2740cdc"/>
          <files>
            <file state="changed">
              <old name="_config" md5="60f8f29697e4e9af698ac17768453035" size="64"/>
              <new name="_config" md5="a76cec6802ff638471315a71816a939e" size="66"/>
              <diff lines="5">@@ -1,1 +1,1 @@
        -Quam qui modi. Distinctio ratione qui. Blanditiis tenetur iusto.
        \ No newline at end of file
        +Non beatae fugiat. Et qui perferendis. Quia voluptatem laudantium.
        \ No newline at end of file
        </diff>
            </file>
            <file state="changed">
              <old name="somefile.spec" md5="11a31b90d280a13710401556a3256e44" size="23"/>
              <new name="somefile.spec" 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: Thu, 27 Mar 2025 11:41:26 GMT
recorded_with: VCR 6.3.1
