Project

General

Profile

« Previous | Next » 

Revision 0e9f2f09

Added by Partha Aji over 11 years ago

Moved the copy and unassociate logic to a more centralized location

View differences:

test/fixtures/vcr_cassettes/repository_schedules_delete.yml
---
http_interactions:
- request:
method: delete
uri: https://admin:admin@localhost/pulp/api/v2/repositories/integration_test_id/importers/yum_importer/schedules/sync/50ed8f4edc792172460062e9/
body:
string: ""
headers:
Content-Type:
- application/json
Accept-Encoding:
- gzip, deflate
Accept:
- application/json
response:
status:
code: 200
message: OK
headers:
Content-Type:
- application/json
Server:
- Apache/2.2.22 (Fedora)
Content-Length:
- "4"
Connection:
- close
Date:
- Wed, 09 Jan 2013 15:39:59 GMT
body:
string: "null"
http_version:
recorded_at: Wed, 09 Jan 2013 15:39:59 GMT
- request:
method: get
uri: https://admin:admin@localhost/pulp/api/v2/repositories/integration_test_id/importers/yum_importer/schedules/sync/
body:
string: ""
headers:
Content-Type:
- application/json
Accept-Encoding:
- gzip, deflate
Accept:
- application/json
Content-Type:
- application/json
response:
status:
code: 200
message: OK
headers:
Content-Type:
- application/json
Server:
- Apache/2.2.22 (Fedora)
Content-Length:
- "408"
Date:
- Wed, 16 Jan 2013 16:06:10 GMT
- Thu, 17 Jan 2013 21:27:36 GMT
Content-Type:
- application/json
body:
string: "[{\"next_run\": \"2013-01-22T20:44:00Z\", \"_href\": \"/pulp/api/v2/repositories/integration_test_id/importers/yum_importer/schedules/sync/50f6cff29c60ed27ce000f7b/\", \"schedule\": \"2012-09-25T20:44:00Z/P7D\", \"override_config\": {}, \"remaining_runs\": null, \"first_run\": \"2013-01-22T20:44:00Z\", \"enabled\": true, \"last_run\": null, \"failure_threshold\": null, \"_id\": \"50f6cff29c60ed27ce000f7b\", \"consecutive_failures\": 0}]"
string: "[{\"next_run\": \"2013-01-22T20:44:00Z\", \"_href\": \"/pulp/api/v2/repositories/integration_test_id/importers/yum_importer/schedules/sync/50f86cc8196cbe74d30011ee/\", \"schedule\": \"2012-09-25T20:44:00Z/P7D\", \"override_config\": {}, \"remaining_runs\": null, \"first_run\": \"2013-01-22T20:44:00Z\", \"enabled\": true, \"last_run\": null, \"failure_threshold\": null, \"_id\": \"50f86cc8196cbe74d30011ee\", \"consecutive_failures\": 0}]"
http_version:
recorded_at: Wed, 16 Jan 2013 16:06:10 GMT
recorded_at: Thu, 17 Jan 2013 21:27:36 GMT
- request:
method: delete
uri: https://admin:admin@localhost/pulp/api/v2/repositories/integration_test_id/importers/yum_importer/schedules/sync/50f6cff29c60ed27ce000f7b/
uri: https://admin:admin@localhost/pulp/api/v2/repositories/integration_test_id/importers/yum_importer/schedules/sync/50f86cc8196cbe74d30011ee/
body:
string: ""
headers:
Content-Type:
- application/json
Accept-Encoding:
- gzip, deflate
Accept:
- application/json
Content-Type:
- application/json
response:
status:
code: 200
message: OK
headers:
Content-Type:
- application/json
Server:
- Apache/2.2.22 (Fedora)
Content-Length:
- "4"
Date:
- Wed, 16 Jan 2013 16:06:10 GMT
- Thu, 17 Jan 2013 21:27:36 GMT
Content-Type:
- application/json
body:
string: "null"
http_version:
recorded_at: Wed, 16 Jan 2013 16:06:10 GMT
recorded_at: Thu, 17 Jan 2013 21:27:36 GMT
recorded_with: VCR 2.4.0

Also available in: Unified diff