Project

General

Profile

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

runcible / test / fixtures / vcr_cassettes / resources / general_methods / update.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": "5a0b4fb170be6f049d38d85f"}, "id": "integration_test_consumer",
44
        "_href": "/pulp/api/v2/consumers/integration_test_consumer/"}, "certificate":
45
        "-----BEGIN RSA PRIVATE KEY-----\nMIICXQIBAAKBgQCfHVtalatA2O3IYxZvKY+hd0jIBUe1PieHYLb2LBZwQGKzuD12\nHIx8SMy8A1H6l3mu1x80mQSXN8QtiUPRuoiFPToYPm2HrBGsrem+vii2h/n3SU4a\n39ZseZZ094EctGNnnHZ+YwGOTdqKuW2K8IAuKM/7WKTNPKmixph5TLIJuwIDAQAB\nAoGAWd4D1dLIybR8AHzuk9ReeizcH5TT3mr/enfGfp2CAt5qoOUDWa1gL2YStHIP\noEBjiruXtWZjcGEf3TQ06MS5C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AwEAATANBgkqhkiG9w0BAQUFAAOCAgEAy+1e\nxFSNKSW+oAdFjckHw8m8i2EVKY1IU/YpD102xYAHHFgYc8Sl4Oigx1ba4uSpEREY\n7ceCVy4G+A3tBcOZxhrc87Qi4c8MaxcjTe4jSxRaJtycYnhu+cgxKT+EMdF+rPJJ\narKFQKP25RD5vX3YubBgp1/4MAaLzurubXMN/fLhlo/flWmnSiDPVpZtwYwBCz00\n1wAqq0ZuLPu7u4nM7RHbcItexHURiJBp0ncxLGhayZARV8nBUZmdvpP8ZbP0IXGw\nT2OyE2Uh2tTYDiraEAeCB86NBs7JMHFfTs+UlTKopxyaJumTD+hiR+JBcyvBq1ip\nF+y1KVGSLMuz4VH061faNQDBYvIjxZY3OJzabiFwdCnZQLzeikshTROWBrF0grUO\nDwMNmFnDdo32gjlKirrSa6e7ivJxulW6Q4AnYmhpCwXomxJjeIeDm7vHiQx7kxtI\n7MpNlRZPX0nbRueEegKf0fFeZPoargqDaEEEQB82v3EEAn9FYywv1fKURQ3grlJe\nc9QO/zJ+ubEz/vjWlKxzIWW7EGpSDPrOZoMTEzNlKpqQ/qnv/YygbuXzmvh0owOA\nWu75bBYvNMeVJFa1pM+d1pkeiwLxjf9h1Iopk1665JRDIiUszPobhU8MxccMfYkH\nlc508FBIUfifMOUzfyJsPEnfQ5k8vFlHSQsa+2k=\n-----END
47
        CERTIFICATE-----"}'
48
    http_version: 
49
  recorded_at: Tue, 14 Nov 2017 20:18:57 GMT
50
- request:
51
    method: put
52
    uri: https://admin:admin@obelix.example.com/pulp/api/v2/consumers/integration_test_consumer/
53
    body:
54
      encoding: UTF-8
55
      string: '{"delta":{"description":"Test description"}}'
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
      Content-Length:
66
      - '44'
67
      Host:
68
      - obelix.example.com
69
  response:
70
    status:
71
      code: 200
72
      message: OK
73
    headers:
74
      Date:
75
      - Tue, 14 Nov 2017 20:18:57 GMT
76
      Server:
77
      - Apache/2.4.6 (CentOS)
78
      Vary:
79
      - Accept-Encoding
80
      Content-Length:
81
      - '292'
82
      Connection:
83
      - close
84
      Content-Type:
85
      - application/json; charset=utf-8
86
    body:
87
      encoding: ASCII-8BIT
88
      string: '{"display_name": "integration_test_consumer", "description": "Test
89
        description", "_ns": "consumers", "notes": {}, "rsa_pub": null, "capabilities":
90
        {}, "_id": {"$oid": "5a0b4fb170be6f049d38d85f"}, "id": "integration_test_consumer",
91
        "_href": "/pulp/api/v2/consumers/integration_test_consumer/"}'
92
    http_version: 
93
  recorded_at: Tue, 14 Nov 2017 20:18:57 GMT
94
- request:
95
    method: delete
96
    uri: https://admin:admin@obelix.example.com/pulp/api/v2/consumers/integration_test_consumer/
97
    body:
98
      encoding: US-ASCII
99
      string: ''
100
    headers:
101
      Accept:
102
      - application/json
103
      Accept-Encoding:
104
      - gzip, deflate
105
      User-Agent:
106
      - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.2.4p230
107
      Content-Type:
108
      - application/json
109
      Host:
110
      - obelix.example.com
111
  response:
112
    status:
113
      code: 200
114
      message: OK
115
    headers:
116
      Date:
117
      - Tue, 14 Nov 2017 20:18:57 GMT
118
      Server:
119
      - Apache/2.4.6 (CentOS)
120
      Content-Length:
121
      - '4'
122
      Connection:
123
      - close
124
      Content-Type:
125
      - application/json; charset=utf-8
126
    body:
127
      encoding: UTF-8
128
      string: 'null'
129
    http_version: 
130
  recorded_at: Tue, 14 Nov 2017 20:18:57 GMT
131
recorded_with: VCR 3.0.3