Project

General

Profile

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

runcible / test / fixtures / vcr_cassettes / extensions / deb_repository_create / create_with_importer_object.yml @ c022bb6f

1
---
2
http_interactions:
3
- request:
4
    method: post
5
    uri: https://admin:admin@localhost/pulp/api/v2/repositories/
6
    body:
7
      encoding: UTF-8
8
      string: '{"id":"integration_test_id","importer_type_id":"deb_importer","importer_config":{},"notes":{"_repo-type":"deb-repo"}}'
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
      - '117'
20
      Host:
21
      - localhost
22
  response:
23
    status:
24
      code: 201
25
      message: CREATED
26
    headers:
27
      Date:
28
      - Fri, 10 Nov 2017 12:53:05 GMT
29
      Server:
30
      - Apache/2.4.6 (CentOS)
31
      Content-Length:
32
      - '343'
33
      Location:
34
      - https://localhost/pulp/api/v2/repositories/integration_test_id/
35
      Content-Type:
36
      - application/json; charset=utf-8
37
    body:
38
      encoding: UTF-8
39
      string: '{"scratchpad": {}, "display_name": "integration_test_id", "description":
40
        null, "last_unit_added": null, "notes": {"_repo-type": "deb-repo"}, "last_unit_removed":
41
        null, "content_unit_counts": {}, "_ns": "repos", "_id": {"$oid": "5a05a1323ca9a00418176fd3"},
42
        "id": "integration_test_id", "_href": "/pulp/api/v2/repositories/integration_test_id/"}'
43
    http_version: 
44
  recorded_at: Fri, 10 Nov 2017 12:53:06 GMT
45
- request:
46
    method: get
47
    uri: https://admin:admin@localhost/pulp/api/v2/repositories/integration_test_id/?details=true
48
    body:
49
      encoding: US-ASCII
50
      string: ''
51
    headers:
52
      Accept:
53
      - application/json
54
      Accept-Encoding:
55
      - gzip, deflate
56
      User-Agent:
57
      - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.2.4p230
58
      Content-Type:
59
      - application/json
60
      Host:
61
      - localhost
62
  response:
63
    status:
64
      code: 200
65
      message: OK
66
    headers:
67
      Date:
68
      - Fri, 10 Nov 2017 12:53:06 GMT
69
      Server:
70
      - Apache/2.4.6 (CentOS)
71
      Vary:
72
      - Accept-Encoding
73
      Content-Length:
74
      - '801'
75
      Content-Type:
76
      - application/json; charset=utf-8
77
    body:
78
      encoding: ASCII-8BIT
79
      string: '{"scratchpad": {}, "display_name": "integration_test_id", "description":
80
        null, "distributors": [], "last_unit_added": null, "notes": {"_repo-type":
81
        "deb-repo"}, "last_unit_removed": null, "content_unit_counts": {}, "_ns":
82
        "repos", "importers": [{"repo_id": "integration_test_id", "last_updated":
83
        "2017-11-10T12:53:06Z", "_href": "/pulp/api/v2/repositories/integration_test_id/importers/deb_importer/",
84
        "_ns": "repo_importers", "importer_type_id": "deb_importer", "last_override_config":
85
        {}, "last_sync": null, "scratchpad": null, "_id": {"$oid": "5a05a1323ca9a00418176fd4"},
86
        "config": {}, "id": "deb_importer"}], "locally_stored_units": 0, "_id": {"$oid":
87
        "5a05a1323ca9a00418176fd3"}, "total_repository_units": 0, "id": "integration_test_id",
88
        "_href": "/pulp/api/v2/repositories/integration_test_id/"}'
89
    http_version: 
90
  recorded_at: Fri, 10 Nov 2017 12:53:06 GMT
91
- request:
92
    method: delete
93
    uri: https://admin:admin@localhost/pulp/api/v2/repositories/integration_test_id/
94
    body:
95
      encoding: US-ASCII
96
      string: ''
97
    headers:
98
      Accept:
99
      - application/json
100
      Accept-Encoding:
101
      - gzip, deflate
102
      User-Agent:
103
      - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.2.4p230
104
      Content-Type:
105
      - application/json
106
      Host:
107
      - localhost
108
  response:
109
    status:
110
      code: 202
111
      message: ACCEPTED
112
    headers:
113
      Date:
114
      - Fri, 10 Nov 2017 12:53:06 GMT
115
      Server:
116
      - Apache/2.4.6 (CentOS)
117
      Content-Length:
118
      - '172'
119
      Content-Type:
120
      - application/json; charset=utf-8
121
    body:
122
      encoding: UTF-8
123
      string: '{"spawned_tasks": [{"_href": "/pulp/api/v2/tasks/d9d9322d-7491-4c3f-a077-882edb14ba15/",
124
        "task_id": "d9d9322d-7491-4c3f-a077-882edb14ba15"}], "result": null, "error":
125
        null}'
126
    http_version: 
127
  recorded_at: Fri, 10 Nov 2017 12:53:06 GMT
128
- request:
129
    method: get
130
    uri: https://admin:admin@localhost/pulp/api/v2/tasks/d9d9322d-7491-4c3f-a077-882edb14ba15/
131
    body:
132
      encoding: US-ASCII
133
      string: ''
134
    headers:
135
      Accept:
136
      - application/json
137
      Accept-Encoding:
138
      - gzip, deflate
139
      User-Agent:
140
      - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.2.4p230
141
      Content-Type:
142
      - application/json
143
      Host:
144
      - localhost
145
  response:
146
    status:
147
      code: 200
148
      message: OK
149
    headers:
150
      Date:
151
      - Fri, 10 Nov 2017 12:53:06 GMT
152
      Server:
153
      - Apache/2.4.6 (CentOS)
154
      Vary:
155
      - Accept-Encoding
156
      Content-Length:
157
      - '708'
158
      Content-Type:
159
      - application/json; charset=utf-8
160
    body:
161
      encoding: ASCII-8BIT
162
      string: '{"exception": null, "task_type": "pulp.server.tasks.repository.delete",
163
        "_href": "/pulp/api/v2/tasks/d9d9322d-7491-4c3f-a077-882edb14ba15/", "task_id":
164
        "d9d9322d-7491-4c3f-a077-882edb14ba15", "tags": ["pulp:repository:integration_test_id",
165
        "pulp:action:delete"], "finish_time": "2017-11-10T12:53:06Z", "_ns": "task_status",
166
        "start_time": "2017-11-10T12:53:06Z", "traceback": null, "spawned_tasks":
167
        [], "progress_report": {}, "queue": "reserved_resource_worker-0@centos7-devel.anubis.example.com.dq",
168
        "state": "finished", "worker_name": "reserved_resource_worker-0@centos7-devel.anubis.example.com",
169
        "result": null, "error": null, "_id": {"$oid": "5a05a132d1897cd5b1e4abe4"},
170
        "id": "5a05a132d1897cd5b1e4abe4"}'
171
    http_version: 
172
  recorded_at: Fri, 10 Nov 2017 12:53:06 GMT
173
recorded_with: VCR 3.0.3