|
---
|
|
http_interactions:
|
|
- request:
|
|
method: post
|
|
uri: https://admin:admin@localhost/pulp/api/v2/users/
|
|
body:
|
|
encoding: US-ASCII
|
|
string: "{\"login\":\"integration_test_user\"}"
|
|
headers:
|
|
Accept:
|
|
- application/json
|
|
Accept-Encoding:
|
|
- gzip, deflate
|
|
Content-Type:
|
|
- application/json
|
|
Content-Length:
|
|
- "33"
|
|
User-Agent:
|
|
- Ruby
|
|
response:
|
|
status:
|
|
code: 201
|
|
message: Created
|
|
headers:
|
|
Date:
|
|
- Mon, 18 Mar 2013 17:36:03 GMT
|
|
Server:
|
|
- Apache/2.4.3 (Fedora) OpenSSL/1.0.1c-fips mod_wsgi/3.4 Python/2.7.3
|
|
Location:
|
|
- integration_test_user
|
|
Content-Length:
|
|
- "229"
|
|
Content-Type:
|
|
- application/json
|
|
body:
|
|
encoding: US-ASCII
|
|
string: "{\"_id\": {\"$oid\": \"514750834964c84cd4fd661c\"}, \"name\": \"integration_test_user\", \"roles\": [], \"_ns\": \"users\", \"login\": \"integration_test_user\", \"id\": \"514750834964c84cd4fd661c\", \"_href\": \"/pulp/api/v2/users/integration_test_user/\"}"
|
|
http_version:
|
|
recorded_at: Mon, 18 Mar 2013 17:36:04 GMT
|
|
- request:
|
|
method: get
|
|
uri: https://admin:admin@localhost/pulp/api/v2/users/integration_test_user/
|
|
body:
|
|
encoding: US-ASCII
|
|
string: ""
|
|
headers:
|
|
Accept:
|
|
- application/json
|
|
Accept-Encoding:
|
|
- gzip, deflate
|
|
Content-Type:
|
|
- application/json
|
|
User-Agent:
|
|
- Ruby
|
|
response:
|
|
status:
|
|
code: 200
|
|
message: OK
|
|
headers:
|
|
Date:
|
|
- Mon, 18 Mar 2013 17:36:05 GMT
|
|
Server:
|
|
- Apache/2.4.3 (Fedora) OpenSSL/1.0.1c-fips mod_wsgi/3.4 Python/2.7.3
|
|
Content-Length:
|
|
- "302"
|
|
Content-Type:
|
|
- application/json
|
|
body:
|
|
encoding: US-ASCII
|
|
string: "{\"_id\": {\"$oid\": \"514750854964c84cd4fd664a\"}, \"name\": \"integration_test_user\", \"roles\": [], \"_ns\": \"users\", \"login\": \"integration_test_user\", \"password\": \"U68yjGhTF+M=,LLXpk9E0o/szVBPUSHDZutZt9or0iko5WPO2J04v4dY=\", \"id\": \"514750854964c84cd4fd664a\", \"_href\": \"/pulp/api/v2/users/integration_test_user/\"}"
|
|
http_version:
|
|
recorded_at: Mon, 18 Mar 2013 17:36:05 GMT
|
|
- request:
|
|
method: delete
|
|
uri: https://admin:admin@localhost/pulp/api/v2/users/integration_test_user/
|
|
body:
|
|
encoding: US-ASCII
|
|
string: ""
|
|
headers:
|
|
Accept:
|
|
- application/json
|
|
Accept-Encoding:
|
|
- gzip, deflate
|
|
Content-Type:
|
|
- application/json
|
|
User-Agent:
|
|
- Ruby
|
|
response:
|
|
status:
|
|
code: 200
|
|
message: OK
|
|
headers:
|
|
Date:
|
|
- Mon, 18 Mar 2013 17:36:05 GMT
|
|
Server:
|
|
- Apache/2.4.3 (Fedora) OpenSSL/1.0.1c-fips mod_wsgi/3.4 Python/2.7.3
|
|
Content-Length:
|
|
- "4"
|
|
Content-Type:
|
|
- application/json
|
|
body:
|
|
encoding: US-ASCII
|
|
string: "null"
|
|
http_version:
|
|
recorded_at: Mon, 18 Mar 2013 17:36:06 GMT
|
|
recorded_with: VCR 2.4.0
|