dpn-admin/dpn-sync

View on GitHub
fixtures/vcr_cassettes/DPN_Workers_SyncFixities/behaves_like_sync_registry_object_success/_sync/success/records_success_timestamp.yml

Summary

Maintainability
Test Coverage
---
http_interactions:
- request:
    method: get
    uri: http://localhost:3001/api-v2/fixity_check/?page=1&page_size=25
    body:
      encoding: UTF-8
      string: 'null'
    headers:
      User-Agent:
      - dpn-client-aptrust (2.8.2.4, ruby 2.3.1 (2016-04-26))
      Accept:
      - "*/*"
      Date:
      - Thu, 15 Dec 2016 23:50:16 GMT
      Content-Type:
      - application/json
      Authorization:
      - Token aptrust_token
  response:
    status:
      code: 200
      message: 'OK '
    headers:
      X-Frame-Options:
      - SAMEORIGIN
      X-Xss-Protection:
      - 1; mode=block
      X-Content-Type-Options:
      - nosniff
      Content-Type:
      - application/json; charset=utf-8
      Etag:
      - W/"fd1ab937412821cfdf245526c0d8e9d2"
      Cache-Control:
      - max-age=0, private, must-revalidate
      X-Request-Id:
      - 614ab0ec-2da1-48cc-9afe-cea91bd542e6
      X-Runtime:
      - '0.016369'
      Server:
      - WEBrick/1.3.1 (Ruby/2.3.1/2016-04-26)
      Date:
      - Thu, 15 Dec 2016 23:50:16 GMT
      Content-Length:
      - '1076'
      Connection:
      - Keep-Alive
    body:
      encoding: UTF-8
      string: '{"count":5,"next":null,"previous":null,"results":[{"fixity_check_id":"1729db55-13d3-467b-8b6d-7cc21d88a48a","created_at":"2015-09-15T17:56:03Z","fixity_at":"2015-09-15T17:56:03Z","success":true,"bag":"00000000-0000-4000-a000-000000000001","node":"sdr"},{"fixity_check_id":"d30b787b-5fd1-441e-960d-024db9367615","created_at":"2015-09-15T17:56:03Z","fixity_at":"2015-09-15T17:56:03Z","success":false,"bag":"00000000-0000-4000-a000-000000000001","node":"tdr"},{"fixity_check_id":"99be34a2-ea07-4b49-b5fc-0da10255ac76","created_at":"2015-09-15T17:56:03Z","fixity_at":"2015-09-15T17:56:03Z","success":true,"bag":"00000000-0000-4000-a000-000000000001","node":"aptrust"},{"fixity_check_id":"a2047393-2bed-482f-86bc-1153c89746f1","created_at":"2015-09-15T17:56:03Z","fixity_at":"2015-09-15T17:56:03Z","success":true,"bag":"00000000-0000-4000-a000-000000000001","node":"chron"},{"fixity_check_id":"71effd33-a23a-40ee-8e14-84a7d5ae9931","created_at":"2015-09-15T17:56:03Z","fixity_at":"2015-09-15T17:56:03Z","success":false,"bag":"00000000-0000-4000-a000-000000000001","node":"hathi"}]}'
    http_version: 
  recorded_at: Thu, 15 Dec 2016 23:50:16 GMT
- request:
    method: post
    uri: http://localhost:3004/api-v2/fixity_check/
    body:
      encoding: UTF-8
      string: '{"fixity_check_id":"1729db55-13d3-467b-8b6d-7cc21d88a48a","created_at":"2015-09-15T17:56:03Z","fixity_at":"2015-09-15T17:56:03Z","success":true,"bag":"00000000-0000-4000-a000-000000000001","node":"sdr"}'
    headers:
      User-Agent:
      - dpn-client-sdr (2.8.2.4, ruby 2.3.1 (2016-04-26))
      Accept:
      - "*/*"
      Date:
      - Thu, 15 Dec 2016 23:50:16 GMT
      Content-Type:
      - application/json
      Authorization:
      - Token sdr_token
  response:
    status:
      code: 409
      message: 'Conflict '
    headers:
      X-Frame-Options:
      - SAMEORIGIN
      X-Xss-Protection:
      - 1; mode=block
      X-Content-Type-Options:
      - nosniff
      Content-Type:
      - text/plain; charset=utf-8
      Cache-Control:
      - no-cache
      X-Request-Id:
      - 4cba16db-c36d-40e7-b894-97122bff7466
      X-Runtime:
      - '0.012899'
      Server:
      - WEBrick/1.3.1 (Ruby/2.3.1/2016-04-26)
      Date:
      - Thu, 15 Dec 2016 23:50:16 GMT
      Content-Length:
      - '0'
      Connection:
      - Keep-Alive
    body:
      encoding: UTF-8
      string: ''
    http_version: 
  recorded_at: Thu, 15 Dec 2016 23:50:16 GMT
- request:
    method: post
    uri: http://localhost:3004/api-v2/fixity_check/
    body:
      encoding: UTF-8
      string: '{"fixity_check_id":"d30b787b-5fd1-441e-960d-024db9367615","created_at":"2015-09-15T17:56:03Z","fixity_at":"2015-09-15T17:56:03Z","success":false,"bag":"00000000-0000-4000-a000-000000000001","node":"tdr"}'
    headers:
      User-Agent:
      - dpn-client-sdr (2.8.2.4, ruby 2.3.1 (2016-04-26))
      Accept:
      - "*/*"
      Date:
      - Thu, 15 Dec 2016 23:50:16 GMT
      Content-Type:
      - application/json
      Authorization:
      - Token sdr_token
  response:
    status:
      code: 409
      message: 'Conflict '
    headers:
      X-Frame-Options:
      - SAMEORIGIN
      X-Xss-Protection:
      - 1; mode=block
      X-Content-Type-Options:
      - nosniff
      Content-Type:
      - text/plain; charset=utf-8
      Cache-Control:
      - no-cache
      X-Request-Id:
      - 1449935b-1a21-4c6d-845e-f67235e793da
      X-Runtime:
      - '0.008417'
      Server:
      - WEBrick/1.3.1 (Ruby/2.3.1/2016-04-26)
      Date:
      - Thu, 15 Dec 2016 23:50:16 GMT
      Content-Length:
      - '0'
      Connection:
      - Keep-Alive
    body:
      encoding: UTF-8
      string: ''
    http_version: 
  recorded_at: Thu, 15 Dec 2016 23:50:16 GMT
