runcible 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/.gitignore +18 -0
- data/Gemfile +19 -0
- data/LICENSE +22 -0
- data/README.md +29 -0
- data/Rakefile +37 -0
- data/lib/runcible.rb +25 -0
- data/lib/runcible/base.rb +113 -0
- data/lib/runcible/extensions/repository.rb +67 -0
- data/lib/runcible/oauth_setup.rb +29 -0
- data/lib/runcible/resources/repository.rb +82 -0
- data/lib/runcible/resources/role.rb +46 -0
- data/lib/runcible/resources/task.rb +49 -0
- data/lib/runcible/resources/user.rb +50 -0
- data/lib/runcible/version.rb +3 -0
- data/rel-eng/packages/.readme +3 -0
- data/rel-eng/tito.props +5 -0
- data/runcible.gemspec +17 -0
- data/runcible.spec +48 -0
- data/test/.gitkeep +0 -0
- data/test/integration/extensions/repository_test.rb +117 -0
- data/test/integration/fixtures/repositories/zoo5/.treeinfo +12 -0
- data/test/integration/fixtures/repositories/zoo5/CHANGESET +11 -0
- data/test/integration/fixtures/repositories/zoo5/PULP_MANIFEST +1 -0
- data/test/integration/fixtures/repositories/zoo5/cheetah-0.3-0.8.noarch.rpm +0 -0
- data/test/integration/fixtures/repositories/zoo5/create.sh +20 -0
- data/test/integration/fixtures/repositories/zoo5/elephant-0.3-0.8.noarch.rpm +0 -0
- data/test/integration/fixtures/repositories/zoo5/empty.iso +0 -0
- data/test/integration/fixtures/repositories/zoo5/giraffe-0.3-0.8.noarch.rpm +0 -0
- data/test/integration/fixtures/repositories/zoo5/images/test1.img +0 -0
- data/test/integration/fixtures/repositories/zoo5/images/test2.img +0 -0
- data/test/integration/fixtures/repositories/zoo5/lion-0.3-0.8.noarch.rpm +0 -0
- data/test/integration/fixtures/repositories/zoo5/monkey-0.3-0.8.noarch.rpm +0 -0
- data/test/integration/fixtures/repositories/zoo5/penguin-0.3-0.8.noarch.rpm +0 -0
- data/test/integration/fixtures/repositories/zoo5/repodata/06661e2a9839cf0beebcf409410ca4f93c09081f4e772fd0d03e1faf62705a11-comps.xml +39 -0
- data/test/integration/fixtures/repositories/zoo5/repodata/0c4d57a68f9a3b13dabc6f8b01ca8958aa796167cececee04717edfc26d02f2d-other.xml.gz +0 -0
- data/test/integration/fixtures/repositories/zoo5/repodata/298ce23f48b3613e030d19f3d9c2ff2df31c2f08479bdf94cebb87c208e48c0e-filelists.xml.gz +0 -0
- data/test/integration/fixtures/repositories/zoo5/repodata/32c0e38317aade0c057b173ff62344e912e1bd650409c6ac31aecee78e3413af-comps.xml.gz +0 -0
- data/test/integration/fixtures/repositories/zoo5/repodata/34d954906c7ce7aa2254e24d7be0a9049e0a2f436add023ca056123a2d48e30e-updateinfo.xml.gz +0 -0
- data/test/integration/fixtures/repositories/zoo5/repodata/63aedd074d9f0daf7c6be8c61f91d76a962bb6ceda86b9abd2140f154c320fa2-other.sqlite.bz2 +0 -0
- data/test/integration/fixtures/repositories/zoo5/repodata/69d65cdebffc6199d3adb3e38b06ca9abaae6c1c7366805099987b28f182178d-filelists.sqlite.bz2 +0 -0
- data/test/integration/fixtures/repositories/zoo5/repodata/799241a518a4a6b11a68f8e6fbdb719875f87832f60accc0851ced0d6a0497c6-updateinfo.xml.gz +0 -0
- data/test/integration/fixtures/repositories/zoo5/repodata/a4ea9fcdce31dc8673c7a9ba66c086bd6a16e1eff717e3896dd1cac444a1423c-primary.xml.gz +0 -0
- data/test/integration/fixtures/repositories/zoo5/repodata/fb9b9508e148368d0edf7e03dc905b343937fd958e6531cce6380933d18c3455-primary.sqlite.bz2 +0 -0
- data/test/integration/fixtures/repositories/zoo5/repodata/repomd.xml +75 -0
- data/test/integration/fixtures/repositories/zoo5/squirrel-0.3-0.8.noarch.rpm +0 -0
- data/test/integration/fixtures/repositories/zoo5/updateinfo.xml +26 -0
- data/test/integration/fixtures/repositories/zoo5/walrus-0.3-0.8.noarch.rpm +0 -0
- data/test/integration/fixtures/vcr_cassettes/extensions/pulp_repository_extensions.yml +137 -0
- data/test/integration/fixtures/vcr_cassettes/pulp_consumer.yml +1529 -0
- data/test/integration/fixtures/vcr_cassettes/pulp_consumer_group.yml +430 -0
- data/test/integration/fixtures/vcr_cassettes/pulp_consumer_helper.yml +120 -0
- data/test/integration/fixtures/vcr_cassettes/pulp_distribution.yml +77 -0
- data/test/integration/fixtures/vcr_cassettes/pulp_errata.yml +77 -0
- data/test/integration/fixtures/vcr_cassettes/pulp_filter.yml +233 -0
- data/test/integration/fixtures/vcr_cassettes/pulp_filter_helper.yml +81 -0
- data/test/integration/fixtures/vcr_cassettes/pulp_package.yml +155 -0
- data/test/integration/fixtures/vcr_cassettes/pulp_package_group.yml +40 -0
- data/test/integration/fixtures/vcr_cassettes/pulp_package_group_category.yml +40 -0
- data/test/integration/fixtures/vcr_cassettes/pulp_ping.yml +40 -0
- data/test/integration/fixtures/vcr_cassettes/pulp_repository.yml +1196 -0
- data/test/integration/fixtures/vcr_cassettes/pulp_repository_helper.yml +8659 -0
- data/test/integration/fixtures/vcr_cassettes/pulp_repository_sync.yml +215 -0
- data/test/integration/fixtures/vcr_cassettes/pulp_role.yml +133 -0
- data/test/integration/fixtures/vcr_cassettes/pulp_roles.yml +120 -0
- data/test/integration/fixtures/vcr_cassettes/pulp_task.yml +943 -0
- data/test/integration/fixtures/vcr_cassettes/pulp_user.yml +288 -0
- data/test/integration/fixtures/vcr_cassettes/pulp_user_helper.yml +195 -0
- data/test/integration/resources/helpers/consumer_helper.rb +49 -0
- data/test/integration/resources/helpers/filter_helper.rb +44 -0
- data/test/integration/resources/helpers/repository_helper.rb +127 -0
- data/test/integration/resources/pulp_consumer_group_test.rb +182 -0
- data/test/integration/resources/pulp_consumer_test.rb +200 -0
- data/test/integration/resources/pulp_distribution_test.rb +55 -0
- data/test/integration/resources/pulp_errata_test.rb +60 -0
- data/test/integration/resources/pulp_filter_test.rb +92 -0
- data/test/integration/resources/pulp_package_group_category_test.rb +55 -0
- data/test/integration/resources/pulp_package_group_test.rb +56 -0
- data/test/integration/resources/pulp_package_test.rb +79 -0
- data/test/integration/resources/pulp_ping_test.rb +31 -0
- data/test/integration/resources/pulp_repository_test.rb +307 -0
- data/test/integration/resources/pulp_role_test.rb +62 -0
- data/test/integration/resources/pulp_task_test.rb +79 -0
- data/test/integration/resources/pulp_user_test.rb +105 -0
- data/test/integration/test_runner.rb +113 -0
- data/test/integration/vcr_setup.rb +22 -0
- data/test/unit/test_base.rb +62 -0
- metadata +218 -0
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
---
|
|
2
|
+
recorded_with: VCR 2.2.4
|
|
3
|
+
http_interactions:
|
|
4
|
+
- request:
|
|
5
|
+
method: get
|
|
6
|
+
uri: https://localhost/pulp/api/packages/
|
|
7
|
+
body:
|
|
8
|
+
string: ""
|
|
9
|
+
headers:
|
|
10
|
+
Pulp-User:
|
|
11
|
+
- admin
|
|
12
|
+
Accept-Language:
|
|
13
|
+
- en
|
|
14
|
+
Accept-Encoding:
|
|
15
|
+
- gzip, deflate
|
|
16
|
+
Accept:
|
|
17
|
+
- application/json
|
|
18
|
+
Content-Type:
|
|
19
|
+
- application/json
|
|
20
|
+
Authorization:
|
|
21
|
+
- OAuth oauth_consumer_key="katello", oauth_nonce="2g6i7yHjLPWi7f0f8tjfiXGxn3IcCeDrk76UOkE", oauth_signature="h3x86KsABIy2sLJJm3Q38HC7g5Y%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1346290670", oauth_version="1.0"
|
|
22
|
+
response:
|
|
23
|
+
status:
|
|
24
|
+
code: 200
|
|
25
|
+
message: OK
|
|
26
|
+
headers:
|
|
27
|
+
Server:
|
|
28
|
+
- Apache/2.2.22 (Fedora)
|
|
29
|
+
Date:
|
|
30
|
+
- Thu, 30 Aug 2012 01:37:50 GMT
|
|
31
|
+
Connection:
|
|
32
|
+
- close
|
|
33
|
+
Content-Type:
|
|
34
|
+
- application/json
|
|
35
|
+
Content-Length:
|
|
36
|
+
- "6993"
|
|
37
|
+
body:
|
|
38
|
+
string: "[{\"id\": \"845c9951-d31e-4b4e-bd00-c1faa288d27b\", \"_id\": \"845c9951-d31e-4b4e-bd00-c1faa288d27b\", \"name\": \"penguin\", \"description\": \"A dummy package of penguin\"}, {\"id\": \"fe2973e4-cf81-4999-a886-02803f84436c\", \"_id\": \"fe2973e4-cf81-4999-a886-02803f84436c\", \"name\": \"trout\", \"description\": \"A dummy package of trout\"}, {\"id\": \"019a5ac5-0ac1-49f9-988b-b2fad88e74dc\", \"_id\": \"019a5ac5-0ac1-49f9-988b-b2fad88e74dc\", \"name\": \"gorilla\", \"description\": \"A dummy package of gorilla\"}, {\"id\": \"08279fcd-b8c7-442c-adcb-4f046c044067\", \"_id\": \"08279fcd-b8c7-442c-adcb-4f046c044067\", \"name\": \"elephant\", \"description\": \"A dummy package of elephant\"}, {\"id\": \"e7aa3161-65ff-4e73-ad74-163c0edd481d\", \"_id\": \"e7aa3161-65ff-4e73-ad74-163c0edd481d\", \"name\": \"giraffe\", \"description\": \"A dummy package of giraffe\"}, {\"id\": \"9ed97176-aae5-44d6-b1b6-00246b73d792\", \"_id\": \"9ed97176-aae5-44d6-b1b6-00246b73d792\", \"name\": \"frog\", \"description\": \"A dummy package of frog\"}, {\"id\": \"e4b60f18-d55a-4fc8-9012-6d0b1f6fc86f\", \"_id\": \"e4b60f18-d55a-4fc8-9012-6d0b1f6fc86f\", \"name\": \"chimpanzee\", \"description\": \"A dummy package of chimpanzee\"}, {\"id\": \"1f8b2676-ce0d-491e-8abf-98af5cedb06f\", \"_id\": \"1f8b2676-ce0d-491e-8abf-98af5cedb06f\", \"name\": \"duck\", \"description\": \"A dummy package of duck\"}, {\"id\": \"44d9eb7d-5e9e-4ad3-9126-2d96cf42c56b\", \"_id\": \"44d9eb7d-5e9e-4ad3-9126-2d96cf42c56b\", \"name\": \"dog\", \"description\": \"A dummy package of dog\"}, {\"id\": \"8a48e30c-f704-48f9-8ad9-82fda4937087\", \"_id\": \"8a48e30c-f704-48f9-8ad9-82fda4937087\", \"name\": \"walrus\", \"description\": \"A dummy package of walrus\"}, {\"id\": \"2b0fb3d7-b68e-4035-9e6d-c2d9cf45e2cf\", \"_id\": \"2b0fb3d7-b68e-4035-9e6d-c2d9cf45e2cf\", \"name\": \"walrus\", \"description\": \"A dummy package of walrus\"}, {\"id\": \"732bdb39-7713-4c56-94b4-7981d6ce8089\", \"_id\": \"732bdb39-7713-4c56-94b4-7981d6ce8089\", \"name\": \"bear\", \"description\": \"A dummy package of bear\"}, {\"id\": \"7d5e8aaa-1c62-4c7a-9591-f302148872b8\", \"_id\": \"7d5e8aaa-1c62-4c7a-9591-f302148872b8\", \"name\": \"pike\", \"description\": \"A dummy package of pike\"}, {\"id\": \"03685ea6-292a-487f-a64c-434c84fa0203\", \"_id\": \"03685ea6-292a-487f-a64c-434c84fa0203\", \"name\": \"stork\", \"description\": \"A dummy package of stork\"}, {\"id\": \"f1462c49-2f0d-43b0-a2cc-439dce733af0\", \"_id\": \"f1462c49-2f0d-43b0-a2cc-439dce733af0\", \"name\": \"zebra\", \"description\": \"A dummy package of zebra\"}, {\"id\": \"ead51dac-7a93-44af-bf0c-c4ab8d7e6580\", \"_id\": \"ead51dac-7a93-44af-bf0c-c4ab8d7e6580\", \"name\": \"wolf\", \"description\": \"A dummy package of wolf\"}, {\"id\": \"9877d4d2-3e8d-4d06-88fe-504d8344a615\", \"_id\": \"9877d4d2-3e8d-4d06-88fe-504d8344a615\", \"name\": \"cat\", \"description\": \"A dummy package of cat\"}, {\"id\": \"b6d6a76e-f806-449d-a726-d3f0cdabd8be\", \"_id\": \"b6d6a76e-f806-449d-a726-d3f0cdabd8be\", \"name\": \"shark\", \"description\": \"A dummy package of shark\"}, {\"id\": \"e70dc358-3362-4a8c-ba24-ecf89aa9af8d\", \"_id\": \"e70dc358-3362-4a8c-ba24-ecf89aa9af8d\", \"name\": \"fox\", \"description\": \"A dummy package of fox\"}, {\"id\": \"8a0a833b-5a66-438c-8bd2-060364ef28a2\", \"_id\": \"8a0a833b-5a66-438c-8bd2-060364ef28a2\", \"name\": \"camel\", \"description\": \"A dummy package of camel\"}, {\"id\": \"ffe7d965-33c1-4e76-9aad-bf73857d22ec\", \"_id\": \"ffe7d965-33c1-4e76-9aad-bf73857d22ec\", \"name\": \"cheetah\", \"description\": \"A dummy package of cheetah\"}, {\"id\": \"c21a8d97-207b-4fbb-8255-e6ba0cf82317\", \"_id\": \"c21a8d97-207b-4fbb-8255-e6ba0cf82317\", \"name\": \"crow\", \"description\": \"A dummy package of crow\"}, {\"id\": \"9f452c9b-9005-41e4-be96-0d88a3ffe4d2\", \"_id\": \"9f452c9b-9005-41e4-be96-0d88a3ffe4d2\", \"name\": \"dolphin\", \"description\": \"A dummy package of dolphin\"}, {\"id\": \"90339c84-f991-4e4e-86ef-3414e8cfef25\", \"_id\": \"90339c84-f991-4e4e-86ef-3414e8cfef25\", \"name\": \"kangaroo\", \"description\": \"A dummy package of kangaroo\"}, {\"id\": \"3bc576f8-74f4-4b3a-b126-42df92a88bb8\", \"_id\": \"3bc576f8-74f4-4b3a-b126-42df92a88bb8\", \"name\": \"tiger\", \"description\": \"A dummy package of tiger\"}, {\"id\": \"fb6ce967-5edc-482b-8e18-ce5bee10da77\", \"_id\": \"fb6ce967-5edc-482b-8e18-ce5bee10da77\", \"name\": \"horse\", \"description\": \"A dummy package of horse\"}, {\"id\": \"370cfaa0-3e91-476e-889c-1e4a6abafb29\", \"_id\": \"370cfaa0-3e91-476e-889c-1e4a6abafb29\", \"name\": \"mouse\", \"description\": \"A dummy package of mouse\"}, {\"id\": \"12c8bfcc-f6d9-45e6-bb18-14e19bd76f00\", \"_id\": \"12c8bfcc-f6d9-45e6-bb18-14e19bd76f00\", \"name\": \"whale\", \"description\": \"A dummy package of whale\"}, {\"id\": \"2334eb2f-060e-4ff7-915a-d458ba1335e2\", \"_id\": \"2334eb2f-060e-4ff7-915a-d458ba1335e2\", \"name\": \"cow\", \"description\": \"A dummy package of cow\"}, {\"id\": \"8f621fd1-6916-4303-ac2f-12673486b673\", \"_id\": \"8f621fd1-6916-4303-ac2f-12673486b673\", \"name\": \"cockateel\", \"description\": \"A dummy package of cockateel\"}, {\"id\": \"c05ffdf3-651c-4099-917a-74c59d4b7442\", \"_id\": \"c05ffdf3-651c-4099-917a-74c59d4b7442\", \"name\": \"lion\", \"description\": \"A dummy package of lion\"}, {\"id\": \"aa065e44-6a2d-4dc3-8288-a04e1ad16b97\", \"_id\": \"aa065e44-6a2d-4dc3-8288-a04e1ad16b97\", \"name\": \"squirrel\", \"description\": \"A dummy package of squirrel\"}, {\"description\": \"A dummy package of monkey\", \"_id\": \"06e63d90-0c7b-4682-a03c-1e8ad8b7a0f0\", \"name\": \"monkey\", \"id\": \"06e63d90-0c7b-4682-a03c-1e8ad8b7a0f0\"}, {\"description\": \"Common classes for katello clients\", \"_id\": \"6ce1399c-eb25-41e9-844e-7b8db43336ca\", \"name\": \"katello-cli-common\", \"id\": \"6ce1399c-eb25-41e9-844e-7b8db43336ca\"}, {\"description\": \"A dummy package of cheetah\", \"_id\": \"f386b10e-28e4-4d9a-af96-15d66242717b\", \"name\": \"cheetah\", \"id\": \"f386b10e-28e4-4d9a-af96-15d66242717b\"}, {\"description\": \"A dummy package of penguin\", \"_id\": \"8946434e-9163-4a81-8952-6b0c82cc5bd5\", \"name\": \"penguin\", \"id\": \"8946434e-9163-4a81-8952-6b0c82cc5bd5\"}, {\"description\": \"A dummy package of walrus\", \"_id\": \"67d3c921-9925-4b00-9e92-9e31aa79eef3\", \"name\": \"walrus\", \"id\": \"67d3c921-9925-4b00-9e92-9e31aa79eef3\"}, {\"description\": \"A dummy package of giraffe\", \"_id\": \"01bada37-59e6-4854-9fdb-d60751f99b6b\", \"name\": \"giraffe\", \"id\": \"01bada37-59e6-4854-9fdb-d60751f99b6b\"}, {\"description\": \"A common set of web assets.\", \"_id\": \"5051ea03-e896-468d-8333-06627f2c66f0\", \"name\": \"converge-ui-devel\", \"id\": \"5051ea03-e896-468d-8333-06627f2c66f0\"}, {\"description\": \"Provides a client package for managing application life-cycle for\\nLinux systems with Katello\", \"_id\": \"0c25b194-0b99-4288-90df-d8b3e6be7805\", \"name\": \"katello-cli\", \"id\": \"0c25b194-0b99-4288-90df-d8b3e6be7805\"}, {\"description\": \"A dummy package of lion\", \"_id\": \"0797c09b-8ec9-4efc-9468-0a0f6c0cdbde\", \"name\": \"lion\", \"id\": \"0797c09b-8ec9-4efc-9468-0a0f6c0cdbde\"}, {\"description\": \"A dummy package of squirrel\", \"_id\": \"963d5443-320a-4b80-b55c-c48b02197aa8\", \"name\": \"squirrel\", \"id\": \"963d5443-320a-4b80-b55c-c48b02197aa8\"}, {\"description\": \"A dummy package of cheetah\", \"_id\": \"5a69a4ad-595a-4587-8cef-733d78b543b1\", \"name\": \"cheetah\", \"id\": \"5a69a4ad-595a-4587-8cef-733d78b543b1\"}, {\"description\": \"A dummy package of elephant\", \"_id\": \"5e4f42f7-de86-4069-ac6e-311e42046ea9\", \"name\": \"elephant\", \"id\": \"5e4f42f7-de86-4069-ac6e-311e42046ea9\"}]"
|
|
39
|
+
http_version:
|
|
40
|
+
recorded_at: Thu, 30 Aug 2012 01:37:50 GMT
|
|
41
|
+
- request:
|
|
42
|
+
method: get
|
|
43
|
+
uri: https://localhost/pulp/api/packages/ffe7d965-33c1-4e76-9aad-bf73857d22ec/
|
|
44
|
+
body:
|
|
45
|
+
string: ""
|
|
46
|
+
headers:
|
|
47
|
+
Pulp-User:
|
|
48
|
+
- admin
|
|
49
|
+
Accept-Language:
|
|
50
|
+
- en
|
|
51
|
+
Accept-Encoding:
|
|
52
|
+
- gzip, deflate
|
|
53
|
+
Accept:
|
|
54
|
+
- application/json
|
|
55
|
+
Content-Type:
|
|
56
|
+
- application/json
|
|
57
|
+
Authorization:
|
|
58
|
+
- OAuth oauth_consumer_key="katello", oauth_nonce="QIAIDKXKTHQHeQPLvBJFYr57WI38LC6Xl09pk4fbxw", oauth_signature="ORSzlg4kTkGFvF3XFR%2FDmkRQbKc%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1346290670", oauth_version="1.0"
|
|
59
|
+
response:
|
|
60
|
+
status:
|
|
61
|
+
code: 200
|
|
62
|
+
message: OK
|
|
63
|
+
headers:
|
|
64
|
+
Server:
|
|
65
|
+
- Apache/2.2.22 (Fedora)
|
|
66
|
+
Date:
|
|
67
|
+
- Thu, 30 Aug 2012 01:37:50 GMT
|
|
68
|
+
Connection:
|
|
69
|
+
- close
|
|
70
|
+
Content-Type:
|
|
71
|
+
- application/json
|
|
72
|
+
Content-Length:
|
|
73
|
+
- "840"
|
|
74
|
+
body:
|
|
75
|
+
string: "{\"size\": 2869, \"license\": \"GPLv2\", \"vendor\": \"\", \"name\": \"cheetah\", \"repo_defined\": true, \"buildhost\": \"dhcp-27-190.brq.redhat.com\", \"checksum\": {\"sha256\": \"b6ad009139faace8edaf1015c0340b76f618f0a6ca50790ee4f691c6989669d7\"}, \"requires\": [\"trout\", \"/bin/sh\"], \"epoch\": \"0\", \"download_url\": \"https://localhost//pulp/repos/ACME_Corporation/Library/custom/Fake_Repos/zoo3/cheetah-1.25.3-5.noarch.rpm\", \"filename\": \"cheetah-1.25.3-5.noarch.rpm\", \"repoids\": [\"ACME_Corporation-Fake_Repos-zoo3\", \"ACME_Corporation-Test-Fake_Repos-zoo3\", \"ACME_Corporation-QA-Fake_Repos-zoo3\"], \"version\": \"1.25.3\", \"provides\": [\"cheetah\"], \"_ns\": \"packages\", \"release\": \"5\", \"group\": \"Internet/Applications\", \"_id\": \"ffe7d965-33c1-4e76-9aad-bf73857d22ec\", \"arch\": \"noarch\", \"id\": \"ffe7d965-33c1-4e76-9aad-bf73857d22ec\", \"description\": \"A dummy package of cheetah\"}"
|
|
76
|
+
http_version:
|
|
77
|
+
recorded_at: Thu, 30 Aug 2012 01:37:50 GMT
|
|
78
|
+
- request:
|
|
79
|
+
method: post
|
|
80
|
+
uri: https://localhost/pulp/api/services/dependencies/
|
|
81
|
+
body:
|
|
82
|
+
string: "{\"pkgnames\":[\"cheetah\",\"lion\"],\"repoids\":[\"integration_test_id\"]}"
|
|
83
|
+
headers:
|
|
84
|
+
Pulp-User:
|
|
85
|
+
- admin
|
|
86
|
+
Accept-Language:
|
|
87
|
+
- en
|
|
88
|
+
Accept-Encoding:
|
|
89
|
+
- gzip, deflate
|
|
90
|
+
Accept:
|
|
91
|
+
- application/json
|
|
92
|
+
Content-Type:
|
|
93
|
+
- application/json
|
|
94
|
+
Authorization:
|
|
95
|
+
- OAuth oauth_body_hash="2jmj7l5rSw0yVb%2FvlWAYkK%2FYBwk%3D", oauth_consumer_key="katello", oauth_nonce="MwUD32XjSMrqQIihu0zayRBPresv5FRjZNlT6pYXPo", oauth_signature="ZGH5H376Hgfr%2BhRmXlsC9VlI4Ao%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1346290670", oauth_version="1.0"
|
|
96
|
+
Content-Length:
|
|
97
|
+
- "65"
|
|
98
|
+
response:
|
|
99
|
+
status:
|
|
100
|
+
code: 200
|
|
101
|
+
message: OK
|
|
102
|
+
headers:
|
|
103
|
+
Server:
|
|
104
|
+
- Apache/2.2.22 (Fedora)
|
|
105
|
+
Date:
|
|
106
|
+
- Thu, 30 Aug 2012 01:37:50 GMT
|
|
107
|
+
Connection:
|
|
108
|
+
- close
|
|
109
|
+
Content-Type:
|
|
110
|
+
- application/json
|
|
111
|
+
Content-Length:
|
|
112
|
+
- "188"
|
|
113
|
+
body:
|
|
114
|
+
string: "{\"resolved\": {}, \"unresolved\": {\"/bin/sh\": []}, \"printable_dependency_result\": \"\\n dependency: /bin/sh \\n Unsatisfied dependency \\n\\n dependency: /bin/sh \\n Unsatisfied dependency \\n\"}"
|
|
115
|
+
http_version:
|
|
116
|
+
recorded_at: Thu, 30 Aug 2012 01:37:50 GMT
|
|
117
|
+
- request:
|
|
118
|
+
method: post
|
|
119
|
+
uri: https://localhost/pulp/api/services/search/packages/
|
|
120
|
+
body:
|
|
121
|
+
string: "{\"regex\":false,\"name\":\"cheetah\"}"
|
|
122
|
+
headers:
|
|
123
|
+
Pulp-User:
|
|
124
|
+
- admin
|
|
125
|
+
Accept-Language:
|
|
126
|
+
- en
|
|
127
|
+
Accept-Encoding:
|
|
128
|
+
- gzip, deflate
|
|
129
|
+
Accept:
|
|
130
|
+
- application/json
|
|
131
|
+
Content-Type:
|
|
132
|
+
- application/json
|
|
133
|
+
Authorization:
|
|
134
|
+
- OAuth oauth_body_hash="2jmj7l5rSw0yVb%2FvlWAYkK%2FYBwk%3D", oauth_consumer_key="katello", oauth_nonce="tJkYTBkMYxfJ7hicLrENTbRQzzRlBCTDxLi9usp1U34", oauth_signature="3kQ0CCNtLGOLVpUdqPbc%2BFXN7l8%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1346290670", oauth_version="1.0"
|
|
135
|
+
Content-Length:
|
|
136
|
+
- "32"
|
|
137
|
+
response:
|
|
138
|
+
status:
|
|
139
|
+
code: 200
|
|
140
|
+
message: OK
|
|
141
|
+
headers:
|
|
142
|
+
Server:
|
|
143
|
+
- Apache/2.2.22 (Fedora)
|
|
144
|
+
Date:
|
|
145
|
+
- Thu, 30 Aug 2012 01:37:50 GMT
|
|
146
|
+
Connection:
|
|
147
|
+
- close
|
|
148
|
+
Content-Type:
|
|
149
|
+
- application/json
|
|
150
|
+
Content-Length:
|
|
151
|
+
- "1174"
|
|
152
|
+
body:
|
|
153
|
+
string: "[{\"repoids\": [\"ACME_Corporation-Fake_Repos-zoo3\", \"ACME_Corporation-Test-Fake_Repos-zoo3\", \"ACME_Corporation-QA-Fake_Repos-zoo3\"], \"checksum\": {\"sha256\": \"b6ad009139faace8edaf1015c0340b76f618f0a6ca50790ee4f691c6989669d7\"}, \"filename\": \"cheetah-1.25.3-5.noarch.rpm\", \"epoch\": \"0\", \"version\": \"1.25.3\", \"release\": \"5\", \"_id\": \"ffe7d965-33c1-4e76-9aad-bf73857d22ec\", \"arch\": \"noarch\", \"id\": \"ffe7d965-33c1-4e76-9aad-bf73857d22ec\", \"name\": \"cheetah\"}, {\"repoids\": [\"ACME_Corporation-Fake_Repos-New_Local_Zoo\"], \"checksum\": {\"sha256\": \"422d0baa0cd9d7713ae796e886a23e17f578f924f74880debdbb7d65fb368dae\"}, \"filename\": \"elephant-0.3-0.8.noarch.rpm\", \"epoch\": \"0\", \"version\": \"0.3\", \"release\": \"0.8\", \"_id\": \"f386b10e-28e4-4d9a-af96-15d66242717b\", \"arch\": \"noarch\", \"id\": \"f386b10e-28e4-4d9a-af96-15d66242717b\", \"name\": \"cheetah\"}, {\"repoids\": [\"integration_test_id\"], \"checksum\": {\"sha256\": \"422d0baa0cd9d7713ae796e886a23e17f578f924f74880debdbb7d65fb368dae\"}, \"filename\": \"cheetah-0.3-0.8.noarch.rpm\", \"epoch\": \"0\", \"version\": \"0.3\", \"release\": \"0.8\", \"_id\": \"5a69a4ad-595a-4587-8cef-733d78b543b1\", \"arch\": \"noarch\", \"id\": \"5a69a4ad-595a-4587-8cef-733d78b543b1\", \"name\": \"cheetah\"}]"
|
|
154
|
+
http_version:
|
|
155
|
+
recorded_at: Thu, 30 Aug 2012 01:37:50 GMT
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
---
|
|
2
|
+
recorded_with: VCR 2.2.4
|
|
3
|
+
http_interactions:
|
|
4
|
+
- request:
|
|
5
|
+
method: get
|
|
6
|
+
uri: https://localhost/pulp/api/repositories/integration_test_id/packagegroups/
|
|
7
|
+
body:
|
|
8
|
+
string: ""
|
|
9
|
+
headers:
|
|
10
|
+
Pulp-User:
|
|
11
|
+
- admin
|
|
12
|
+
Accept-Language:
|
|
13
|
+
- en
|
|
14
|
+
Accept-Encoding:
|
|
15
|
+
- gzip, deflate
|
|
16
|
+
Accept:
|
|
17
|
+
- application/json
|
|
18
|
+
Content-Type:
|
|
19
|
+
- application/json
|
|
20
|
+
Authorization:
|
|
21
|
+
- OAuth oauth_consumer_key="katello", oauth_nonce="3DJquWVu3axVmtZxtLcyaryNJKb5pWIay5jCbPyRq7Y", oauth_signature="N77gfCZtLnJOy5EubMxyy9EF7is%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1346290678", oauth_version="1.0"
|
|
22
|
+
response:
|
|
23
|
+
status:
|
|
24
|
+
code: 200
|
|
25
|
+
message: OK
|
|
26
|
+
headers:
|
|
27
|
+
Server:
|
|
28
|
+
- Apache/2.2.22 (Fedora)
|
|
29
|
+
Date:
|
|
30
|
+
- Thu, 30 Aug 2012 01:37:58 GMT
|
|
31
|
+
Connection:
|
|
32
|
+
- close
|
|
33
|
+
Content-Type:
|
|
34
|
+
- application/json
|
|
35
|
+
Content-Length:
|
|
36
|
+
- "832"
|
|
37
|
+
body:
|
|
38
|
+
string: "{\"mammal\": {\"mandatory_package_names\": [\"elephant,giraffe,cheetah,lion,monkey,penguin,squirrel,walrus\", \"penguin\"], \"description\": \"\", \"repo_defined\": true, \"default\": true, \"display_order\": 1024, \"immutable\": true, \"user_visible\": true, \"translated_name\": {}, \"translated_description\": {}, \"conditional_package_names\": {}, \"default_package_names\": [], \"optional_package_names\": [], \"langonly\": null, \"_id\": \"mammal\", \"id\": \"mammal\", \"name\": \"mammal\"}, \"bird\": {\"mandatory_package_names\": [\"penguin\"], \"description\": \"\", \"repo_defined\": true, \"default\": true, \"display_order\": 1024, \"immutable\": true, \"user_visible\": true, \"translated_name\": {}, \"translated_description\": {}, \"conditional_package_names\": {}, \"default_package_names\": [], \"optional_package_names\": [], \"langonly\": null, \"_id\": \"bird\", \"id\": \"bird\", \"name\": \"bird\"}}"
|
|
39
|
+
http_version:
|
|
40
|
+
recorded_at: Thu, 30 Aug 2012 01:37:58 GMT
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
---
|
|
2
|
+
recorded_with: VCR 2.2.4
|
|
3
|
+
http_interactions:
|
|
4
|
+
- request:
|
|
5
|
+
method: get
|
|
6
|
+
uri: https://localhost/pulp/api/repositories/integration_test_id/packagegroupcategories/
|
|
7
|
+
body:
|
|
8
|
+
string: ""
|
|
9
|
+
headers:
|
|
10
|
+
Pulp-User:
|
|
11
|
+
- admin
|
|
12
|
+
Accept-Language:
|
|
13
|
+
- en
|
|
14
|
+
Accept-Encoding:
|
|
15
|
+
- gzip, deflate
|
|
16
|
+
Accept:
|
|
17
|
+
- application/json
|
|
18
|
+
Content-Type:
|
|
19
|
+
- application/json
|
|
20
|
+
Authorization:
|
|
21
|
+
- OAuth oauth_consumer_key="katello", oauth_nonce="lKIZbHNPMlInOjpQLPhmYKPm2e7tItqST35Gub9qijs", oauth_signature="qA%2FFW%2BrPyRsodSJnP8w3Us2%2F6Mo%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1346290686", oauth_version="1.0"
|
|
22
|
+
response:
|
|
23
|
+
status:
|
|
24
|
+
code: 200
|
|
25
|
+
message: OK
|
|
26
|
+
headers:
|
|
27
|
+
Server:
|
|
28
|
+
- Apache/2.2.22 (Fedora)
|
|
29
|
+
Date:
|
|
30
|
+
- Thu, 30 Aug 2012 01:38:06 GMT
|
|
31
|
+
Connection:
|
|
32
|
+
- close
|
|
33
|
+
Content-Type:
|
|
34
|
+
- application/json
|
|
35
|
+
Content-Length:
|
|
36
|
+
- "226"
|
|
37
|
+
body:
|
|
38
|
+
string: "{\"all\": {\"description\": null, \"repo_defined\": true, \"display_order\": 99, \"immutable\": true, \"translated_name\": {}, \"packagegroupids\": [\"mammal\", \"bird\"], \"translated_description\": {}, \"_id\": \"all\", \"id\": \"all\", \"name\": \"all\"}}"
|
|
39
|
+
http_version:
|
|
40
|
+
recorded_at: Thu, 30 Aug 2012 01:38:06 GMT
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
---
|
|
2
|
+
recorded_with: VCR 2.2.4
|
|
3
|
+
http_interactions:
|
|
4
|
+
- request:
|
|
5
|
+
method: get
|
|
6
|
+
uri: https://localhost/pulp/api/users/
|
|
7
|
+
body:
|
|
8
|
+
string: ""
|
|
9
|
+
headers:
|
|
10
|
+
Pulp-User:
|
|
11
|
+
- admin
|
|
12
|
+
Accept-Language:
|
|
13
|
+
- en
|
|
14
|
+
Accept-Encoding:
|
|
15
|
+
- gzip, deflate
|
|
16
|
+
Accept:
|
|
17
|
+
- application/json
|
|
18
|
+
Content-Type:
|
|
19
|
+
- application/json
|
|
20
|
+
Authorization:
|
|
21
|
+
- OAuth oauth_consumer_key="katello", oauth_nonce="3w87v703j9kZVOhvLUkRy5w9rlFmv4q039MiARsVbs", oauth_signature="j5LS2pfAp1TIenIb96y%2Bt67bBU8%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1346290687", oauth_version="1.0"
|
|
22
|
+
response:
|
|
23
|
+
status:
|
|
24
|
+
code: 200
|
|
25
|
+
message: OK
|
|
26
|
+
headers:
|
|
27
|
+
Server:
|
|
28
|
+
- Apache/2.2.22 (Fedora)
|
|
29
|
+
Date:
|
|
30
|
+
- Thu, 30 Aug 2012 01:38:07 GMT
|
|
31
|
+
Connection:
|
|
32
|
+
- close
|
|
33
|
+
Content-Type:
|
|
34
|
+
- application/json
|
|
35
|
+
Content-Length:
|
|
36
|
+
- "357"
|
|
37
|
+
body:
|
|
38
|
+
string: "[{\"_id\": \"12a0fbdc-900e-4f79-83ac-159cf430696a\", \"name\": null, \"roles\": [\"super-users\"], \"_ns\": \"users\", \"login\": \"admin\", \"id\": \"12a0fbdc-900e-4f79-83ac-159cf430696a\"}, {\"_id\": \"5faf5a42-4fdb-4e77-b35a-d206ee98c49a\", \"name\": \"hidden-kCz1Kt\", \"roles\": [\"super-users\"], \"_ns\": \"users\", \"login\": \"hidden-kCz1Kt\", \"id\": \"5faf5a42-4fdb-4e77-b35a-d206ee98c49a\"}]"
|
|
39
|
+
http_version:
|
|
40
|
+
recorded_at: Thu, 30 Aug 2012 01:38:07 GMT
|
|
@@ -0,0 +1,1196 @@
|
|
|
1
|
+
---
|
|
2
|
+
recorded_with: VCR 2.2.4
|
|
3
|
+
http_interactions:
|
|
4
|
+
- request:
|
|
5
|
+
method: post
|
|
6
|
+
uri: https://localhost/pulp/api/repositories/integration_test_id/remove_filters/
|
|
7
|
+
body:
|
|
8
|
+
string: "{\"filters\":[\"integration_test_filter\"]}"
|
|
9
|
+
headers:
|
|
10
|
+
Accept:
|
|
11
|
+
- "*/*; q=0.5, application/xml"
|
|
12
|
+
Accept-Language:
|
|
13
|
+
- en
|
|
14
|
+
Accept-Encoding:
|
|
15
|
+
- gzip, deflate
|
|
16
|
+
Content-Type:
|
|
17
|
+
- application/json
|
|
18
|
+
Pulp-User:
|
|
19
|
+
- admin
|
|
20
|
+
Content-Length:
|
|
21
|
+
- "39"
|
|
22
|
+
Authorization:
|
|
23
|
+
- OAuth oauth_body_hash="2jmj7l5rSw0yVb%2FvlWAYkK%2FYBwk%3D", oauth_consumer_key="katello", oauth_nonce="AhEIDVEPaze5mA166E2IjBWNSHTXIJyPqN7G1486DJ8", oauth_signature="hS5EYTKcMUakZMU8mlJ%2BEOnKW7E%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1346291270", oauth_version="1.0"
|
|
24
|
+
response:
|
|
25
|
+
status:
|
|
26
|
+
code: 200
|
|
27
|
+
message: OK
|
|
28
|
+
headers:
|
|
29
|
+
Date:
|
|
30
|
+
- Thu, 30 Aug 2012 01:47:50 GMT
|
|
31
|
+
Connection:
|
|
32
|
+
- close
|
|
33
|
+
Server:
|
|
34
|
+
- Apache/2.2.22 (Fedora)
|
|
35
|
+
Content-Type:
|
|
36
|
+
- application/json
|
|
37
|
+
Content-Length:
|
|
38
|
+
- "4"
|
|
39
|
+
body:
|
|
40
|
+
string: "true"
|
|
41
|
+
http_version:
|
|
42
|
+
recorded_at: Thu, 30 Aug 2012 01:47:50 GMT
|
|
43
|
+
- request:
|
|
44
|
+
method: get
|
|
45
|
+
uri: https://localhost/pulp/api/repositories//?id=integration_test_id
|
|
46
|
+
body:
|
|
47
|
+
string: ""
|
|
48
|
+
headers:
|
|
49
|
+
Accept:
|
|
50
|
+
- "*/*; q=0.5, application/xml"
|
|
51
|
+
Accept-Language:
|
|
52
|
+
- en
|
|
53
|
+
Accept-Encoding:
|
|
54
|
+
- gzip, deflate
|
|
55
|
+
Content-Type:
|
|
56
|
+
- application/json
|
|
57
|
+
Pulp-User:
|
|
58
|
+
- admin
|
|
59
|
+
Authorization:
|
|
60
|
+
- OAuth oauth_consumer_key="katello", oauth_nonce="0bo7GfucOYf5MdRqtvLC3Oag11eSHvl3WwSwlHhYI", oauth_signature="KJvT1fYPSaIP4E47e28WPW2lKu4%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1346291279", oauth_version="1.0"
|
|
61
|
+
response:
|
|
62
|
+
status:
|
|
63
|
+
code: 200
|
|
64
|
+
message: OK
|
|
65
|
+
headers:
|
|
66
|
+
Date:
|
|
67
|
+
- Thu, 30 Aug 2012 01:47:59 GMT
|
|
68
|
+
Connection:
|
|
69
|
+
- close
|
|
70
|
+
Server:
|
|
71
|
+
- Apache/2.2.22 (Fedora)
|
|
72
|
+
Content-Type:
|
|
73
|
+
- application/json
|
|
74
|
+
Content-Length:
|
|
75
|
+
- "1318"
|
|
76
|
+
body:
|
|
77
|
+
string: "[{\"package_count\": 0, \"distributionid\": [], \"consumer_cert\": null, \"consumer_ca\": null, \"filters\": [], \"id\": \"integration_test_id\", \"preserve_metadata\": false, \"publish\": true, \"source\": {\"url\": \"file:///home/edhelms/workspace/katello/src/test/integration/fixtures/repositories/zoo5\", \"type\": \"local\"}, \"groupid\": [], \"files\": \"/pulp/api/repositories/integration_test_id/files/\", \"relative_path\": \"integration_test_id\", \"sync_schedule\": null, \"arch\": \"noarch\", \"feed_cert\": null, \"name\": \"integration_test_id\", \"feed_ca\": null, \"notes\": {}, \"last_sync\": null, \"content_types\": \"yum\", \"clone_ids\": [], \"checksum_type\": \"sha256\", \"sync_options\": {}, \"_id\": \"integration_test_id\", \"uri_ref\": \"/pulp/api/repositories/integration_test_id/\", \"uri\": \"https://localhost/pulp/repos/integration_test_id/\", \"files_count\": 0, \"packages\": \"/pulp/api/repositories/integration_test_id/packages/\", \"packagegroups\": \"/pulp/api/repositories/integration_test_id/packagegroups/\", \"packagegroupcategories\": \"/pulp/api/repositories/integration_test_id/packagegroupcategories/\", \"errata\": \"/pulp/api/repositories/integration_test_id/errata/\", \"distribution\": \"/pulp/api/repositories/integration_test_id/distribution/\", \"keys\": \"/pulp/api/repositories/integration_test_id/keys/\", \"comps\": \"/pulp/api/repositories/integration_test_id/comps/\"}]"
|
|
78
|
+
http_version:
|
|
79
|
+
recorded_at: Thu, 30 Aug 2012 01:47:59 GMT
|
|
80
|
+
- request:
|
|
81
|
+
method: get
|
|
82
|
+
uri: https://localhost/pulp/api/repositories/integration_test_id/
|
|
83
|
+
body:
|
|
84
|
+
string: ""
|
|
85
|
+
headers:
|
|
86
|
+
Accept:
|
|
87
|
+
- "*/*; q=0.5, application/xml"
|
|
88
|
+
Accept-Language:
|
|
89
|
+
- en
|
|
90
|
+
Accept-Encoding:
|
|
91
|
+
- gzip, deflate
|
|
92
|
+
Content-Type:
|
|
93
|
+
- application/json
|
|
94
|
+
Pulp-User:
|
|
95
|
+
- admin
|
|
96
|
+
Authorization:
|
|
97
|
+
- OAuth oauth_consumer_key="katello", oauth_nonce="SVjFyaL3vA7PqWkBPv0qgYn72CidgVzAGBRPHW4RQ", oauth_signature="INCXA4BGhf4FdgQiKXc3aVOD1ys%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1346291284", oauth_version="1.0"
|
|
98
|
+
response:
|
|
99
|
+
status:
|
|
100
|
+
code: 200
|
|
101
|
+
message: OK
|
|
102
|
+
headers:
|
|
103
|
+
Date:
|
|
104
|
+
- Thu, 30 Aug 2012 01:48:04 GMT
|
|
105
|
+
Connection:
|
|
106
|
+
- close
|
|
107
|
+
Server:
|
|
108
|
+
- Apache/2.2.22 (Fedora)
|
|
109
|
+
Content-Type:
|
|
110
|
+
- application/json
|
|
111
|
+
Content-Length:
|
|
112
|
+
- "1346"
|
|
113
|
+
body:
|
|
114
|
+
string: "{\"package_count\": 0, \"distributionid\": [], \"consumer_cert\": null, \"consumer_ca\": null, \"filters\": [], \"id\": \"integration_test_id\", \"preserve_metadata\": false, \"publish\": true, \"source\": {\"url\": \"file:///home/edhelms/workspace/katello/src/test/integration/fixtures/repositories/zoo5\", \"type\": \"local\"}, \"groupid\": [], \"files\": \"/pulp/api/repositories/integration_test_id/files/\", \"relative_path\": \"integration_test_id\", \"sync_schedule\": null, \"arch\": \"noarch\", \"feed_cert\": null, \"name\": \"integration_test_id\", \"feed_ca\": null, \"notes\": {}, \"last_sync\": null, \"content_types\": \"yum\", \"clone_ids\": [], \"checksum_type\": \"sha256\", \"sync_options\": {}, \"_id\": \"integration_test_id\", \"packages\": \"/pulp/api/repositories/integration_test_id/packages/\", \"packagegroups\": \"/pulp/api/repositories/integration_test_id/packagegroups/\", \"packagegroupcategories\": \"/pulp/api/repositories/integration_test_id/packagegroupcategories/\", \"errata\": \"/pulp/api/repositories/integration_test_id/errata/\", \"distribution\": \"/pulp/api/repositories/integration_test_id/distribution/\", \"keys\": \"/pulp/api/repositories/integration_test_id/keys/\", \"comps\": \"/pulp/api/repositories/integration_test_id/comps/\", \"uri_ref\": \"/pulp/api/repositories/integration_test_id/\", \"uri\": \"https://localhost/pulp/repos/integration_test_id/\", \"files_count\": 49, \"next_scheduled_time\": null}"
|
|
115
|
+
http_version:
|
|
116
|
+
recorded_at: Thu, 30 Aug 2012 01:48:04 GMT
|
|
117
|
+
- request:
|
|
118
|
+
method: get
|
|
119
|
+
uri: https://localhost/pulp/api/repositories/
|
|
120
|
+
body:
|
|
121
|
+
string: ""
|
|
122
|
+
headers:
|
|
123
|
+
Accept:
|
|
124
|
+
- "*/*; q=0.5, application/xml"
|
|
125
|
+
Accept-Language:
|
|
126
|
+
- en
|
|
127
|
+
Accept-Encoding:
|
|
128
|
+
- gzip, deflate
|
|
129
|
+
Content-Type:
|
|
130
|
+
- application/json
|
|
131
|
+
Pulp-User:
|
|
132
|
+
- admin
|
|
133
|
+
Authorization:
|
|
134
|
+
- OAuth oauth_consumer_key="katello", oauth_nonce="EaEmc2b2ATJuXtsyV5p0XSEW9bWnvoWhlICazBMiEgA", oauth_signature="EmAlOY0jduTU%2Ba93zjJzkQQhTG0%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1346291289", oauth_version="1.0"
|
|
135
|
+
response:
|
|
136
|
+
status:
|
|
137
|
+
code: 200
|
|
138
|
+
message: OK
|
|
139
|
+
headers:
|
|
140
|
+
Date:
|
|
141
|
+
- Thu, 30 Aug 2012 01:48:09 GMT
|
|
142
|
+
Connection:
|
|
143
|
+
- close
|
|
144
|
+
Server:
|
|
145
|
+
- Apache/2.2.22 (Fedora)
|
|
146
|
+
Content-Type:
|
|
147
|
+
- application/json
|
|
148
|
+
Content-Length:
|
|
149
|
+
- "12784"
|
|
150
|
+
body:
|
|
151
|
+
string: "[{\"package_count\": 0, \"distributionid\": [], \"consumer_cert\": null, \"consumer_ca\": null, \"filters\": [], \"id\": \"ACME_Corporation-Fake_Repos-Inecas\", \"preserve_metadata\": false, \"publish\": true, \"source\": {\"url\": \"http://inecas.fedorapeople.org/fakerepos\", \"type\": \"remote\"}, \"groupid\": [\"product:1346078372701\", \"env:1\", \"org:1\", \"content:1346078724078\"], \"files\": \"/pulp/api/repositories/ACME_Corporation-Fake_Repos-Inecas/files/\", \"relative_path\": \"ACME_Corporation/Library/custom/Fake_Repos/Inecas\", \"sync_schedule\": null, \"arch\": \"noarch\", \"feed_cert\": null, \"name\": \"Inecas\", \"feed_ca\": null, \"notes\": {}, \"last_sync\": null, \"content_types\": \"yum\", \"clone_ids\": [\"ACME_Corporation-Test-Fake_Repos-Inecas\"], \"checksum_type\": \"sha256\", \"sync_options\": {}, \"_id\": \"ACME_Corporation-Fake_Repos-Inecas\", \"uri_ref\": \"/pulp/api/repositories/ACME_Corporation-Fake_Repos-Inecas/\", \"uri\": \"https://localhost/pulp/repos/ACME_Corporation/Library/custom/Fake_Repos/Inecas/\", \"files_count\": 0, \"packages\": \"/pulp/api/repositories/ACME_Corporation-Fake_Repos-Inecas/packages/\", \"packagegroups\": \"/pulp/api/repositories/ACME_Corporation-Fake_Repos-Inecas/packagegroups/\", \"packagegroupcategories\": \"/pulp/api/repositories/ACME_Corporation-Fake_Repos-Inecas/packagegroupcategories/\", \"errata\": \"/pulp/api/repositories/ACME_Corporation-Fake_Repos-Inecas/errata/\", \"distribution\": \"/pulp/api/repositories/ACME_Corporation-Fake_Repos-Inecas/distribution/\", \"keys\": \"/pulp/api/repositories/ACME_Corporation-Fake_Repos-Inecas/keys/\", \"comps\": \"/pulp/api/repositories/ACME_Corporation-Fake_Repos-Inecas/comps/\"}, {\"package_count\": 0, \"distributionid\": [], \"consumer_cert\": null, \"consumer_ca\": null, \"filters\": [], \"id\": \"ACME_Corporation-Test-Fake_Repos-Inecas\", \"preserve_metadata\": false, \"publish\": true, \"source\": {\"url\": \"file:///var/lib/pulp//repos/ACME_Corporation/Library/custom/Fake_Repos/Inecas\", \"type\": \"local\"}, \"groupid\": [\"product:1346078372701\", \"env:2\", \"org:1\", \"content:1346078724078\"], \"files\": \"/pulp/api/repositories/ACME_Corporation-Test-Fake_Repos-Inecas/files/\", \"relative_path\": \"ACME_Corporation/Test/custom/Fake_Repos/Inecas\", \"sync_schedule\": null, \"arch\": \"noarch\", \"feed_cert\": null, \"name\": \"Inecas\", \"feed_ca\": null, \"notes\": {}, \"last_sync\": \"2012-08-27T15:53:46-04:00\", \"content_types\": \"yum\", \"clone_ids\": [\"ACME_Corporation-QA-Fake_Repos-Inecas\"], \"checksum_type\": \"sha256\", \"sync_options\": {}, \"_id\": \"ACME_Corporation-Test-Fake_Repos-Inecas\", \"uri_ref\": \"/pulp/api/repositories/ACME_Corporation-Test-Fake_Repos-Inecas/\", \"uri\": \"https://localhost/pulp/repos/ACME_Corporation/Test/custom/Fake_Repos/Inecas/\", \"files_count\": 0, \"packages\": \"/pulp/api/repositories/ACME_Corporation-Test-Fake_Repos-Inecas/packages/\", \"packagegroups\": \"/pulp/api/repositories/ACME_Corporation-Test-Fake_Repos-Inecas/packagegroups/\", \"packagegroupcategories\": \"/pulp/api/repositories/ACME_Corporation-Test-Fake_Repos-Inecas/packagegroupcategories/\", \"errata\": \"/pulp/api/repositories/ACME_Corporation-Test-Fake_Repos-Inecas/errata/\", \"distribution\": \"/pulp/api/repositories/ACME_Corporation-Test-Fake_Repos-Inecas/distribution/\", \"keys\": \"/pulp/api/repositories/ACME_Corporation-Test-Fake_Repos-Inecas/keys/\", \"comps\": \"/pulp/api/repositories/ACME_Corporation-Test-Fake_Repos-Inecas/comps/\"}, {\"package_count\": 0, \"distributionid\": [], \"consumer_cert\": null, \"consumer_ca\": null, \"filters\": [], \"id\": \"ACME_Corporation-QA-Fake_Repos-Inecas\", \"preserve_metadata\": false, \"publish\": true, \"source\": {\"url\": \"file:///var/lib/pulp//repos/ACME_Corporation/Test/custom/Fake_Repos/Inecas\", \"type\": \"local\"}, \"groupid\": [\"product:1346078372701\", \"env:4\", \"org:1\", \"content:1346078724078\"], \"files\": \"/pulp/api/repositories/ACME_Corporation-QA-Fake_Repos-Inecas/files/\", \"relative_path\": \"ACME_Corporation/QA/custom/Fake_Repos/Inecas\", \"sync_schedule\": null, \"arch\": \"noarch\", \"feed_cert\": null, \"name\": \"Inecas\", \"feed_ca\": null, \"notes\": {}, \"last_sync\": \"2012-08-28T09:31:57-04:00\", \"content_types\": \"yum\", \"clone_ids\": [], \"checksum_type\": \"sha256\", \"sync_options\": {}, \"_id\": \"ACME_Corporation-QA-Fake_Repos-Inecas\", \"uri_ref\": \"/pulp/api/repositories/ACME_Corporation-QA-Fake_Repos-Inecas/\", \"uri\": \"https://localhost/pulp/repos/ACME_Corporation/QA/custom/Fake_Repos/Inecas/\", \"files_count\": 0, \"packages\": \"/pulp/api/repositories/ACME_Corporation-QA-Fake_Repos-Inecas/packages/\", \"packagegroups\": \"/pulp/api/repositories/ACME_Corporation-QA-Fake_Repos-Inecas/packagegroups/\", \"packagegroupcategories\": \"/pulp/api/repositories/ACME_Corporation-QA-Fake_Repos-Inecas/packagegroupcategories/\", \"errata\": \"/pulp/api/repositories/ACME_Corporation-QA-Fake_Repos-Inecas/errata/\", \"distribution\": \"/pulp/api/repositories/ACME_Corporation-QA-Fake_Repos-Inecas/distribution/\", \"keys\": \"/pulp/api/repositories/ACME_Corporation-QA-Fake_Repos-Inecas/keys/\", \"comps\": \"/pulp/api/repositories/ACME_Corporation-QA-Fake_Repos-Inecas/comps/\"}, {\"package_count\": 10, \"distributionid\": [\"ks-Test Family-TestVariant-16-x86_64\"], \"consumer_cert\": null, \"consumer_ca\": null, \"filters\": [], \"id\": \"ACME_Corporation-Fake_Repos-New_Local_Zoo\", \"preserve_metadata\": false, \"publish\": true, \"source\": {\"url\": \"file:///tmp/zoo5\", \"type\": \"local\"}, \"groupid\": [\"product:1346078372701\", \"env:1\", \"org:1\", \"content:1346168775427\"], \"files\": \"/pulp/api/repositories/ACME_Corporation-Fake_Repos-New_Local_Zoo/files/\", \"relative_path\": \"ACME_Corporation/Library/custom/Fake_Repos/New_Local_Zoo\", \"sync_schedule\": null, \"arch\": \"noarch\", \"feed_cert\": null, \"name\": \"New Local Zoo\", \"feed_ca\": null, \"notes\": {}, \"last_sync\": \"2012-08-28T11:47:18-04:00\", \"content_types\": \"yum\", \"clone_ids\": [], \"checksum_type\": \"sha256\", \"sync_options\": {}, \"_id\": \"ACME_Corporation-Fake_Repos-New_Local_Zoo\", \"uri_ref\": \"/pulp/api/repositories/ACME_Corporation-Fake_Repos-New_Local_Zoo/\", \"uri\": \"https://localhost/pulp/repos/ACME_Corporation/Library/custom/Fake_Repos/New_Local_Zoo/\", \"files_count\": 0, \"packages\": \"/pulp/api/repositories/ACME_Corporation-Fake_Repos-New_Local_Zoo/packages/\", \"packagegroups\": \"/pulp/api/repositories/ACME_Corporation-Fake_Repos-New_Local_Zoo/packagegroups/\", \"packagegroupcategories\": \"/pulp/api/repositories/ACME_Corporation-Fake_Repos-New_Local_Zoo/packagegroupcategories/\", \"errata\": \"/pulp/api/repositories/ACME_Corporation-Fake_Repos-New_Local_Zoo/errata/\", \"distribution\": \"/pulp/api/repositories/ACME_Corporation-Fake_Repos-New_Local_Zoo/distribution/\", \"keys\": \"/pulp/api/repositories/ACME_Corporation-Fake_Repos-New_Local_Zoo/keys/\", \"comps\": \"/pulp/api/repositories/ACME_Corporation-Fake_Repos-New_Local_Zoo/comps/\"}, {\"package_count\": 32, \"distributionid\": [], \"consumer_cert\": null, \"consumer_ca\": null, \"filters\": [], \"id\": \"ACME_Corporation-Fake_Repos-zoo3\", \"preserve_metadata\": false, \"publish\": true, \"source\": {\"url\": \"http://inecas.fedorapeople.org/fakerepos/zoo3/\", \"type\": \"remote\"}, \"groupid\": [\"product:1346078372701\", \"env:1\", \"org:1\", \"content:1346094495664\"], \"files\": \"/pulp/api/repositories/ACME_Corporation-Fake_Repos-zoo3/files/\", \"relative_path\": \"ACME_Corporation/Library/custom/Fake_Repos/zoo3\", \"sync_schedule\": null, \"arch\": \"noarch\", \"feed_cert\": null, \"name\": \"zoo3\", \"feed_ca\": null, \"notes\": {}, \"last_sync\": \"2012-08-27T15:25:58-04:00\", \"content_types\": \"yum\", \"clone_ids\": [\"ACME_Corporation-Test-Fake_Repos-zoo3\"], \"checksum_type\": \"sha256\", \"sync_options\": {}, \"_id\": \"ACME_Corporation-Fake_Repos-zoo3\", \"uri_ref\": \"/pulp/api/repositories/ACME_Corporation-Fake_Repos-zoo3/\", \"uri\": \"https://localhost/pulp/repos/ACME_Corporation/Library/custom/Fake_Repos/zoo3/\", \"files_count\": 0, \"packages\": \"/pulp/api/repositories/ACME_Corporation-Fake_Repos-zoo3/packages/\", \"packagegroups\": \"/pulp/api/repositories/ACME_Corporation-Fake_Repos-zoo3/packagegroups/\", \"packagegroupcategories\": \"/pulp/api/repositories/ACME_Corporation-Fake_Repos-zoo3/packagegroupcategories/\", \"errata\": \"/pulp/api/repositories/ACME_Corporation-Fake_Repos-zoo3/errata/\", \"distribution\": \"/pulp/api/repositories/ACME_Corporation-Fake_Repos-zoo3/distribution/\", \"keys\": \"/pulp/api/repositories/ACME_Corporation-Fake_Repos-zoo3/keys/\", \"comps\": \"/pulp/api/repositories/ACME_Corporation-Fake_Repos-zoo3/comps/\"}, {\"package_count\": 32, \"distributionid\": [], \"consumer_cert\": null, \"consumer_ca\": null, \"filters\": [], \"id\": \"ACME_Corporation-Test-Fake_Repos-zoo3\", \"preserve_metadata\": false, \"publish\": true, \"source\": {\"url\": \"file:///var/lib/pulp//repos/ACME_Corporation/Library/custom/Fake_Repos/zoo3\", \"type\": \"local\"}, \"groupid\": [\"product:1346078372701\", \"env:2\", \"org:1\", \"content:1346094495664\"], \"files\": \"/pulp/api/repositories/ACME_Corporation-Test-Fake_Repos-zoo3/files/\", \"relative_path\": \"ACME_Corporation/Test/custom/Fake_Repos/zoo3\", \"sync_schedule\": null, \"arch\": \"noarch\", \"feed_cert\": null, \"name\": \"zoo3\", \"feed_ca\": null, \"notes\": {}, \"last_sync\": \"2012-08-27T15:53:48-04:00\", \"content_types\": \"yum\", \"clone_ids\": [\"ACME_Corporation-QA-Fake_Repos-zoo3\"], \"checksum_type\": \"sha256\", \"sync_options\": {}, \"_id\": \"ACME_Corporation-Test-Fake_Repos-zoo3\", \"uri_ref\": \"/pulp/api/repositories/ACME_Corporation-Test-Fake_Repos-zoo3/\", \"uri\": \"https://localhost/pulp/repos/ACME_Corporation/Test/custom/Fake_Repos/zoo3/\", \"files_count\": 0, \"packages\": \"/pulp/api/repositories/ACME_Corporation-Test-Fake_Repos-zoo3/packages/\", \"packagegroups\": \"/pulp/api/repositories/ACME_Corporation-Test-Fake_Repos-zoo3/packagegroups/\", \"packagegroupcategories\": \"/pulp/api/repositories/ACME_Corporation-Test-Fake_Repos-zoo3/packagegroupcategories/\", \"errata\": \"/pulp/api/repositories/ACME_Corporation-Test-Fake_Repos-zoo3/errata/\", \"distribution\": \"/pulp/api/repositories/ACME_Corporation-Test-Fake_Repos-zoo3/distribution/\", \"keys\": \"/pulp/api/repositories/ACME_Corporation-Test-Fake_Repos-zoo3/keys/\", \"comps\": \"/pulp/api/repositories/ACME_Corporation-Test-Fake_Repos-zoo3/comps/\"}, {\"package_count\": 32, \"distributionid\": [], \"consumer_cert\": null, \"consumer_ca\": null, \"filters\": [], \"id\": \"ACME_Corporation-QA-Fake_Repos-zoo3\", \"preserve_metadata\": false, \"publish\": true, \"source\": {\"url\": \"file:///var/lib/pulp//repos/ACME_Corporation/Test/custom/Fake_Repos/zoo3\", \"type\": \"local\"}, \"groupid\": [\"product:1346078372701\", \"env:4\", \"org:1\", \"content:1346094495664\"], \"files\": \"/pulp/api/repositories/ACME_Corporation-QA-Fake_Repos-zoo3/files/\", \"relative_path\": \"ACME_Corporation/QA/custom/Fake_Repos/zoo3\", \"sync_schedule\": null, \"arch\": \"noarch\", \"feed_cert\": null, \"name\": \"zoo3\", \"feed_ca\": null, \"notes\": {}, \"last_sync\": \"2012-08-28T09:31:59-04:00\", \"content_types\": \"yum\", \"clone_ids\": [], \"checksum_type\": \"sha256\", \"sync_options\": {}, \"_id\": \"ACME_Corporation-QA-Fake_Repos-zoo3\", \"uri_ref\": \"/pulp/api/repositories/ACME_Corporation-QA-Fake_Repos-zoo3/\", \"uri\": \"https://localhost/pulp/repos/ACME_Corporation/QA/custom/Fake_Repos/zoo3/\", \"files_count\": 0, \"packages\": \"/pulp/api/repositories/ACME_Corporation-QA-Fake_Repos-zoo3/packages/\", \"packagegroups\": \"/pulp/api/repositories/ACME_Corporation-QA-Fake_Repos-zoo3/packagegroups/\", \"packagegroupcategories\": \"/pulp/api/repositories/ACME_Corporation-QA-Fake_Repos-zoo3/packagegroupcategories/\", \"errata\": \"/pulp/api/repositories/ACME_Corporation-QA-Fake_Repos-zoo3/errata/\", \"distribution\": \"/pulp/api/repositories/ACME_Corporation-QA-Fake_Repos-zoo3/distribution/\", \"keys\": \"/pulp/api/repositories/ACME_Corporation-QA-Fake_Repos-zoo3/keys/\", \"comps\": \"/pulp/api/repositories/ACME_Corporation-QA-Fake_Repos-zoo3/comps/\"}, {\"package_count\": 0, \"distributionid\": [], \"consumer_cert\": null, \"consumer_ca\": null, \"filters\": [], \"id\": \"integration_test_id\", \"preserve_metadata\": false, \"publish\": true, \"source\": {\"url\": \"file:///home/edhelms/workspace/katello/src/test/integration/fixtures/repositories/zoo5\", \"type\": \"local\"}, \"groupid\": [], \"files\": \"/pulp/api/repositories/integration_test_id/files/\", \"relative_path\": \"integration_test_id\", \"sync_schedule\": null, \"arch\": \"noarch\", \"feed_cert\": null, \"name\": \"integration_test_id\", \"feed_ca\": null, \"notes\": {}, \"last_sync\": null, \"content_types\": \"yum\", \"clone_ids\": [], \"checksum_type\": \"sha256\", \"sync_options\": {}, \"_id\": \"integration_test_id\", \"uri_ref\": \"/pulp/api/repositories/integration_test_id/\", \"uri\": \"https://localhost/pulp/repos/integration_test_id/\", \"files_count\": 0, \"packages\": \"/pulp/api/repositories/integration_test_id/packages/\", \"packagegroups\": \"/pulp/api/repositories/integration_test_id/packagegroups/\", \"packagegroupcategories\": \"/pulp/api/repositories/integration_test_id/packagegroupcategories/\", \"errata\": \"/pulp/api/repositories/integration_test_id/errata/\", \"distribution\": \"/pulp/api/repositories/integration_test_id/distribution/\", \"keys\": \"/pulp/api/repositories/integration_test_id/keys/\", \"comps\": \"/pulp/api/repositories/integration_test_id/comps/\"}]"
|
|
152
|
+
http_version:
|
|
153
|
+
recorded_at: Thu, 30 Aug 2012 01:48:09 GMT
|
|
154
|
+
- request:
|
|
155
|
+
method: delete
|
|
156
|
+
uri: https://localhost/pulp/api/repositories/integration_test_id/
|
|
157
|
+
body:
|
|
158
|
+
string: ""
|
|
159
|
+
headers:
|
|
160
|
+
Accept:
|
|
161
|
+
- "*/*; q=0.5, application/xml"
|
|
162
|
+
Accept-Language:
|
|
163
|
+
- en
|
|
164
|
+
Accept-Encoding:
|
|
165
|
+
- gzip, deflate
|
|
166
|
+
Content-Type:
|
|
167
|
+
- application/json
|
|
168
|
+
Pulp-User:
|
|
169
|
+
- admin
|
|
170
|
+
Authorization:
|
|
171
|
+
- OAuth oauth_consumer_key="katello", oauth_nonce="tCj4LS23oW390LmvtnoH8mOMDXZnrkZ6Pbgu2XfXZ4", oauth_signature="pFOEhOv7bdwCD%2Bke9oesaejhJCU%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1346291293", oauth_version="1.0"
|
|
172
|
+
response:
|
|
173
|
+
status:
|
|
174
|
+
code: 202
|
|
175
|
+
message: Accepted
|
|
176
|
+
headers:
|
|
177
|
+
Date:
|
|
178
|
+
- Thu, 30 Aug 2012 01:48:13 GMT
|
|
179
|
+
Connection:
|
|
180
|
+
- close
|
|
181
|
+
Server:
|
|
182
|
+
- Apache/2.2.22 (Fedora)
|
|
183
|
+
Content-Type:
|
|
184
|
+
- application/json
|
|
185
|
+
Content-Length:
|
|
186
|
+
- "346"
|
|
187
|
+
body:
|
|
188
|
+
string: "{\"scheduled_time\": \"2012-08-30T01:48:13Z\", \"exception\": null, \"traceback\": null, \"job_id\": null, \"class_name\": \"RepoApi\", \"start_time\": null, \"args\": [\"integration_test_id\"], \"method_name\": \"delete\", \"finish_time\": null, \"state\": \"waiting\", \"result\": null, \"scheduler\": \"immediate\", \"progress\": null, \"id\": \"c2e77585-f244-11e1-9efb-bc305bcab086\"}"
|
|
189
|
+
http_version:
|
|
190
|
+
recorded_at: Thu, 30 Aug 2012 01:48:13 GMT
|
|
191
|
+
- request:
|
|
192
|
+
method: post
|
|
193
|
+
uri: https://localhost/pulp/api/services/discovery/repo/
|
|
194
|
+
body:
|
|
195
|
+
string: "{\"type\":\"yum\",\"url\":\"file:///home/edhelms/workspace/katello/src/test/integration/fixtures/repositories/zoo5\"}"
|
|
196
|
+
headers:
|
|
197
|
+
Accept:
|
|
198
|
+
- "*/*; q=0.5, application/xml"
|
|
199
|
+
Accept-Language:
|
|
200
|
+
- en
|
|
201
|
+
Accept-Encoding:
|
|
202
|
+
- gzip, deflate
|
|
203
|
+
Content-Type:
|
|
204
|
+
- application/json
|
|
205
|
+
Pulp-User:
|
|
206
|
+
- admin
|
|
207
|
+
Content-Length:
|
|
208
|
+
- "109"
|
|
209
|
+
Authorization:
|
|
210
|
+
- OAuth oauth_body_hash="2jmj7l5rSw0yVb%2FvlWAYkK%2FYBwk%3D", oauth_consumer_key="katello", oauth_nonce="tpnTLFqY8rRqJ4jD1zNzvSAeggvqRnOen6pPL2CMh9c", oauth_signature="qcP5HUJVCrkbY2R1DqhMd99tlxY%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1346291298", oauth_version="1.0"
|
|
211
|
+
response:
|
|
212
|
+
status:
|
|
213
|
+
code: 202
|
|
214
|
+
message: Accepted
|
|
215
|
+
headers:
|
|
216
|
+
Date:
|
|
217
|
+
- Thu, 30 Aug 2012 01:48:19 GMT
|
|
218
|
+
Connection:
|
|
219
|
+
- close
|
|
220
|
+
Server:
|
|
221
|
+
- Apache/2.2.22 (Fedora)
|
|
222
|
+
Content-Type:
|
|
223
|
+
- application/json
|
|
224
|
+
Content-Length:
|
|
225
|
+
- "432"
|
|
226
|
+
body:
|
|
227
|
+
string: "{\"scheduled_time\": \"2012-08-30T01:48:19Z\", \"exception\": null, \"traceback\": null, \"job_id\": null, \"class_name\": \"YumDiscovery\", \"start_time\": null, \"args\": [\"file:///home/edhelms/workspace/katello/src/test/integration/fixtures/repositories/zoo5\", null, null], \"method_name\": \"discover\", \"finish_time\": null, \"state\": \"waiting\", \"result\": null, \"scheduler\": \"immediate\", \"progress\": null, \"id\": \"c5f4bc1e-f244-11e1-b2fb-bc305bcab086\"}"
|
|
228
|
+
http_version:
|
|
229
|
+
recorded_at: Thu, 30 Aug 2012 01:48:19 GMT
|
|
230
|
+
- request:
|
|
231
|
+
method: put
|
|
232
|
+
uri: https://localhost/pulp/api/repositories/integration_test_id/schedules/sync/
|
|
233
|
+
body:
|
|
234
|
+
string: "{\"schedule\":\"R1/2013-08-29T21:48:23-04:00/P1D\"}"
|
|
235
|
+
headers:
|
|
236
|
+
Accept:
|
|
237
|
+
- "*/*; q=0.5, application/xml"
|
|
238
|
+
Accept-Language:
|
|
239
|
+
- en
|
|
240
|
+
Accept-Encoding:
|
|
241
|
+
- gzip, deflate
|
|
242
|
+
Content-Type:
|
|
243
|
+
- application/json
|
|
244
|
+
Pulp-User:
|
|
245
|
+
- admin
|
|
246
|
+
Content-Length:
|
|
247
|
+
- "47"
|
|
248
|
+
Authorization:
|
|
249
|
+
- OAuth oauth_body_hash="2jmj7l5rSw0yVb%2FvlWAYkK%2FYBwk%3D", oauth_consumer_key="katello", oauth_nonce="oniARvIkxvE6aW6cXT2XqteqLfkcz37cAfLxUv7Shw", oauth_signature="c9o%2BdKAc0LDmYtGOx5WYea2H1DY%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1346291303", oauth_version="1.0"
|
|
250
|
+
response:
|
|
251
|
+
status:
|
|
252
|
+
code: 200
|
|
253
|
+
message: OK
|
|
254
|
+
headers:
|
|
255
|
+
Date:
|
|
256
|
+
- Thu, 30 Aug 2012 01:48:23 GMT
|
|
257
|
+
Connection:
|
|
258
|
+
- close
|
|
259
|
+
Server:
|
|
260
|
+
- Apache/2.2.22 (Fedora)
|
|
261
|
+
Content-Type:
|
|
262
|
+
- application/json
|
|
263
|
+
Content-Length:
|
|
264
|
+
- "147"
|
|
265
|
+
body:
|
|
266
|
+
string: "{\"href\": \"/pulp/api/repositories/integration_test_id/\", \"options\": {}, \"id\": \"integration_test_id\", \"schedule\": \"R1/2013-08-29T21:48:23-04:00/P1D\"}"
|
|
267
|
+
http_version:
|
|
268
|
+
recorded_at: Thu, 30 Aug 2012 01:48:23 GMT
|
|
269
|
+
- request:
|
|
270
|
+
method: delete
|
|
271
|
+
uri: https://localhost/pulp/api/repositories/integration_test_id/schedules/sync/
|
|
272
|
+
body:
|
|
273
|
+
string: ""
|
|
274
|
+
headers:
|
|
275
|
+
Accept:
|
|
276
|
+
- "*/*; q=0.5, application/xml"
|
|
277
|
+
Accept-Language:
|
|
278
|
+
- en
|
|
279
|
+
Accept-Encoding:
|
|
280
|
+
- gzip, deflate
|
|
281
|
+
Content-Type:
|
|
282
|
+
- application/json
|
|
283
|
+
Pulp-User:
|
|
284
|
+
- admin
|
|
285
|
+
Authorization:
|
|
286
|
+
- OAuth oauth_consumer_key="katello", oauth_nonce="CsKl4AhKBxJ5S2pQDVSSizoqKCz0zB5XwPZK6WDPsk", oauth_signature="oQ1Zh0TJABnCTNVNnlfMeM3TyCA%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1346291303", oauth_version="1.0"
|
|
287
|
+
response:
|
|
288
|
+
status:
|
|
289
|
+
code: 200
|
|
290
|
+
message: OK
|
|
291
|
+
headers:
|
|
292
|
+
Date:
|
|
293
|
+
- Thu, 30 Aug 2012 01:48:23 GMT
|
|
294
|
+
Connection:
|
|
295
|
+
- close
|
|
296
|
+
Server:
|
|
297
|
+
- Apache/2.2.22 (Fedora)
|
|
298
|
+
Content-Type:
|
|
299
|
+
- application/json
|
|
300
|
+
Content-Length:
|
|
301
|
+
- "119"
|
|
302
|
+
body:
|
|
303
|
+
string: "{\"href\": \"/pulp/api/repositories/integration_test_id/\", \"options\": null, \"id\": \"integration_test_id\", \"schedule\": null}"
|
|
304
|
+
http_version:
|
|
305
|
+
recorded_at: Thu, 30 Aug 2012 01:48:23 GMT
|
|
306
|
+
- request:
|
|
307
|
+
method: post
|
|
308
|
+
uri: https://localhost/pulp/api/repositories/integration_test_id/add_filters/
|
|
309
|
+
body:
|
|
310
|
+
string: "{\"filters\":[\"integration_test_filter\"]}"
|
|
311
|
+
headers:
|
|
312
|
+
Accept:
|
|
313
|
+
- "*/*; q=0.5, application/xml"
|
|
314
|
+
Accept-Language:
|
|
315
|
+
- en
|
|
316
|
+
Accept-Encoding:
|
|
317
|
+
- gzip, deflate
|
|
318
|
+
Content-Type:
|
|
319
|
+
- application/json
|
|
320
|
+
Pulp-User:
|
|
321
|
+
- admin
|
|
322
|
+
Content-Length:
|
|
323
|
+
- "39"
|
|
324
|
+
Authorization:
|
|
325
|
+
- OAuth oauth_body_hash="2jmj7l5rSw0yVb%2FvlWAYkK%2FYBwk%3D", oauth_consumer_key="katello", oauth_nonce="e57DrqNmEtIbIPty2V681lBGulBnnOcGcifsTUMq8", oauth_signature="i5yqoEknHvdpwx5nVgMNLLSXx8E%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1346291308", oauth_version="1.0"
|
|
326
|
+
response:
|
|
327
|
+
status:
|
|
328
|
+
code: 200
|
|
329
|
+
message: OK
|
|
330
|
+
headers:
|
|
331
|
+
Date:
|
|
332
|
+
- Thu, 30 Aug 2012 01:48:28 GMT
|
|
333
|
+
Connection:
|
|
334
|
+
- close
|
|
335
|
+
Server:
|
|
336
|
+
- Apache/2.2.22 (Fedora)
|
|
337
|
+
Content-Type:
|
|
338
|
+
- application/json
|
|
339
|
+
Content-Length:
|
|
340
|
+
- "4"
|
|
341
|
+
body:
|
|
342
|
+
string: "true"
|
|
343
|
+
http_version:
|
|
344
|
+
recorded_at: Thu, 30 Aug 2012 01:48:28 GMT
|
|
345
|
+
- request:
|
|
346
|
+
method: put
|
|
347
|
+
uri: https://localhost/pulp/api/repositories/integration_test_id/
|
|
348
|
+
body:
|
|
349
|
+
string: "{\"name\":\"updated_integration_test_id\"}"
|
|
350
|
+
headers:
|
|
351
|
+
Accept:
|
|
352
|
+
- "*/*; q=0.5, application/xml"
|
|
353
|
+
Accept-Language:
|
|
354
|
+
- en
|
|
355
|
+
Accept-Encoding:
|
|
356
|
+
- gzip, deflate
|
|
357
|
+
Content-Type:
|
|
358
|
+
- application/json
|
|
359
|
+
Pulp-User:
|
|
360
|
+
- admin
|
|
361
|
+
Content-Length:
|
|
362
|
+
- "38"
|
|
363
|
+
Authorization:
|
|
364
|
+
- OAuth oauth_body_hash="2jmj7l5rSw0yVb%2FvlWAYkK%2FYBwk%3D", oauth_consumer_key="katello", oauth_nonce="kG7TUi0qquTDwGia2fmcP3CedrSCgnesEudhLQQUEY", oauth_signature="Gbdh0Gt0mqHgmmhxmD8CVihHVlg%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1346291312", oauth_version="1.0"
|
|
365
|
+
response:
|
|
366
|
+
status:
|
|
367
|
+
code: 200
|
|
368
|
+
message: OK
|
|
369
|
+
headers:
|
|
370
|
+
Date:
|
|
371
|
+
- Thu, 30 Aug 2012 01:48:32 GMT
|
|
372
|
+
Connection:
|
|
373
|
+
- close
|
|
374
|
+
Server:
|
|
375
|
+
- Apache/2.2.22 (Fedora)
|
|
376
|
+
Content-Type:
|
|
377
|
+
- application/json
|
|
378
|
+
Content-Length:
|
|
379
|
+
- "537"
|
|
380
|
+
body:
|
|
381
|
+
string: "{\"consumer_cert\": null, \"consumer_ca\": null, \"id\": \"integration_test_id\", \"repomd_xml_path\": \"/var/lib/pulp//repos/integration_test_id/repodata/repomd.xml\", \"preserve_metadata\": false, \"group_xml_path\": \"\", \"publish\": true, \"relative_path\": \"integration_test_id\", \"arch\": \"noarch\", \"group_gz_xml_path\": \"\", \"feed_cert\": null, \"name\": \"updated_integration_test_id\", \"feed_ca\": null, \"content_types\": \"yum\", \"_ns\": \"repos\", \"release\": null, \"checksum_type\": \"sha256\", \"sync_options\": {}, \"_id\": \"integration_test_id\", \"packages_dir\": null}"
|
|
382
|
+
http_version:
|
|
383
|
+
recorded_at: Thu, 30 Aug 2012 01:48:33 GMT
|
|
384
|
+
- request:
|
|
385
|
+
method: post
|
|
386
|
+
uri: https://localhost/pulp/api/repositories/integration_test_id/clone/
|
|
387
|
+
body:
|
|
388
|
+
string: "{\"clone_name\":\"integration_test_id_clone\",\"groupid\":null,\"relative_path\":null,\"feed\":\"parent\",\"clone_id\":\"integration_test_id_clone\",\"filters\":[]}"
|
|
389
|
+
headers:
|
|
390
|
+
Accept:
|
|
391
|
+
- "*/*; q=0.5, application/xml"
|
|
392
|
+
Accept-Language:
|
|
393
|
+
- en
|
|
394
|
+
Accept-Encoding:
|
|
395
|
+
- gzip, deflate
|
|
396
|
+
Content-Type:
|
|
397
|
+
- application/json
|
|
398
|
+
Pulp-User:
|
|
399
|
+
- admin
|
|
400
|
+
Content-Length:
|
|
401
|
+
- "146"
|
|
402
|
+
Authorization:
|
|
403
|
+
- OAuth oauth_body_hash="2jmj7l5rSw0yVb%2FvlWAYkK%2FYBwk%3D", oauth_consumer_key="katello", oauth_nonce="uYaVVzbG6H2syq0pvKlT6zGUwUETORHPjZ5Rv6zVUqA", oauth_signature="xJbSerYFuhkaSsMGAfnA8MgFw94%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1346291323", oauth_version="1.0"
|
|
404
|
+
response:
|
|
405
|
+
status:
|
|
406
|
+
code: 202
|
|
407
|
+
message: Accepted
|
|
408
|
+
headers:
|
|
409
|
+
Date:
|
|
410
|
+
- Thu, 30 Aug 2012 01:48:43 GMT
|
|
411
|
+
Connection:
|
|
412
|
+
- close
|
|
413
|
+
Server:
|
|
414
|
+
- Apache/2.2.22 (Fedora)
|
|
415
|
+
Content-Type:
|
|
416
|
+
- application/json
|
|
417
|
+
Content-Length:
|
|
418
|
+
- "347"
|
|
419
|
+
body:
|
|
420
|
+
string: "{\"scheduled_time\": \"2012-08-30T01:48:44Z\", \"exception\": null, \"traceback\": null, \"job_id\": null, \"class_name\": null, \"start_time\": null, \"args\": [\"integration_test_id_clone\"], \"method_name\": \"_clone\", \"finish_time\": null, \"state\": \"waiting\", \"result\": null, \"scheduler\": \"immediate\", \"progress\": null, \"id\": \"d526184a-f244-11e1-968c-bc305bcab086\"}"
|
|
421
|
+
http_version:
|
|
422
|
+
recorded_at: Thu, 30 Aug 2012 01:48:44 GMT
|
|
423
|
+
- request:
|
|
424
|
+
method: post
|
|
425
|
+
uri: https://localhost/pulp/api/repositories/integration_test_id/add_package/
|
|
426
|
+
body:
|
|
427
|
+
string: "{\"packageid\":[]}"
|
|
428
|
+
headers:
|
|
429
|
+
Accept:
|
|
430
|
+
- "*/*; q=0.5, application/xml"
|
|
431
|
+
Accept-Language:
|
|
432
|
+
- en
|
|
433
|
+
Accept-Encoding:
|
|
434
|
+
- gzip, deflate
|
|
435
|
+
Content-Type:
|
|
436
|
+
- application/json
|
|
437
|
+
Pulp-User:
|
|
438
|
+
- admin
|
|
439
|
+
Content-Length:
|
|
440
|
+
- "16"
|
|
441
|
+
Authorization:
|
|
442
|
+
- OAuth oauth_body_hash="2jmj7l5rSw0yVb%2FvlWAYkK%2FYBwk%3D", oauth_consumer_key="katello", oauth_nonce="VbD7wjrgRm6K3nTDTb91e40GDzf5k93FYRe7BlStQ", oauth_signature="kjC1R1Yb7qD4KWnzWWufNjtOYug%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1346291340", oauth_version="1.0"
|
|
443
|
+
response:
|
|
444
|
+
status:
|
|
445
|
+
code: 200
|
|
446
|
+
message: OK
|
|
447
|
+
headers:
|
|
448
|
+
Date:
|
|
449
|
+
- Thu, 30 Aug 2012 01:49:00 GMT
|
|
450
|
+
Connection:
|
|
451
|
+
- close
|
|
452
|
+
Server:
|
|
453
|
+
- Apache/2.2.22 (Fedora)
|
|
454
|
+
Content-Type:
|
|
455
|
+
- application/json
|
|
456
|
+
Content-Length:
|
|
457
|
+
- "7"
|
|
458
|
+
body:
|
|
459
|
+
string: "[[], 0]"
|
|
460
|
+
http_version:
|
|
461
|
+
recorded_at: Thu, 30 Aug 2012 01:49:01 GMT
|
|
462
|
+
- request:
|
|
463
|
+
method: post
|
|
464
|
+
uri: https://localhost/pulp/api/repositories/integration_test_id/add_distribution/
|
|
465
|
+
body:
|
|
466
|
+
string: "{\"distributionid\":\"ks-Test Family-TestVariant-16-x86_64\"}"
|
|
467
|
+
headers:
|
|
468
|
+
Accept:
|
|
469
|
+
- "*/*; q=0.5, application/xml"
|
|
470
|
+
Accept-Language:
|
|
471
|
+
- en
|
|
472
|
+
Accept-Encoding:
|
|
473
|
+
- gzip, deflate
|
|
474
|
+
Content-Type:
|
|
475
|
+
- application/json
|
|
476
|
+
Pulp-User:
|
|
477
|
+
- admin
|
|
478
|
+
Content-Length:
|
|
479
|
+
- "57"
|
|
480
|
+
Authorization:
|
|
481
|
+
- OAuth oauth_body_hash="2jmj7l5rSw0yVb%2FvlWAYkK%2FYBwk%3D", oauth_consumer_key="katello", oauth_nonce="MtZay4D1wcGabtEA4nGhr3pJ9BCkGDQN4zhIgHcNmw", oauth_signature="6xhUUeh%2BQKBshvlVqRPBr%2Frpdpk%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1346291341", oauth_version="1.0"
|
|
482
|
+
response:
|
|
483
|
+
status:
|
|
484
|
+
code: 200
|
|
485
|
+
message: OK
|
|
486
|
+
headers:
|
|
487
|
+
Date:
|
|
488
|
+
- Thu, 30 Aug 2012 01:49:01 GMT
|
|
489
|
+
Connection:
|
|
490
|
+
- close
|
|
491
|
+
Server:
|
|
492
|
+
- Apache/2.2.22 (Fedora)
|
|
493
|
+
Content-Type:
|
|
494
|
+
- application/json
|
|
495
|
+
Content-Length:
|
|
496
|
+
- "4"
|
|
497
|
+
body:
|
|
498
|
+
string: "true"
|
|
499
|
+
http_version:
|
|
500
|
+
recorded_at: Thu, 30 Aug 2012 01:49:01 GMT
|
|
501
|
+
- request:
|
|
502
|
+
method: get
|
|
503
|
+
uri: https://localhost/pulp/api/repositories/integration_test_id/history/sync/
|
|
504
|
+
body:
|
|
505
|
+
string: ""
|
|
506
|
+
headers:
|
|
507
|
+
Accept:
|
|
508
|
+
- "*/*; q=0.5, application/xml"
|
|
509
|
+
Accept-Language:
|
|
510
|
+
- en
|
|
511
|
+
Accept-Encoding:
|
|
512
|
+
- gzip, deflate
|
|
513
|
+
Content-Type:
|
|
514
|
+
- application/json
|
|
515
|
+
Pulp-User:
|
|
516
|
+
- admin
|
|
517
|
+
Authorization:
|
|
518
|
+
- OAuth oauth_consumer_key="katello", oauth_nonce="83CKFm5S5l8WqzabnyGKfpK6mYxkqlrgwZUiuCEXY", oauth_signature="FZgX5MfHocNAN4%2Fq64fGUTXzBwQ%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1346291341", oauth_version="1.0"
|
|
519
|
+
response:
|
|
520
|
+
status:
|
|
521
|
+
code: 200
|
|
522
|
+
message: OK
|
|
523
|
+
headers:
|
|
524
|
+
Date:
|
|
525
|
+
- Thu, 30 Aug 2012 01:49:01 GMT
|
|
526
|
+
Connection:
|
|
527
|
+
- close
|
|
528
|
+
Server:
|
|
529
|
+
- Apache/2.2.22 (Fedora)
|
|
530
|
+
Content-Type:
|
|
531
|
+
- application/json
|
|
532
|
+
Content-Length:
|
|
533
|
+
- "1382"
|
|
534
|
+
body:
|
|
535
|
+
string: "[{\"scheduled_time\": \"2012-08-30T01:48:56Z\", \"exception\": null, \"task_type\": \"RepoSyncTask\", \"job_id\": null, \"args\": [\"integration_test_id\"], \"class_name\": null, \"_ns\": \"task_history\", \"start_time\": \"2012-08-29T21:48:56-04:00\", \"traceback\": null, \"task_string\": \"Task dc45704c-f244-11e1-853a-bc305bcab086: _sync(integration_test_id, synchronizer=<pulp.server.api.synchronizers.YumSynchronizer object at 0x7f2d4c16e450>, skip={}, max_speed=None, threads=4, progress_callback=<bound method RepoSyncTask.progress_callback of <pulp.server.api.repo_sync_task.RepoSyncTask object at 0x7f2d4c16e710>>)\", \"method_name\": \"_sync\", \"finish_time\": \"2012-08-29T21:48:58-04:00\", \"state\": \"finished\", \"result\": true, \"kwargs\": {\"skip\": {}, \"max_speed\": null, \"threads\": 4}, \"progress\": {\"status\": \"running\", \"num_success\": 10, \"size_total\": 17872, \"num_download\": 2, \"item_name\": \"\", \"items_left\": 0, \"items_total\": 10, \"item_type\": \"\", \"step\": \"Running Createrepo\", \"size_left\": 0, \"details\": {\"tree_file\": {\"num_success\": 2, \"total_count\": 2, \"items_left\": 0, \"size_left\": 0, \"num_error\": 0, \"total_size_bytes\": 0}, \"rpm\": {\"num_success\": 8, \"total_count\": 8, \"items_left\": 0, \"size_left\": 0, \"num_error\": 0, \"total_size_bytes\": 17872}}, \"error_details\": [], \"num_error\": 0}, \"_id\": \"55399d9b-e4d5-43ac-8664-e9e0700e6106\", \"consecutive_failures\": 0, \"id\": \"dc45704c-f244-11e1-853a-bc305bcab086\"}]"
|
|
536
|
+
http_version:
|
|
537
|
+
recorded_at: Thu, 30 Aug 2012 01:49:01 GMT
|
|
538
|
+
- request:
|
|
539
|
+
method: get
|
|
540
|
+
uri: https://localhost/pulp/api/repositories/integration_test_id/packages/?name=%5Echeetah$
|
|
541
|
+
body:
|
|
542
|
+
string: ""
|
|
543
|
+
headers:
|
|
544
|
+
Accept:
|
|
545
|
+
- "*/*; q=0.5, application/xml"
|
|
546
|
+
Accept-Language:
|
|
547
|
+
- en
|
|
548
|
+
Accept-Encoding:
|
|
549
|
+
- gzip, deflate
|
|
550
|
+
Content-Type:
|
|
551
|
+
- application/json
|
|
552
|
+
Pulp-User:
|
|
553
|
+
- admin
|
|
554
|
+
Authorization:
|
|
555
|
+
- OAuth oauth_consumer_key="katello", oauth_nonce="O6q7oWQDO2Is8eHwVa7xfkUnJ7rLWwlc1VrHpAC0", oauth_signature="VD4kDr%2BVE5kFS5XLx8mDdiboFMc%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1346291341", oauth_version="1.0"
|
|
556
|
+
response:
|
|
557
|
+
status:
|
|
558
|
+
code: 200
|
|
559
|
+
message: OK
|
|
560
|
+
headers:
|
|
561
|
+
Date:
|
|
562
|
+
- Thu, 30 Aug 2012 01:49:01 GMT
|
|
563
|
+
Connection:
|
|
564
|
+
- close
|
|
565
|
+
Server:
|
|
566
|
+
- Apache/2.2.22 (Fedora)
|
|
567
|
+
Content-Type:
|
|
568
|
+
- application/json
|
|
569
|
+
Content-Length:
|
|
570
|
+
- "709"
|
|
571
|
+
body:
|
|
572
|
+
string: "[{\"size\": 2232, \"license\": \"GPLv2\", \"vendor\": \"\", \"name\": \"cheetah\", \"repo_defined\": true, \"buildhost\": \"dhcp-26-118.brq.redhat.com\", \"checksum\": {\"sha256\": \"422d0baa0cd9d7713ae796e886a23e17f578f924f74880debdbb7d65fb368dae\"}, \"requires\": [\"/bin/sh\"], \"epoch\": \"0\", \"download_url\": \"https://localhost//pulp/repos/integration_test_id/cheetah-0.3-0.8.noarch.rpm\", \"filename\": \"cheetah-0.3-0.8.noarch.rpm\", \"repoids\": [\"integration_test_id\"], \"version\": \"0.3\", \"provides\": [\"cheetah\"], \"_ns\": \"packages\", \"release\": \"0.8\", \"group\": \"Internet/Applications\", \"_id\": \"a5c8cb09-d8b6-45e5-aa46-db17e43dd876\", \"arch\": \"noarch\", \"id\": \"a5c8cb09-d8b6-45e5-aa46-db17e43dd876\", \"description\": \"A dummy package of cheetah\"}]"
|
|
573
|
+
http_version:
|
|
574
|
+
recorded_at: Thu, 30 Aug 2012 01:49:01 GMT
|
|
575
|
+
- request:
|
|
576
|
+
method: post
|
|
577
|
+
uri: https://localhost/pulp/api/repositories/integration_test_id/add_errata/
|
|
578
|
+
body:
|
|
579
|
+
string: "{\"errataid\":[\"RHEA-2010:0002\"]}"
|
|
580
|
+
headers:
|
|
581
|
+
Accept:
|
|
582
|
+
- "*/*; q=0.5, application/xml"
|
|
583
|
+
Accept-Language:
|
|
584
|
+
- en
|
|
585
|
+
Accept-Encoding:
|
|
586
|
+
- gzip, deflate
|
|
587
|
+
Content-Type:
|
|
588
|
+
- application/json
|
|
589
|
+
Pulp-User:
|
|
590
|
+
- admin
|
|
591
|
+
Content-Length:
|
|
592
|
+
- "31"
|
|
593
|
+
Authorization:
|
|
594
|
+
- OAuth oauth_body_hash="2jmj7l5rSw0yVb%2FvlWAYkK%2FYBwk%3D", oauth_consumer_key="katello", oauth_nonce="EtojcUI0hO5c2AK9lo1C7UxdIbZ1IVcksQEdHYdXZ4", oauth_signature="SVNgxZVOfXQhKGYK0fsZ09YS2ak%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1346291341", oauth_version="1.0"
|
|
595
|
+
response:
|
|
596
|
+
status:
|
|
597
|
+
code: 200
|
|
598
|
+
message: OK
|
|
599
|
+
headers:
|
|
600
|
+
Date:
|
|
601
|
+
- Thu, 30 Aug 2012 01:49:01 GMT
|
|
602
|
+
Connection:
|
|
603
|
+
- close
|
|
604
|
+
Server:
|
|
605
|
+
- Apache/2.2.22 (Fedora)
|
|
606
|
+
Content-Type:
|
|
607
|
+
- application/json
|
|
608
|
+
Content-Length:
|
|
609
|
+
- "2"
|
|
610
|
+
body:
|
|
611
|
+
string: "[]"
|
|
612
|
+
http_version:
|
|
613
|
+
recorded_at: Thu, 30 Aug 2012 01:49:02 GMT
|
|
614
|
+
- request:
|
|
615
|
+
method: get
|
|
616
|
+
uri: https://localhost/pulp/api/repositories/integration_test_id/errata/?
|
|
617
|
+
body:
|
|
618
|
+
string: ""
|
|
619
|
+
headers:
|
|
620
|
+
Accept:
|
|
621
|
+
- "*/*; q=0.5, application/xml"
|
|
622
|
+
Accept-Language:
|
|
623
|
+
- en
|
|
624
|
+
Accept-Encoding:
|
|
625
|
+
- gzip, deflate
|
|
626
|
+
Content-Type:
|
|
627
|
+
- application/json
|
|
628
|
+
Pulp-User:
|
|
629
|
+
- admin
|
|
630
|
+
Authorization:
|
|
631
|
+
- OAuth oauth_consumer_key="katello", oauth_nonce="O4LxvkvKLSCHBOcz6geoeXDDA7hJIcwlfUmm98cY", oauth_signature="dgcOx3eUpcygyaZAAEE1bz1F%2FcA%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1346291342", oauth_version="1.0"
|
|
632
|
+
response:
|
|
633
|
+
status:
|
|
634
|
+
code: 200
|
|
635
|
+
message: OK
|
|
636
|
+
headers:
|
|
637
|
+
Date:
|
|
638
|
+
- Thu, 30 Aug 2012 01:49:02 GMT
|
|
639
|
+
Connection:
|
|
640
|
+
- close
|
|
641
|
+
Server:
|
|
642
|
+
- Apache/2.2.22 (Fedora)
|
|
643
|
+
Content-Type:
|
|
644
|
+
- application/json
|
|
645
|
+
Content-Length:
|
|
646
|
+
- "302"
|
|
647
|
+
body:
|
|
648
|
+
string: "[{\"repoids\": [\"integration_test_id\"], \"title\": \"Empty errata\", \"_id\": \"RHEA-2010:0001\", \"type\": \"security\", \"id\": \"RHEA-2010:0001\", \"severity\": \"\"}, {\"repoids\": [\"integration_test_id\"], \"title\": \"One package errata\", \"_id\": \"RHEA-2010:0002\", \"type\": \"security\", \"id\": \"RHEA-2010:0002\", \"severity\": \"\"}]"
|
|
649
|
+
http_version:
|
|
650
|
+
recorded_at: Thu, 30 Aug 2012 01:49:02 GMT
|
|
651
|
+
- request:
|
|
652
|
+
method: get
|
|
653
|
+
uri: https://localhost/pulp/api/repositories/integration_test_id/packages/?epoch=&name=%5Echeetah$&release=0.8&version=0.3
|
|
654
|
+
body:
|
|
655
|
+
string: ""
|
|
656
|
+
headers:
|
|
657
|
+
Accept:
|
|
658
|
+
- "*/*; q=0.5, application/xml"
|
|
659
|
+
Accept-Language:
|
|
660
|
+
- en
|
|
661
|
+
Accept-Encoding:
|
|
662
|
+
- gzip, deflate
|
|
663
|
+
Content-Type:
|
|
664
|
+
- application/json
|
|
665
|
+
Pulp-User:
|
|
666
|
+
- admin
|
|
667
|
+
Authorization:
|
|
668
|
+
- OAuth oauth_consumer_key="katello", oauth_nonce="5rAA69n7yDPi3vsCw3GvaSMJLJRpEw6UuE5QRF2zM", oauth_signature="9cF3twttS1pz%2Fq1hs57ftrZ1SwA%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1346291342", oauth_version="1.0"
|
|
669
|
+
response:
|
|
670
|
+
status:
|
|
671
|
+
code: 200
|
|
672
|
+
message: OK
|
|
673
|
+
headers:
|
|
674
|
+
Date:
|
|
675
|
+
- Thu, 30 Aug 2012 01:49:02 GMT
|
|
676
|
+
Connection:
|
|
677
|
+
- close
|
|
678
|
+
Server:
|
|
679
|
+
- Apache/2.2.22 (Fedora)
|
|
680
|
+
Content-Type:
|
|
681
|
+
- application/json
|
|
682
|
+
Content-Length:
|
|
683
|
+
- "709"
|
|
684
|
+
body:
|
|
685
|
+
string: "[{\"size\": 2232, \"license\": \"GPLv2\", \"vendor\": \"\", \"name\": \"cheetah\", \"repo_defined\": true, \"buildhost\": \"dhcp-26-118.brq.redhat.com\", \"checksum\": {\"sha256\": \"422d0baa0cd9d7713ae796e886a23e17f578f924f74880debdbb7d65fb368dae\"}, \"requires\": [\"/bin/sh\"], \"epoch\": \"0\", \"download_url\": \"https://localhost//pulp/repos/integration_test_id/cheetah-0.3-0.8.noarch.rpm\", \"filename\": \"cheetah-0.3-0.8.noarch.rpm\", \"repoids\": [\"integration_test_id\"], \"version\": \"0.3\", \"provides\": [\"cheetah\"], \"_ns\": \"packages\", \"release\": \"0.8\", \"group\": \"Internet/Applications\", \"_id\": \"a5c8cb09-d8b6-45e5-aa46-db17e43dd876\", \"arch\": \"noarch\", \"id\": \"a5c8cb09-d8b6-45e5-aa46-db17e43dd876\", \"description\": \"A dummy package of cheetah\"}]"
|
|
686
|
+
http_version:
|
|
687
|
+
recorded_at: Thu, 30 Aug 2012 01:49:02 GMT
|
|
688
|
+
- request:
|
|
689
|
+
method: get
|
|
690
|
+
uri: https://localhost/pulp/api/repositories/integration_test_id/errata/?type=security
|
|
691
|
+
body:
|
|
692
|
+
string: ""
|
|
693
|
+
headers:
|
|
694
|
+
Accept:
|
|
695
|
+
- "*/*; q=0.5, application/xml"
|
|
696
|
+
Accept-Language:
|
|
697
|
+
- en
|
|
698
|
+
Accept-Encoding:
|
|
699
|
+
- gzip, deflate
|
|
700
|
+
Content-Type:
|
|
701
|
+
- application/json
|
|
702
|
+
Pulp-User:
|
|
703
|
+
- admin
|
|
704
|
+
Authorization:
|
|
705
|
+
- OAuth oauth_consumer_key="katello", oauth_nonce="4ZL5SVKBbCVrSIMwRu9aYpB8k0xXj9K8foadDqRyw", oauth_signature="IiOpX86U462x3cO0nZTqNz02Ico%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1346291343", oauth_version="1.0"
|
|
706
|
+
response:
|
|
707
|
+
status:
|
|
708
|
+
code: 200
|
|
709
|
+
message: OK
|
|
710
|
+
headers:
|
|
711
|
+
Date:
|
|
712
|
+
- Thu, 30 Aug 2012 01:49:03 GMT
|
|
713
|
+
Connection:
|
|
714
|
+
- close
|
|
715
|
+
Server:
|
|
716
|
+
- Apache/2.2.22 (Fedora)
|
|
717
|
+
Content-Type:
|
|
718
|
+
- application/json
|
|
719
|
+
Content-Length:
|
|
720
|
+
- "302"
|
|
721
|
+
body:
|
|
722
|
+
string: "[{\"repoids\": [\"integration_test_id\"], \"title\": \"Empty errata\", \"_id\": \"RHEA-2010:0001\", \"type\": \"security\", \"id\": \"RHEA-2010:0001\", \"severity\": \"\"}, {\"repoids\": [\"integration_test_id\"], \"title\": \"One package errata\", \"_id\": \"RHEA-2010:0002\", \"type\": \"security\", \"id\": \"RHEA-2010:0002\", \"severity\": \"\"}]"
|
|
723
|
+
http_version:
|
|
724
|
+
recorded_at: Thu, 30 Aug 2012 01:49:03 GMT
|
|
725
|
+
- request:
|
|
726
|
+
method: get
|
|
727
|
+
uri: https://localhost/pulp/api/repositories/integration_test_id/packages/
|
|
728
|
+
body:
|
|
729
|
+
string: ""
|
|
730
|
+
headers:
|
|
731
|
+
Accept:
|
|
732
|
+
- "*/*; q=0.5, application/xml"
|
|
733
|
+
Accept-Language:
|
|
734
|
+
- en
|
|
735
|
+
Accept-Encoding:
|
|
736
|
+
- gzip, deflate
|
|
737
|
+
Content-Type:
|
|
738
|
+
- application/json
|
|
739
|
+
Pulp-User:
|
|
740
|
+
- admin
|
|
741
|
+
Authorization:
|
|
742
|
+
- OAuth oauth_consumer_key="katello", oauth_nonce="ER7qNPm2kVuS7fzKq5oKbO7klrfAbGpcCI9fh01xLsM", oauth_signature="TRljGOukwuLN%2FiQyBFkALU70%2B3Q%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1346291343", oauth_version="1.0"
|
|
743
|
+
response:
|
|
744
|
+
status:
|
|
745
|
+
code: 200
|
|
746
|
+
message: OK
|
|
747
|
+
headers:
|
|
748
|
+
Date:
|
|
749
|
+
- Thu, 30 Aug 2012 01:49:03 GMT
|
|
750
|
+
Connection:
|
|
751
|
+
- close
|
|
752
|
+
Server:
|
|
753
|
+
- Apache/2.2.22 (Fedora)
|
|
754
|
+
Content-Type:
|
|
755
|
+
- application/json
|
|
756
|
+
Content-Length:
|
|
757
|
+
- "5927"
|
|
758
|
+
body:
|
|
759
|
+
string: "[{\"size\": 2232, \"license\": \"GPLv2\", \"vendor\": \"\", \"name\": \"monkey\", \"repo_defined\": true, \"buildhost\": \"dhcp-26-118.brq.redhat.com\", \"checksum\": {\"sha256\": \"0e8fa50d0128fbabc7ccc5632e3fa25d39b0280169f6166cb8e2c84de8501db1\"}, \"requires\": [\"/bin/sh\"], \"epoch\": \"0\", \"download_url\": \"https://localhost//pulp/repos/integration_test_id/monkey-0.3-0.8.noarch.rpm\", \"filename\": \"monkey-0.3-0.8.noarch.rpm\", \"repoids\": [\"ACME_Corporation-Fake_Repos-New_Local_Zoo\", \"integration_test_id\"], \"version\": \"0.3\", \"provides\": [\"monkey\"], \"_ns\": \"packages\", \"release\": \"0.8\", \"group\": \"Internet/Applications\", \"_id\": \"06e63d90-0c7b-4682-a03c-1e8ad8b7a0f0\", \"arch\": \"noarch\", \"id\": \"06e63d90-0c7b-4682-a03c-1e8ad8b7a0f0\", \"description\": \"A dummy package of monkey\"}, {\"size\": 2232, \"license\": \"GPLv2\", \"vendor\": \"\", \"name\": \"penguin\", \"repo_defined\": true, \"buildhost\": \"dhcp-26-118.brq.redhat.com\", \"checksum\": {\"sha256\": \"3fcb2c927de9e13bf68469032a28b139d3e5ad2e58564fc210fd6e48635be694\"}, \"requires\": [\"/bin/sh\"], \"epoch\": \"0\", \"download_url\": \"https://localhost//pulp/repos/integration_test_id/penguin-0.3-0.8.noarch.rpm\", \"filename\": \"penguin-0.3-0.8.noarch.rpm\", \"repoids\": [\"ACME_Corporation-Fake_Repos-New_Local_Zoo\", \"integration_test_id\"], \"version\": \"0.3\", \"provides\": [\"penguin\"], \"_ns\": \"packages\", \"release\": \"0.8\", \"group\": \"Internet/Applications\", \"_id\": \"8946434e-9163-4a81-8952-6b0c82cc5bd5\", \"arch\": \"noarch\", \"id\": \"8946434e-9163-4a81-8952-6b0c82cc5bd5\", \"description\": \"A dummy package of penguin\"}, {\"size\": 2236, \"license\": \"GPLv2\", \"vendor\": \"\", \"name\": \"walrus\", \"repo_defined\": true, \"buildhost\": \"dhcp-26-118.brq.redhat.com\", \"checksum\": {\"sha256\": \"6e8d6dc057e3e2c9819f0dc7e6c7b7f86bf2e8571bba414adec7fb621a461dfd\"}, \"requires\": [\"/bin/sh\"], \"epoch\": \"0\", \"download_url\": \"https://localhost//pulp/repos/integration_test_id/walrus-0.3-0.8.noarch.rpm\", \"filename\": \"walrus-0.3-0.8.noarch.rpm\", \"repoids\": [\"ACME_Corporation-Fake_Repos-New_Local_Zoo\", \"integration_test_id\"], \"version\": \"0.3\", \"provides\": [\"walrus\"], \"_ns\": \"packages\", \"release\": \"0.8\", \"group\": \"Internet/Applications\", \"_id\": \"67d3c921-9925-4b00-9e92-9e31aa79eef3\", \"arch\": \"noarch\", \"id\": \"67d3c921-9925-4b00-9e92-9e31aa79eef3\", \"description\": \"A dummy package of walrus\"}, {\"size\": 2236, \"license\": \"GPLv2\", \"vendor\": \"\", \"name\": \"giraffe\", \"repo_defined\": true, \"buildhost\": \"dhcp-26-118.brq.redhat.com\", \"checksum\": {\"sha256\": \"f25d67d1d9da04f12e57ca323247b43891ac46533e355b82de6d1922009f9f14\"}, \"requires\": [\"/bin/sh\"], \"epoch\": \"0\", \"download_url\": \"https://localhost//pulp/repos/integration_test_id/giraffe-0.3-0.8.noarch.rpm\", \"filename\": \"giraffe-0.3-0.8.noarch.rpm\", \"repoids\": [\"ACME_Corporation-Fake_Repos-New_Local_Zoo\", \"integration_test_id\"], \"version\": \"0.3\", \"provides\": [\"giraffe\"], \"_ns\": \"packages\", \"release\": \"0.8\", \"group\": \"Internet/Applications\", \"_id\": \"01bada37-59e6-4854-9fdb-d60751f99b6b\", \"arch\": \"noarch\", \"id\": \"01bada37-59e6-4854-9fdb-d60751f99b6b\", \"description\": \"A dummy package of giraffe\"}, {\"size\": 2212, \"license\": \"GPLv2\", \"vendor\": \"\", \"name\": \"lion\", \"repo_defined\": true, \"buildhost\": \"dhcp-26-118.brq.redhat.com\", \"checksum\": {\"sha256\": \"12400dc95c23a4c160725a908716cd3fcdd7a8981585437ab64cd62efa3e4ae4\"}, \"requires\": [\"/bin/sh\"], \"epoch\": \"0\", \"download_url\": \"https://localhost//pulp/repos/integration_test_id/lion-0.3-0.8.noarch.rpm\", \"filename\": \"lion-0.3-0.8.noarch.rpm\", \"repoids\": [\"ACME_Corporation-Fake_Repos-New_Local_Zoo\", \"integration_test_id\"], \"version\": \"0.3\", \"provides\": [\"lion\"], \"_ns\": \"packages\", \"release\": \"0.8\", \"group\": \"Internet/Applications\", \"_id\": \"0797c09b-8ec9-4efc-9468-0a0f6c0cdbde\", \"arch\": \"noarch\", \"id\": \"0797c09b-8ec9-4efc-9468-0a0f6c0cdbde\", \"description\": \"A dummy package of lion\"}, {\"size\": 2248, \"license\": \"GPLv2\", \"vendor\": \"\", \"name\": \"squirrel\", \"repo_defined\": true, \"buildhost\": \"dhcp-26-118.brq.redhat.com\", \"checksum\": {\"sha256\": \"251768bdd15f13d78487c27638aa6aecd01551e253756093cde1c0ae878a17d2\"}, \"requires\": [\"/bin/sh\"], \"epoch\": \"0\", \"download_url\": \"https://localhost//pulp/repos/integration_test_id/squirrel-0.3-0.8.noarch.rpm\", \"filename\": \"squirrel-0.3-0.8.noarch.rpm\", \"repoids\": [\"ACME_Corporation-Fake_Repos-New_Local_Zoo\", \"integration_test_id\"], \"version\": \"0.3\", \"provides\": [\"squirrel\"], \"_ns\": \"packages\", \"release\": \"0.8\", \"group\": \"Internet/Applications\", \"_id\": \"963d5443-320a-4b80-b55c-c48b02197aa8\", \"arch\": \"noarch\", \"id\": \"963d5443-320a-4b80-b55c-c48b02197aa8\", \"description\": \"A dummy package of squirrel\"}, {\"size\": 2232, \"license\": \"GPLv2\", \"vendor\": \"\", \"name\": \"cheetah\", \"repo_defined\": true, \"buildhost\": \"dhcp-26-118.brq.redhat.com\", \"checksum\": {\"sha256\": \"422d0baa0cd9d7713ae796e886a23e17f578f924f74880debdbb7d65fb368dae\"}, \"requires\": [\"/bin/sh\"], \"epoch\": \"0\", \"download_url\": \"https://localhost//pulp/repos/integration_test_id/cheetah-0.3-0.8.noarch.rpm\", \"filename\": \"cheetah-0.3-0.8.noarch.rpm\", \"repoids\": [\"integration_test_id\"], \"version\": \"0.3\", \"provides\": [\"cheetah\"], \"_ns\": \"packages\", \"release\": \"0.8\", \"group\": \"Internet/Applications\", \"_id\": \"a5c8cb09-d8b6-45e5-aa46-db17e43dd876\", \"arch\": \"noarch\", \"id\": \"a5c8cb09-d8b6-45e5-aa46-db17e43dd876\", \"description\": \"A dummy package of cheetah\"}, {\"size\": 2244, \"license\": \"GPLv2\", \"vendor\": \"\", \"name\": \"elephant\", \"repo_defined\": true, \"buildhost\": \"dhcp-26-118.brq.redhat.com\", \"checksum\": {\"sha256\": \"3e1c70cd1b421328acaf6397cb3d16145306bb95f65d1b095fc31372a0a701f3\"}, \"requires\": [\"/bin/sh\"], \"epoch\": \"0\", \"download_url\": \"https://localhost//pulp/repos/integration_test_id/elephant-0.3-0.8.noarch.rpm\", \"filename\": \"elephant-0.3-0.8.noarch.rpm\", \"repoids\": [\"integration_test_id\"], \"version\": \"0.3\", \"provides\": [\"elephant\"], \"_ns\": \"packages\", \"release\": \"0.8\", \"group\": \"Internet/Applications\", \"_id\": \"d8619c68-ae5a-4c21-963f-20b0e5f64105\", \"arch\": \"noarch\", \"id\": \"d8619c68-ae5a-4c21-963f-20b0e5f64105\", \"description\": \"A dummy package of elephant\"}]"
|
|
760
|
+
http_version:
|
|
761
|
+
recorded_at: Thu, 30 Aug 2012 01:49:03 GMT
|
|
762
|
+
- request:
|
|
763
|
+
method: get
|
|
764
|
+
uri: https://localhost/pulp/api/repositories/integration_test_id/distribution/
|
|
765
|
+
body:
|
|
766
|
+
string: ""
|
|
767
|
+
headers:
|
|
768
|
+
Accept:
|
|
769
|
+
- "*/*; q=0.5, application/xml"
|
|
770
|
+
Accept-Language:
|
|
771
|
+
- en
|
|
772
|
+
Accept-Encoding:
|
|
773
|
+
- gzip, deflate
|
|
774
|
+
Content-Type:
|
|
775
|
+
- application/json
|
|
776
|
+
Pulp-User:
|
|
777
|
+
- admin
|
|
778
|
+
Authorization:
|
|
779
|
+
- OAuth oauth_consumer_key="katello", oauth_nonce="1t9bOcp7G7MNCYe9viPEmPU079RGd9kJFoRHSl177w", oauth_signature="1f%2BcoYYvCADfHTRY0NVH%2BoLJri8%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1346291343", oauth_version="1.0"
|
|
780
|
+
response:
|
|
781
|
+
status:
|
|
782
|
+
code: 200
|
|
783
|
+
message: OK
|
|
784
|
+
headers:
|
|
785
|
+
Date:
|
|
786
|
+
- Thu, 30 Aug 2012 01:49:03 GMT
|
|
787
|
+
Connection:
|
|
788
|
+
- close
|
|
789
|
+
Server:
|
|
790
|
+
- Apache/2.2.22 (Fedora)
|
|
791
|
+
Content-Type:
|
|
792
|
+
- application/json
|
|
793
|
+
Content-Length:
|
|
794
|
+
- "1744"
|
|
795
|
+
body:
|
|
796
|
+
string: "[{\"files\": [\"/var/lib/pulp/distributions/ks-Test Family-TestVariant-16-x86_64/.treeinfo\", \"/var/lib/pulp/distributions/ks-Test Family-TestVariant-16-x86_64/test2.img\", \"/var/lib/pulp/distributions/ks-Test Family-TestVariant-16-x86_64/test1.img\"], \"description\": \"ks-Test Family-TestVariant-16-x86_64\", \"family\": \"Test Family\", \"url\": [\"http://localhost/pulp/ks/ACME_Corporation/Library/custom/Fake_Repos/New_Local_Zoo/\", \"http://localhost/pulp/ks/integration_test_id/\"], \"relativepath\": \"/var/lib/pulp/distributions/ks-Test Family-TestVariant-16-x86_64\", \"variant\": \"TestVariant\", \"id\": \"ks-Test Family-TestVariant-16-x86_64\", \"version\": \"16\", \"timestamp\": \"2011-12-05T14:09:13\", \"_id\": \"ks-Test Family-TestVariant-16-x86_64\", \"arch\": \"x86_64\", \"_ns\": \"distribution\", \"repoids\": [\"ACME_Corporation-Fake_Repos-New_Local_Zoo\", \"integration_test_id\", \"integration_test_id\"]}, {\"files\": [\"/var/lib/pulp/distributions/ks-Test Family-TestVariant-16-x86_64/.treeinfo\", \"/var/lib/pulp/distributions/ks-Test Family-TestVariant-16-x86_64/test2.img\", \"/var/lib/pulp/distributions/ks-Test Family-TestVariant-16-x86_64/test1.img\"], \"description\": \"ks-Test Family-TestVariant-16-x86_64\", \"family\": \"Test Family\", \"url\": [\"http://localhost/pulp/ks/ACME_Corporation/Library/custom/Fake_Repos/New_Local_Zoo/\", \"http://localhost/pulp/ks/integration_test_id/\"], \"relativepath\": \"/var/lib/pulp/distributions/ks-Test Family-TestVariant-16-x86_64\", \"variant\": \"TestVariant\", \"id\": \"ks-Test Family-TestVariant-16-x86_64\", \"version\": \"16\", \"timestamp\": \"2011-12-05T14:09:13\", \"_id\": \"ks-Test Family-TestVariant-16-x86_64\", \"arch\": \"x86_64\", \"_ns\": \"distribution\", \"repoids\": [\"ACME_Corporation-Fake_Repos-New_Local_Zoo\", \"integration_test_id\", \"integration_test_id\"]}]"
|
|
797
|
+
http_version:
|
|
798
|
+
recorded_at: Thu, 30 Aug 2012 01:49:03 GMT
|
|
799
|
+
- request:
|
|
800
|
+
method: post
|
|
801
|
+
uri: https://admin:admin@localhost/pulp/api/v2/repositories/integration_test_id/
|
|
802
|
+
body:
|
|
803
|
+
string: "{\"display_name\":\"updated_integration_test_id\"}"
|
|
804
|
+
headers:
|
|
805
|
+
Accept:
|
|
806
|
+
- application/json
|
|
807
|
+
Accept-Encoding:
|
|
808
|
+
- gzip, deflate
|
|
809
|
+
Content-Type:
|
|
810
|
+
- application/json
|
|
811
|
+
Content-Length:
|
|
812
|
+
- "46"
|
|
813
|
+
response:
|
|
814
|
+
status:
|
|
815
|
+
code: 405
|
|
816
|
+
message: Method Not Allowed
|
|
817
|
+
headers:
|
|
818
|
+
Date:
|
|
819
|
+
- Sun, 09 Sep 2012 06:36:34 GMT
|
|
820
|
+
Allow:
|
|
821
|
+
- GET, PUT, DELETE
|
|
822
|
+
Connection:
|
|
823
|
+
- close
|
|
824
|
+
Server:
|
|
825
|
+
- Apache/2.2.22 (Fedora)
|
|
826
|
+
Content-Type:
|
|
827
|
+
- text/html; charset=UTF-8
|
|
828
|
+
Content-Length:
|
|
829
|
+
- "4"
|
|
830
|
+
body:
|
|
831
|
+
string: None
|
|
832
|
+
http_version:
|
|
833
|
+
recorded_at: Sun, 09 Sep 2012 06:36:35 GMT
|
|
834
|
+
- request:
|
|
835
|
+
method: get
|
|
836
|
+
uri: https://admin:admin@localhost/pulp/api/v2/repositories/70342172656160/
|
|
837
|
+
body:
|
|
838
|
+
string: ""
|
|
839
|
+
headers:
|
|
840
|
+
Accept:
|
|
841
|
+
- application/json
|
|
842
|
+
Accept-Encoding:
|
|
843
|
+
- gzip, deflate
|
|
844
|
+
Content-Type:
|
|
845
|
+
- application/json
|
|
846
|
+
response:
|
|
847
|
+
status:
|
|
848
|
+
code: 404
|
|
849
|
+
message: Not Found
|
|
850
|
+
headers:
|
|
851
|
+
Date:
|
|
852
|
+
- Sun, 09 Sep 2012 12:40:39 GMT
|
|
853
|
+
Content-Encoding:
|
|
854
|
+
- utf-8
|
|
855
|
+
Connection:
|
|
856
|
+
- close
|
|
857
|
+
Server:
|
|
858
|
+
- Apache/2.2.22 (Fedora)
|
|
859
|
+
Content-Type:
|
|
860
|
+
- application/json
|
|
861
|
+
Content-Length:
|
|
862
|
+
- "258"
|
|
863
|
+
body:
|
|
864
|
+
string: "{\"http_request_method\": \"GET\", \"exception\": null, \"error_message\": \"Missing resource(s): resource_id=70342172656160\", \"_href\": \"/pulp/api/v2/repositories/70342172656160/\", \"http_status\": 404, \"traceback\": null, \"resources\": {\"resource_id\": \"70342172656160\"}}"
|
|
865
|
+
http_version:
|
|
866
|
+
recorded_at: Sun, 09 Sep 2012 12:40:39 GMT
|
|
867
|
+
- request:
|
|
868
|
+
method: put
|
|
869
|
+
uri: https://admin:admin@localhost/pulp/api/v2/repositories/integration_test_id/
|
|
870
|
+
body:
|
|
871
|
+
string: "{\"delta\":{\"description\":\"updated_description_integration_test_id\"}}"
|
|
872
|
+
headers:
|
|
873
|
+
Accept:
|
|
874
|
+
- application/json
|
|
875
|
+
Accept-Encoding:
|
|
876
|
+
- gzip, deflate
|
|
877
|
+
Content-Type:
|
|
878
|
+
- application/json
|
|
879
|
+
Content-Length:
|
|
880
|
+
- "67"
|
|
881
|
+
response:
|
|
882
|
+
status:
|
|
883
|
+
code: 200
|
|
884
|
+
message: OK
|
|
885
|
+
headers:
|
|
886
|
+
Date:
|
|
887
|
+
- Mon, 10 Sep 2012 05:56:41 GMT
|
|
888
|
+
Connection:
|
|
889
|
+
- close
|
|
890
|
+
Server:
|
|
891
|
+
- Apache/2.2.22 (Fedora)
|
|
892
|
+
Content-Type:
|
|
893
|
+
- application/json
|
|
894
|
+
Content-Length:
|
|
895
|
+
- "302"
|
|
896
|
+
body:
|
|
897
|
+
string: "{\"scratchpad\": {}, \"display_name\": \"integration_test_id\", \"description\": \"updated_description_integration_test_id\", \"_ns\": \"repos\", \"notes\": {}, \"content_unit_count\": 0, \"_id\": {\"$oid\": \"504d8117ec6a6d29b4000aa6\"}, \"id\": \"integration_test_id\", \"_href\": \"/pulp/api/v2/repositories/integration_test_id/\"}"
|
|
898
|
+
http_version:
|
|
899
|
+
recorded_at: Mon, 10 Sep 2012 05:56:41 GMT
|
|
900
|
+
- request:
|
|
901
|
+
method: post
|
|
902
|
+
uri: https://admin:admin@localhost/pulp/api/v2/repositories/integration_test_id/distributors/
|
|
903
|
+
body:
|
|
904
|
+
string: "{\"distributor_type_id\":\"yum_distributor\",\"distributor_config\":{\"relative_url\":\"/\",\"https\":true,\"http\":true}}"
|
|
905
|
+
headers:
|
|
906
|
+
Accept:
|
|
907
|
+
- application/json
|
|
908
|
+
Accept-Encoding:
|
|
909
|
+
- gzip, deflate
|
|
910
|
+
Content-Type:
|
|
911
|
+
- application/json
|
|
912
|
+
Content-Length:
|
|
913
|
+
- "108"
|
|
914
|
+
response:
|
|
915
|
+
status:
|
|
916
|
+
code: 201
|
|
917
|
+
message: Created
|
|
918
|
+
headers:
|
|
919
|
+
Date:
|
|
920
|
+
- Mon, 10 Sep 2012 05:56:41 GMT
|
|
921
|
+
Location:
|
|
922
|
+
- None
|
|
923
|
+
Connection:
|
|
924
|
+
- close
|
|
925
|
+
Server:
|
|
926
|
+
- Apache/2.2.22 (Fedora)
|
|
927
|
+
Content-Type:
|
|
928
|
+
- application/json
|
|
929
|
+
Content-Length:
|
|
930
|
+
- "349"
|
|
931
|
+
body:
|
|
932
|
+
string: "{\"repo_id\": \"integration_test_id\", \"_ns\": \"repo_distributors\", \"last_publish\": null, \"auto_publish\": false, \"scheduled_publishes\": [], \"distributor_type_id\": \"yum_distributor\", \"scratchpad\": null, \"_id\": {\"$oid\": \"504d8119ec6a6d29b4000ab1\"}, \"config\": {\"http\": true, \"relative_url\": \"/\", \"https\": true}, \"id\": \"fb09d8a3-1761-43b6-ac20-5aed1705b1c3\"}"
|
|
933
|
+
http_version:
|
|
934
|
+
recorded_at: Mon, 10 Sep 2012 05:56:42 GMT
|
|
935
|
+
- request:
|
|
936
|
+
method: get
|
|
937
|
+
uri: https://admin:admin@localhost/pulp/api/v2/repositories/integration_test_id/?details=true
|
|
938
|
+
body:
|
|
939
|
+
string: ""
|
|
940
|
+
headers:
|
|
941
|
+
Accept:
|
|
942
|
+
- application/json
|
|
943
|
+
Accept-Encoding:
|
|
944
|
+
- gzip, deflate
|
|
945
|
+
Content-Type:
|
|
946
|
+
- application/json
|
|
947
|
+
response:
|
|
948
|
+
status:
|
|
949
|
+
code: 200
|
|
950
|
+
message: OK
|
|
951
|
+
headers:
|
|
952
|
+
Date:
|
|
953
|
+
- Mon, 10 Sep 2012 05:56:42 GMT
|
|
954
|
+
Connection:
|
|
955
|
+
- close
|
|
956
|
+
Server:
|
|
957
|
+
- Apache/2.2.22 (Fedora)
|
|
958
|
+
Content-Type:
|
|
959
|
+
- application/json
|
|
960
|
+
Content-Length:
|
|
961
|
+
- "1022"
|
|
962
|
+
body:
|
|
963
|
+
string: "{\"scratchpad\": {}, \"display_name\": \"integration_test_id\", \"description\": \"updated_description_integration_test_id\", \"_ns\": \"repos\", \"notes\": {}, \"content_unit_count\": 0, \"_id\": {\"$oid\": \"504d8117ec6a6d29b4000aa6\"}, \"id\": \"integration_test_id\", \"_href\": \"/pulp/api/v2/repositories/integration_test_id/\", \"importers\": [{\"repo_id\": \"integration_test_id\", \"_ns\": \"repo_importers\", \"importer_type_id\": \"yum_importer\", \"last_sync\": null, \"scratchpad\": null, \"scheduled_syncs\": [], \"_id\": {\"$oid\": \"504d8117ec6a6d29b4000aa7\"}, \"config\": {\"feed_url\": \"file:///home/ehelms/workspace/runcible/test/integration/fixtures/repositories/zoo5\"}, \"id\": \"yum_importer\"}], \"distributors\": [{\"repo_id\": \"integration_test_id\", \"_ns\": \"repo_distributors\", \"last_publish\": null, \"auto_publish\": false, \"scheduled_publishes\": [], \"distributor_type_id\": \"yum_distributor\", \"scratchpad\": null, \"_id\": {\"$oid\": \"504d8119ec6a6d29b4000ab1\"}, \"config\": {\"http\": true, \"https\": true, \"relative_url\": \"/\"}, \"id\": \"fb09d8a3-1761-43b6-ac20-5aed1705b1c3\"}]}"
|
|
964
|
+
http_version:
|
|
965
|
+
recorded_at: Mon, 10 Sep 2012 05:56:42 GMT
|
|
966
|
+
- request:
|
|
967
|
+
method: get
|
|
968
|
+
uri: https://admin:admin@localhost/pulp/api/v2/repositories/
|
|
969
|
+
body:
|
|
970
|
+
string: ""
|
|
971
|
+
headers:
|
|
972
|
+
Accept:
|
|
973
|
+
- application/json
|
|
974
|
+
Accept-Encoding:
|
|
975
|
+
- gzip, deflate
|
|
976
|
+
Content-Type:
|
|
977
|
+
- application/json
|
|
978
|
+
response:
|
|
979
|
+
status:
|
|
980
|
+
code: 200
|
|
981
|
+
message: OK
|
|
982
|
+
headers:
|
|
983
|
+
Date:
|
|
984
|
+
- Mon, 10 Sep 2012 05:56:42 GMT
|
|
985
|
+
Connection:
|
|
986
|
+
- close
|
|
987
|
+
Server:
|
|
988
|
+
- Apache/2.2.22 (Fedora)
|
|
989
|
+
Content-Type:
|
|
990
|
+
- application/json
|
|
991
|
+
Content-Length:
|
|
992
|
+
- "304"
|
|
993
|
+
body:
|
|
994
|
+
string: "[{\"scratchpad\": {}, \"display_name\": \"integration_test_id\", \"description\": \"updated_description_integration_test_id\", \"_ns\": \"repos\", \"notes\": {}, \"content_unit_count\": 0, \"_id\": {\"$oid\": \"504d8117ec6a6d29b4000aa6\"}, \"id\": \"integration_test_id\", \"_href\": \"/pulp/api/v2/repositories/integration_test_id/\"}]"
|
|
995
|
+
http_version:
|
|
996
|
+
recorded_at: Mon, 10 Sep 2012 05:56:42 GMT
|
|
997
|
+
- request:
|
|
998
|
+
method: get
|
|
999
|
+
uri: https://admin:admin@localhost/pulp/api/v2/repositories/integration_test_id/
|
|
1000
|
+
body:
|
|
1001
|
+
string: ""
|
|
1002
|
+
headers:
|
|
1003
|
+
Accept:
|
|
1004
|
+
- application/json
|
|
1005
|
+
Accept-Encoding:
|
|
1006
|
+
- gzip, deflate
|
|
1007
|
+
Content-Type:
|
|
1008
|
+
- application/json
|
|
1009
|
+
response:
|
|
1010
|
+
status:
|
|
1011
|
+
code: 200
|
|
1012
|
+
message: OK
|
|
1013
|
+
headers:
|
|
1014
|
+
Date:
|
|
1015
|
+
- Mon, 10 Sep 2012 05:56:42 GMT
|
|
1016
|
+
Connection:
|
|
1017
|
+
- close
|
|
1018
|
+
Server:
|
|
1019
|
+
- Apache/2.2.22 (Fedora)
|
|
1020
|
+
Content-Type:
|
|
1021
|
+
- application/json
|
|
1022
|
+
Content-Length:
|
|
1023
|
+
- "302"
|
|
1024
|
+
body:
|
|
1025
|
+
string: "{\"scratchpad\": {}, \"display_name\": \"integration_test_id\", \"description\": \"updated_description_integration_test_id\", \"_ns\": \"repos\", \"notes\": {}, \"content_unit_count\": 0, \"_id\": {\"$oid\": \"504d8117ec6a6d29b4000aa6\"}, \"id\": \"integration_test_id\", \"_href\": \"/pulp/api/v2/repositories/integration_test_id/\"}"
|
|
1026
|
+
http_version:
|
|
1027
|
+
recorded_at: Mon, 10 Sep 2012 05:56:43 GMT
|
|
1028
|
+
- request:
|
|
1029
|
+
method: post
|
|
1030
|
+
uri: https://admin:admin@localhost/pulp/api/v2/repositories/search/
|
|
1031
|
+
body:
|
|
1032
|
+
string: "{\"criteria\":{}}"
|
|
1033
|
+
headers:
|
|
1034
|
+
Accept:
|
|
1035
|
+
- application/json
|
|
1036
|
+
Accept-Encoding:
|
|
1037
|
+
- gzip, deflate
|
|
1038
|
+
Content-Type:
|
|
1039
|
+
- application/json
|
|
1040
|
+
Content-Length:
|
|
1041
|
+
- "15"
|
|
1042
|
+
response:
|
|
1043
|
+
status:
|
|
1044
|
+
code: 200
|
|
1045
|
+
message: OK
|
|
1046
|
+
headers:
|
|
1047
|
+
Date:
|
|
1048
|
+
- Mon, 10 Sep 2012 05:56:43 GMT
|
|
1049
|
+
Connection:
|
|
1050
|
+
- close
|
|
1051
|
+
Server:
|
|
1052
|
+
- Apache/2.2.22 (Fedora)
|
|
1053
|
+
Content-Type:
|
|
1054
|
+
- application/json
|
|
1055
|
+
Content-Length:
|
|
1056
|
+
- "304"
|
|
1057
|
+
body:
|
|
1058
|
+
string: "[{\"scratchpad\": {}, \"display_name\": \"integration_test_id\", \"description\": \"updated_description_integration_test_id\", \"_ns\": \"repos\", \"notes\": {}, \"content_unit_count\": 0, \"_id\": {\"$oid\": \"504d8117ec6a6d29b4000aa6\"}, \"id\": \"integration_test_id\", \"_href\": \"/pulp/api/v2/repositories/integration_test_id/\"}]"
|
|
1059
|
+
http_version:
|
|
1060
|
+
recorded_at: Mon, 10 Sep 2012 05:56:43 GMT
|
|
1061
|
+
- request:
|
|
1062
|
+
method: post
|
|
1063
|
+
uri: https://admin:admin@localhost/pulp/api/v2/repositories/integration_test_id/importers/
|
|
1064
|
+
body:
|
|
1065
|
+
string: "{\"id\":\"integration_test_id\",\"importer_config\":{},\"importer_type_id\":\"yum_importer\"}"
|
|
1066
|
+
headers:
|
|
1067
|
+
Accept:
|
|
1068
|
+
- application/json
|
|
1069
|
+
Accept-Encoding:
|
|
1070
|
+
- gzip, deflate
|
|
1071
|
+
Content-Type:
|
|
1072
|
+
- application/json
|
|
1073
|
+
Content-Length:
|
|
1074
|
+
- "83"
|
|
1075
|
+
response:
|
|
1076
|
+
status:
|
|
1077
|
+
code: 201
|
|
1078
|
+
message: Created
|
|
1079
|
+
headers:
|
|
1080
|
+
Date:
|
|
1081
|
+
- Mon, 10 Sep 2012 05:56:43 GMT
|
|
1082
|
+
Location:
|
|
1083
|
+
- importer
|
|
1084
|
+
Connection:
|
|
1085
|
+
- close
|
|
1086
|
+
Server:
|
|
1087
|
+
- Apache/2.2.22 (Fedora)
|
|
1088
|
+
Content-Type:
|
|
1089
|
+
- application/json
|
|
1090
|
+
Content-Length:
|
|
1091
|
+
- "238"
|
|
1092
|
+
body:
|
|
1093
|
+
string: "{\"repo_id\": \"integration_test_id\", \"_ns\": \"repo_importers\", \"importer_type_id\": \"yum_importer\", \"last_sync\": null, \"scheduled_syncs\": [], \"scratchpad\": null, \"_id\": {\"$oid\": \"504d811bec6a6d29b4000abb\"}, \"config\": {}, \"id\": \"yum_importer\"}"
|
|
1094
|
+
http_version:
|
|
1095
|
+
recorded_at: Mon, 10 Sep 2012 05:56:43 GMT
|
|
1096
|
+
- request:
|
|
1097
|
+
method: delete
|
|
1098
|
+
uri: https://admin:admin@localhost/pulp/api/v2/repositories/integration_test_id/
|
|
1099
|
+
body:
|
|
1100
|
+
string: ""
|
|
1101
|
+
headers:
|
|
1102
|
+
Accept:
|
|
1103
|
+
- application/json
|
|
1104
|
+
Accept-Encoding:
|
|
1105
|
+
- gzip, deflate
|
|
1106
|
+
Content-Type:
|
|
1107
|
+
- application/json
|
|
1108
|
+
response:
|
|
1109
|
+
status:
|
|
1110
|
+
code: 200
|
|
1111
|
+
message: OK
|
|
1112
|
+
headers:
|
|
1113
|
+
Date:
|
|
1114
|
+
- Mon, 10 Sep 2012 05:56:55 GMT
|
|
1115
|
+
Connection:
|
|
1116
|
+
- close
|
|
1117
|
+
Server:
|
|
1118
|
+
- Apache/2.2.22 (Fedora)
|
|
1119
|
+
Content-Type:
|
|
1120
|
+
- application/json
|
|
1121
|
+
Content-Length:
|
|
1122
|
+
- "4"
|
|
1123
|
+
body:
|
|
1124
|
+
string: "null"
|
|
1125
|
+
http_version:
|
|
1126
|
+
recorded_at: Mon, 10 Sep 2012 05:56:55 GMT
|
|
1127
|
+
- request:
|
|
1128
|
+
method: post
|
|
1129
|
+
uri: https://admin:admin@localhost/pulp/api/v2/repositories/
|
|
1130
|
+
body:
|
|
1131
|
+
string: "{\"importer_type_id\":\"yum_importer\",\"id\":\"integration_test_id_clone\",\"importer_config\":{}}"
|
|
1132
|
+
headers:
|
|
1133
|
+
Accept:
|
|
1134
|
+
- application/json
|
|
1135
|
+
Accept-Encoding:
|
|
1136
|
+
- gzip, deflate
|
|
1137
|
+
Content-Type:
|
|
1138
|
+
- application/json
|
|
1139
|
+
Content-Length:
|
|
1140
|
+
- "89"
|
|
1141
|
+
response:
|
|
1142
|
+
status:
|
|
1143
|
+
code: 201
|
|
1144
|
+
message: Created
|
|
1145
|
+
headers:
|
|
1146
|
+
Date:
|
|
1147
|
+
- Mon, 10 Sep 2012 12:23:21 GMT
|
|
1148
|
+
Location:
|
|
1149
|
+
- integration_test_id_clone
|
|
1150
|
+
Connection:
|
|
1151
|
+
- close
|
|
1152
|
+
Server:
|
|
1153
|
+
- Apache/2.2.22 (Fedora)
|
|
1154
|
+
Content-Type:
|
|
1155
|
+
- application/json
|
|
1156
|
+
Content-Length:
|
|
1157
|
+
- "283"
|
|
1158
|
+
body:
|
|
1159
|
+
string: "{\"scratchpad\": {}, \"display_name\": \"integration_test_id_clone\", \"description\": null, \"_ns\": \"repos\", \"notes\": {}, \"content_unit_count\": 0, \"_id\": {\"$oid\": \"504ddbb9ec6a6d29b4000d2f\"}, \"id\": \"integration_test_id_clone\", \"_href\": \"/pulp/api/v2/repositories/integration_test_id_clone/\"}"
|
|
1160
|
+
http_version:
|
|
1161
|
+
recorded_at: Mon, 10 Sep 2012 12:23:21 GMT
|
|
1162
|
+
- request:
|
|
1163
|
+
method: post
|
|
1164
|
+
uri: https://admin:admin@localhost/pulp/api/v2/repositories/integration_test_id_clone/actions/associate/
|
|
1165
|
+
body:
|
|
1166
|
+
string: "{\"source_repo_id\":\"integration_test_id\"}"
|
|
1167
|
+
headers:
|
|
1168
|
+
Accept:
|
|
1169
|
+
- application/json
|
|
1170
|
+
Accept-Encoding:
|
|
1171
|
+
- gzip, deflate
|
|
1172
|
+
Content-Type:
|
|
1173
|
+
- application/json
|
|
1174
|
+
Content-Length:
|
|
1175
|
+
- "40"
|
|
1176
|
+
response:
|
|
1177
|
+
status:
|
|
1178
|
+
code: 202
|
|
1179
|
+
message: Accepted
|
|
1180
|
+
headers:
|
|
1181
|
+
Date:
|
|
1182
|
+
- Mon, 10 Sep 2012 12:23:21 GMT
|
|
1183
|
+
Content-Encoding:
|
|
1184
|
+
- utf-8
|
|
1185
|
+
Connection:
|
|
1186
|
+
- close
|
|
1187
|
+
Server:
|
|
1188
|
+
- Apache/2.2.22 (Fedora)
|
|
1189
|
+
Content-Type:
|
|
1190
|
+
- application/json
|
|
1191
|
+
Content-Length:
|
|
1192
|
+
- "453"
|
|
1193
|
+
body:
|
|
1194
|
+
string: "{\"task_group_id\": null, \"exception\": null, \"_href\": \"/pulp/api/v2/tasks/4f88acdc-fb42-11e1-8e03-5254004526ad/\", \"task_id\": \"4f88acdc-fb42-11e1-8e03-5254004526ad\", \"tags\": [\"pulp:repository:integration_test_id_clone\", \"pulp:repository:integration_test_id\", \"pulp:action:associate\"], \"reasons\": [], \"start_time\": null, \"traceback\": null, \"schedule_id\": null, \"finish_time\": null, \"state\": \"waiting\", \"result\": null, \"progress\": {}, \"response\": \"accepted\"}"
|
|
1195
|
+
http_version:
|
|
1196
|
+
recorded_at: Mon, 10 Sep 2012 12:23:21 GMT
|