Project

General

Profile

Download (5.49 KB) Statistics
| Branch: | Tag: | Revision:

runcible / test / fixtures / vcr_cassettes / resources / general_methods / retrieve.yml @ df1b6e2a

1
---
2
http_interactions:
3
- request:
4
    method: post
5
    uri: https://admin:admin@obelix.example.com/pulp/api/v2/consumers/
6
    body:
7
      encoding: UTF-8
8
      string: '{"id":"integration_test_consumer","name":"boo"}'
9
    headers:
10
      Accept:
11
      - application/json
12
      Accept-Encoding:
13
      - gzip, deflate
14
      User-Agent:
15
      - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.2.4p230
16
      Content-Type:
17
      - application/json
18
      Content-Length:
19
      - '47'
20
      Host:
21
      - obelix.example.com
22
  response:
23
    status:
24
      code: 201
25
      message: CREATED
26
    headers:
27
      Date:
28
      - Tue, 14 Nov 2017 20:18:56 GMT
29
      Server:
30
      - Apache/2.4.6 (CentOS)
31
      Content-Length:
32
      - '2497'
33
      Location:
34
      - https://obelix.example.com/pulp/api/v2/consumers/integration_test_consumer/
35
      Connection:
36
      - close
37
      Content-Type:
38
      - application/json; charset=utf-8
39
    body:
40
      encoding: UTF-8
41
      string: '{"consumer": {"display_name": "integration_test_consumer", "description":
42
        null, "_ns": "consumers", "notes": {}, "rsa_pub": null, "capabilities": {},
43
        "_id": {"$oid": "5a0b4fb070be6f049ee2a564"}, "id": "integration_test_consumer",
44
        "_href": "/pulp/api/v2/consumers/integration_test_consumer/"}, "certificate":
45
        "-----BEGIN RSA PRIVATE KEY-----\nMIICXQIBAAKBgQDJPcaAIcKhvYJ10UIZex4bbetJQneszXd/ZdEWCoCPSjwhEnvA\ndauzah1cNEXuhCGTOA0hle0GFxecIxoiv+0bVimfSKcykSiNHPcy5VajZxKA8fmY\nkmM19MxLb/XRaXwjxdUhCStLJ2SIuZTYjcE8IfCXhqbB63YE5NSo8VfRQQIDAQAB\nAoGBAIfNemEJZ1DClIFxX4vWe7DC8p6TjjM8zMFaMkkPeUY5MG6ZDI4KWn5Ow9Vv\nKSoWXJn+n03k4Pj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n2I3BPCHwl4amwet2BOTUqPFX0UECAwEAATANBgkqhkiG9w0BAQUFAAOCAgEAWwbm\njV1F2A7Qt3jKAKkP4cyXe0YyRrZkSpLFD1Kt5swNRyz6nTIzWc+D8QEOsnM+gNuN\nvic5nRSh5Dy6+wkwzzoORE4Lg6JL1dP2XCGy63uWLdBwfLIyGc52frte9U12O/8B\nSlPnIqgypr/+YihCaZvXQhjSLa8cZ+DAPZ/cbe3gyB2qSqyO6NO2i43BwhitUlzY\njXwL4qsd8JvoexXHm9vEooNgtelqmpVi0/EU2ArhwMXg45OE6idNUFX9fXG6Ece6\nMHVonhgJQ6WIGitlZZrYtFQxWniUylZ3ATzu5+TcDvYBXiA9at7J9L9MXUYibZYY\nIjB0ASwdu4rDFBCVvL5u3rqtLmlssNssZ1i8ExUU+bkXpoBfwwwvKURxtL6aanHU\n0YUPv3B3QIS33rTPzN59IptGDHcTLAso1LrOt8msJvGIuyUUTp+Cim0GJceMPAsE\ntzUJmT78VC/t5vo6OysRGuKX47VhOIW8gIIKY11EKX7hnDyjgMK+2CM34NYcUQfq\nLQmtqsFKY02pYvvhuZjsnOnlL7imh05zno/vxHkwAK2jPXF1y5R47W2Cqxf7NQy7\n1WsJGEL4YfSAfRFyOKg5eoiz68ONBlZgbXCkVxVrfRO9sUsctjTrYSZeHNaDofPA\nSu3kj8/rQB8Io1tnbYooiRfB14WHcJQgmuECZVA=\n-----END
47
        CERTIFICATE-----"}'
48
    http_version: 
49
  recorded_at: Tue, 14 Nov 2017 20:18:56 GMT
50
- request:
51
    method: get
52
    uri: https://admin:admin@obelix.example.com/pulp/api/v2/consumers/integration_test_consumer/
53
    body:
54
      encoding: US-ASCII
55
      string: ''
56
    headers:
57
      Accept:
58
      - application/json
59
      Accept-Encoding:
60
      - gzip, deflate
61
      User-Agent:
62
      - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.2.4p230
63
      Content-Type:
64
      - application/json
65
      Host:
66
      - obelix.example.com
67
  response:
68
    status:
69
      code: 200
70
      message: OK
71
    headers:
72
      Date:
73
      - Tue, 14 Nov 2017 20:18:56 GMT
74
      Server:
75
      - Apache/2.4.6 (CentOS)
76
      Vary:
77
      - Accept-Encoding
78
      Content-Length:
79
      - '278'
80
      Connection:
81
      - close
82
      Content-Type:
83
      - application/json; charset=utf-8
84
    body:
85
      encoding: ASCII-8BIT
86
      string: '{"display_name": "integration_test_consumer", "description": null,
87
        "_ns": "consumers", "notes": {}, "rsa_pub": null, "capabilities": {}, "_id":
88
        {"$oid": "5a0b4fb070be6f049ee2a564"}, "id": "integration_test_consumer", "_href":
89
        "/pulp/api/v2/consumers/integration_test_consumer/"}'
90
    http_version: 
91
  recorded_at: Tue, 14 Nov 2017 20:18:56 GMT
92
- request:
93
    method: delete
94
    uri: https://admin:admin@obelix.example.com/pulp/api/v2/consumers/integration_test_consumer/
95
    body:
96
      encoding: US-ASCII
97
      string: ''
98
    headers:
99
      Accept:
100
      - application/json
101
      Accept-Encoding:
102
      - gzip, deflate
103
      User-Agent:
104
      - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.2.4p230
105
      Content-Type:
106
      - application/json
107
      Host:
108
      - obelix.example.com
109
  response:
110
    status:
111
      code: 200
112
      message: OK
113
    headers:
114
      Date:
115
      - Tue, 14 Nov 2017 20:18:56 GMT
116
      Server:
117
      - Apache/2.4.6 (CentOS)
118
      Content-Length:
119
      - '4'
120
      Connection:
121
      - close
122
      Content-Type:
123
      - application/json; charset=utf-8
124
    body:
125
      encoding: UTF-8
126
      string: 'null'
127
    http_version: 
128
  recorded_at: Tue, 14 Nov 2017 20:18:57 GMT
129
recorded_with: VCR 3.0.3