fixtures/vcr_cassettes/DPN_Workers_BagRetrieve/_retrieve_success_/works_when_the_admin_node_accepts_the_fixity_value.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:50:09 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/"2635835444c4dec5f44b287fab76528d"
Cache-Control:
- max-age=0, private, must-revalidate
X-Request-Id:
- 09b7fb94-8cc9-41ee-8aae-0f37ba4d92b7
X-Runtime:
- '0.016805'
Server:
- WEBrick/1.3.1 (Ruby/2.3.1/2016-04-26)
Date:
- Thu, 15 Dec 2016 23:50:09 GMT
Content-Length:
- '572'
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":null,"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":"2015-09-15T19:38:31Z","store_requested":false,"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:50:09 GMT
- request:
method: put
uri: http://localhost:3001/api-v2/replicate/10000000-0000-4111-a000-000000000013/
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":"2015-09-15T19:38:31Z","store_requested":false,"stored":false,"cancelled":false,"bag":"00000000-0000-4000-a000-000000000001","fixity_algorithm":"sha256","protocol":"rsync","from_node":"aptrust","to_node":"sdr"}'
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:09 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/"066066ce18d5d61a3c5249585142aaa6"
Cache-Control:
- max-age=0, private, must-revalidate
X-Request-Id:
- c7926ec9-373a-448a-b796-c33f42dfd0c4
X-Runtime:
- '0.072061'
Server:
- WEBrick/1.3.1 (Ruby/2.3.1/2016-04-26)
Date:
- Thu, 15 Dec 2016 23:50:09 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:50:09Z","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:50:09 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:50:09 GMT
Content-Type:
- application/json
Authorization:
- Token sdr_token
response:
status:
code: 404
message: 'Not Found '
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:
- 0923a52e-6a34-45fa-84ae-534955632844
X-Runtime:
- '0.040141'
Server:
- WEBrick/1.3.1 (Ruby/2.3.1/2016-04-26)
Date:
- Thu, 15 Dec 2016 23:50:09 GMT
Content-Length:
- '0'
Connection:
- Keep-Alive
body:
encoding: UTF-8
string: ''
http_version:
recorded_at: Thu, 15 Dec 2016 23:50:09 GMT
- request:
method: get
uri: http://localhost:3004/api-v2/bag/00000000-0000-4000-a000-000000000001/
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:50:09 GMT
Content-Type:
- application/json
Authorization:
- Token sdr_token
response:
status:
code: 404
message: 'Not Found '
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:
- 18141913-cce2-43bf-88fe-bf54f7997afe
X-Runtime:
- '0.035640'
Server:
- WEBrick/1.3.1 (Ruby/2.3.1/2016-04-26)
Date:
- Thu, 15 Dec 2016 23:50:09 GMT
Content-Length:
- '0'
Connection:
- Keep-Alive
body:
encoding: UTF-8
string: ''
http_version:
recorded_at: Thu, 15 Dec 2016 23:50:09 GMT
- request:
method: get
uri: http://localhost:3001/api-v2/bag/00000000-0000-4000-a000-000000000001/
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:09 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/"18349426184d4e74471ac28b4cce7f4e"
Cache-Control:
- max-age=0, private, must-revalidate
X-Request-Id:
- 8cfa1e99-2195-47fe-9aa4-8de347fcf486
X-Runtime:
- '0.066637'
Server:
- WEBrick/1.3.1 (Ruby/2.3.1/2016-04-26)
Date:
- Thu, 15 Dec 2016 23:50:10 GMT
Content-Length:
- '409'
Connection:
- Keep-Alive
body:
encoding: UTF-8
string: '{"uuid":"00000000-0000-4000-a000-000000000001","local_id":"APTrust
Bag 1","size":71680,"version":1,"created_at":"2015-09-15T17:56:03Z","updated_at":"2015-09-15T17:56:03Z","ingest_node":"aptrust","admin_node":"aptrust","member":"9a000000-0000-4000-a000-000000000001","interpretive":[],"rights":[],"replicating_nodes":["chron","hathi"],"bag_type":"D","first_version_uuid":"00000000-0000-4000-a000-000000000001"}'
http_version:
recorded_at: Thu, 15 Dec 2016 23:50:10 GMT
- request:
method: post
uri: http://localhost:3004/api-v2/bag/
body:
encoding: UTF-8
string: '{"uuid":"00000000-0000-4000-a000-000000000001","local_id":"APTrust
Bag 1","size":71680,"version":1,"created_at":"2015-09-15T17:56:03Z","updated_at":"2015-09-15T17:56:03Z","ingest_node":"aptrust","admin_node":"aptrust","member":"9a000000-0000-4000-a000-000000000001","interpretive":[],"rights":[],"replicating_nodes":["chron","hathi"],"bag_type":"D","first_version_uuid":"00000000-0000-4000-a000-000000000001"}'
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:10 GMT
Content-Type:
- application/json
Authorization:
- Token sdr_token
response:
status:
code: 201
message: 'Created '
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/"57abd2cc9613dd625b7a73beda849ade"
Cache-Control:
- max-age=0, private, must-revalidate
X-Request-Id:
- 1ff996b7-c29b-4b8b-817c-a4d7dcddb9c6
X-Runtime:
- '0.111195'
Server:
- WEBrick/1.3.1 (Ruby/2.3.1/2016-04-26)
Date:
- Thu, 15 Dec 2016 23:50:10 GMT
Content-Length:
- '409'
Connection:
- Keep-Alive
body:
encoding: UTF-8
string: '{"uuid":"00000000-0000-4000-a000-000000000001","local_id":"APTrust
Bag 1","size":71680,"version":1,"created_at":"2015-09-15T17:56:03Z","updated_at":"2016-12-15T23:50:10Z","ingest_node":"aptrust","admin_node":"aptrust","member":"9a000000-0000-4000-a000-000000000001","interpretive":[],"rights":[],"replicating_nodes":["chron","hathi"],"bag_type":"D","first_version_uuid":"00000000-0000-4000-a000-000000000001"}'
http_version:
recorded_at: Thu, 15 Dec 2016 23:50:10 GMT
- request:
method: post
uri: http://localhost:3004/api-v2/replicate/
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:50:09Z","store_requested":true,"stored":false,"cancelled":false,"bag":"00000000-0000-4000-a000-000000000001","fixity_algorithm":"sha256","protocol":"rsync","from_node":"aptrust","to_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:10 GMT
Content-Type:
- application/json
Authorization:
- Token sdr_token
response:
status:
code: 201
message: 'Created '
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/"066066ce18d5d61a3c5249585142aaa6"
Cache-Control:
- max-age=0, private, must-revalidate
X-Request-Id:
- 4f8be5e8-7f51-4a4b-b5d5-11f314a55974
X-Runtime:
- '0.084328'
Server:
- WEBrick/1.3.1 (Ruby/2.3.1/2016-04-26)
Date:
- Thu, 15 Dec 2016 23:50:10 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:50:09Z","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:50:10 GMT
- request:
method: put
uri: http://localhost:3004/api-v2/replicate/10000000-0000-4111-a000-000000000013/
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:50:09Z","store_requested":true,"stored":false,"cancelled":false,"bag":"00000000-0000-4000-a000-000000000001","fixity_algorithm":"sha256","protocol":"rsync","from_node":"aptrust","to_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:10 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/"066066ce18d5d61a3c5249585142aaa6"
Cache-Control:
- max-age=0, private, must-revalidate
X-Request-Id:
- b6cefd22-1f69-4750-911d-63ecd19157de
X-Runtime:
- '0.021900'
Server:
- WEBrick/1.3.1 (Ruby/2.3.1/2016-04-26)
Date:
- Thu, 15 Dec 2016 23:50:10 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:50:09Z","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:50:10 GMT
recorded_with: VCR 3.0.3