Project

General

Profile

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

runcible / test / fixtures / vcr_cassettes / resources / consumer_create / create.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:49 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": "5a0b4fa970be6f049ca06fcd"}, "id": "integration_test_consumer",
44
        "_href": "/pulp/api/v2/consumers/integration_test_consumer/"}, "certificate":
45
        "-----BEGIN RSA PRIVATE KEY-----\nMIICXAIBAAKBgQDFP0CvRQfMQvshz1KKI05QY8KM6dVf1CNgO9yWuWSNqPUDzIyw\nyK3fjDHghTBTVdx4USBxgSx4rBz3JqJSAcMPRUwAUuZITnEvqrpo0EJQXIp7gTH7\ne8ZkneSroz5tCTH05UqsfmRlCRsE+HT3OW/8NBS8Mq43kUCPWB5Mro056QIDAQAB\nAoGAFCQVUtBVr4HXauhkoT5hrMvC/eiSpSpgQl9acvmTTvPFsRGd/B9BweXq4eY3\nvQqzbIW8LlrmU5wfi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9YHkyujTnpAgMBAAEwDQYJKoZIhvcNAQEFBQADggIBAK8v\nRuS9kFhYl/Oa2kkdellIfHQ9hBjj5mxFRKjnERK05GthO+FSO125QkqkDL3uIAww\ner8bDt3oZI3MpF1KUngb5m4b8duImqem9w23RXkyUFmtPB1H5MOrCo1ZLgzceWg6\nCgaGlQB9nvxZPfZCWeokl3cD8zwfNOTNR1T+/vDu0Ti2CryWrTcyxmRvSYy8i0VM\nxX9d0joacy2qfmVZL1L93Rw6owpm9MyRjTOPco471bKPHzyfUIEhIxNN8PbyWrZR\ny4NFlqDmaJW+TTs7XykehIj0jUWAoh8Zq4GdXNYnAmKQ6eIIfMffiW5zweEf2mTO\nsp9NmDFILbqDw8oXKc0mIvjAxJTJ+0ZMWZbSl9/zPJNkfQJkRY7tP7Y+nqgmNCVt\nFweT23HrgzrTKNZ2QRAgpgDCcaMQT0c8Zj5kHolAWD4ZPcJnkfr32lKKoAbivMsu\nCvBqyiIdC0xzbFhe56jkgbbmpbrRoky+wNgDhjxFzDo0ar7XUV/3nNUMIWdENMie\nNHQcoj01NEIBRjITdZXf1+YtKRQ/gK4aRU/nd78U3Dv5y0zbJ+uzLI2YbFAS5PMa\nk6lUGAxZ0QLcbKmjZtsf3mgpPCRYf6LNM9xiG6awC2JsJJSL49wfqy5/msZCTD8f\n4JILSaLTL0bKDGhU3nJjA9W/L5vF/w6qkyRLDVwW\n-----END
47
        CERTIFICATE-----"}'
48
    http_version: 
49
  recorded_at: Tue, 14 Nov 2017 20:18:49 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:49 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:49 GMT
87
recorded_with: VCR 3.0.3