Project

General

Profile

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

runcible / test / fixtures / vcr_cassettes / extensions / deb_repository_create / create_with_distributors.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","distributors":[{"distributor_type_id":"deb_distributor","distributor_config":{"relative_url":"/path","http":true,"https":true},"auto_publish":true,"distributor_id":"123"}]}'
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
      - '201'
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:03 GMT
29
      Server:
30
      - Apache/2.4.6 (CentOS)
31
      Content-Length:
32
      - '319'
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": {}, "last_unit_removed": null, "content_unit_counts":
41
        {}, "_ns": "repos", "_id": {"$oid": "5a05a12f3ca9a00418176fcf"}, "id": "integration_test_id",
42
        "_href": "/pulp/api/v2/repositories/integration_test_id/"}'
43
    http_version: 
44
  recorded_at: Fri, 10 Nov 2017 12:53:03 GMT
45
- request:
46
    method: delete
47
    uri: https://admin:admin@localhost/pulp/api/v2/repositories/integration_test_id/
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: 202
65
      message: ACCEPTED
66
    headers:
67
      Date:
68
      - Fri, 10 Nov 2017 12:53:03 GMT
69
      Server:
70
      - Apache/2.4.6 (CentOS)
71
      Content-Length:
72
      - '172'
73
      Content-Type:
74
      - application/json; charset=utf-8
75
    body:
76
      encoding: UTF-8
77
      string: '{"spawned_tasks": [{"_href": "/pulp/api/v2/tasks/9c98b1bd-20bc-4950-a818-1e529e0fdd14/",
78
        "task_id": "9c98b1bd-20bc-4950-a818-1e529e0fdd14"}], "result": null, "error":
79
        null}'
80
    http_version: 
81
  recorded_at: Fri, 10 Nov 2017 12:53:03 GMT
82
- request:
83
    method: get
84
    uri: https://admin:admin@localhost/pulp/api/v2/tasks/9c98b1bd-20bc-4950-a818-1e529e0fdd14/
85
    body:
86
      encoding: US-ASCII
87
      string: ''
88
    headers:
89
      Accept:
90
      - application/json
91
      Accept-Encoding:
92
      - gzip, deflate
93
      User-Agent:
94
      - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.2.4p230
95
      Content-Type:
96
      - application/json
97
      Host:
98
      - localhost
99
  response:
100
    status:
101
      code: 200
102
      message: OK
103
    headers:
104
      Date:
105
      - Fri, 10 Nov 2017 12:53:04 GMT
106
      Server:
107
      - Apache/2.4.6 (CentOS)
108
      Vary:
109
      - Accept-Encoding
110
      Content-Length:
111
      - '708'
112
      Content-Type:
113
      - application/json; charset=utf-8
114
    body:
115
      encoding: ASCII-8BIT
116
      string: '{"exception": null, "task_type": "pulp.server.tasks.repository.delete",
117
        "_href": "/pulp/api/v2/tasks/9c98b1bd-20bc-4950-a818-1e529e0fdd14/", "task_id":
118
        "9c98b1bd-20bc-4950-a818-1e529e0fdd14", "tags": ["pulp:repository:integration_test_id",
119
        "pulp:action:delete"], "finish_time": "2017-11-10T12:53:03Z", "_ns": "task_status",
120
        "start_time": "2017-11-10T12:53:03Z", "traceback": null, "spawned_tasks":
121
        [], "progress_report": {}, "queue": "reserved_resource_worker-0@centos7-devel.anubis.example.com.dq",
122
        "state": "finished", "worker_name": "reserved_resource_worker-0@centos7-devel.anubis.example.com",
123
        "result": null, "error": null, "_id": {"$oid": "5a05a12fd1897cd5b1e4abe1"},
124
        "id": "5a05a12fd1897cd5b1e4abe1"}'
125
    http_version: 
126
  recorded_at: Fri, 10 Nov 2017 12:53:04 GMT
127
recorded_with: VCR 3.0.3