test/integration/fixtures/vcr_cassettes/pulp_user.yml in runcible-0.0.3 vs test/integration/fixtures/vcr_cassettes/pulp_user.yml in runcible-0.0.4

- old
+ new

@@ -1,32 +1,33 @@ --- +recorded_with: VCR 2.2.5 http_interactions: - request: method: delete uri: https://admin:admin@localhost/pulp/api/v2/users/integration_test_uer/ body: string: "" headers: - Accept: - - application/json - Content-Type: - - application/json Accept-Encoding: - gzip, deflate + Content-Type: + - application/json + Accept: + - application/json response: status: code: 200 message: OK headers: - Server: - - Apache/2.2.22 (Fedora) - Connection: - - close Date: - Sun, 09 Sep 2012 00:16:36 GMT Content-Type: - application/json + Connection: + - close + Server: + - Apache/2.2.22 (Fedora) Content-Length: - "4" body: string: "null" http_version: @@ -35,29 +36,29 @@ method: delete uri: https://admin:admin@localhost/pulp/api/v2users/integration_test_user body: string: "" headers: - Accept: - - application/json - Content-Type: - - application/json Accept-Encoding: - gzip, deflate + Content-Type: + - application/json + Accept: + - application/json response: status: code: 404 message: Not Found headers: - Server: - - Apache/2.2.22 (Fedora) - Connection: - - close Date: - Sun, 09 Sep 2012 04:31:41 GMT Content-Type: - text/html; charset=UTF-8 + Connection: + - close + Server: + - Apache/2.2.22 (Fedora) Content-Length: - "9" body: string: not found http_version: @@ -66,29 +67,29 @@ method: get uri: https://admin:admin@localhost/pulp/api/v2users/admin body: string: "" headers: - Accept: - - application/json - Content-Type: - - application/json Accept-Encoding: - gzip, deflate + Content-Type: + - application/json + Accept: + - application/json response: status: code: 404 message: Not Found headers: - Server: - - Apache/2.2.22 (Fedora) - Connection: - - close Date: - Sun, 09 Sep 2012 04:32:39 GMT Content-Type: - text/html; charset=UTF-8 + Connection: + - close + Server: + - Apache/2.2.22 (Fedora) Content-Length: - "9" body: string: not found http_version: @@ -97,29 +98,29 @@ method: get uri: https://admin:admin@localhost/pulp/api/v2/users/admin body: string: "" headers: - Accept: - - application/json - Content-Type: - - application/json Accept-Encoding: - gzip, deflate + Content-Type: + - application/json + Accept: + - application/json response: status: code: 404 message: Not Found headers: - Server: - - Apache/2.2.22 (Fedora) - Connection: - - close Date: - Sun, 09 Sep 2012 04:33:46 GMT Content-Type: - text/html; charset=UTF-8 + Connection: + - close + Server: + - Apache/2.2.22 (Fedora) Content-Length: - "9" body: string: not found http_version: @@ -128,31 +129,31 @@ method: post uri: https://admin:admin@localhost/pulp/api/v2/users body: string: "{\"password\":\"integration_test_user\",\"login\":\"integration_test_user\",\"name\":\"integration_test_password\"}" headers: - Accept: - - application/json + Accept-Encoding: + - gzip, deflate Content-Type: - application/json + Accept: + - application/json Content-Length: - "103" - Accept-Encoding: - - gzip, deflate response: status: code: 404 message: Not Found headers: - Server: - - Apache/2.2.22 (Fedora) - Connection: - - close Date: - Sun, 09 Sep 2012 04:33:46 GMT Content-Type: - text/html; charset=UTF-8 + Connection: + - close + Server: + - Apache/2.2.22 (Fedora) Content-Length: - "9" body: string: not found http_version: @@ -161,29 +162,29 @@ method: get uri: https://admin:admin@localhost/pulp/api/v2/users/admin/ body: string: "" headers: - Accept: - - application/json - Content-Type: - - application/json Accept-Encoding: - gzip, deflate + Content-Type: + - application/json + Accept: + - application/json response: status: code: 200 message: OK headers: - Server: - - Apache/2.2.22 (Fedora) - Connection: - - close Date: - Sun, 09 Sep 2012 10:52:52 GMT Content-Type: - application/json + Connection: + - close + Server: + - Apache/2.2.22 (Fedora) Content-Length: - "267" body: string: "{\"_id\": {\"$oid\": \"5048f6c5ec6a6d6734000008\"}, \"name\": \"admin\", \"roles\": [\"super-users\"], \"_ns\": \"users\", \"login\": \"admin\", \"password\": \"VVz8lz2wFGM=,TKtfpt6HEXaxzEGRaDeJm5Zo7UsCdf9d26QVyiKKnb4=\", \"id\": \"5048f6c5ec6a6d6734000008\", \"_href\": \"/pulp/api/v2/users/admin/\"}" http_version: @@ -192,27 +193,27 @@ method: delete uri: https://admin:admin@localhost/pulp/api/v2/users/integration_test_user/ body: string: "" headers: - Accept: - - application/json - Content-Type: - - application/json Accept-Encoding: - gzip, deflate + Content-Type: + - application/json + Accept: + - application/json response: status: code: 200 message: OK headers: - Server: - - Apache/2.2.22 (Fedora) Date: - Thu, 13 Sep 2012 21:19:38 GMT Content-Type: - application/json + Server: + - Apache/2.2.22 (Fedora) Content-Length: - "4" body: string: "null" http_version: @@ -221,27 +222,27 @@ method: get uri: https://admin:admin@localhost/pulp/api/v2/users/integration_test_user/ body: string: "" headers: - Accept: - - application/json - Content-Type: - - application/json Accept-Encoding: - gzip, deflate + Content-Type: + - application/json + Accept: + - application/json response: status: code: 200 message: OK headers: - Server: - - Apache/2.2.22 (Fedora) Date: - Thu, 13 Sep 2012 21:19:40 GMT Content-Type: - application/json + Server: + - Apache/2.2.22 (Fedora) Content-Length: - "247" body: string: "{\"_id\": {\"$oid\": \"50524decdc792114e700002a\"}, \"name\": \"integration_test_user\", \"roles\": [], \"_ns\": \"users\", \"login\": \"integration_test_user\", \"password\": null, \"id\": \"50524decdc792114e700002a\", \"_href\": \"/pulp/api/v2/users/integration_test_user/\"}" http_version: @@ -250,31 +251,31 @@ method: post uri: https://admin:admin@localhost/pulp/api/v2/users/ body: string: "{\"password\":\"integration_test_password\",\"login\":\"integration_test_user\",\"name\":\"integration_test_user\"}" headers: - Accept: - - application/json + Accept-Encoding: + - gzip, deflate Content-Type: - application/json + Accept: + - application/json Content-Length: - "103" - Accept-Encoding: - - gzip, deflate response: status: code: 201 message: Created headers: - Location: - - integration_test_user - Server: - - Apache/2.2.22 (Fedora) Date: - Thu, 13 Sep 2012 21:19:41 GMT Content-Type: - application/json + Server: + - Apache/2.2.22 (Fedora) + Location: + - integration_test_user Content-Length: - "229" body: string: "{\"_id\": {\"$oid\": \"50524deedc792114e7000041\"}, \"name\": \"integration_test_user\", \"roles\": [], \"_ns\": \"users\", \"login\": \"integration_test_user\", \"id\": \"50524deedc792114e7000041\", \"_href\": \"/pulp/api/v2/users/integration_test_user/\"}" http_version: @@ -283,266 +284,381 @@ method: post uri: https://localhost/pulp/api/v2/users/ body: string: "{\"password\":\"integration_test_password\",\"login\":\"integration_test_user\",\"name\":\"integration_test_user\"}" headers: - Accept: - - application/json Authorization: - OAuth oauth_body_hash="2jmj7l5rSw0yVb%2FvlWAYkK%2FYBwk%3D", oauth_consumer_key="katello", oauth_nonce="uEdiZ5ik2FlxbjLpkF99lrlpNyi2OORNiLflX0MxY", oauth_signature="wLHkSByoJx2Xuue9OhxJE8xXZDM%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1347571252", oauth_version="1.0" + Accept-Encoding: + - gzip, deflate Content-Type: - application/json + Accept: + - application/json Content-Length: - "103" - Accept-Encoding: - - gzip, deflate response: status: code: 401 message: Unauthorized headers: - Server: - - Apache/2.2.22 (Fedora) Date: - Thu, 13 Sep 2012 21:20:52 GMT Content-Type: - application/json + Server: + - Apache/2.2.22 (Fedora) Content-Length: - "25" body: string: "\"Invalid SSL Certificate\"" http_version: recorded_at: Thu, 13 Sep 2012 21:20:52 GMT - request: method: post - uri: https://admin:@knifeparty.localdomain/pulp/api/v2/users/ + uri: https://admin:admin@knifeparty.localdomain/pulp/api/v2//pulp/api/v2/users/ body: + string: "{\"login\":\"integration_test_user\"}" + headers: + Pulp-User: + - admin + Accept-Encoding: + - gzip, deflate + Content-Type: + - application/json + Accept: + - application/json + Content-Length: + - "33" + response: + status: + code: 404 + message: Not Found + headers: + Date: + - Fri, 14 Sep 2012 09:33:42 GMT + Content-Type: + - text/html; charset=UTF-8 + Content-Encoding: + - gzip + Vary: + - Accept-Encoding + Server: + - Apache/2.2.22 (Fedora) + Content-Length: + - "29" + body: + string: !binary | + H4sIAAAAAAAAA8vLL1FIyy/NSwEA6iFE8gkAAAA= + + http_version: + recorded_at: Fri, 14 Sep 2012 09:33:43 GMT +- request: + method: post + uri: https://admin:@knifeparty.localdomain/pulp/api/v2/https://knifeparty.localdomain/pulp/api/v2/users/ + body: string: "{\"password\":\"integration_test_password\",\"login\":\"integration_test_user\",\"name\":\"integration_test_user\"}" headers: Pulp-User: - admin + Accept-Encoding: + - gzip, deflate + Content-Type: + - application/json Accept: - application/json + Content-Length: + - "103" + response: + status: + code: 404 + message: Not Found + headers: + Date: + - Fri, 14 Sep 2012 09:44:37 GMT Content-Type: + - text/html; charset=UTF-8 + Content-Encoding: + - gzip + Vary: + - Accept-Encoding + Server: + - Apache/2.2.22 (Fedora) + Content-Length: + - "29" + body: + string: !binary | + H4sIAAAAAAAAA8vLL1FIyy/NSwEA6iFE8gkAAAA= + + http_version: + recorded_at: Fri, 14 Sep 2012 09:44:37 GMT +- request: + method: post + uri: https://admin:admin@knifeparty.localdomain/users/ + body: + string: "{\"password\":\"integration_test_password\",\"name\":\"integration_test_user\",\"login\":\"integration_test_user\"}" + headers: + Pulp-User: + - admin + Accept-Encoding: + - gzip, deflate + Content-Type: - application/json + Accept: + - application/json Content-Length: - "103" + response: + status: + code: 404 + message: Not Found + headers: + Date: + - Fri, 14 Sep 2012 09:58:13 GMT + Content-Type: + - text/html; charset=iso-8859-1 + Content-Encoding: + - gzip + Vary: + - Accept-Encoding + Server: + - Apache/2.2.22 (Fedora) + Content-Length: + - "239" + body: + string: !binary | + H4sIAAAAAAAAA01PTU/DMAy991eYneBAPUqPViRYWzGpjAqyA8eweEpFl5Qk + Be3fk3ZCQpYsPb8PPdNV9bKR710NT/K5hW7/2G43sLpF3NayQaxkdWGKfI1Y + 71YiIxNPgyDDSicQ+ziwKNcl7FyExk1WE16OGeEiog+nz7PvTvzTJJTRKKRh + 8Pw1cYisYf/aAk6BfUD4UQFs0h9nPTgL0fQBEvfNPicc50SfltLacwjiYVQH + w1jkaQq4blg7r27gbTGAivBp+yOPysdzPriDGrQ7qd5C53yEsrwn/EtKxZfK + qeT8avYLKgStLCUBAAA= + + http_version: + recorded_at: Fri, 14 Sep 2012 09:58:13 GMT +- request: + method: post + uri: https://admin:@knifeparty.localdomain/pulp/api/v2/users/ + body: + string: "{\"login\":\"integration_test_user\"}" + headers: + Pulp-User: + - admin Accept-Encoding: - gzip, deflate + Content-Type: + - application/json + Accept: + - application/json + Content-Length: + - "33" response: status: code: 401 message: Unauthorized headers: - Server: - - Apache/2.2.22 (Fedora) Date: - - Thu, 13 Sep 2012 23:46:28 GMT + - Fri, 14 Sep 2012 10:03:04 GMT Content-Type: - application/json + Server: + - Apache/2.2.22 (Fedora) Content-Length: - "30" body: string: "\"Invalid username or password\"" http_version: - recorded_at: Thu, 13 Sep 2012 23:46:28 GMT + recorded_at: Fri, 14 Sep 2012 10:03:04 GMT - request: - method: get - uri: https://knifeparty.localdomain/pulp/api/v2/users/integration_test_user/ + method: delete + uri: https://admin:admin@knifeparty.localdomain/pulp/api/v2/users/integration_test_user/ body: string: "" headers: - Pulp-User: - - admin - Accept: - - application/json - Authorization: - - OAuth oauth_consumer_key="katello", oauth_nonce="NLYFXbzmW8tHCCpajVrHIM5aO6kRGFoJyzoErEXJaGM", oauth_signature="pDffLtDuek1y91NpubSbKRnxeyY%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1347580101", oauth_version="1.0" - Content-Type: - - application/json Accept-Encoding: - gzip, deflate + Content-Type: + - application/json + Accept: + - application/json response: status: code: 200 message: OK headers: - Server: - - Apache/2.2.22 (Fedora) Date: - - Thu, 13 Sep 2012 23:48:21 GMT + - Fri, 14 Sep 2012 10:34:04 GMT Content-Type: - application/json + Server: + - Apache/2.2.22 (Fedora) Content-Length: - - "247" + - "4" body: - string: "{\"_id\": {\"$oid\": \"505270c5dc792114e700017d\"}, \"name\": \"integration_test_user\", \"roles\": [], \"_ns\": \"users\", \"login\": \"integration_test_user\", \"password\": null, \"id\": \"505270c5dc792114e700017d\", \"_href\": \"/pulp/api/v2/users/integration_test_user/\"}" + string: "null" http_version: - recorded_at: Thu, 13 Sep 2012 23:48:22 GMT + recorded_at: Fri, 14 Sep 2012 10:34:04 GMT - request: - method: delete - uri: https://knifeparty.localdomain/pulp/api/v2/users/integration_test_user/ + method: get + uri: https://admin:admin@knifeparty.localdomain/pulp/api/v2/users/integration_test_user/ body: string: "" headers: - Pulp-User: - - admin - Accept: - - application/json - Authorization: - - OAuth oauth_consumer_key="katello", oauth_nonce="63aS6dF2dWhQjFDqKByNMQHODfWmWtC6FNZE8oiQKzE", oauth_signature="4behX7wP8uUwZuRPT6T53wdUKmI%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1347580103", oauth_version="1.0" - Content-Type: - - application/json Accept-Encoding: - gzip, deflate + Content-Type: + - application/json + Accept: + - application/json response: status: code: 200 message: OK headers: - Server: - - Apache/2.2.22 (Fedora) Date: - - Thu, 13 Sep 2012 23:48:23 GMT + - Fri, 14 Sep 2012 10:34:05 GMT Content-Type: - application/json + Server: + - Apache/2.2.22 (Fedora) Content-Length: - - "4" + - "247" body: - string: "null" + string: "{\"_id\": {\"$oid\": \"5053081ddc792114e700054c\"}, \"name\": \"integration_test_user\", \"roles\": [], \"_ns\": \"users\", \"login\": \"integration_test_user\", \"password\": null, \"id\": \"5053081ddc792114e700054c\", \"_href\": \"/pulp/api/v2/users/integration_test_user/\"}" http_version: - recorded_at: Thu, 13 Sep 2012 23:48:23 GMT + recorded_at: Fri, 14 Sep 2012 10:34:05 GMT - request: method: post - uri: https://knifeparty.localdomain/pulp/api/v2/users/ + uri: https://admin:admin@knifeparty.localdomain/pulp/api/v2/users/ body: string: "{\"password\":\"integration_test_password\",\"login\":\"integration_test_user\",\"name\":\"integration_test_user\"}" headers: - Pulp-User: - - admin - Accept: - - application/json - Authorization: - - OAuth oauth_body_hash="2jmj7l5rSw0yVb%2FvlWAYkK%2FYBwk%3D", oauth_consumer_key="katello", oauth_nonce="4UhIs4SCy7MDcc9k5Py4x1486mcvJ3LHPYh0n4g", oauth_signature="AbvEDcCnBThE7%2BWB7AWyIfalLrM%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1347580104", oauth_version="1.0" + Accept-Encoding: + - gzip, deflate Content-Type: - application/json + Accept: + - application/json Content-Length: - "103" - Accept-Encoding: - - gzip, deflate response: status: code: 201 message: Created headers: - Location: - - integration_test_user - Server: - - Apache/2.2.22 (Fedora) Date: - - Thu, 13 Sep 2012 23:48:24 GMT + - Fri, 14 Sep 2012 10:34:08 GMT Content-Type: - application/json + Server: + - Apache/2.2.22 (Fedora) + Location: + - integration_test_user Content-Length: - "229" body: - string: "{\"_id\": {\"$oid\": \"505270c8dc792114e70001b4\"}, \"name\": \"integration_test_user\", \"roles\": [], \"_ns\": \"users\", \"login\": \"integration_test_user\", \"id\": \"505270c8dc792114e70001b4\", \"_href\": \"/pulp/api/v2/users/integration_test_user/\"}" + string: "{\"_id\": {\"$oid\": \"50530820dc792114e7000579\"}, \"name\": \"integration_test_user\", \"roles\": [], \"_ns\": \"users\", \"login\": \"integration_test_user\", \"id\": \"50530820dc792114e7000579\", \"_href\": \"/pulp/api/v2/users/integration_test_user/\"}" http_version: - recorded_at: Thu, 13 Sep 2012 23:48:24 GMT + recorded_at: Fri, 14 Sep 2012 10:34:08 GMT - request: method: get - uri: https://admin:admin@knifeparty.localdomain/pulp/api/v2/users/integration_test_user/ + uri: https://knifeparty.localdomain/pulp/api/v2/users/integration_test_user/ body: string: "" headers: + Authorization: + - OAuth oauth_consumer_key="katello", oauth_nonce="OiaNeoYoQDQWZMg9tMVADRw0qaDhtzxhoIzmaEwk", oauth_signature="gGYpabO%2FPiVx4F3daCpo7FEprIM%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1347618864", oauth_version="1.0" Pulp-User: - admin - Accept: - - application/json - Content-Type: - - application/json Accept-Encoding: - gzip, deflate + Content-Type: + - application/json + Accept: + - application/json response: status: code: 200 message: OK headers: - Server: - - Apache/2.2.22 (Fedora) - Date: - - Fri, 14 Sep 2012 00:58:45 GMT Content-Type: - application/json + Date: + - Fri, 14 Sep 2012 10:34:24 GMT + Server: + - Apache/2.2.22 (Fedora) Content-Length: - "247" body: - string: "{\"_id\": {\"$oid\": \"50528145dc792114e70001bf\"}, \"name\": \"integration_test_user\", \"roles\": [], \"_ns\": \"users\", \"login\": \"integration_test_user\", \"password\": null, \"id\": \"50528145dc792114e70001bf\", \"_href\": \"/pulp/api/v2/users/integration_test_user/\"}" + string: "{\"_id\": {\"$oid\": \"50530830dc792114e700059a\"}, \"name\": \"integration_test_user\", \"roles\": [], \"_ns\": \"users\", \"login\": \"integration_test_user\", \"password\": null, \"id\": \"50530830dc792114e700059a\", \"_href\": \"/pulp/api/v2/users/integration_test_user/\"}" http_version: - recorded_at: Fri, 14 Sep 2012 00:58:45 GMT + recorded_at: Fri, 14 Sep 2012 10:34:24 GMT - request: method: delete - uri: https://admin:admin@knifeparty.localdomain/pulp/api/v2/users/integration_test_user/ + uri: https://knifeparty.localdomain/pulp/api/v2/users/integration_test_user/ body: string: "" headers: + Authorization: + - OAuth oauth_consumer_key="katello", oauth_nonce="rY1S66BAm9QNdysC00wWyMFZBpOaw13Bzxh3IW9aFU", oauth_signature="fpMqoMloGB8QSvfzv1KrrspunUs%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1347618865", oauth_version="1.0" Pulp-User: - admin - Accept: - - application/json - Content-Type: - - application/json Accept-Encoding: - gzip, deflate + Content-Type: + - application/json + Accept: + - application/json response: status: code: 200 message: OK headers: - Server: - - Apache/2.2.22 (Fedora) - Date: - - Fri, 14 Sep 2012 00:58:48 GMT Content-Type: - application/json + Date: + - Fri, 14 Sep 2012 10:34:25 GMT + Server: + - Apache/2.2.22 (Fedora) Content-Length: - "4" body: string: "null" http_version: - recorded_at: Fri, 14 Sep 2012 00:58:48 GMT + recorded_at: Fri, 14 Sep 2012 10:34:25 GMT - request: method: post - uri: https://admin:admin@knifeparty.localdomain/pulp/api/v2/users/ + uri: https://knifeparty.localdomain/pulp/api/v2/users/ body: string: "{\"password\":\"integration_test_password\",\"login\":\"integration_test_user\",\"name\":\"integration_test_user\"}" headers: + Authorization: + - OAuth oauth_body_hash="2jmj7l5rSw0yVb%2FvlWAYkK%2FYBwk%3D", oauth_consumer_key="katello", oauth_nonce="PoRfUkYNlgf4bOCQ5KN9mk3WwoB5IgeKTpgHEHmWV04", oauth_signature="6f%2BYu8wORab4%2FRc9MQmxhaB9B4g%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1347618866", oauth_version="1.0" Pulp-User: - admin - Accept: - - application/json + Accept-Encoding: + - gzip, deflate Content-Type: - application/json + Accept: + - application/json Content-Length: - "103" - Accept-Encoding: - - gzip, deflate response: status: code: 201 message: Created headers: + Content-Type: + - application/json + Date: + - Fri, 14 Sep 2012 10:34:26 GMT Server: - Apache/2.2.22 (Fedora) Location: - integration_test_user - Date: - - Fri, 14 Sep 2012 00:58:49 GMT - Content-Type: - - application/json Content-Length: - "229" body: - string: "{\"_id\": {\"$oid\": \"50528149dc792114e70001f6\"}, \"name\": \"integration_test_user\", \"roles\": [], \"_ns\": \"users\", \"login\": \"integration_test_user\", \"id\": \"50528149dc792114e70001f6\", \"_href\": \"/pulp/api/v2/users/integration_test_user/\"}" + string: "{\"_id\": {\"$oid\": \"50530832dc792114e70005bb\"}, \"name\": \"integration_test_user\", \"roles\": [], \"_ns\": \"users\", \"login\": \"integration_test_user\", \"id\": \"50530832dc792114e70005bb\", \"_href\": \"/pulp/api/v2/users/integration_test_user/\"}" http_version: - recorded_at: Fri, 14 Sep 2012 00:58:49 GMT -recorded_with: VCR 2.2.5 + recorded_at: Fri, 14 Sep 2012 10:34:26 GMT