Project

General

Profile

« Previous | Next » 

Revision ac187d3d

Added by Thomas McKay almost 7 years ago

vcr recording tests

View differences:

test/fixtures/vcr_cassettes/resources/products/update_rpm.yml
'
http_version:
recorded_at: Mon, 19 Dec 2016 16:42:18 GMT
- request:
method: get
uri: https://admin:changeme@devel.example.com:50083/katello/api/products/67/repositories?all=false&library=true&organization_id=3
body:
encoding: US-ASCII
string: ''
headers:
Accept:
- application/json;version=2
Accept-Encoding:
- gzip, deflate
User-Agent:
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
Content-Type:
- application/json
Accept-Language:
- en
Host:
- devel.example.com:50083
response:
status:
code: 200
message: OK
headers:
Date:
- Mon, 27 Mar 2017 18:35:32 GMT
Server:
- Apache/2.4.6 (Red Hat Enterprise Linux)
X-Frame-Options:
- SAMEORIGIN
X-Xss-Protection:
- 1; mode=block
X-Content-Type-Options:
- nosniff
Foreman-Version:
- 1.11.0.54
Foreman-Api-Version:
- '2'
Apipie-Checksum:
- e1df2e8d43e22495b02a53b48e3b5298
Cache-Control:
- max-age=0, private, must-revalidate
X-Request-Id:
- b5cbee5d-5edd-4e17-a315-eb8c8eb6c004
X-Runtime:
- '0.047073'
X-Powered-By:
- Phusion Passenger 4.0.18
Etag:
- '"6a5cc8a6caa41dfb85f960ee483ee634-gzip"'
Status:
- 200 OK
Vary:
- Accept-Encoding
Content-Length:
- '120'
Content-Type:
- application/json; charset=utf-8
Set-Cookie:
- _session_id=8ad4d7151e8252b03abb4f27b84f2d8d; path=/; secure; HttpOnly
body:
encoding: ASCII-8BIT
string: '{"total":0,"subtotal":0,"page":1,"per_page":20,"error":null,"search":null,"sort":{"by":null,"order":null},"results":[]}
'
http_version:
recorded_at: Mon, 27 Mar 2017 18:35:38 GMT
- request:
method: post
uri: https://admin:changeme@devel.example.com:50083/katello/api/repositories
body:
encoding: UTF-8
string: '{"organization_id":3,"name":"Zoo","url":"https://repos.fedorapeople.org/repos/pulp/pulp/demo_repos/zoo/","label":"Zoo","product_id":67,"content_type":"yum"}'
headers:
Accept:
- application/json;version=2
Accept-Encoding:
- gzip, deflate
User-Agent:
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
Content-Type:
- application/json
Accept-Language:
- en
Content-Length:
- '156'
Host:
- devel.example.com:50083
response:
status:
code: 200
message: OK
headers:
Date:
- Mon, 27 Mar 2017 18:35:32 GMT
Server:
- Apache/2.4.6 (Red Hat Enterprise Linux)
X-Frame-Options:
- SAMEORIGIN
X-Xss-Protection:
- 1; mode=block
X-Content-Type-Options:
- nosniff
Foreman-Version:
- 1.11.0.54
Foreman-Api-Version:
- '2'
Apipie-Checksum:
- e1df2e8d43e22495b02a53b48e3b5298
Cache-Control:
- max-age=0, private, must-revalidate
X-Request-Id:
- cff598a0-a93a-4565-a46c-9efdf45bddba
X-Runtime:
- '2.329472'
X-Powered-By:
- Phusion Passenger 4.0.18
Etag:
- '"dcb77d21ce3e8f645b8dfb1cacb6b1b3-gzip"'
Status:
- 200 OK
Vary:
- Accept-Encoding
Content-Length:
- '1177'
Content-Type:
- application/json; charset=utf-8
Set-Cookie:
- _session_id=ff935f63e6cbccaa73fb0a19a53bcaba; path=/; secure; HttpOnly
- request_method=POST; path=/
body:
encoding: ASCII-8BIT
string: ' {"content_type":"yum","docker_upstream_name":null,"mirror_on_sync":true,"unprotected":true,"full_path":"http://sat62.example.com/pulp/repos/testcorp/Library/custom/product_update_rpm/Zoo/","checksum_type":null,"container_repository_name":null,"download_policy":"immediate","url":"https://repos.fedorapeople.org/repos/pulp/pulp/demo_repos/zoo/","relative_path":"testcorp/Library/custom/product_update_rpm/Zoo","major":null,"minor":null,"gpg_key_id":null,"content_id":"1490639734052","content_view_version_id":2,"library_instance_id":null,"product_type":"custom","promoted":false,"ostree_branches":[],"organization":{"name":"Test
Corporation","label":"testcorp","id":3},"created_at":"2017-03-27 18:35:32
UTC","updated_at":"2017-03-27 18:35:34 UTC","id":14,"name":"Zoo","label":"Zoo","product":{"id":67,"cp_id":"1490639731063","name":"product
update_rpm","sync_plan":["name","description","sync_date","interval","next_sync"]},"last_sync":null,"content_counts":{"ostree_branch":0,"docker_manifest":0,"docker_tag":0,"rpm":0,"package":0,"package_group":0,"erratum":0,"puppet_module":0},"last_sync_words":null,"gpg_key":null,"environment":{"id":2},"permissions":{"deletable":true}}
'
http_version:
recorded_at: Mon, 27 Mar 2017 18:35:40 GMT
- request:
method: get
uri: https://admin:changeme@devel.example.com:50083/katello/api/products/67/repositories?enabled=true&library=true&organization_id=3&page_size=999999&paged=true
body:
encoding: US-ASCII
string: ''
headers:
Accept:
- application/json;version=2
Accept-Encoding:
- gzip, deflate
User-Agent:
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
Content-Type:
- application/json
Accept-Language:
- en
Host:
- devel.example.com:50083
response:
status:
code: 200
message: OK
headers:
Date:
- Mon, 27 Mar 2017 18:35:35 GMT
Server:
- Apache/2.4.6 (Red Hat Enterprise Linux)
X-Frame-Options:
- SAMEORIGIN
X-Xss-Protection:
- 1; mode=block
X-Content-Type-Options:
- nosniff
Foreman-Version:
- 1.11.0.54
Foreman-Api-Version:
- '2'
Apipie-Checksum:
- e1df2e8d43e22495b02a53b48e3b5298
Cache-Control:
- max-age=0, private, must-revalidate
X-Request-Id:
- d9a4f95b-7fb2-4a48-bdbe-e59e973391ef
X-Runtime:
- '0.057732'
X-Powered-By:
- Phusion Passenger 4.0.18
Etag:
- '"03e7b2ba8eb7cb011689426aac4460c0-gzip"'
Status:
- 200 OK
Vary:
- Accept-Encoding
Content-Length:
- '635'
Content-Type:
- application/json; charset=utf-8
Set-Cookie:
- _session_id=20a45ee5e7a29a2daf8e0d2e54d23be7; path=/; secure; HttpOnly
body:
encoding: ASCII-8BIT
string: '{"total":1,"subtotal":1,"page":1,"per_page":20,"error":null,"search":null,"sort":{"by":null,"order":null},"results":[{"content_type":"yum","url":"https://repos.fedorapeople.org/repos/pulp/pulp/demo_repos/zoo/","relative_path":"testcorp/Library/custom/product_update_rpm/Zoo","id":14,"name":"Zoo","label":"Zoo","product":{"id":67,"cp_id":"1490639731063","name":"product
update_rpm","sync_plan":["name","description","sync_date","interval","next_sync"]},"last_sync":null,"content_counts":{"ostree_branch":0,"docker_manifest":0,"docker_tag":0,"rpm":0,"package":0,"package_group":0,"erratum":0,"puppet_module":0},"last_sync_words":null}]}
'
http_version:
recorded_at: Mon, 27 Mar 2017 18:35:41 GMT
- request:
method: put
uri: https://admin:changeme@devel.example.com:50083/katello/api/products/67
body:
encoding: UTF-8
string: '{"name":"product update_rpm","organization_id":3}'
headers:
Accept:
- application/json;version=2
Accept-Encoding:
- gzip, deflate
User-Agent:
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
Content-Type:
- application/json
Accept-Language:
- en
Content-Length:
- '49'
Host:
- devel.example.com:50083
response:
status:
code: 200
message: OK
headers:
Date:
- Mon, 27 Mar 2017 18:35:35 GMT
Server:
- Apache/2.4.6 (Red Hat Enterprise Linux)
X-Frame-Options:
- SAMEORIGIN
X-Xss-Protection:
- 1; mode=block
X-Content-Type-Options:
- nosniff
Foreman-Version:
- 1.11.0.54
Foreman-Api-Version:
- '2'
Apipie-Checksum:
- e1df2e8d43e22495b02a53b48e3b5298
Cache-Control:
- max-age=0, private, must-revalidate
X-Request-Id:
- 5ba603ef-f898-4e70-9004-55af92cfda89
X-Runtime:
- '0.957576'
X-Powered-By:
- Phusion Passenger 4.0.18
Etag:
- '"6e73467fd30555fdc5753b347222d907-gzip"'
Status:
- 200 OK
Vary:
- Accept-Encoding
Content-Length:
- '1569'
Content-Type:
- application/json; charset=utf-8
Set-Cookie:
- _session_id=17adf5e7d8aea9cfabd4b451cca1dd5f; path=/; secure; HttpOnly
- request_method=PUT; path=/
body:
encoding: ASCII-8BIT
string: ' {"product_content":[{"enabled":true,"content":{"id":"1490639734052","type":"yum","label":"testcorp_product_update_rpm_Zoo","name":"Zoo","vendor":"Custom","contentUrl":"/custom/product_update_rpm/Zoo","gpgUrl":"","metadataExpire":1,"modifiedProductIds":[],"created":"2017-03-27T18:35:34.052+0000","updated":"2017-03-27T18:35:34.052+0000"},"product_id":67}],"available_content":[{"enabled":true,"content":{"id":"1490639734052","type":"yum","label":"testcorp_product_update_rpm_Zoo","name":"Zoo","vendor":"Custom","contentUrl":"/custom/product_update_rpm/Zoo","gpgUrl":"","metadataExpire":1,"modifiedProductIds":[],"created":"2017-03-27T18:35:34.052+0000","updated":"2017-03-27T18:35:34.052+0000"},"product_id":67}],"redhat":false,"id":67,"cp_id":"1490639731063","name":"product
update_rpm","label":"product_update_rpm","description":null,"provider_id":3,"sync_plan_id":null,"sync_summary":{},"gpg_key_id":null,"sync_state":null,"last_sync":null,"last_sync_words":null,"organization":{"name":"Test
Corporation","label":"testcorp","id":3},"sync_plan":null,"repository_count":1,"created_at":"2017-03-27
18:35:29 UTC","updated_at":"2017-03-27 18:35:31 UTC","repositories":[{"name":"Zoo","id":14}],"provider":{"name":"Anonymous"},"sync_status":{"id":null,"product_id":null,"progress":null,"sync_id":null,"state":null,"raw_state":null,"start_time":null,"finish_time":null,"duration":null,"display_size":null,"size":null,"is_running":null,"error_details":null},"permissions":{"destroy_products":true,"edit_products":true,"sync_products":true},"published_content_view_ids":[]}
'
http_version:
recorded_at: Mon, 27 Mar 2017 18:35:42 GMT
- request:
method: put
uri: https://admin:changeme@devel.example.com:50083/katello/api/repositories/14
body:
encoding: UTF-8
string: '{"organization_id":3,"name":"Zoo","url":"https://repos.fedorapeople.org/repos/pulp/pulp/demo_repos/zoo/"}'
headers:
Accept:
- application/json;version=2
Accept-Encoding:
- gzip, deflate
User-Agent:
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
Content-Type:
- application/json
Accept-Language:
- en
Content-Length:
- '105'
Host:
- devel.example.com:50083
response:
status:
code: 200
message: OK
headers:
Date:
- Mon, 27 Mar 2017 18:35:36 GMT
Server:
- Apache/2.4.6 (Red Hat Enterprise Linux)
X-Frame-Options:
- SAMEORIGIN
X-Xss-Protection:
- 1; mode=block
X-Content-Type-Options:
- nosniff
Foreman-Version:
- 1.11.0.54
Foreman-Api-Version:
- '2'
Apipie-Checksum:
- e1df2e8d43e22495b02a53b48e3b5298
Cache-Control:
- max-age=0, private, must-revalidate
X-Request-Id:
- 0e3c6dea-042f-470d-beeb-eca0c65eea72
X-Runtime:
- '0.677794'
X-Powered-By:
- Phusion Passenger 4.0.18
Etag:
- '"dcb77d21ce3e8f645b8dfb1cacb6b1b3-gzip"'
Status:
- 200 OK
Vary:
- Accept-Encoding
Content-Length:
- '1177'
Content-Type:
- application/json; charset=utf-8
Set-Cookie:
- _session_id=792172c16d6dec8da770a21344b367cd; path=/; secure; HttpOnly
- request_method=PUT; path=/
body:
encoding: ASCII-8BIT
string: ' {"content_type":"yum","docker_upstream_name":null,"mirror_on_sync":true,"unprotected":true,"full_path":"http://sat62.example.com/pulp/repos/testcorp/Library/custom/product_update_rpm/Zoo/","checksum_type":null,"container_repository_name":null,"download_policy":"immediate","url":"https://repos.fedorapeople.org/repos/pulp/pulp/demo_repos/zoo/","relative_path":"testcorp/Library/custom/product_update_rpm/Zoo","major":null,"minor":null,"gpg_key_id":null,"content_id":"1490639734052","content_view_version_id":2,"library_instance_id":null,"product_type":"custom","promoted":false,"ostree_branches":[],"organization":{"name":"Test
Corporation","label":"testcorp","id":3},"created_at":"2017-03-27 18:35:32
UTC","updated_at":"2017-03-27 18:35:34 UTC","id":14,"name":"Zoo","label":"Zoo","product":{"id":67,"cp_id":"1490639731063","name":"product
update_rpm","sync_plan":["name","description","sync_date","interval","next_sync"]},"last_sync":null,"content_counts":{"ostree_branch":0,"docker_manifest":0,"docker_tag":0,"rpm":0,"package":0,"package_group":0,"erratum":0,"puppet_module":0},"last_sync_words":null,"gpg_key":null,"environment":{"id":2},"permissions":{"deletable":true}}
'
http_version:
recorded_at: Mon, 27 Mar 2017 18:35:43 GMT
- request:
method: delete
uri: https://admin:changeme@devel.example.com:50083/katello/api/products/67
body:
encoding: US-ASCII
string: ''
headers:
Accept:
- application/json;version=2
Accept-Encoding:
- gzip, deflate
User-Agent:
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
Content-Type:
- application/json
Accept-Language:
- en
Host:
- devel.example.com:50083
response:
status:
code: 202
message: Accepted
headers:
Date:
- Mon, 27 Mar 2017 18:35:37 GMT
Server:
- Apache/2.4.6 (Red Hat Enterprise Linux)
X-Frame-Options:
- SAMEORIGIN
X-Xss-Protection:
- 1; mode=block
X-Content-Type-Options:
- nosniff
Foreman-Version:
- 1.11.0.54
Foreman-Api-Version:
- '2'
Apipie-Checksum:
- e1df2e8d43e22495b02a53b48e3b5298
Cache-Control:
- no-cache
X-Request-Id:
- ae45a5b4-2a6a-41c3-b48f-117a43f8dee5
X-Runtime:
- '1.323245'
X-Powered-By:
- Phusion Passenger 4.0.18
Status:
- 202 Accepted
Content-Type:
- application/json; charset=utf-8
Set-Cookie:
- _session_id=37164b96bd482d0c83211ed574aab64a; path=/; secure; HttpOnly
- request_method=DELETE; path=/
Transfer-Encoding:
- chunked
body:
encoding: UTF-8
string: ' {"id":"ae523793-46a9-44ab-aa69-f64b7a7625ad","label":"Actions::Katello::Product::Destroy","pending":true,"username":"admin","started_at":"2017-03-27
18:35:37 UTC","ended_at":null,"state":"planned","result":"pending","progress":0.0,"input":{"product":{"id":67,"name":"product
update_rpm","label":"product_update_rpm","cp_id":"1490639731063"},"provider":{"id":3,"name":"Anonymous"},"organization":{"id":3,"name":"Test
Corporation","label":"testcorp"},"services_checked":["pulp","pulp_auth","candlepin","candlepin_auth"],"product_id":67},"output":{},"humanized":{"action":"Delete
Product","input":[["product",{"text":"product ''product update_rpm''","link":"#/products/67/info"}],["organization",{"text":"organization
''Test Corporation''","link":"/organizations/3/edit"}]],"output":"","errors":[]},"cli_example":null}
'
http_version:
recorded_at: Mon, 27 Mar 2017 18:35:44 GMT
- request:
method: get
uri: https://admin:changeme@devel.example.com:50083/api/status
......
message: OK
headers:
Date:
- Mon, 27 Mar 2017 18:35:29 GMT
- Wed, 19 Apr 2017 17:07:23 GMT
Server:
- Apache/2.4.6 (Red Hat Enterprise Linux)
X-Frame-Options:
......
Cache-Control:
- max-age=0, private, must-revalidate
X-Request-Id:
- 2b58ded6-9d60-40f6-a405-1b220f48d815
- ee44dbc8-8b5b-4e1b-86ea-2a1399f0d00b
X-Runtime:
- '0.063413'
- '0.041630'
X-Powered-By:
- Phusion Passenger 4.0.18
Etag:
......
Content-Type:
- application/json; charset=utf-8
Set-Cookie:
- _session_id=bbf9cd8a414e6efc184a4c790f5769a9; path=/; secure; HttpOnly
- _session_id=f385054e0a4d87b30feef44fc2d474b1; path=/; secure; HttpOnly
body:
encoding: UTF-8
string: '{"result":"ok","status":200,"version":"1.11.0.54","api_version":2}'
http_version:
recorded_at: Mon, 27 Mar 2017 18:35:35 GMT
recorded_at: Wed, 19 Apr 2017 17:07:42 GMT
- request:
method: get
uri: https://admin:changeme@devel.example.com:50083/api/v2/plugins
......
message: OK
headers:
Date:
- Mon, 27 Mar 2017 18:35:29 GMT
- Wed, 19 Apr 2017 17:07:23 GMT
Server:
- Apache/2.4.6 (Red Hat Enterprise Linux)
X-Frame-Options:
......
Cache-Control:
- max-age=0, private, must-revalidate
X-Request-Id:
- de95cff9-5dc8-49a0-abd8-4036c3f4120d
- 0057df41-4598-441d-9845-e9230496c5a1
X-Runtime:
- '0.038588'
- '0.070695'
X-Powered-By:
- Phusion Passenger 4.0.18
Etag:
......
Content-Type:
- application/json; charset=utf-8
Set-Cookie:
- _session_id=eccb03d3d3b2cdbec872ce5814a238e5; path=/; secure; HttpOnly
- _session_id=3ce58857fe7493c110b7847b11a66e9d; path=/; secure; HttpOnly
body:
encoding: ASCII-8BIT
string: !binary |-
......
ZW1hbiIsInVybCI6Imh0dHA6Ly93d3cubHBoaXJpLnJlZGhhdC5jb20iLCJ2
ZXJzaW9uIjoiMS4wLjEzIn1dCn0K
http_version:
recorded_at: Mon, 27 Mar 2017 18:35:35 GMT
recorded_at: Wed, 19 Apr 2017 17:07:42 GMT
- request:
method: get
uri: https://devel.example.com:50083/apidoc/v2.en.json
......
Accept-Encoding:
- gzip, deflate
User-Agent:
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
- rest-client/2.0.1 (linux-gnu x86_64) ruby/2.3.1p112
Content-Type:
- application/json
Accept-Language:
......
message: OK
headers:
Date:
- Mon, 27 Mar 2017 18:35:29 GMT
- Wed, 19 Apr 2017 17:07:23 GMT
Server:
- Apache/2.4.6 (Red Hat Enterprise Linux)
X-Frame-Options:
......
Apipie-Checksum:
- e1df2e8d43e22495b02a53b48e3b5298
X-Request-Id:
- 13cd532e-144a-41d7-8424-d0223acec3a0
- 1b467b41-44a4-4690-8847-be12d54b1f17
X-Runtime:
- '0.005062'
- '0.005116'
X-Powered-By:
- Phusion Passenger 4.0.18
Status:
......
Ijp0cnVlfV0sImhlYWRlcnMiOm51bGx9fSwibGlua19leHRlbnNpb24iOiIu
ZW4uaHRtbCJ9fQ==
http_version:
recorded_at: Mon, 27 Mar 2017 18:35:35 GMT
recorded_at: Wed, 19 Apr 2017 17:07:42 GMT
- request:
method: get
uri: https://admin:changeme@devel.example.com:50083/katello/api/organizations?per_page=999999&search=name=%22Test%20Corporation%22
......
Accept-Encoding:
- gzip, deflate
User-Agent:
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
- rest-client/2.0.1 (linux-gnu x86_64) ruby/2.3.1p112
Content-Type:
- application/json
Accept-Language:
......
message: OK
headers:
Date:
- Mon, 27 Mar 2017 18:35:29 GMT
- Wed, 19 Apr 2017 17:07:23 GMT
Server:
- Apache/2.4.6 (Red Hat Enterprise Linux)
X-Frame-Options:
......
Cache-Control:
- max-age=0, private, must-revalidate
X-Request-Id:
- e0422fea-5f55-4f46-a642-df17f20d1a22
- c6021c90-f945-4342-bacd-ec170854d78f
X-Runtime:
- '0.065721'
- '0.035689'
X-Powered-By:
- Phusion Passenger 4.0.18
Etag:
- '"45c0a1d1908621d8a984de3fe2b76754-gzip"'
- '"91d3578ba2141f4a65055b10047bdf20-gzip"'
Status:
- 200 OK
Vary:
......
Content-Type:
- application/json; charset=utf-8
Set-Cookie:
- _session_id=b3d581410b87006832a630818b97d643; path=/; secure; HttpOnly
- _session_id=06bd8e7b229c0642c4a0dce90c31cd96; path=/; secure; HttpOnly
body:
encoding: ASCII-8BIT
string: |
......
"by": null,
"order": null
},
"results": [{"label":"testcorp","created_at":"2016-12-01 19:35:26 UTC","updated_at":"2017-03-27 18:28:18 UTC","id":3,"name":"Test Corporation","title":"Test Corporation","description":"Testing today for a better tomorrow"}]
"results": [{"label":"testcorp","created_at":"2016-12-01 19:35:26 UTC","updated_at":"2017-04-06 01:50:20 UTC","id":3,"name":"Test Corporation","title":"Test Corporation","description":"Testing today for a better tomorrow"}]
}
http_version:
recorded_at: Mon, 27 Mar 2017 18:35:35 GMT
recorded_at: Wed, 19 Apr 2017 17:07:42 GMT
- request:
method: get
uri: https://admin:changeme@devel.example.com:50083/katello/api/organizations/3/products?enabled=true&per_page=999999&search=name=%22product%20update_rpm%22
......
Accept-Encoding:
- gzip, deflate
User-Agent:
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
- rest-client/2.0.1 (linux-gnu x86_64) ruby/2.3.1p112
Content-Type:
- application/json
Accept-Language:
......
message: OK
headers:
Date:
- Mon, 27 Mar 2017 18:35:29 GMT
- Wed, 19 Apr 2017 17:07:23 GMT
Server:
- Apache/2.4.6 (Red Hat Enterprise Linux)
X-Frame-Options:
......
Cache-Control:
- max-age=0, private, must-revalidate
X-Request-Id:
- 2676de2a-75c9-4218-9d9a-ae101d4ee490
- 845ea827-28ff-431e-9ebe-34fb2feaff53
X-Runtime:
- '0.070182'
- '0.042544'
X-Powered-By:
- Phusion Passenger 4.0.18
Etag:
- '"ddc9a6fc5575a292e935d5148051769e-gzip"'
- '"b65d054f43b13cdb0021460ca21410e0-gzip"'
Status:
- 200 OK
Vary:
......
Content-Type:
- application/json; charset=utf-8
Set-Cookie:
- _session_id=f99d3321d254fd86a98b6cc7ce80f363; path=/; secure; HttpOnly
- _session_id=e405879034641552337265ca06d0530f; path=/; secure; HttpOnly
body:
encoding: ASCII-8BIT
string: '{"total":0,"subtotal":0,"page":1,"per_page":"999999","error":null,"search":"name=\"product
string: '{"total":3,"subtotal":0,"page":1,"per_page":"999999","error":null,"search":"name=\"product
update_rpm\"","sort":{"by":null,"order":null},"results":[]}
'
http_version:
recorded_at: Mon, 27 Mar 2017 18:35:35 GMT
recorded_at: Wed, 19 Apr 2017 17:07:42 GMT
- request:
method: post
uri: https://admin:changeme@devel.example.com:50083/katello/api/products
......
Accept-Encoding:
- gzip, deflate
User-Agent:
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
- rest-client/2.0.1 (linux-gnu x86_64) ruby/2.3.1p112
Content-Type:
- application/json
Accept-Language:
......
message: OK
headers:
Date:
- Mon, 27 Mar 2017 18:35:29 GMT
- Wed, 19 Apr 2017 17:07:23 GMT
Server:
- Apache/2.4.6 (Red Hat Enterprise Linux)
X-Frame-Options:
......
Cache-Control:
- max-age=0, private, must-revalidate
X-Request-Id:
- 912e1e41-cd5e-469a-8739-92de7ade8a4d
- 43f875df-1df3-4cd3-a79e-a09807d10c63
X-Runtime:
- '2.916974'
- '1.684408'
X-Powered-By:
- Phusion Passenger 4.0.18
Etag:
- '"26b45bb7916b92aa066bd5715e4adc9b-gzip"'
- '"453ae69453ccf2f4e220bb5d3ece62ed-gzip"'
Status:
- 200 OK
Vary:
- Accept-Encoding
Content-Length:
- '868'
- '869'
Content-Type:
- application/json; charset=utf-8
Set-Cookie:
- _session_id=c0dd7374068a8072962fa788cf79cbdc; path=/; secure; HttpOnly
- _session_id=5a4b23c7fb8c6f403524c7bc12669e9f; path=/; secure; HttpOnly
- request_method=POST; path=/
body:
encoding: ASCII-8BIT
string: ' {"product_content":[],"available_content":[],"redhat":false,"id":67,"cp_id":null,"name":"product
string: ' {"product_content":[],"available_content":[],"redhat":false,"id":118,"cp_id":null,"name":"product
update_rpm","label":"product_update_rpm","description":null,"provider_id":3,"sync_plan_id":null,"sync_summary":{},"gpg_key_id":null,"sync_state":null,"last_sync":null,"last_sync_words":null,"organization":{"name":"Test
Corporation","label":"testcorp","id":3},"sync_plan":null,"repository_count":0,"created_at":"2017-03-27
18:35:29 UTC","updated_at":"2017-03-27 18:35:29 UTC","repositories":[],"provider":{"name":"Anonymous"},"sync_status":{"id":null,"product_id":null,"progress":null,"sync_id":null,"state":null,"raw_state":null,"start_time":null,"finish_time":null,"duration":null,"display_size":null,"size":null,"is_running":null,"error_details":null},"permissions":{"destroy_products":true,"edit_products":true,"sync_products":true},"published_content_view_ids":[]}
Corporation","label":"testcorp","id":3},"sync_plan":null,"repository_count":0,"created_at":"2017-04-19
17:07:24 UTC","updated_at":"2017-04-19 17:07:24 UTC","repositories":[],"provider":{"name":"Anonymous"},"sync_status":{"id":null,"product_id":null,"progress":null,"sync_id":null,"state":null,"raw_state":null,"start_time":null,"finish_time":null,"duration":null,"display_size":null,"size":null,"is_running":null,"error_details":null},"permissions":{"destroy_products":true,"edit_products":true,"sync_products":true},"published_content_view_ids":[]}
'
http_version:
recorded_at: Mon, 27 Mar 2017 18:35:38 GMT
recorded_at: Wed, 19 Apr 2017 17:07:44 GMT
- request:
method: get
uri: https://admin:changeme@devel.example.com:50083/katello/api/products/67/repositories?all=false&library=true&organization_id=3
uri: https://admin:changeme@devel.example.com:50083/katello/api/products/118/repositories?all=false&library=true&organization_id=3
body:
encoding: US-ASCII
string: ''
......
Accept-Encoding:
- gzip, deflate
User-Agent:
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
- rest-client/2.0.1 (linux-gnu x86_64) ruby/2.3.1p112
Content-Type:
- application/json
Accept-Language:
......
message: OK
headers:
Date:
- Mon, 27 Mar 2017 18:35:32 GMT
- Wed, 19 Apr 2017 17:07:25 GMT
Server:
- Apache/2.4.6 (Red Hat Enterprise Linux)
X-Frame-Options:
......
Cache-Control:
- max-age=0, private, must-revalidate
X-Request-Id:
- b5cbee5d-5edd-4e17-a315-eb8c8eb6c004
- 0ca32068-8880-48b7-8a15-24428c3296f1
X-Runtime:
- '0.047073'
- '0.043486'
X-Powered-By:
- Phusion Passenger 4.0.18
Etag:
......
Content-Type:
- application/json; charset=utf-8
Set-Cookie:
- _session_id=8ad4d7151e8252b03abb4f27b84f2d8d; path=/; secure; HttpOnly
- _session_id=125f0a8c87d0dc114e42504ea626a8bb; path=/; secure; HttpOnly
body:
encoding: ASCII-8BIT
string: '{"total":0,"subtotal":0,"page":1,"per_page":20,"error":null,"search":null,"sort":{"by":null,"order":null},"results":[]}
'
http_version:
recorded_at: Mon, 27 Mar 2017 18:35:38 GMT
recorded_at: Wed, 19 Apr 2017 17:07:44 GMT
- request:
method: post
uri: https://admin:changeme@devel.example.com:50083/katello/api/repositories
body:
encoding: UTF-8
string: '{"organization_id":3,"name":"Zoo","url":"https://repos.fedorapeople.org/repos/pulp/pulp/demo_repos/zoo/","label":"Zoo","product_id":67,"content_type":"yum"}'
string: '{"organization_id":3,"name":"Zoo","url":"https://repos.fedorapeople.org/repos/pulp/pulp/demo_repos/zoo/","label":"Zoo","product_id":118,"content_type":"yum"}'
headers:
Accept:
- application/json;version=2
Accept-Encoding:
- gzip, deflate
User-Agent:
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
- rest-client/2.0.1 (linux-gnu x86_64) ruby/2.3.1p112
Content-Type:
- application/json
Accept-Language:
- en
Content-Length:
- '156'
- '157'
Host:
- devel.example.com:50083
response:
......
message: OK
headers:
Date:
- Mon, 27 Mar 2017 18:35:32 GMT
- Wed, 19 Apr 2017 17:07:25 GMT
Server:
- Apache/2.4.6 (Red Hat Enterprise Linux)
X-Frame-Options:
......
Cache-Control:
- max-age=0, private, must-revalidate
X-Request-Id:
- cff598a0-a93a-4565-a46c-9efdf45bddba
- 33806f94-106b-4a08-ba82-9ca40000b342
X-Runtime:
- '2.329472'
- '2.654590'
X-Powered-By:
- Phusion Passenger 4.0.18
Etag:
- '"dcb77d21ce3e8f645b8dfb1cacb6b1b3-gzip"'
- '"fd6a9d3664c8e9de3b95908b8121a615-gzip"'
Status:
- 200 OK
Vary:
- Accept-Encoding
Content-Length:
- '1177'
- '1178'
Content-Type:
- application/json; charset=utf-8
Set-Cookie:
- _session_id=ff935f63e6cbccaa73fb0a19a53bcaba; path=/; secure; HttpOnly
- _session_id=f4a84f9426a849a9b37045257074edb3; path=/; secure; HttpOnly
- request_method=POST; path=/
body:
encoding: ASCII-8BIT
string: ' {"content_type":"yum","docker_upstream_name":null,"mirror_on_sync":true,"unprotected":true,"full_path":"http://sat62.example.com/pulp/repos/testcorp/Library/custom/product_update_rpm/Zoo/","checksum_type":null,"container_repository_name":null,"download_policy":"immediate","url":"https://repos.fedorapeople.org/repos/pulp/pulp/demo_repos/zoo/","relative_path":"testcorp/Library/custom/product_update_rpm/Zoo","major":null,"minor":null,"gpg_key_id":null,"content_id":"1490639734052","content_view_version_id":2,"library_instance_id":null,"product_type":"custom","promoted":false,"ostree_branches":[],"organization":{"name":"Test
Corporation","label":"testcorp","id":3},"created_at":"2017-03-27 18:35:32
UTC","updated_at":"2017-03-27 18:35:34 UTC","id":14,"name":"Zoo","label":"Zoo","product":{"id":67,"cp_id":"1490639731063","name":"product
string: ' {"content_type":"yum","docker_upstream_name":null,"mirror_on_sync":true,"unprotected":true,"full_path":"http://sat62.example.com/pulp/repos/testcorp/Library/custom/product_update_rpm/Zoo/","checksum_type":null,"container_repository_name":null,"download_policy":"immediate","url":"https://repos.fedorapeople.org/repos/pulp/pulp/demo_repos/zoo/","relative_path":"testcorp/Library/custom/product_update_rpm/Zoo","major":null,"minor":null,"gpg_key_id":null,"content_id":"1492621647487","content_view_version_id":2,"library_instance_id":null,"product_type":"custom","promoted":false,"ostree_branches":[],"organization":{"name":"Test
Corporation","label":"testcorp","id":3},"created_at":"2017-04-19 17:07:25
UTC","updated_at":"2017-04-19 17:07:28 UTC","id":75,"name":"Zoo","label":"Zoo","product":{"id":118,"cp_id":"1492621644304","name":"product
update_rpm","sync_plan":["name","description","sync_date","interval","next_sync"]},"last_sync":null,"content_counts":{"ostree_branch":0,"docker_manifest":0,"docker_tag":0,"rpm":0,"package":0,"package_group":0,"erratum":0,"puppet_module":0},"last_sync_words":null,"gpg_key":null,"environment":{"id":2},"permissions":{"deletable":true}}
'
http_version:
recorded_at: Mon, 27 Mar 2017 18:35:40 GMT
recorded_at: Wed, 19 Apr 2017 17:07:47 GMT
- request:
method: get
uri: https://admin:changeme@devel.example.com:50083/api/status
......
message: OK
headers:
Date:
- Mon, 27 Mar 2017 18:35:34 GMT
- Wed, 19 Apr 2017 17:07:28 GMT
Server:
- Apache/2.4.6 (Red Hat Enterprise Linux)
X-Frame-Options:
......
Cache-Control:
- max-age=0, private, must-revalidate
X-Request-Id:
- d68b5925-35cc-433e-99ac-1a244969f713
- 9c83cbba-fc3d-4e17-bbfd-762a74e70964
X-Runtime:
- '0.031138'
- '0.041692'
X-Powered-By:
- Phusion Passenger 4.0.18
Etag:
......
Content-Type:
- application/json; charset=utf-8
Set-Cookie:
- _session_id=74a098b9e46c2e63b3059108345b3ca2; path=/; secure; HttpOnly
- _session_id=ab16fd200f93ba47ada067130ad1bd87; path=/; secure; HttpOnly
body:
encoding: UTF-8
string: '{"result":"ok","status":200,"version":"1.11.0.54","api_version":2}'
http_version:
recorded_at: Mon, 27 Mar 2017 18:35:41 GMT
recorded_at: Wed, 19 Apr 2017 17:07:47 GMT
- request:
method: get
uri: https://admin:changeme@devel.example.com:50083/api/v2/plugins
......
message: OK
headers:
Date:
- Mon, 27 Mar 2017 18:35:34 GMT
- Wed, 19 Apr 2017 17:07:28 GMT
Server:
- Apache/2.4.6 (Red Hat Enterprise Linux)
X-Frame-Options:
......
Cache-Control:
- max-age=0, private, must-revalidate
X-Request-Id:
- 600c5ef6-a9a8-4c6c-b585-ece21278afa7
- 282b2faa-2350-4e09-962e-62b323abf9cf
X-Runtime:
- '0.031431'
- '0.031951'
X-Powered-By:
- Phusion Passenger 4.0.18
Etag:
......
Content-Type:
- application/json; charset=utf-8
Set-Cookie:
- _session_id=45f887f8d86bb59f53a77347ff40d243; path=/; secure; HttpOnly
- _session_id=533b92523d959675c4137dc0a9076aeb; path=/; secure; HttpOnly
body:
encoding: ASCII-8BIT
string: !binary |-
......
ZW1hbiIsInVybCI6Imh0dHA6Ly93d3cubHBoaXJpLnJlZGhhdC5jb20iLCJ2
ZXJzaW9uIjoiMS4wLjEzIn1dCn0K
http_version:
recorded_at: Mon, 27 Mar 2017 18:35:41 GMT
recorded_at: Wed, 19 Apr 2017 17:07:47 GMT
- request:
method: get
uri: https://admin:changeme@devel.example.com:50083/katello/api/organizations?per_page=999999&search=name=%22Test%20Corporation%22
......
Accept-Encoding:
- gzip, deflate
User-Agent:
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
- rest-client/2.0.1 (linux-gnu x86_64) ruby/2.3.1p112
Content-Type:
- application/json
Accept-Language:
......
message: OK
headers:
Date:
- Mon, 27 Mar 2017 18:35:34 GMT
- Wed, 19 Apr 2017 17:07:28 GMT
Server:
- Apache/2.4.6 (Red Hat Enterprise Linux)
X-Frame-Options:
......
Cache-Control:
- max-age=0, private, must-revalidate
X-Request-Id:
- 2832c2e2-199d-4cec-a3b4-ee442e902a2a
- b902f903-456e-4c2f-a403-2cac84cc423a
X-Runtime:
- '0.048775'
- '0.036048'
X-Powered-By:
- Phusion Passenger 4.0.18
Etag:
- '"45c0a1d1908621d8a984de3fe2b76754-gzip"'
- '"91d3578ba2141f4a65055b10047bdf20-gzip"'
Status:
- 200 OK
Vary:
......
Content-Type:
- application/json; charset=utf-8
Set-Cookie:
- _session_id=5a18ea2a6d8e850e66bb888f678431e3; path=/; secure; HttpOnly
- _session_id=c4a293e2d26f9b1994a391fcd9002990; path=/; secure; HttpOnly
body:
encoding: ASCII-8BIT
string: |
......
"by": null,
"order": null
},
"results": [{"label":"testcorp","created_at":"2016-12-01 19:35:26 UTC","updated_at":"2017-03-27 18:28:18 UTC","id":3,"name":"Test Corporation","title":"Test Corporation","description":"Testing today for a better tomorrow"}]
"results": [{"label":"testcorp","created_at":"2016-12-01 19:35:26 UTC","updated_at":"2017-04-06 01:50:20 UTC","id":3,"name":"Test Corporation","title":"Test Corporation","description":"Testing today for a better tomorrow"}]
}
http_version:
recorded_at: Mon, 27 Mar 2017 18:35:41 GMT
recorded_at: Wed, 19 Apr 2017 17:07:47 GMT
- request:
method: get
uri: https://admin:changeme@devel.example.com:50083/katello/api/organizations/3/products?enabled=true&per_page=999999&search=name=%22product%20update_rpm%22
......
Accept-Encoding:
- gzip, deflate
User-Agent:
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
- rest-client/2.0.1 (linux-gnu x86_64) ruby/2.3.1p112
Content-Type:
- application/json
Accept-Language:
......
message: OK
headers:
Date:
- Mon, 27 Mar 2017 18:35:34 GMT
- Wed, 19 Apr 2017 17:07:28 GMT
Server:
- Apache/2.4.6 (Red Hat Enterprise Linux)
X-Frame-Options:
......
Cache-Control:
- max-age=0, private, must-revalidate
X-Request-Id:
- 87f04f21-f5ac-43f0-acdf-609b4686577f
- 73f98f47-c0b5-4179-8f3c-bae8aa28cd98
X-Runtime:
- '0.134154'
- '0.074044'
X-Powered-By:
- Phusion Passenger 4.0.18
Etag:
- '"7bbd8fe68a931973de9f678f6398fb16-gzip"'
- '"bdb7772f54ed2ae8b9afb625b264c684-gzip"'
Status:
- 200 OK
Vary:
- Accept-Encoding
Content-Length:
- '497'
- '498'
Content-Type:
- application/json; charset=utf-8
Set-Cookie:
- _session_id=eadac7b632514ad9e9dfb3c544ff80dc; path=/; secure; HttpOnly
- _session_id=ed4a88857f14e273a44d5bb12e705fe9; path=/; secure; HttpOnly
body:
encoding: ASCII-8BIT
string: '{"total":1,"subtotal":1,"page":1,"per_page":"999999","error":null,"search":"name=\"product
update_rpm\"","sort":{"by":null,"order":null},"results":[{"id":67,"cp_id":"1490639731063","name":"product
string: '{"total":3,"subtotal":1,"page":1,"per_page":"999999","error":null,"search":"name=\"product
update_rpm\"","sort":{"by":null,"order":null},"results":[{"id":118,"cp_id":"1492621644304","name":"product
update_rpm","label":"product_update_rpm","description":null,"provider_id":3,"sync_plan_id":null,"sync_summary":{},"gpg_key_id":null,"sync_state":null,"last_sync":null,"last_sync_words":null,"organization":{"name":"Test
Corporation","label":"testcorp","id":3},"sync_plan":null,"repository_count":1}]}
'
http_version:
recorded_at: Mon, 27 Mar 2017 18:35:41 GMT
recorded_at: Wed, 19 Apr 2017 17:07:47 GMT
- request:
method: get
uri: https://admin:changeme@devel.example.com:50083/katello/api/products/67/repositories?enabled=true&library=true&organization_id=3&page_size=999999&paged=true
uri: https://admin:changeme@devel.example.com:50083/katello/api/products/118/repositories?enabled=true&library=true&organization_id=3&page_size=999999&paged=true
body:
encoding: US-ASCII
string: ''
......
Accept-Encoding:
- gzip, deflate
User-Agent:
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
- rest-client/2.0.1 (linux-gnu x86_64) ruby/2.3.1p112
Content-Type:
- application/json
Accept-Language:
......
message: OK
headers:
Date:
- Mon, 27 Mar 2017 18:35:35 GMT
- Wed, 19 Apr 2017 17:07:28 GMT
Server:
- Apache/2.4.6 (Red Hat Enterprise Linux)
X-Frame-Options:
......
Cache-Control:
- max-age=0, private, must-revalidate
X-Request-Id:
- d9a4f95b-7fb2-4a48-bdbe-e59e973391ef
- 0b565a27-d49f-411f-b087-5577a24052fd
X-Runtime:
- '0.057732'
- '0.134545'
X-Powered-By:
- Phusion Passenger 4.0.18
Etag:
- '"03e7b2ba8eb7cb011689426aac4460c0-gzip"'
- '"676ba10df6f43e13a448ef7cdcdfaff1-gzip"'
Status:
- 200 OK
Vary:
- Accept-Encoding
Content-Length:
- '635'
- '636'
Content-Type:
- application/json; charset=utf-8
Set-Cookie:
- _session_id=20a45ee5e7a29a2daf8e0d2e54d23be7; path=/; secure; HttpOnly
- _session_id=e6992105172c17f1a05c9200e52c1258; path=/; secure; HttpOnly
body:
encoding: ASCII-8BIT
string: '{"total":1,"subtotal":1,"page":1,"per_page":20,"error":null,"search":null,"sort":{"by":null,"order":null},"results":[{"content_type":"yum","url":"https://repos.fedorapeople.org/repos/pulp/pulp/demo_repos/zoo/","relative_path":"testcorp/Library/custom/product_update_rpm/Zoo","id":14,"name":"Zoo","label":"Zoo","product":{"id":67,"cp_id":"1490639731063","name":"product
string: '{"total":1,"subtotal":1,"page":1,"per_page":20,"error":null,"search":null,"sort":{"by":null,"order":null},"results":[{"content_type":"yum","url":"https://repos.fedorapeople.org/repos/pulp/pulp/demo_repos/zoo/","relative_path":"testcorp/Library/custom/product_update_rpm/Zoo","id":75,"name":"Zoo","label":"Zoo","product":{"id":118,"cp_id":"1492621644304","name":"product
update_rpm","sync_plan":["name","description","sync_date","interval","next_sync"]},"last_sync":null,"content_counts":{"ostree_branch":0,"docker_manifest":0,"docker_tag":0,"rpm":0,"package":0,"package_group":0,"erratum":0,"puppet_module":0},"last_sync_words":null}]}
'
http_version:
recorded_at: Mon, 27 Mar 2017 18:35:41 GMT
recorded_at: Wed, 19 Apr 2017 17:07:47 GMT
- request:
method: put
uri: https://admin:changeme@devel.example.com:50083/katello/api/products/67
uri: https://admin:changeme@devel.example.com:50083/katello/api/products/118
body:
encoding: UTF-8
string: '{"name":"product update_rpm","organization_id":3}'
......
Accept-Encoding:
- gzip, deflate
User-Agent:
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
- rest-client/2.0.1 (linux-gnu x86_64) ruby/2.3.1p112
Content-Type:
- application/json
Accept-Language:
......
message: OK
headers:
Date:
- Mon, 27 Mar 2017 18:35:35 GMT
- Wed, 19 Apr 2017 17:07:28 GMT
Server:
- Apache/2.4.6 (Red Hat Enterprise Linux)
X-Frame-Options:
......
Cache-Control:
- max-age=0, private, must-revalidate
X-Request-Id:
- 5ba603ef-f898-4e70-9004-55af92cfda89
- e002309e-6351-48a8-a414-bd860c70e3bc
X-Runtime:
- '0.957576'
- '0.978649'
X-Powered-By:
- Phusion Passenger 4.0.18
Etag:
- '"6e73467fd30555fdc5753b347222d907-gzip"'
- '"de1c36318bc115a71893f393e77445b1-gzip"'
Status:
- 200 OK
Vary:
- Accept-Encoding
Content-Length:
- '1569'
- '1572'
Content-Type:
- application/json; charset=utf-8
Set-Cookie:
- _session_id=17adf5e7d8aea9cfabd4b451cca1dd5f; path=/; secure; HttpOnly
- _session_id=4eb6c7b7c2fd03e8418ca18d59fd5b36; path=/; secure; HttpOnly
- request_method=PUT; path=/
body:
encoding: ASCII-8BIT
string: ' {"product_content":[{"enabled":true,"content":{"id":"1490639734052","type":"yum","label":"testcorp_product_update_rpm_Zoo","name":"Zoo","vendor":"Custom","contentUrl":"/custom/product_update_rpm/Zoo","gpgUrl":"","metadataExpire":1,"modifiedProductIds":[],"created":"2017-03-27T18:35:34.052+0000","updated":"2017-03-27T18:35:34.052+0000"},"product_id":67}],"available_content":[{"enabled":true,"content":{"id":"1490639734052","type":"yum","label":"testcorp_product_update_rpm_Zoo","name":"Zoo","vendor":"Custom","contentUrl":"/custom/product_update_rpm/Zoo","gpgUrl":"","metadataExpire":1,"modifiedProductIds":[],"created":"2017-03-27T18:35:34.052+0000","updated":"2017-03-27T18:35:34.052+0000"},"product_id":67}],"redhat":false,"id":67,"cp_id":"1490639731063","name":"product
string: ' {"product_content":[{"enabled":true,"content":{"id":"1492621647487","type":"yum","label":"testcorp_product_update_rpm_Zoo","name":"Zoo","vendor":"Custom","contentUrl":"/custom/product_update_rpm/Zoo","gpgUrl":"","metadataExpire":1,"modifiedProductIds":[],"updated":"2017-04-19T17:07:27.487+0000","created":"2017-04-19T17:07:27.487+0000"},"product_id":118}],"available_content":[{"enabled":true,"content":{"id":"1492621647487","type":"yum","label":"testcorp_product_update_rpm_Zoo","name":"Zoo","vendor":"Custom","contentUrl":"/custom/product_update_rpm/Zoo","gpgUrl":"","metadataExpire":1,"modifiedProductIds":[],"updated":"2017-04-19T17:07:27.487+0000","created":"2017-04-19T17:07:27.487+0000"},"product_id":118}],"redhat":false,"id":118,"cp_id":"1492621644304","name":"product
update_rpm","label":"product_update_rpm","description":null,"provider_id":3,"sync_plan_id":null,"sync_summary":{},"gpg_key_id":null,"sync_state":null,"last_sync":null,"last_sync_words":null,"organization":{"name":"Test
Corporation","label":"testcorp","id":3},"sync_plan":null,"repository_count":1,"created_at":"2017-03-27
18:35:29 UTC","updated_at":"2017-03-27 18:35:31 UTC","repositories":[{"name":"Zoo","id":14}],"provider":{"name":"Anonymous"},"sync_status":{"id":null,"product_id":null,"progress":null,"sync_id":null,"state":null,"raw_state":null,"start_time":null,"finish_time":null,"duration":null,"display_size":null,"size":null,"is_running":null,"error_details":null},"permissions":{"destroy_products":true,"edit_products":true,"sync_products":true},"published_content_view_ids":[]}
Corporation","label":"testcorp","id":3},"sync_plan":null,"repository_count":1,"created_at":"2017-04-19
17:07:24 UTC","updated_at":"2017-04-19 17:07:25 UTC","repositories":[{"name":"Zoo","id":75}],"provider":{"name":"Anonymous"},"sync_status":{"id":null,"product_id":null,"progress":null,"sync_id":null,"state":null,"raw_state":null,"start_time":null,"finish_time":null,"duration":null,"display_size":null,"size":null,"is_running":null,"error_details":null},"permissions":{"destroy_products":true,"edit_products":true,"sync_products":true},"published_content_view_ids":[]}
'
http_version:
recorded_at: Mon, 27 Mar 2017 18:35:42 GMT
recorded_at: Wed, 19 Apr 2017 17:07:48 GMT
- request:
method: put
uri: https://admin:changeme@devel.example.com:50083/katello/api/repositories/14
uri: https://admin:changeme@devel.example.com:50083/katello/api/repositories/75
body:
encoding: UTF-8
string: '{"organization_id":3,"name":"Zoo","url":"https://repos.fedorapeople.org/repos/pulp/pulp/demo_repos/zoo/"}'
......
Accept-Encoding:
- gzip, deflate
User-Agent:
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
- rest-client/2.0.1 (linux-gnu x86_64) ruby/2.3.1p112
Content-Type:
- application/json
Accept-Language:
......
message: OK
headers:
Date:
- Mon, 27 Mar 2017 18:35:36 GMT
- Wed, 19 Apr 2017 17:07:29 GMT
Server:
- Apache/2.4.6 (Red Hat Enterprise Linux)
X-Frame-Options:
......
Cache-Control:
- max-age=0, private, must-revalidate
X-Request-Id:
- 0e3c6dea-042f-470d-beeb-eca0c65eea72
- c63d9d16-e63f-4062-b2c1-8a803824ecd2
X-Runtime:
- '0.677794'
- '0.636955'
X-Powered-By:
- Phusion Passenger 4.0.18
Etag:
- '"dcb77d21ce3e8f645b8dfb1cacb6b1b3-gzip"'
- '"fd6a9d3664c8e9de3b95908b8121a615-gzip"'
Status:
- 200 OK
Vary:
- Accept-Encoding
Content-Length:
- '1177'
- '1178'
Content-Type:
- application/json; charset=utf-8
Set-Cookie:
- _session_id=792172c16d6dec8da770a21344b367cd; path=/; secure; HttpOnly
- _session_id=e17586819c16f0ffc15267ad1db74b5e; path=/; secure; HttpOnly
- request_method=PUT; path=/
body:
encoding: ASCII-8BIT
string: ' {"content_type":"yum","docker_upstream_name":null,"mirror_on_sync":true,"unprotected":true,"full_path":"http://sat62.example.com/pulp/repos/testcorp/Library/custom/product_update_rpm/Zoo/","checksum_type":null,"container_repository_name":null,"download_policy":"immediate","url":"https://repos.fedorapeople.org/repos/pulp/pulp/demo_repos/zoo/","relative_path":"testcorp/Library/custom/product_update_rpm/Zoo","major":null,"minor":null,"gpg_key_id":null,"content_id":"1490639734052","content_view_version_id":2,"library_instance_id":null,"product_type":"custom","promoted":false,"ostree_branches":[],"organization":{"name":"Test
Corporation","label":"testcorp","id":3},"created_at":"2017-03-27 18:35:32
UTC","updated_at":"2017-03-27 18:35:34 UTC","id":14,"name":"Zoo","label":"Zoo","product":{"id":67,"cp_id":"1490639731063","name":"product
string: ' {"content_type":"yum","docker_upstream_name":null,"mirror_on_sync":true,"unprotected":true,"full_path":"http://sat62.example.com/pulp/repos/testcorp/Library/custom/product_update_rpm/Zoo/","checksum_type":null,"container_repository_name":null,"download_policy":"immediate","url":"https://repos.fedorapeople.org/repos/pulp/pulp/demo_repos/zoo/","relative_path":"testcorp/Library/custom/product_update_rpm/Zoo","major":null,"minor":null,"gpg_key_id":null,"content_id":"1492621647487","content_view_version_id":2,"library_instance_id":null,"product_type":"custom","promoted":false,"ostree_branches":[],"organization":{"name":"Test
Corporation","label":"testcorp","id":3},"created_at":"2017-04-19 17:07:25
UTC","updated_at":"2017-04-19 17:07:28 UTC","id":75,"name":"Zoo","label":"Zoo","product":{"id":118,"cp_id":"1492621644304","name":"product
update_rpm","sync_plan":["name","description","sync_date","interval","next_sync"]},"last_sync":null,"content_counts":{"ostree_branch":0,"docker_manifest":0,"docker_tag":0,"rpm":0,"package":0,"package_group":0,"erratum":0,"puppet_module":0},"last_sync_words":null,"gpg_key":null,"environment":{"id":2},"permissions":{"deletable":true}}
'
http_version:
recorded_at: Mon, 27 Mar 2017 18:35:43 GMT
recorded_at: Wed, 19 Apr 2017 17:07:49 GMT
- request:
method: get
uri: https://admin:changeme@devel.example.com:50083/katello/api/organizations?search=name%20=%20%22Test%20Corporation%22
......
Accept-Encoding:
- gzip, deflate
User-Agent:
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
- rest-client/2.0.1 (linux-gnu x86_64) ruby/2.3.1p112
Content-Type:
- application/json
Accept-Language:
......
message: OK
headers:
Date:
- Mon, 27 Mar 2017 18:35:36 GMT
- Wed, 19 Apr 2017 17:07:30 GMT
Server:
- Apache/2.4.6 (Red Hat Enterprise Linux)
X-Frame-Options:
......
Cache-Control:
- max-age=0, private, must-revalidate
X-Request-Id:
- a46a41b6-9149-42ec-9508-29b4823be6e5
- f4b3cf50-fcab-46f7-8812-7b37acbef7cf
X-Runtime:
- '0.084705'
- '0.069702'
X-Powered-By:
- Phusion Passenger 4.0.18
Etag:
- '"4ca819c8f4b990404bfbc12a1ceaa3fb-gzip"'
- '"33f5ad55285e93110ffd8103723370df-gzip"'
Status:
- 200 OK
Vary:
......
Content-Type:
- application/json; charset=utf-8
Set-Cookie:
- _session_id=89e1dc253eaf05291f6699aa7795f411; path=/; secure; HttpOnly
- _session_id=be08ce465b77a760974db7e084053d62; path=/; secure; HttpOnly
body:
encoding: ASCII-8BIT
string: |
......
"by": null,
"order": null
},
"results": [{"label":"testcorp","created_at":"2016-12-01 19:35:26 UTC","updated_at":"2017-03-27 18:28:18 UTC","id":3,"name":"Test Corporation","title":"Test Corporation","description":"Testing today for a better tomorrow"}]
"results": [{"label":"testcorp","created_at":"2016-12-01 19:35:26 UTC","updated_at":"2017-04-06 01:50:20 UTC","id":3,"name":"Test Corporation","title":"Test Corporation","description":"Testing today for a better tomorrow"}]
}
http_version:
recorded_at: Mon, 27 Mar 2017 18:35:43 GMT
recorded_at: Wed, 19 Apr 2017 17:07:49 GMT
- request:
method: get
uri: https://admin:changeme@devel.example.com:50083/katello/api/organizations/3/products?page=1&per_page=20&search=product%20update_rpm&sort
......
Accept-Encoding:
- gzip, deflate
User-Agent:
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
- rest-client/2.0.1 (linux-gnu x86_64) ruby/2.3.1p112
Content-Type:
- application/json
Accept-Language:
......
message: OK
headers:
Date:
- Mon, 27 Mar 2017 18:35:37 GMT
- Wed, 19 Apr 2017 17:07:30 GMT
Server:
- Apache/2.4.6 (Red Hat Enterprise Linux)
X-Frame-Options:
......
Cache-Control:
- max-age=0, private, must-revalidate
X-Request-Id:
- 19a216eb-f866-405c-beca-2e89f8d3d12f
- dac75a29-7e41-451f-972e-6d3e27456a75
X-Runtime:
- '0.104888'
- '0.110987'
X-Powered-By:
- Phusion Passenger 4.0.18
Etag:
- '"756e1bca8a0fb02359d287aeb1f17f09-gzip"'
- '"5cea78814ac6fa4d70ba2d4527a218e5-gzip"'
Status:
- 200 OK
Vary:
- Accept-Encoding
Content-Length:
- '487'
- '488'
Content-Type:
- application/json; charset=utf-8
Set-Cookie:
- _session_id=5cd072c45e00817e70b54b0642b4335d; path=/; secure; HttpOnly
- _session_id=9ed21b8a012de537389feb6f1ea976f7; path=/; secure; HttpOnly
body:
encoding: ASCII-8BIT
string: '{"total":22,"subtotal":1,"page":"1","per_page":"20","error":null,"search":"product
update_rpm","sort":{"by":null,"order":null},"results":[{"id":67,"cp_id":"1490639731063","name":"product
string: '{"total":35,"subtotal":1,"page":"1","per_page":"20","error":null,"search":"product
update_rpm","sort":{"by":null,"order":null},"results":[{"id":118,"cp_id":"1492621644304","name":"product
update_rpm","label":"product_update_rpm","description":null,"provider_id":3,"sync_plan_id":null,"sync_summary":{},"gpg_key_id":null,"sync_state":null,"last_sync":null,"last_sync_words":null,"organization":{"name":"Test
Corporation","label":"testcorp","id":3},"sync_plan":null,"repository_count":1}]}
'
http_version:
recorded_at: Mon, 27 Mar 2017 18:35:43 GMT
recorded_at: Wed, 19 Apr 2017 17:07:49 GMT
- request:
method: delete
uri: https://admin:changeme@devel.example.com:50083/katello/api/products/67
uri: https://admin:changeme@devel.example.com:50083/katello/api/products/118
body:
encoding: US-ASCII
string: ''
......
Accept-Encoding:
- gzip, deflate
User-Agent:
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
- rest-client/2.0.1 (linux-gnu x86_64) ruby/2.3.1p112
Content-Type:
- application/json
Accept-Language:
......
message: Accepted
headers:
Date:
- Mon, 27 Mar 2017 18:35:37 GMT
- Wed, 19 Apr 2017 17:07:30 GMT
Server:
- Apache/2.4.6 (Red Hat Enterprise Linux)
X-Frame-Options:
......
Cache-Control:
- no-cache
X-Request-Id:
- ae45a5b4-2a6a-41c3-b48f-117a43f8dee5
- 3f503715-bbd6-4a77-bc96-0cd6fef0888c
X-Runtime:
- '1.323245'
- '1.142586'
X-Powered-By:
- Phusion Passenger 4.0.18
Status:
......
Content-Type:
- application/json; charset=utf-8
Set-Cookie:
- _session_id=37164b96bd482d0c83211ed574aab64a; path=/; secure; HttpOnly
- _session_id=961cdd830b2a59c8282a2e1324f04fde; path=/; secure; HttpOnly
- request_method=DELETE; path=/
Transfer-Encoding:
- chunked
body:
encoding: UTF-8
string: ' {"id":"ae523793-46a9-44ab-aa69-f64b7a7625ad","label":"Actions::Katello::Product::Destroy","pending":true,"username":"admin","started_at":"2017-03-27
18:35:37 UTC","ended_at":null,"state":"planned","result":"pending","progress":0.0,"input":{"product":{"id":67,"name":"product
update_rpm","label":"product_update_rpm","cp_id":"1490639731063"},"provider":{"id":3,"name":"Anonymous"},"organization":{"id":3,"name":"Test
Corporation","label":"testcorp"},"services_checked":["pulp","pulp_auth","candlepin","candlepin_auth"],"product_id":67},"output":{},"humanized":{"action":"Delete
Product","input":[["product",{"text":"product ''product update_rpm''","link":"#/products/67/info"}],["organization",{"text":"organization
string: ' {"id":"a0ed363c-d8d9-49da-a770-e023112c6c73","label":"Actions::Katello::Product::Destroy","pending":true,"username":"admin","started_at":"2017-04-19
17:07:30 UTC","ended_at":null,"state":"planned","result":"pending","progress":0.0,"input":{"product":{"id":118,"name":"product
update_rpm","label":"product_update_rpm","cp_id":"1492621644304"},"provider":{"id":3,"name":"Anonymous"},"organization":{"id":3,"name":"Test
Corporation","label":"testcorp"},"services_checked":["pulp","pulp_auth","candlepin","candlepin_auth"],"product_id":118},"output":{},"humanized":{"action":"Delete
Product","input":[["product",{"text":"product ''product update_rpm''","link":"#/products/118/info"}],["organization",{"text":"organization
''Test Corporation''","link":"/organizations/3/edit"}]],"output":"","errors":[]},"cli_example":null}
'
http_version:
recorded_at: Mon, 27 Mar 2017 18:35:44 GMT
recorded_at: Wed, 19 Apr 2017 17:07:50 GMT
recorded_with: VCR 3.0.3

Also available in: Unified diff