1
|
---
|
2
|
http_interactions:
|
3
|
- request:
|
4
|
method: get
|
5
|
uri: https://admin:admin@obelix.example.com/pulp/api/v2/repositories/integration_test_id/?details=true
|
6
|
body:
|
7
|
encoding: US-ASCII
|
8
|
string: ''
|
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
|
Host:
|
19
|
- obelix.example.com
|
20
|
response:
|
21
|
status:
|
22
|
code: 200
|
23
|
message: OK
|
24
|
headers:
|
25
|
Date:
|
26
|
- Tue, 14 Nov 2017 20:18:47 GMT
|
27
|
Server:
|
28
|
- Apache/2.4.6 (CentOS)
|
29
|
Vary:
|
30
|
- Accept-Encoding
|
31
|
Content-Length:
|
32
|
- '1438'
|
33
|
Connection:
|
34
|
- close
|
35
|
Content-Type:
|
36
|
- application/json; charset=utf-8
|
37
|
body:
|
38
|
encoding: ASCII-8BIT
|
39
|
string: '{"scratchpad": {"checksum_type": "sha256"}, "display_name": "integration_test_id",
|
40
|
"description": null, "distributors": [{"repo_id": "integration_test_id", "last_updated":
|
41
|
"2017-11-14T20:18:42Z", "_href": "/pulp/api/v2/repositories/integration_test_id/distributors/yum_dist/",
|
42
|
"last_override_config": {}, "last_publish": null, "distributor_type_id": "yum_distributor",
|
43
|
"auto_publish": false, "scratchpad": {}, "_ns": "repo_distributors", "_id":
|
44
|
{"$oid": "5a0b4fa270be6f049ca06fca"}, "config": {"http": true, "https": true,
|
45
|
"relative_url": "path"}, "id": "yum_dist"}], "last_unit_added": "2017-11-14T20:18:47Z",
|
46
|
"notes": {}, "last_unit_removed": null, "content_unit_counts": {"package_group":
|
47
|
2, "distribution": 1, "package_category": 1, "rpm": 8, "erratum": 2}, "_ns":
|
48
|
"repos", "importers": [{"repo_id": "integration_test_id", "last_updated":
|
49
|
"2017-11-14T20:18:42Z", "_href": "/pulp/api/v2/repositories/integration_test_id/importers/yum_importer/",
|
50
|
"_ns": "repo_importers", "importer_type_id": "yum_importer", "last_override_config":
|
51
|
{}, "last_sync": "2017-11-14T20:18:47Z", "scratchpad": {"repomd_revision":
|
52
|
1321893800}, "_id": {"$oid": "5a0b4fa270be6f049ca06fc9"}, "config": {"feed":
|
53
|
"file:///var/www/repositories/zoo5"}, "id": "yum_importer"}], "locally_stored_units":
|
54
|
14, "_id": {"$oid": "5a0b4fa270be6f049ca06fc8"}, "total_repository_units":
|
55
|
14, "id": "integration_test_id", "_href": "/pulp/api/v2/repositories/integration_test_id/"}'
|
56
|
http_version:
|
57
|
recorded_at: Tue, 14 Nov 2017 20:18:47 GMT
|
58
|
- request:
|
59
|
method: post
|
60
|
uri: https://admin:admin@obelix.example.com/pulp/api/v2/consumers/integration_test_consumer_support/bindings//
|
61
|
body:
|
62
|
encoding: UTF-8
|
63
|
string: '{"repo_id":"integration_test_id","distributor_id":"yum_dist","notify_agent":false}'
|
64
|
headers:
|
65
|
Accept:
|
66
|
- application/json
|
67
|
Accept-Encoding:
|
68
|
- gzip, deflate
|
69
|
User-Agent:
|
70
|
- rest-client/2.0.2 (linux-gnu x86_64) ruby/2.2.4p230
|
71
|
Content-Type:
|
72
|
- application/json
|
73
|
Content-Length:
|
74
|
- '82'
|
75
|
Host:
|
76
|
- obelix.example.com
|
77
|
response:
|
78
|
status:
|
79
|
code: 200
|
80
|
message: OK
|
81
|
headers:
|
82
|
Date:
|
83
|
- Tue, 14 Nov 2017 20:18:47 GMT
|
84
|
Server:
|
85
|
- Apache/2.4.6 (CentOS)
|
86
|
Vary:
|
87
|
- Accept-Encoding
|
88
|
Content-Length:
|
89
|
- '358'
|
90
|
Connection:
|
91
|
- close
|
92
|
Content-Type:
|
93
|
- application/json; charset=utf-8
|
94
|
body:
|
95
|
encoding: ASCII-8BIT
|
96
|
string: '{"spawned_tasks": [], "result": {"notify_agent": false, "repo_id":
|
97
|
"integration_test_id", "deleted": false, "_ns": "consumer_bindings", "distributor_id":
|
98
|
"yum_dist", "consumer_id": "integration_test_consumer_support", "consumer_actions":
|
99
|
[], "binding_config": {}, "_id": {"$oid": "5a0b4fa770be6f049ee2a554"}, "id":
|
100
|
"5a0b4fa770be6f049ee2a554"}, "error": null}'
|
101
|
http_version:
|
102
|
recorded_at: Tue, 14 Nov 2017 20:18:47 GMT
|
103
|
recorded_with: VCR 3.0.3
|