Revision 085c9956
Added by Eric Helms about 11 years ago
test/fixtures/vcr_cassettes/repository_schedules_update.yml | ||
---|---|---|
method: get
|
||
uri: https://admin:admin@localhost/pulp/api/v2/repositories/integration_test_id/importers/yum_importer/schedules/sync/
|
||
body:
|
||
encoding: US-ASCII
|
||
string: ""
|
||
headers:
|
||
Content-Type:
|
||
- application/json
|
||
Accept:
|
||
- application/json
|
||
Accept-Encoding:
|
||
- gzip, deflate
|
||
Content-Type:
|
||
- application/json
|
||
User-Agent:
|
||
- Ruby
|
||
response:
|
||
status:
|
||
code: 200
|
||
message: OK
|
||
headers:
|
||
Date:
|
||
- Mon, 18 Mar 2013 17:35:46 GMT
|
||
Server:
|
||
- Apache/2.4.3 (Fedora) OpenSSL/1.0.1c-fips mod_wsgi/3.4 Python/2.7.3
|
||
Content-Length:
|
||
- "408"
|
||
Date:
|
||
- Tue, 26 Feb 2013 01:00:04 GMT
|
||
Content-Type:
|
||
- application/json
|
||
Server:
|
||
- Apache/2.2.22 (Fedora)
|
||
body:
|
||
string: "[{\"next_run\": \"2013-02-26T20:44:00Z\", \"_href\": \"/pulp/api/v2/repositories/integration_test_id/importers/yum_importer/schedules/sync/512c09149c60ed74410037dd/\", \"schedule\": \"2012-09-25T20:44:00Z/P7D\", \"override_config\": {}, \"remaining_runs\": null, \"first_run\": \"2013-02-26T20:44:00Z\", \"enabled\": true, \"last_run\": null, \"failure_threshold\": null, \"_id\": \"512c09149c60ed74410037dd\", \"consecutive_failures\": 0}]"
|
||
encoding: US-ASCII
|
||
string: "[{\"next_run\": \"2013-03-19T20:44:00Z\", \"_href\": \"/pulp/api/v2/repositories/integration_test_id/importers/yum_importer/schedules/sync/514750724964c84cd4fd6563/\", \"schedule\": \"2012-09-25T20:44:00Z/P7D\", \"override_config\": {}, \"remaining_runs\": null, \"first_run\": \"2013-03-19T20:44:00Z\", \"enabled\": true, \"last_run\": null, \"failure_threshold\": null, \"_id\": \"514750724964c84cd4fd6563\", \"consecutive_failures\": 0}]"
|
||
http_version:
|
||
recorded_at: Tue, 26 Feb 2013 01:00:04 GMT
|
||
recorded_at: Mon, 18 Mar 2013 17:35:47 GMT
|
||
- request:
|
||
method: put
|
||
uri: https://admin:admin@localhost/pulp/api/v2/repositories/integration_test_id/importers/yum_importer/schedules/sync/512c09149c60ed74410037dd/
|
||
uri: https://admin:admin@localhost/pulp/api/v2/repositories/integration_test_id/importers/yum_importer/schedules/sync/514750724964c84cd4fd6563/
|
||
body:
|
||
encoding: US-ASCII
|
||
string: "{\"schedule\":\"P1DT\"}"
|
||
headers:
|
||
Content-Length:
|
||
- "19"
|
||
Content-Type:
|
||
- application/json
|
||
Accept:
|
||
- application/json
|
||
Accept-Encoding:
|
||
- gzip, deflate
|
||
Content-Type:
|
||
- application/json
|
||
Content-Length:
|
||
- "19"
|
||
User-Agent:
|
||
- Ruby
|
||
response:
|
||
status:
|
||
code: 200
|
||
message: OK
|
||
headers:
|
||
Date:
|
||
- Mon, 18 Mar 2013 17:35:47 GMT
|
||
Server:
|
||
- Apache/2.4.3 (Fedora) OpenSSL/1.0.1c-fips mod_wsgi/3.4 Python/2.7.3
|
||
Content-Length:
|
||
- "386"
|
||
Date:
|
||
- Tue, 26 Feb 2013 01:00:04 GMT
|
||
Content-Type:
|
||
- application/json
|
||
Server:
|
||
- Apache/2.2.22 (Fedora)
|
||
body:
|
||
string: "{\"next_run\": \"2013-02-26T20:44:00Z\", \"_href\": \"/pulp/api/v2/repositories/integration_test_id/importers/yum_importer/schedules/sync/512c09149c60ed74410037dd/\", \"schedule\": \"P1DT\", \"override_config\": {}, \"remaining_runs\": null, \"first_run\": \"2013-02-26T20:44:00Z\", \"enabled\": true, \"last_run\": null, \"failure_threshold\": null, \"_id\": \"512c09149c60ed74410037dd\", \"consecutive_failures\": 0}"
|
||
encoding: US-ASCII
|
||
string: "{\"next_run\": \"2013-03-19T20:44:00Z\", \"_href\": \"/pulp/api/v2/repositories/integration_test_id/importers/yum_importer/schedules/sync/514750724964c84cd4fd6563/\", \"schedule\": \"P1DT\", \"override_config\": {}, \"remaining_runs\": null, \"first_run\": \"2013-03-19T20:44:00Z\", \"enabled\": true, \"last_run\": null, \"failure_threshold\": null, \"_id\": \"514750724964c84cd4fd6563\", \"consecutive_failures\": 0}"
|
||
http_version:
|
||
recorded_at: Tue, 26 Feb 2013 01:00:04 GMT
|
||
recorded_with: VCR 2.3.0
|
||
recorded_at: Mon, 18 Mar 2013 17:35:47 GMT
|
||
recorded_with: VCR 2.4.0
|
Also available in: Unified diff
Pulp2.1 - Updates to how consumer group content tests are handled
to test them properly.