Project

General

Profile

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

runcible / test / fixtures / vcr_cassettes / resources / general_methods / path.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": "5a0b4fb170be6f049ca06fd5"}, "id": "integration_test_consumer",
44
        "_href": "/pulp/api/v2/consumers/integration_test_consumer/"}, "certificate":
45
        "-----BEGIN RSA PRIVATE KEY-----\nMIICXAIBAAKBgQCksy4oASguWkfVKOwI6383eH7qjJ+R1O+v3mjD45CGAH1FgH7E\n7wXp9XcgoMakCA++RsnB9E7gkdRM2tdzGOU/ng1AQHHV2efnfVreDrutfRUqzq3G\npxelUZyE6R7V2ulnxGNqJUe8iOH8Nm94EI9yOn8FD55yNbpOMBZATzhiSQIDAQAB\nAoGADNeDw87DSUn0y+QS82cZVkPo8XThhEdsIPRgitWVkT08h0zLlaNlfKaNEVg3\n5NZUE+wFE0BvXgdA3HU701efmEQ8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kBPOGJJAgMBAAEwDQYJKoZIhvcNAQEFBQADggIBANPb\nvDhqtOb9883EaqWa8W2hqpSj2w5dQt8B+dC/eDHuI1lTkPzP4/FFlATRysWLR2ip\n4BDBhZ1WkbjJbvS3yXDke6Eq1JzrhzoMLBLm0Pmms2s118NAthRfDqBZeMhaMfpu\nGYfebdIAZ1iu8Dd5B6amvwijXK4eJJIDrRwslmn/8A+lbdTPbX/3nUV1ALhWAV3i\nfWG6Ia2k+6MmHM3w/EOTYPEJkaIyqqQrPxoXnmO1BU10iCDIpMX6raap7oj25kzQ\nnhaKB+eKN5bO7uF30OwFhjpb4RBNN6Bl9t2G3dM6IuGwu8yv3ZUhpaD3Hahb1kYo\n1RTLtvHLNZ10swkupCjar2UoWve3wKj0oLzWJAhsm6+ZA/hkpoCdoIS1kry0nQdH\nCPlw6i8V5I0Elu3eOaYndyAFh6sUbzeKv1zod7CorX0aiYVJG0ynbtgJKP0rTkFl\nR5k3qWaJY1BLsUJpPmOng1x4Qk9y0fui8h9LrF3CPZ5LjJ1lV0ZJLzAZgzJOjpGj\nON8R/NcNPrqB36IOHxtJQeYUkUINN2w+DLL8R8FtFsfOVZUEYITjyFDMSaQGXJdx\nMhje6WNb90CiGX9MTVVyqcLkIOyRQkv/77hPlU55nzC87tFfD1CtpEEczo3ruieZ\nyRjora8SUW5r8LUXcjwia/2ia5XM/WRJqTw4WjCa\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