test/integration/fixtures/vcr_cassettes/pulp_user.yml in runcible-0.0.1 vs test/integration/fixtures/vcr_cassettes/pulp_user.yml in runcible-0.0.2
- old
+ new
@@ -1,288 +1,548 @@
---
-recorded_with: VCR 2.2.4
http_interactions:
- request:
method: delete
uri: https://admin:admin@localhost/pulp/api/v2/users/integration_test_uer/
body:
string: ""
headers:
- Accept-Encoding:
- - gzip, deflate
- Content-Type:
- - application/json
Accept:
- application/json
+ Content-Type:
+ - application/json
+ Accept-Encoding:
+ - gzip, deflate
response:
status:
code: 200
message: OK
headers:
Server:
- Apache/2.2.22 (Fedora)
- Content-Type:
- - application/json
- Content-Length:
- - "4"
Connection:
- close
Date:
- Sun, 09 Sep 2012 00:16:36 GMT
+ Content-Type:
+ - application/json
+ Content-Length:
+ - "4"
body:
string: "null"
http_version:
recorded_at: Sun, 09 Sep 2012 00:16:36 GMT
- request:
method: delete
uri: https://admin:admin@localhost/pulp/api/v2users/integration_test_user
body:
string: ""
headers:
- Accept-Encoding:
- - gzip, deflate
- Content-Type:
- - application/json
Accept:
- application/json
+ Content-Type:
+ - application/json
+ Accept-Encoding:
+ - gzip, deflate
response:
status:
code: 404
message: Not Found
headers:
Server:
- Apache/2.2.22 (Fedora)
- Content-Type:
- - text/html; charset=UTF-8
- Content-Length:
- - "9"
Connection:
- close
Date:
- Sun, 09 Sep 2012 04:31:41 GMT
+ Content-Type:
+ - text/html; charset=UTF-8
+ Content-Length:
+ - "9"
body:
string: not found
http_version:
recorded_at: Sun, 09 Sep 2012 04:31:41 GMT
- request:
method: get
uri: https://admin:admin@localhost/pulp/api/v2users/admin
body:
string: ""
headers:
- Accept-Encoding:
- - gzip, deflate
- Content-Type:
- - application/json
Accept:
- application/json
+ Content-Type:
+ - application/json
+ Accept-Encoding:
+ - gzip, deflate
response:
status:
code: 404
message: Not Found
headers:
Server:
- Apache/2.2.22 (Fedora)
- Content-Type:
- - text/html; charset=UTF-8
- Content-Length:
- - "9"
Connection:
- close
Date:
- Sun, 09 Sep 2012 04:32:39 GMT
+ Content-Type:
+ - text/html; charset=UTF-8
+ Content-Length:
+ - "9"
body:
string: not found
http_version:
recorded_at: Sun, 09 Sep 2012 04:32:39 GMT
- request:
method: get
uri: https://admin:admin@localhost/pulp/api/v2/users/admin
body:
string: ""
headers:
- Accept-Encoding:
- - gzip, deflate
- Content-Type:
- - application/json
Accept:
- application/json
+ Content-Type:
+ - application/json
+ Accept-Encoding:
+ - gzip, deflate
response:
status:
code: 404
message: Not Found
headers:
Server:
- Apache/2.2.22 (Fedora)
- Content-Type:
- - text/html; charset=UTF-8
- Content-Length:
- - "9"
Connection:
- close
Date:
- Sun, 09 Sep 2012 04:33:46 GMT
+ Content-Type:
+ - text/html; charset=UTF-8
+ Content-Length:
+ - "9"
body:
string: not found
http_version:
recorded_at: Sun, 09 Sep 2012 04:33:46 GMT
- request:
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-Encoding:
- - gzip, deflate
+ Accept:
+ - application/json
Content-Type:
- application/json
Content-Length:
- "103"
- Accept:
- - application/json
+ Accept-Encoding:
+ - gzip, deflate
response:
status:
code: 404
message: Not Found
headers:
Server:
- Apache/2.2.22 (Fedora)
- Content-Type:
- - text/html; charset=UTF-8
- Content-Length:
- - "9"
Connection:
- close
Date:
- Sun, 09 Sep 2012 04:33:46 GMT
+ Content-Type:
+ - text/html; charset=UTF-8
+ Content-Length:
+ - "9"
body:
string: not found
http_version:
recorded_at: Sun, 09 Sep 2012 04:33:46 GMT
- request:
method: get
uri: https://admin:admin@localhost/pulp/api/v2/users/admin/
body:
string: ""
headers:
- Accept-Encoding:
- - gzip, deflate
- Content-Type:
- - application/json
Accept:
- application/json
+ Content-Type:
+ - application/json
+ Accept-Encoding:
+ - gzip, deflate
response:
status:
code: 200
message: OK
headers:
Server:
- Apache/2.2.22 (Fedora)
- Content-Type:
- - application/json
- Content-Length:
- - "267"
Connection:
- close
Date:
- Sun, 09 Sep 2012 10:52:52 GMT
+ Content-Type:
+ - application/json
+ 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:
recorded_at: Sun, 09 Sep 2012 10:52:52 GMT
- request:
- method: get
+ 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
+ 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
+ Content-Length:
+ - "4"
+ body:
+ string: "null"
+ http_version:
+ recorded_at: Thu, 13 Sep 2012 21:19:38 GMT
+- request:
+ 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
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
Content-Length:
- "247"
- Connection:
- - close
- Date:
- - Mon, 10 Sep 2012 01:16:08 GMT
body:
- string: "{\"_id\": {\"$oid\": \"504d3f58ec6a6d697600182e\"}, \"name\": \"integration_test_user\", \"roles\": [], \"_ns\": \"users\", \"login\": \"integration_test_user\", \"password\": null, \"id\": \"504d3f58ec6a6d697600182e\", \"_href\": \"/pulp/api/v2/users/integration_test_user/\"}"
+ 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:
- recorded_at: Mon, 10 Sep 2012 01:16:08 GMT
+ recorded_at: Thu, 13 Sep 2012 21:19:40 GMT
- request:
method: post
uri: https://admin:admin@localhost/pulp/api/v2/users/
body:
- string: "{\"login\":\"integration_test_user\"}"
+ string: "{\"password\":\"integration_test_password\",\"login\":\"integration_test_user\",\"name\":\"integration_test_user\"}"
headers:
+ Accept:
+ - application/json
Content-Type:
- 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
Content-Length:
- - "33"
+ - "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:
+ recorded_at: Thu, 13 Sep 2012 21:19:42 GMT
+- request:
+ 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"
+ Content-Type:
+ - application/json
+ Content-Length:
+ - "103"
+ Accept-Encoding:
+ - gzip, deflate
response:
status:
- code: 201
- message: Created
+ code: 401
+ message: Unauthorized
headers:
Server:
- Apache/2.2.22 (Fedora)
+ Date:
+ - Thu, 13 Sep 2012 21:20:52 GMT
Content-Type:
- application/json
+ 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/
+ body:
+ string: "{\"password\":\"integration_test_password\",\"login\":\"integration_test_user\",\"name\":\"integration_test_user\"}"
+ headers:
+ Pulp-User:
+ - admin
+ Accept:
+ - application/json
+ Content-Type:
+ - 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 23:46:28 GMT
+ Content-Type:
+ - application/json
+ Content-Length:
+ - "30"
+ body:
+ string: "\"Invalid username or password\""
+ http_version:
+ recorded_at: Thu, 13 Sep 2012 23:46:28 GMT
+- request:
+ method: get
+ uri: https://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
+ response:
+ status:
+ code: 200
+ message: OK
+ headers:
+ Server:
+ - Apache/2.2.22 (Fedora)
+ Date:
+ - Thu, 13 Sep 2012 23:48:21 GMT
+ Content-Type:
+ - application/json
+ Content-Length:
+ - "247"
+ 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/\"}"
+ http_version:
+ recorded_at: Thu, 13 Sep 2012 23:48:22 GMT
+- request:
+ method: delete
+ uri: https://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
+ response:
+ status:
+ code: 200
+ message: OK
+ headers:
+ Server:
+ - Apache/2.2.22 (Fedora)
+ Date:
+ - Thu, 13 Sep 2012 23:48:23 GMT
+ Content-Type:
+ - application/json
+ Content-Length:
+ - "4"
+ body:
+ string: "null"
+ http_version:
+ recorded_at: Thu, 13 Sep 2012 23:48:23 GMT
+- request:
+ method: post
+ uri: 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:
+ - 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"
+ Content-Type:
+ - application/json
+ Content-Length:
+ - "103"
+ Accept-Encoding:
+ - gzip, deflate
+ response:
+ status:
+ code: 201
+ message: Created
+ headers:
Location:
- integration_test_user
- Connection:
- - close
+ Server:
+ - Apache/2.2.22 (Fedora)
+ Date:
+ - Thu, 13 Sep 2012 23:48:24 GMT
+ Content-Type:
+ - application/json
Content-Length:
- "229"
- Date:
- - Mon, 10 Sep 2012 01:18:30 GMT
body:
- string: "{\"_id\": {\"$oid\": \"504d3fe6ec6a6d69760018f5\"}, \"name\": \"integration_test_user\", \"roles\": [], \"_ns\": \"users\", \"login\": \"integration_test_user\", \"id\": \"504d3fe6ec6a6d69760018f5\", \"_href\": \"/pulp/api/v2/users/integration_test_user/\"}"
+ 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/\"}"
http_version:
- recorded_at: Mon, 10 Sep 2012 01:18:30 GMT
+ recorded_at: Thu, 13 Sep 2012 23:48:24 GMT
- request:
- method: delete
- uri: https://admin:admin@localhost/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
Content-Type:
- application/json
Accept-Encoding:
- gzip, deflate
+ 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
+ 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/\"}"
+ http_version:
+ recorded_at: Fri, 14 Sep 2012 00:58:45 GMT
+- request:
+ method: delete
+ uri: https://admin:admin@knifeparty.localdomain/pulp/api/v2/users/integration_test_user/
+ body:
+ string: ""
+ headers:
+ Pulp-User:
+ - admin
Accept:
- application/json
+ Content-Type:
+ - application/json
+ Accept-Encoding:
+ - gzip, deflate
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
- Connection:
- - close
Content-Length:
- "4"
- Date:
- - Mon, 10 Sep 2012 01:18:30 GMT
body:
string: "null"
http_version:
- recorded_at: Mon, 10 Sep 2012 01:18:31 GMT
+ recorded_at: Fri, 14 Sep 2012 00:58:48 GMT
+- request:
+ method: post
+ 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
+ Content-Type:
+ - application/json
+ Content-Length:
+ - "103"
+ Accept-Encoding:
+ - gzip, deflate
+ response:
+ status:
+ code: 201
+ message: Created
+ headers:
+ 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/\"}"
+ http_version:
+ recorded_at: Fri, 14 Sep 2012 00:58:49 GMT
+recorded_with: VCR 2.2.5