fixtures/vcr_cassettes/DPN_Workers_BagStore/_update_replication/returns_true_when_the_updates_are_successful.yml
---
http_interactions:
- request:
method: get
uri: http://localhost:3001/api-v2/replicate/?page=1&page_size=25&to_node=sdr
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:56:04 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/"9185b1199c84975351f6884f2d2ddfef"
Cache-Control:
- max-age=0, private, must-revalidate
X-Request-Id:
- e041e838-3ade-46da-8ea3-a7103bcce733
X-Runtime:
- '0.020551'
Server:
- WEBrick/1.3.1 (Ruby/2.3.1/2016-04-26)
Date:
- Thu, 15 Dec 2016 23:56:04 GMT
Content-Length:
- '633'
Connection:
- Keep-Alive
body:
encoding: UTF-8
string: '{"count":1,"next":null,"previous":null,"results":[{"replication_id":"10000000-0000-4111-a000-000000000013","fixity_nonce":null,"fixity_value":"e39a201a88bc3d7803a5e375d9752439d328c2e85b4f1ba70a6d984b6c5378bd","cancel_reason":null,"cancel_reason_detail":null,"link":"/data/src/dlss/dpn/dpn-server/test/fixtures/integration/testbags/00000000-0000-4000-a000-000000000001.tar","created_at":"2015-09-15T19:38:31Z","updated_at":"2016-12-15T23:56:03Z","store_requested":true,"stored":false,"cancelled":false,"bag":"00000000-0000-4000-a000-000000000001","fixity_algorithm":"sha256","protocol":"rsync","from_node":"aptrust","to_node":"sdr"}]}'
http_version:
recorded_at: Thu, 15 Dec 2016 23:56:04 GMT
- request:
method: get
uri: http://localhost:3004/api-v2/replicate/10000000-0000-4111-a000-000000000013/
body:
encoding: UTF-8
string: 'null'
headers:
User-Agent:
- dpn-client-sdr (2.8.2.4, ruby 2.3.1 (2016-04-26))
Accept:
- "*/*"
Date:
- Thu, 15 Dec 2016 23:56:04 GMT
Content-Type:
- application/json
Authorization:
- Token sdr_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/"a9444c2d067883ed56cbf4f1e0bbf1a2"
Cache-Control:
- max-age=0, private, must-revalidate
X-Request-Id:
- a88dbaf0-df28-49cf-8061-5234d6d6decf
X-Runtime:
- '0.020785'
Server:
- WEBrick/1.3.1 (Ruby/2.3.1/2016-04-26)
Date:
- Thu, 15 Dec 2016 23:56:04 GMT
Content-Length:
- '581'
Connection:
- Keep-Alive
body:
encoding: UTF-8
string: '{"replication_id":"10000000-0000-4111-a000-000000000013","fixity_nonce":null,"fixity_value":"e39a201a88bc3d7803a5e375d9752439d328c2e85b4f1ba70a6d984b6c5378bd","cancel_reason":null,"cancel_reason_detail":null,"link":"/data/src/dlss/dpn/dpn-server/test/fixtures/integration/testbags/00000000-0000-4000-a000-000000000001.tar","created_at":"2015-09-15T19:38:31Z","updated_at":"2016-12-15T23:56:03Z","store_requested":true,"stored":false,"cancelled":false,"bag":"00000000-0000-4000-a000-000000000001","fixity_algorithm":"sha256","protocol":"rsync","from_node":"aptrust","to_node":"sdr"}'
http_version:
recorded_at: Thu, 15 Dec 2016 23:56:04 GMT
recorded_with: VCR 3.0.3