1 |
fc9ddd6c
|
Partha Aji
|
---
|
2 |
|
|
http_interactions:
|
3 |
|
|
- request:
|
4 |
380dd8d3
|
Justin Sherrill
|
method: post
|
5 |
df1b6e2a
|
Partha Aji
|
uri: https://admin:admin@obelix.example.com/pulp/api/v2/consumers/
|
6 |
fc9ddd6c
|
Partha Aji
|
body:
|
7 |
c6ff17f6
|
David Davis
|
encoding: UTF-8
|
8 |
|
|
string: '{"id":"integration_test_consumer","name":"boo"}'
|
9 |
fc9ddd6c
|
Partha Aji
|
headers:
|
10 |
|
|
Accept:
|
11 |
380dd8d3
|
Justin Sherrill
|
- application/json
|
12 |
fc9ddd6c
|
Partha Aji
|
Accept-Encoding:
|
13 |
380dd8d3
|
Justin Sherrill
|
- gzip, deflate
|
14 |
df1b6e2a
|
Partha Aji
|
User-Agent:
|
15 |
|
|
- rest-client/2.0.2 (linux-gnu x86_64) ruby/2.2.4p230
|
16 |
fc9ddd6c
|
Partha Aji
|
Content-Type:
|
17 |
380dd8d3
|
Justin Sherrill
|
- application/json
|
18 |
fc9ddd6c
|
Partha Aji
|
Content-Length:
|
19 |
|
|
- '47'
|
20 |
df1b6e2a
|
Partha Aji
|
Host:
|
21 |
|
|
- obelix.example.com
|
22 |
fc9ddd6c
|
Partha Aji
|
response:
|
23 |
|
|
status:
|
24 |
380dd8d3
|
Justin Sherrill
|
code: 201
|
25 |
fc9ddd6c
|
Partha Aji
|
message: CREATED
|
26 |
|
|
headers:
|
27 |
|
|
Date:
|
28 |
df1b6e2a
|
Partha Aji
|
- Tue, 14 Nov 2017 20:18:49 GMT
|
29 |
fc9ddd6c
|
Partha Aji
|
Server:
|
30 |
|
|
- Apache/2.4.6 (CentOS)
|
31 |
|
|
Content-Length:
|
32 |
df1b6e2a
|
Partha Aji
|
- '2497'
|
33 |
fc9ddd6c
|
Partha Aji
|
Location:
|
34 |
df1b6e2a
|
Partha Aji
|
- https://obelix.example.com/pulp/api/v2/consumers/integration_test_consumer/
|
35 |
|
|
Connection:
|
36 |
|
|
- close
|
37 |
fc9ddd6c
|
Partha Aji
|
Content-Type:
|
38 |
6a290cda
|
Partha Aji
|
- application/json; charset=utf-8
|
39 |
fc9ddd6c
|
Partha Aji
|
body:
|
40 |
c6ff17f6
|
David Davis
|
encoding: UTF-8
|
41 |
|
|
string: '{"consumer": {"display_name": "integration_test_consumer", "description":
|
42 |
fc9ddd6c
|
Partha Aji
|
null, "_ns": "consumers", "notes": {}, "rsa_pub": null, "capabilities": {},
|
43 |
df1b6e2a
|
Partha Aji
|
"_id": {"$oid": "5a0b4fa970be6f049ca06fcd"}, "id": "integration_test_consumer",
|
44 |
fc9ddd6c
|
Partha Aji
|
"_href": "/pulp/api/v2/consumers/integration_test_consumer/"}, "certificate":
|
45 |
df1b6e2a
|
Partha Aji
|
"-----BEGIN RSA PRIVATE KEY-----\nMIICXAIBAAKBgQDFP0CvRQfMQvshz1KKI05QY8KM6dVf1CNgO9yWuWSNqPUDzIyw\nyK3fjDHghTBTVdx4USBxgSx4rBz3JqJSAcMPRUwAUuZITnEvqrpo0EJQXIp7gTH7\ne8ZkneSroz5tCTH05UqsfmRlCRsE+HT3OW/8NBS8Mq43kUCPWB5Mro056QIDAQAB\nAoGAFCQVUtBVr4HXauhkoT5hrMvC/eiSpSpgQl9acvmTTvPFsRGd/B9BweXq4eY3\nvQqzbIW8LlrmU5wfiQ0k3gLYC/U7+Z+M3KI/++H4fHGEr/EsdMmFJYgaK0jVEN1q\nNDFZeat6GxZy7YMD6jHtN1Mg5lPocqT2pbdcZjshrTcBbpECQQDmIOaZhdwgAzwA\nxUR0jeWaQjhr5XF7phfziMQMow5rQP35Bv6MRKv5UMtV9E0akDSAWLMu/Ue7Nzwr\nNdIl8xtrAkEA22wGJ+n6rPPC7eI6eB95YKQmsvyzHV05bF+DHP4odynsyYmp8jMo\nYoS1Wzfu0A+egls62C86R37IQKaq3III+wJBAMb1IukQBePXaATyh+CM3Tikj8sY\nryhLzOFMGNMkFc88fVbTaTc0F8qQw3son5Cb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q4GdXNYnAmKQ6eIIfMffiW5zweEf2mTO\nsp9NmDFILbqDw8oXKc0mIvjAxJTJ+0ZMWZbSl9/zPJNkfQJkRY7tP7Y+nqgmNCVt\nFweT23HrgzrTKNZ2QRAgpgDCcaMQT0c8Zj5kHolAWD4ZPcJnkfr32lKKoAbivMsu\nCvBqyiIdC0xzbFhe56jkgbbmpbrRoky+wNgDhjxFzDo0ar7XUV/3nNUMIWdENMie\nNHQcoj01NEIBRjITdZXf1+YtKRQ/gK4aRU/nd78U3Dv5y0zbJ+uzLI2YbFAS5PMa\nk6lUGAxZ0QLcbKmjZtsf3mgpPCRYf6LNM9xiG6awC2JsJJSL49wfqy5/msZCTD8f\n4JILSaLTL0bKDGhU3nJjA9W/L5vF/w6qkyRLDVwW\n-----END
|
47 |
fc9ddd6c
|
Partha Aji
|
CERTIFICATE-----"}'
|
48 |
380dd8d3
|
Justin Sherrill
|
http_version:
|
49 |
df1b6e2a
|
Partha Aji
|
recorded_at: Tue, 14 Nov 2017 20:18:49 GMT
|
50 |
fc9ddd6c
|
Partha Aji
|
- request:
|
51 |
380dd8d3
|
Justin Sherrill
|
method: delete
|
52 |
df1b6e2a
|
Partha Aji
|
uri: https://admin:admin@obelix.example.com/pulp/api/v2/consumers/integration_test_consumer/
|
53 |
fc9ddd6c
|
Partha Aji
|
body:
|
54 |
380dd8d3
|
Justin Sherrill
|
encoding: US-ASCII
|
55 |
fc9ddd6c
|
Partha Aji
|
string: ''
|
56 |
|
|
headers:
|
57 |
|
|
Accept:
|
58 |
380dd8d3
|
Justin Sherrill
|
- application/json
|
59 |
fc9ddd6c
|
Partha Aji
|
Accept-Encoding:
|
60 |
380dd8d3
|
Justin Sherrill
|
- gzip, deflate
|
61 |
df1b6e2a
|
Partha Aji
|
User-Agent:
|
62 |
|
|
- rest-client/2.0.2 (linux-gnu x86_64) ruby/2.2.4p230
|
63 |
fc9ddd6c
|
Partha Aji
|
Content-Type:
|
64 |
380dd8d3
|
Justin Sherrill
|
- application/json
|
65 |
df1b6e2a
|
Partha Aji
|
Host:
|
66 |
|
|
- obelix.example.com
|
67 |
fc9ddd6c
|
Partha Aji
|
response:
|
68 |
|
|
status:
|
69 |
380dd8d3
|
Justin Sherrill
|
code: 200
|
70 |
|
|
message: OK
|
71 |
fc9ddd6c
|
Partha Aji
|
headers:
|
72 |
|
|
Date:
|
73 |
df1b6e2a
|
Partha Aji
|
- Tue, 14 Nov 2017 20:18:49 GMT
|
74 |
fc9ddd6c
|
Partha Aji
|
Server:
|
75 |
|
|
- Apache/2.4.6 (CentOS)
|
76 |
|
|
Content-Length:
|
77 |
|
|
- '4'
|
78 |
df1b6e2a
|
Partha Aji
|
Connection:
|
79 |
|
|
- close
|
80 |
fc9ddd6c
|
Partha Aji
|
Content-Type:
|
81 |
6a290cda
|
Partha Aji
|
- application/json; charset=utf-8
|
82 |
fc9ddd6c
|
Partha Aji
|
body:
|
83 |
c6ff17f6
|
David Davis
|
encoding: UTF-8
|
84 |
fc9ddd6c
|
Partha Aji
|
string: 'null'
|
85 |
380dd8d3
|
Justin Sherrill
|
http_version:
|
86 |
df1b6e2a
|
Partha Aji
|
recorded_at: Tue, 14 Nov 2017 20:18:49 GMT
|
87 |
|
|
recorded_with: VCR 3.0.3 |