Project

General

Profile

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

runcible / test / fixtures / vcr_cassettes / resources / general_methods / consumer_path_with_id.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:57 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": "5a0b4fb170be6f049ee2a568"}, "id": "integration_test_consumer",
44
        "_href": "/pulp/api/v2/consumers/integration_test_consumer/"}, "certificate":
45
        "-----BEGIN RSA PRIVATE KEY-----\nMIICWwIBAAKBgQCz/0XPREu/q5e5d7hEiR6Lmvmd3UYuYK/Ek7QzYkzGZQ/X3UCN\nmWGjHoAyrPiNDV7DNt7KVTwXaopc/kAEniE+Tl6jyhHTIYtkSt/yYYbY/dePUWzk\nmuBWq+aEH6n3SrPPST/gWXfUQT1TfLQye7A7WeXB6/XIx1rszDqpHpRK+wIDAQAB\nAoGAWeuZEGZqASLT9U+dun9VxyBwuzCjst+Sb33qdBETkblDJO/fI94QLNE78hT/\nRlf7k0KCI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\nMnuwO1nlwev1yMda7Mw6qR6USvsCAwEAATANBgkqhkiG9w0BAQUFAAOCAgEAmxZY\n3tZsoObSFrx5QTLGJJ8dME+nxElWXKrUzOIkO2GHEa/83yGYAR2QCN2i714s/hia\nczJXatBGmpWuuu+se2xboL3lLgC1ewmeZTaQ20J4sjqEKf5QBGgTQeaX5+wucgfq\nekcEyNhE2UioHoG3dR1/HnEDXmNbfgwOkVPMf0fyTOF7KDqYVOEXm2jPTa11oL43\nvczM8IW22lZSkOXwtb0nMvyodUvgh3E0up9iBscFX/DOcwb/8Yd4NC/csc2aKsLm\nuHggAQiX/6u3tTxwvCIvvSFzV7DZzyksic+29KHc0ch1JbwB9PJgJbTvwIoBdgm2\naJdTu+paIHT/UDUHlb2/SAOWk+VSSFzn3LPGHuVO1eYHr4G9Wg8ENYRMC0+bH64o\nDMuIRLXAAjH4SBu4Dg1MxvyL/kYwmyvqQy1alcr7RiNDD0qAPb0AwMDXU1qWTUmO\nIUaGRVjQ0I46k7n4eZ9g47l2z9MDrOcN5/rR2SbFnk8iWbM/sZYjD1L0AAXH4ANR\nQL/Ii9eJU2Lxihd8Cfpit5dgOCouOtAbJBNAo85AREQsf9DMmgXLPjmKZTKUHbPO\n+SS8XDQZxxRJVawJpmic/s02SxtzC90ptZRpsZi7DALqLvaynvbDwCkWZmz7FRXY\nj7GkYWsm87TrauXpQY3BGTkawF1qpa5g19XkqfU=\n-----END
47
        CERTIFICATE-----"}'
48
    http_version: 
49
  recorded_at: Tue, 14 Nov 2017 20:18:57 GMT
50
- request:
51
    method: delete
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:57 GMT
74
      Server:
75
      - Apache/2.4.6 (CentOS)
76
      Content-Length:
77
      - '4'
78
      Connection:
79
      - close
80
      Content-Type:
81
      - application/json; charset=utf-8
82
    body:
83
      encoding: UTF-8
84
      string: 'null'
85
    http_version: 
86
  recorded_at: Tue, 14 Nov 2017 20:18:57 GMT
87
recorded_with: VCR 3.0.3