- request:
    method: post
    uri: http://localhost:3004/api-v2/fixity_check/
    body:
      encoding: UTF-8
      string: '{"fixity_check_id":"99be34a2-ea07-4b49-b5fc-0da10255ac76","created_at":"2015-09-15T17:56:03Z","fixity_at":"2015-09-15T17:56:03Z","success":true,"bag":"00000000-0000-4000-a000-000000000001","node":"aptrust"}'
    headers:
      User-Agent:
      - dpn-client-sdr (2.8.2.4, ruby 2.3.1 (2016-04-26))
      Accept:
      - "*/*"
      Date:
      - Thu, 15 Dec 2016 23:50:16 GMT
      Content-Type:
      - application/json
      Authorization:
      - Token sdr_token
  response:
    status:
      code: 409
      message: 'Conflict '
    headers:
      X-Frame-Options:
      - SAMEORIGIN
      X-Xss-Protection:
      - 1; mode=block
      X-Content-Type-Options:
      - nosniff
      Content-Type:
      - text/plain; charset=utf-8
      Cache-Control:
      - no-cache
      X-Request-Id:
      - ba6cafe0-11e9-49cb-872f-e0acf6ae7efd
      X-Runtime:
      - '0.008528'
      Server:
      - WEBrick/1.3.1 (Ruby/2.3.1/2016-04-26)
      Date:
      - Thu, 15 Dec 2016 23:50:16 GMT
      Content-Length:
      - '0'
      Connection:
      - Keep-Alive
    body:
      encoding: UTF-8
      string: ''
    http_version: 
  recorded_at: Thu, 15 Dec 2016 23:50:16 GMT
- request:
    method: post
    uri: http://localhost:3004/api-v2/fixity_check/
    body:
      encoding: UTF-8
      string: '{"fixity_check_id":"a2047393-2bed-482f-86bc-1153c89746f1","created_at":"2015-09-15T17:56:03Z","fixity_at":"2015-09-15T17:56:03Z","success":true,"bag":"00000000-0000-4000-a000-000000000001","node":"chron"}'
    headers:
      User-Agent:
      - dpn-client-sdr (2.8.2.4, ruby 2.3.1 (2016-04-26))
      Accept:
      - "*/*"
      Date:
      - Thu, 15 Dec 2016 23:50:16 GMT
      Content-Type:
      - application/json
      Authorization:
      - Token sdr_token
  response:
    status:
      code: 409
      message: 'Conflict '
    headers:
      X-Frame-Options:
      - SAMEORIGIN
      X-Xss-Protection:
      - 1; mode=block
      X-Content-Type-Options:
      - nosniff
      Content-Type:
      - text/plain; charset=utf-8
      Cache-Control:
      - no-cache
      X-Request-Id:
      - f88133fd-05d2-4e14-9327-f7865940132a
      X-Runtime:
      - '0.008327'
      Server:
      - WEBrick/1.3.1 (Ruby/2.3.1/2016-04-26)
      Date:
      - Thu, 15 Dec 2016 23:50:16 GMT
      Content-Length:
      - '0'
      Connection:
      - Keep-Alive
    body:
      encoding: UTF-8
      string: ''
    http_version: 
  recorded_at: Thu, 15 Dec 2016 23:50:16 GMT
- request:
    method: post
    uri: http://localhost:3004/api-v2/fixity_check/
    body:
      encoding: UTF-8
      string: '{"fixity_check_id":"71effd33-a23a-40ee-8e14-84a7d5ae9931","created_at":"2015-09-15T17:56:03Z","fixity_at":"2015-09-15T17:56:03Z","success":false,"bag":"00000000-0000-4000-a000-000000000001","node":"hathi"}'
    headers:
      User-Agent:
      - dpn-client-sdr (2.8.2.4, ruby 2.3.1 (2016-04-26))
      Accept:
      - "*/*"
      Date:
      - Thu, 15 Dec 2016 23:50:16 GMT
      Content-Type:
      - application/json
      Authorization:
      - Token sdr_token
  response:
    status:
      code: 409
      message: 'Conflict '
    headers:
      X-Frame-Options:
      - SAMEORIGIN
      X-Xss-Protection:
      - 1; mode=block
      X-Content-Type-Options:
      - nosniff
      Content-Type:
      - text/plain; charset=utf-8
      Cache-Control:
      - no-cache
      X-Request-Id:
      - b2b992a4-5e94-445a-bd74-09353690e222
      X-Runtime:
      - '0.007887'
      Server:
      - WEBrick/1.3.1 (Ruby/2.3.1/2016-04-26)
      Date:
      - Thu, 15 Dec 2016 23:50:16 GMT
      Content-Length:
      - '0'
      Connection:
      - Keep-Alive
    body:
      encoding: UTF-8
      string: ''
    http_version: 
  recorded_at: Thu, 15 Dec 2016 23:50:16 GMT
recorded_with: VCR 3.0.3