Project

General

Profile

Revision d0bf219d

Added by Partha Aji over 6 years ago

Refs #14032 - Cassettes - Ostree branches now searchable in a Repo

View differences:

README.md
4 4

  
5 5
Exposing Pulp's juiciest parts. http://www.pulpproject.org/
6 6

  
7
Latest Live Tested Version: **pulp-server-2.8.0-0.4.beta.el7.noarch**
7
Latest Live Tested Version: **pulp-server-2.8.0-0.7.beta.el7.noarch**
8 8

  
9 9
Current stable Runcible: https://github.com/Katello/runcible/tree/0.3
10 10

  
test/fixtures/vcr_cassettes/extensions/ostree_branch/all.yml
1
---
2
http_interactions:
3
- request:
4
    method: post
5
    uri: https://admin:admin@galaxy.example.com/pulp/api/v2/content/units/ostree/search/
6
    body:
7
      encoding: UTF-8
8
      string: '{"criteria":{}}'
9
    headers:
10
      Accept:
11
      - application/json
12
      Accept-Encoding:
13
      - gzip, deflate
14
      Content-Type:
15
      - application/json
16
      Content-Length:
17
      - '15'
18
      User-Agent:
19
      - Ruby
20
  response:
21
    status:
22
      code: 200
23
      message: OK
24
    headers:
25
      Date:
26
      - Fri, 04 Mar 2016 04:24:36 GMT
27
      Server:
28
      - Apache/2.4.6 (CentOS)
29
      Vary:
30
      - Accept-Encoding
31
      Content-Length:
32
      - '2968'
33
      Content-Type:
34
      - application/json; charset=utf-8
35
    body:
36
      encoding: ASCII-8BIT
37
      string: '[{"_storage_path": "/var/lib/pulp/content/shared/ostree/48868e83e4a50500d16c6adac1dfa68bb50d72ec87311aa4be87f01796293958/links/664eb5e7-da47-4d37-a260-0161bab1d88f",
38
        "_href": "/pulp/api/v2/content/units/ostree/664eb5e7-da47-4d37-a260-0161bab1d88f/",
39
        "_last_updated": "2016-03-02T00:45:08Z", "remote_id": "2c5b6e07fe47d0b626a417d5dbb855a4aa8c991177e930213a3a80514d3e1a14",
40
        "_content_type_id": "ostree", "pulp_user_metadata": {}, "branch": "fedora-atomic/f23/x86_64/docker-host",
41
        "_created": "2016-03-02T00:45:08Z", "commit": "954bdbeebebfa87b625d9d7bd78c81400bdd6756fcc3205987970af4b64eb678",
42
        "_id": "664eb5e7-da47-4d37-a260-0161bab1d88f", "children": {}, "metadata":
43
        {"version": "23.74", "rpmostree-inputhash": "cefa153b7f2ec7f2ee2cc6f4b2bb18ac34ef5128cf4a56cbcb6998e8a35b63ca"}},
44
        {"_storage_path": "/var/lib/pulp/content/shared/ostree/48868e83e4a50500d16c6adac1dfa68bb50d72ec87311aa4be87f01796293958/links/fa0facae-71d0-49b7-94f5-6d7d75d708bb",
45
        "_href": "/pulp/api/v2/content/units/ostree/fa0facae-71d0-49b7-94f5-6d7d75d708bb/",
46
        "_last_updated": "2016-03-02T00:45:08Z", "remote_id": "2c5b6e07fe47d0b626a417d5dbb855a4aa8c991177e930213a3a80514d3e1a14",
47
        "_content_type_id": "ostree", "pulp_user_metadata": {}, "branch": "fedora-atomic/f23/x86_64/testing/docker-host",
48
        "_created": "2016-03-02T00:45:08Z", "commit": "2c515ce0327df9cec4288490c8d0275c311bab72d24faebf6d6f9c4d6dd8aa8b",
49
        "_id": "fa0facae-71d0-49b7-94f5-6d7d75d708bb", "children": {}, "metadata":
50
        {"version": "23.78", "rpmostree-inputhash": "71871d96a49212899335587be9af33354151b927f4d8c8cb8e58729b036afda9"}},
51
        {"_storage_path": "/var/lib/pulp/content/shared/ostree/26760a9b7480dbfac877f6c0401a19da5e4d3e2292a5864b8820694f41cb5de9/links/7653cb27-1ef8-4193-8bc3-56fdf648308e",
52
        "_href": "/pulp/api/v2/content/units/ostree/7653cb27-1ef8-4193-8bc3-56fdf648308e/",
53
        "_last_updated": "2016-03-03T02:37:33Z", "remote_id": "b1046db191900ad624224c3826f095786a2a09b8c26968f30b81fd7e71aa632b",
54
        "_content_type_id": "ostree", "pulp_user_metadata": {}, "branch": "fedora-atomic/f21/x86_64/updates-testing/docker-host",
55
        "_created": "2016-03-03T02:37:33Z", "commit": "b954defc0c21b23705bf5776a78ca434b2569260e64e19fb61bdbd5526b3bf0f",
56
        "_id": "7653cb27-1ef8-4193-8bc3-56fdf648308e", "children": {}, "metadata":
57
        {"version": "23.3"}}, {"_storage_path": "/var/lib/pulp/content/shared/ostree/26760a9b7480dbfac877f6c0401a19da5e4d3e2292a5864b8820694f41cb5de9/links/f1e1608a-8c74-48e3-b177-8d4cc22a1641",
58
        "_href": "/pulp/api/v2/content/units/ostree/f1e1608a-8c74-48e3-b177-8d4cc22a1641/",
59
        "_last_updated": "2016-03-03T02:37:33Z", "remote_id": "b1046db191900ad624224c3826f095786a2a09b8c26968f30b81fd7e71aa632b",
60
        "_content_type_id": "ostree", "pulp_user_metadata": {}, "branch": "fedora-atomic/f21/x86_64/updates/docker-host",
61
        "_created": "2016-03-03T02:37:33Z", "commit": "b2179ef2c16343758ebebaa1dfdf40cca8a76d5418ad1780d19b708ff2202dcf",
62
        "_id": "f1e1608a-8c74-48e3-b177-8d4cc22a1641", "children": {}, "metadata":
63
        {"version": "23.3"}}]'
64
    http_version: 
65
  recorded_at: Fri, 04 Mar 2016 04:24:36 GMT
66
recorded_with: VCR 3.0.1
test/fixtures/vcr_cassettes/extensions/ostree_branch/find.yml
1
---
2
http_interactions:
3
- request:
4
    method: post
5
    uri: https://admin:admin@galaxy.example.com/pulp/api/v2/content/units/ostree/search/
6
    body:
7
      encoding: UTF-8
8
      string: '{"criteria":{}}'
9
    headers:
10
      Accept:
11
      - application/json
12
      Accept-Encoding:
13
      - gzip, deflate
14
      Content-Type:
15
      - application/json
16
      Content-Length:
17
      - '15'
18
      User-Agent:
19
      - Ruby
20
  response:
21
    status:
22
      code: 200
23
      message: OK
24
    headers:
25
      Date:
26
      - Fri, 04 Mar 2016 04:24:36 GMT
27
      Server:
28
      - Apache/2.4.6 (CentOS)
29
      Vary:
30
      - Accept-Encoding
31
      Content-Length:
32
      - '2968'
33
      Content-Type:
34
      - application/json; charset=utf-8
35
    body:
36
      encoding: ASCII-8BIT
37
      string: '[{"_storage_path": "/var/lib/pulp/content/shared/ostree/48868e83e4a50500d16c6adac1dfa68bb50d72ec87311aa4be87f01796293958/links/664eb5e7-da47-4d37-a260-0161bab1d88f",
38
        "_href": "/pulp/api/v2/content/units/ostree/664eb5e7-da47-4d37-a260-0161bab1d88f/",
39
        "_last_updated": "2016-03-02T00:45:08Z", "remote_id": "2c5b6e07fe47d0b626a417d5dbb855a4aa8c991177e930213a3a80514d3e1a14",
40
        "_content_type_id": "ostree", "pulp_user_metadata": {}, "branch": "fedora-atomic/f23/x86_64/docker-host",
41
        "_created": "2016-03-02T00:45:08Z", "commit": "954bdbeebebfa87b625d9d7bd78c81400bdd6756fcc3205987970af4b64eb678",
42
        "_id": "664eb5e7-da47-4d37-a260-0161bab1d88f", "children": {}, "metadata":
43
        {"version": "23.74", "rpmostree-inputhash": "cefa153b7f2ec7f2ee2cc6f4b2bb18ac34ef5128cf4a56cbcb6998e8a35b63ca"}},
44
        {"_storage_path": "/var/lib/pulp/content/shared/ostree/48868e83e4a50500d16c6adac1dfa68bb50d72ec87311aa4be87f01796293958/links/fa0facae-71d0-49b7-94f5-6d7d75d708bb",
45
        "_href": "/pulp/api/v2/content/units/ostree/fa0facae-71d0-49b7-94f5-6d7d75d708bb/",
46
        "_last_updated": "2016-03-02T00:45:08Z", "remote_id": "2c5b6e07fe47d0b626a417d5dbb855a4aa8c991177e930213a3a80514d3e1a14",
47
        "_content_type_id": "ostree", "pulp_user_metadata": {}, "branch": "fedora-atomic/f23/x86_64/testing/docker-host",
48
        "_created": "2016-03-02T00:45:08Z", "commit": "2c515ce0327df9cec4288490c8d0275c311bab72d24faebf6d6f9c4d6dd8aa8b",
49
        "_id": "fa0facae-71d0-49b7-94f5-6d7d75d708bb", "children": {}, "metadata":
50
        {"version": "23.78", "rpmostree-inputhash": "71871d96a49212899335587be9af33354151b927f4d8c8cb8e58729b036afda9"}},
51
        {"_storage_path": "/var/lib/pulp/content/shared/ostree/26760a9b7480dbfac877f6c0401a19da5e4d3e2292a5864b8820694f41cb5de9/links/7653cb27-1ef8-4193-8bc3-56fdf648308e",
52
        "_href": "/pulp/api/v2/content/units/ostree/7653cb27-1ef8-4193-8bc3-56fdf648308e/",
53
        "_last_updated": "2016-03-03T02:37:33Z", "remote_id": "b1046db191900ad624224c3826f095786a2a09b8c26968f30b81fd7e71aa632b",
54
        "_content_type_id": "ostree", "pulp_user_metadata": {}, "branch": "fedora-atomic/f21/x86_64/updates-testing/docker-host",
55
        "_created": "2016-03-03T02:37:33Z", "commit": "b954defc0c21b23705bf5776a78ca434b2569260e64e19fb61bdbd5526b3bf0f",
56
        "_id": "7653cb27-1ef8-4193-8bc3-56fdf648308e", "children": {}, "metadata":
57
        {"version": "23.3"}}, {"_storage_path": "/var/lib/pulp/content/shared/ostree/26760a9b7480dbfac877f6c0401a19da5e4d3e2292a5864b8820694f41cb5de9/links/f1e1608a-8c74-48e3-b177-8d4cc22a1641",
58
        "_href": "/pulp/api/v2/content/units/ostree/f1e1608a-8c74-48e3-b177-8d4cc22a1641/",
59
        "_last_updated": "2016-03-03T02:37:33Z", "remote_id": "b1046db191900ad624224c3826f095786a2a09b8c26968f30b81fd7e71aa632b",
60
        "_content_type_id": "ostree", "pulp_user_metadata": {}, "branch": "fedora-atomic/f21/x86_64/updates/docker-host",
61
        "_created": "2016-03-03T02:37:33Z", "commit": "b2179ef2c16343758ebebaa1dfdf40cca8a76d5418ad1780d19b708ff2202dcf",
62
        "_id": "f1e1608a-8c74-48e3-b177-8d4cc22a1641", "children": {}, "metadata":
63
        {"version": "23.3"}}]'
64
    http_version: 
65
  recorded_at: Fri, 04 Mar 2016 04:24:36 GMT
66
- request:
67
    method: post
68
    uri: https://admin:admin@galaxy.example.com/pulp/api/v2/content/units/ostree/search/
69
    body:
70
      encoding: UTF-8
71
      string: '{"criteria":{"filters":{"id":{"$in":[null]}}},"include_repos":true}'
72
    headers:
73
      Accept:
74
      - application/json
75
      Accept-Encoding:
76
      - gzip, deflate
77
      Content-Type:
78
      - application/json
79
      Content-Length:
80
      - '67'
81
      User-Agent:
82
      - Ruby
83
  response:
84
    status:
85
      code: 200
86
      message: OK
87
    headers:
88
      Date:
89
      - Fri, 04 Mar 2016 04:24:36 GMT
90
      Server:
91
      - Apache/2.4.6 (CentOS)
92
      Vary:
93
      - Accept-Encoding
94
      Content-Length:
95
      - '3198'
96
      Content-Type:
97
      - application/json; charset=utf-8
98
    body:
99
      encoding: ASCII-8BIT
100
      string: '[{"repository_memberships": ["Default_Organization-ostree-life"], "_storage_path":
101
        "/var/lib/pulp/content/shared/ostree/48868e83e4a50500d16c6adac1dfa68bb50d72ec87311aa4be87f01796293958/links/664eb5e7-da47-4d37-a260-0161bab1d88f",
102
        "_href": "/pulp/api/v2/content/units/ostree/664eb5e7-da47-4d37-a260-0161bab1d88f/",
103
        "_last_updated": "2016-03-02T00:45:08Z", "remote_id": "2c5b6e07fe47d0b626a417d5dbb855a4aa8c991177e930213a3a80514d3e1a14",
104
        "_content_type_id": "ostree", "pulp_user_metadata": {}, "branch": "fedora-atomic/f23/x86_64/docker-host",
105
        "_created": "2016-03-02T00:45:08Z", "commit": "954bdbeebebfa87b625d9d7bd78c81400bdd6756fcc3205987970af4b64eb678",
106
        "_id": "664eb5e7-da47-4d37-a260-0161bab1d88f", "children": {}, "metadata":
107
        {"version": "23.74", "rpmostree-inputhash": "cefa153b7f2ec7f2ee2cc6f4b2bb18ac34ef5128cf4a56cbcb6998e8a35b63ca"}},
108
        {"repository_memberships": ["Default_Organization-ostree-life"], "_storage_path":
109
        "/var/lib/pulp/content/shared/ostree/48868e83e4a50500d16c6adac1dfa68bb50d72ec87311aa4be87f01796293958/links/fa0facae-71d0-49b7-94f5-6d7d75d708bb",
110
        "_href": "/pulp/api/v2/content/units/ostree/fa0facae-71d0-49b7-94f5-6d7d75d708bb/",
111
        "_last_updated": "2016-03-02T00:45:08Z", "remote_id": "2c5b6e07fe47d0b626a417d5dbb855a4aa8c991177e930213a3a80514d3e1a14",
112
        "_content_type_id": "ostree", "pulp_user_metadata": {}, "branch": "fedora-atomic/f23/x86_64/testing/docker-host",
113
        "_created": "2016-03-02T00:45:08Z", "commit": "2c515ce0327df9cec4288490c8d0275c311bab72d24faebf6d6f9c4d6dd8aa8b",
114
        "_id": "fa0facae-71d0-49b7-94f5-6d7d75d708bb", "children": {}, "metadata":
115
        {"version": "23.78", "rpmostree-inputhash": "71871d96a49212899335587be9af33354151b927f4d8c8cb8e58729b036afda9"}},
116
        {"repository_memberships": ["integration_test_id"], "_storage_path": "/var/lib/pulp/content/shared/ostree/26760a9b7480dbfac877f6c0401a19da5e4d3e2292a5864b8820694f41cb5de9/links/7653cb27-1ef8-4193-8bc3-56fdf648308e",
117
        "_href": "/pulp/api/v2/content/units/ostree/7653cb27-1ef8-4193-8bc3-56fdf648308e/",
118
        "_last_updated": "2016-03-03T02:37:33Z", "remote_id": "b1046db191900ad624224c3826f095786a2a09b8c26968f30b81fd7e71aa632b",
119
        "_content_type_id": "ostree", "pulp_user_metadata": {}, "branch": "fedora-atomic/f21/x86_64/updates-testing/docker-host",
120
        "_created": "2016-03-03T02:37:33Z", "commit": "b954defc0c21b23705bf5776a78ca434b2569260e64e19fb61bdbd5526b3bf0f",
121
        "_id": "7653cb27-1ef8-4193-8bc3-56fdf648308e", "children": {}, "metadata":
122
        {"version": "23.3"}}, {"repository_memberships": ["integration_test_id"],
123
        "_storage_path": "/var/lib/pulp/content/shared/ostree/26760a9b7480dbfac877f6c0401a19da5e4d3e2292a5864b8820694f41cb5de9/links/f1e1608a-8c74-48e3-b177-8d4cc22a1641",
124
        "_href": "/pulp/api/v2/content/units/ostree/f1e1608a-8c74-48e3-b177-8d4cc22a1641/",
125
        "_last_updated": "2016-03-03T02:37:33Z", "remote_id": "b1046db191900ad624224c3826f095786a2a09b8c26968f30b81fd7e71aa632b",
126
        "_content_type_id": "ostree", "pulp_user_metadata": {}, "branch": "fedora-atomic/f21/x86_64/updates/docker-host",
127
        "_created": "2016-03-03T02:37:33Z", "commit": "b2179ef2c16343758ebebaa1dfdf40cca8a76d5418ad1780d19b708ff2202dcf",
128
        "_id": "f1e1608a-8c74-48e3-b177-8d4cc22a1641", "children": {}, "metadata":
129
        {"version": "23.3"}}]'
130
    http_version: 
131
  recorded_at: Fri, 04 Mar 2016 04:24:36 GMT
132
recorded_with: VCR 3.0.1
test/fixtures/vcr_cassettes/extensions/ostree_branch/find_all.yml
1
---
2
http_interactions:
3
- request:
4
    method: post
5
    uri: https://admin:admin@galaxy.example.com/pulp/api/v2/content/units/ostree/search/
6
    body:
7
      encoding: UTF-8
8
      string: '{"criteria":{}}'
9
    headers:
10
      Accept:
11
      - application/json
12
      Accept-Encoding:
13
      - gzip, deflate
14
      Content-Type:
15
      - application/json
16
      Content-Length:
17
      - '15'
18
      User-Agent:
19
      - Ruby
20
  response:
21
    status:
22
      code: 200
23
      message: OK
24
    headers:
25
      Date:
26
      - Fri, 04 Mar 2016 04:24:36 GMT
27
      Server:
28
      - Apache/2.4.6 (CentOS)
29
      Vary:
30
      - Accept-Encoding
31
      Content-Length:
32
      - '2968'
33
      Content-Type:
34
      - application/json; charset=utf-8
35
    body:
36
      encoding: ASCII-8BIT
37
      string: '[{"_storage_path": "/var/lib/pulp/content/shared/ostree/48868e83e4a50500d16c6adac1dfa68bb50d72ec87311aa4be87f01796293958/links/664eb5e7-da47-4d37-a260-0161bab1d88f",
38
        "_href": "/pulp/api/v2/content/units/ostree/664eb5e7-da47-4d37-a260-0161bab1d88f/",
39
        "_last_updated": "2016-03-02T00:45:08Z", "remote_id": "2c5b6e07fe47d0b626a417d5dbb855a4aa8c991177e930213a3a80514d3e1a14",
40
        "_content_type_id": "ostree", "pulp_user_metadata": {}, "branch": "fedora-atomic/f23/x86_64/docker-host",
41
        "_created": "2016-03-02T00:45:08Z", "commit": "954bdbeebebfa87b625d9d7bd78c81400bdd6756fcc3205987970af4b64eb678",
42
        "_id": "664eb5e7-da47-4d37-a260-0161bab1d88f", "children": {}, "metadata":
43
        {"version": "23.74", "rpmostree-inputhash": "cefa153b7f2ec7f2ee2cc6f4b2bb18ac34ef5128cf4a56cbcb6998e8a35b63ca"}},
44
        {"_storage_path": "/var/lib/pulp/content/shared/ostree/48868e83e4a50500d16c6adac1dfa68bb50d72ec87311aa4be87f01796293958/links/fa0facae-71d0-49b7-94f5-6d7d75d708bb",
45
        "_href": "/pulp/api/v2/content/units/ostree/fa0facae-71d0-49b7-94f5-6d7d75d708bb/",
46
        "_last_updated": "2016-03-02T00:45:08Z", "remote_id": "2c5b6e07fe47d0b626a417d5dbb855a4aa8c991177e930213a3a80514d3e1a14",
47
        "_content_type_id": "ostree", "pulp_user_metadata": {}, "branch": "fedora-atomic/f23/x86_64/testing/docker-host",
48
        "_created": "2016-03-02T00:45:08Z", "commit": "2c515ce0327df9cec4288490c8d0275c311bab72d24faebf6d6f9c4d6dd8aa8b",
49
        "_id": "fa0facae-71d0-49b7-94f5-6d7d75d708bb", "children": {}, "metadata":
50
        {"version": "23.78", "rpmostree-inputhash": "71871d96a49212899335587be9af33354151b927f4d8c8cb8e58729b036afda9"}},
51
        {"_storage_path": "/var/lib/pulp/content/shared/ostree/26760a9b7480dbfac877f6c0401a19da5e4d3e2292a5864b8820694f41cb5de9/links/7653cb27-1ef8-4193-8bc3-56fdf648308e",
52
        "_href": "/pulp/api/v2/content/units/ostree/7653cb27-1ef8-4193-8bc3-56fdf648308e/",
53
        "_last_updated": "2016-03-03T02:37:33Z", "remote_id": "b1046db191900ad624224c3826f095786a2a09b8c26968f30b81fd7e71aa632b",
54
        "_content_type_id": "ostree", "pulp_user_metadata": {}, "branch": "fedora-atomic/f21/x86_64/updates-testing/docker-host",
55
        "_created": "2016-03-03T02:37:33Z", "commit": "b954defc0c21b23705bf5776a78ca434b2569260e64e19fb61bdbd5526b3bf0f",
56
        "_id": "7653cb27-1ef8-4193-8bc3-56fdf648308e", "children": {}, "metadata":
57
        {"version": "23.3"}}, {"_storage_path": "/var/lib/pulp/content/shared/ostree/26760a9b7480dbfac877f6c0401a19da5e4d3e2292a5864b8820694f41cb5de9/links/f1e1608a-8c74-48e3-b177-8d4cc22a1641",
58
        "_href": "/pulp/api/v2/content/units/ostree/f1e1608a-8c74-48e3-b177-8d4cc22a1641/",
59
        "_last_updated": "2016-03-03T02:37:33Z", "remote_id": "b1046db191900ad624224c3826f095786a2a09b8c26968f30b81fd7e71aa632b",
60
        "_content_type_id": "ostree", "pulp_user_metadata": {}, "branch": "fedora-atomic/f21/x86_64/updates/docker-host",
61
        "_created": "2016-03-03T02:37:33Z", "commit": "b2179ef2c16343758ebebaa1dfdf40cca8a76d5418ad1780d19b708ff2202dcf",
62
        "_id": "f1e1608a-8c74-48e3-b177-8d4cc22a1641", "children": {}, "metadata":
63
        {"version": "23.3"}}]'
64
    http_version: 
65
  recorded_at: Fri, 04 Mar 2016 04:24:36 GMT
66
- request:
67
    method: post
68
    uri: https://admin:admin@galaxy.example.com/pulp/api/v2/content/units/ostree/search/
69
    body:
70
      encoding: UTF-8
71
      string: '{"criteria":{"filters":{"id":{"$in":[null,null,null,null]}}},"include_repos":true}'
72
    headers:
73
      Accept:
74
      - application/json
75
      Accept-Encoding:
76
      - gzip, deflate
77
      Content-Type:
78
      - application/json
79
      Content-Length:
80
      - '82'
81
      User-Agent:
82
      - Ruby
83
  response:
84
    status:
85
      code: 200
86
      message: OK
87
    headers:
88
      Date:
89
      - Fri, 04 Mar 2016 04:24:36 GMT
90
      Server:
91
      - Apache/2.4.6 (CentOS)
92
      Vary:
93
      - Accept-Encoding
94
      Content-Length:
95
      - '3198'
96
      Content-Type:
97
      - application/json; charset=utf-8
98
    body:
99
      encoding: ASCII-8BIT
100
      string: '[{"repository_memberships": ["Default_Organization-ostree-life"], "_storage_path":
101
        "/var/lib/pulp/content/shared/ostree/48868e83e4a50500d16c6adac1dfa68bb50d72ec87311aa4be87f01796293958/links/664eb5e7-da47-4d37-a260-0161bab1d88f",
102
        "_href": "/pulp/api/v2/content/units/ostree/664eb5e7-da47-4d37-a260-0161bab1d88f/",
103
        "_last_updated": "2016-03-02T00:45:08Z", "remote_id": "2c5b6e07fe47d0b626a417d5dbb855a4aa8c991177e930213a3a80514d3e1a14",
104
        "_content_type_id": "ostree", "pulp_user_metadata": {}, "branch": "fedora-atomic/f23/x86_64/docker-host",
105
        "_created": "2016-03-02T00:45:08Z", "commit": "954bdbeebebfa87b625d9d7bd78c81400bdd6756fcc3205987970af4b64eb678",
106
        "_id": "664eb5e7-da47-4d37-a260-0161bab1d88f", "children": {}, "metadata":
107
        {"version": "23.74", "rpmostree-inputhash": "cefa153b7f2ec7f2ee2cc6f4b2bb18ac34ef5128cf4a56cbcb6998e8a35b63ca"}},
108
        {"repository_memberships": ["Default_Organization-ostree-life"], "_storage_path":
109
        "/var/lib/pulp/content/shared/ostree/48868e83e4a50500d16c6adac1dfa68bb50d72ec87311aa4be87f01796293958/links/fa0facae-71d0-49b7-94f5-6d7d75d708bb",
110
        "_href": "/pulp/api/v2/content/units/ostree/fa0facae-71d0-49b7-94f5-6d7d75d708bb/",
111
        "_last_updated": "2016-03-02T00:45:08Z", "remote_id": "2c5b6e07fe47d0b626a417d5dbb855a4aa8c991177e930213a3a80514d3e1a14",
112
        "_content_type_id": "ostree", "pulp_user_metadata": {}, "branch": "fedora-atomic/f23/x86_64/testing/docker-host",
113
        "_created": "2016-03-02T00:45:08Z", "commit": "2c515ce0327df9cec4288490c8d0275c311bab72d24faebf6d6f9c4d6dd8aa8b",
114
        "_id": "fa0facae-71d0-49b7-94f5-6d7d75d708bb", "children": {}, "metadata":
115
        {"version": "23.78", "rpmostree-inputhash": "71871d96a49212899335587be9af33354151b927f4d8c8cb8e58729b036afda9"}},
116
        {"repository_memberships": ["integration_test_id"], "_storage_path": "/var/lib/pulp/content/shared/ostree/26760a9b7480dbfac877f6c0401a19da5e4d3e2292a5864b8820694f41cb5de9/links/7653cb27-1ef8-4193-8bc3-56fdf648308e",
117
        "_href": "/pulp/api/v2/content/units/ostree/7653cb27-1ef8-4193-8bc3-56fdf648308e/",
118
        "_last_updated": "2016-03-03T02:37:33Z", "remote_id": "b1046db191900ad624224c3826f095786a2a09b8c26968f30b81fd7e71aa632b",
119
        "_content_type_id": "ostree", "pulp_user_metadata": {}, "branch": "fedora-atomic/f21/x86_64/updates-testing/docker-host",
120
        "_created": "2016-03-03T02:37:33Z", "commit": "b954defc0c21b23705bf5776a78ca434b2569260e64e19fb61bdbd5526b3bf0f",
121
        "_id": "7653cb27-1ef8-4193-8bc3-56fdf648308e", "children": {}, "metadata":
122
        {"version": "23.3"}}, {"repository_memberships": ["integration_test_id"],
123
        "_storage_path": "/var/lib/pulp/content/shared/ostree/26760a9b7480dbfac877f6c0401a19da5e4d3e2292a5864b8820694f41cb5de9/links/f1e1608a-8c74-48e3-b177-8d4cc22a1641",
124
        "_href": "/pulp/api/v2/content/units/ostree/f1e1608a-8c74-48e3-b177-8d4cc22a1641/",
125
        "_last_updated": "2016-03-03T02:37:33Z", "remote_id": "b1046db191900ad624224c3826f095786a2a09b8c26968f30b81fd7e71aa632b",
126
        "_content_type_id": "ostree", "pulp_user_metadata": {}, "branch": "fedora-atomic/f21/x86_64/updates/docker-host",
127
        "_created": "2016-03-03T02:37:33Z", "commit": "b2179ef2c16343758ebebaa1dfdf40cca8a76d5418ad1780d19b708ff2202dcf",
128
        "_id": "f1e1608a-8c74-48e3-b177-8d4cc22a1641", "children": {}, "metadata":
129
        {"version": "23.3"}}]'
130
    http_version: 
131
  recorded_at: Fri, 04 Mar 2016 04:24:36 GMT
132
recorded_with: VCR 3.0.1
test/fixtures/vcr_cassettes/extensions/ostree_branch/find_all_by_unit_ids.yml
1
---
2
http_interactions:
3
- request:
4
    method: post
5
    uri: https://admin:admin@galaxy.example.com/pulp/api/v2/content/units/ostree/search/
6
    body:
7
      encoding: UTF-8
8
      string: '{"criteria":{}}'
9
    headers:
10
      Accept:
11
      - application/json
12
      Accept-Encoding:
13
      - gzip, deflate
14
      Content-Type:
15
      - application/json
16
      Content-Length:
17
      - '15'
18
      User-Agent:
19
      - Ruby
20
  response:
21
    status:
22
      code: 200
23
      message: OK
24
    headers:
25
      Date:
26
      - Fri, 04 Mar 2016 04:24:36 GMT
27
      Server:
28
      - Apache/2.4.6 (CentOS)
29
      Vary:
30
      - Accept-Encoding
31
      Content-Length:
32
      - '2968'
33
      Content-Type:
34
      - application/json; charset=utf-8
35
    body:
36
      encoding: ASCII-8BIT
37
      string: '[{"_storage_path": "/var/lib/pulp/content/shared/ostree/48868e83e4a50500d16c6adac1dfa68bb50d72ec87311aa4be87f01796293958/links/664eb5e7-da47-4d37-a260-0161bab1d88f",
38
        "_href": "/pulp/api/v2/content/units/ostree/664eb5e7-da47-4d37-a260-0161bab1d88f/",
39
        "_last_updated": "2016-03-02T00:45:08Z", "remote_id": "2c5b6e07fe47d0b626a417d5dbb855a4aa8c991177e930213a3a80514d3e1a14",
40
        "_content_type_id": "ostree", "pulp_user_metadata": {}, "branch": "fedora-atomic/f23/x86_64/docker-host",
41
        "_created": "2016-03-02T00:45:08Z", "commit": "954bdbeebebfa87b625d9d7bd78c81400bdd6756fcc3205987970af4b64eb678",
42
        "_id": "664eb5e7-da47-4d37-a260-0161bab1d88f", "children": {}, "metadata":
43
        {"version": "23.74", "rpmostree-inputhash": "cefa153b7f2ec7f2ee2cc6f4b2bb18ac34ef5128cf4a56cbcb6998e8a35b63ca"}},
44
        {"_storage_path": "/var/lib/pulp/content/shared/ostree/48868e83e4a50500d16c6adac1dfa68bb50d72ec87311aa4be87f01796293958/links/fa0facae-71d0-49b7-94f5-6d7d75d708bb",
45
        "_href": "/pulp/api/v2/content/units/ostree/fa0facae-71d0-49b7-94f5-6d7d75d708bb/",
46
        "_last_updated": "2016-03-02T00:45:08Z", "remote_id": "2c5b6e07fe47d0b626a417d5dbb855a4aa8c991177e930213a3a80514d3e1a14",
47
        "_content_type_id": "ostree", "pulp_user_metadata": {}, "branch": "fedora-atomic/f23/x86_64/testing/docker-host",
48
        "_created": "2016-03-02T00:45:08Z", "commit": "2c515ce0327df9cec4288490c8d0275c311bab72d24faebf6d6f9c4d6dd8aa8b",
49
        "_id": "fa0facae-71d0-49b7-94f5-6d7d75d708bb", "children": {}, "metadata":
50
        {"version": "23.78", "rpmostree-inputhash": "71871d96a49212899335587be9af33354151b927f4d8c8cb8e58729b036afda9"}},
51
        {"_storage_path": "/var/lib/pulp/content/shared/ostree/26760a9b7480dbfac877f6c0401a19da5e4d3e2292a5864b8820694f41cb5de9/links/7653cb27-1ef8-4193-8bc3-56fdf648308e",
52
        "_href": "/pulp/api/v2/content/units/ostree/7653cb27-1ef8-4193-8bc3-56fdf648308e/",
53
        "_last_updated": "2016-03-03T02:37:33Z", "remote_id": "b1046db191900ad624224c3826f095786a2a09b8c26968f30b81fd7e71aa632b",
54
        "_content_type_id": "ostree", "pulp_user_metadata": {}, "branch": "fedora-atomic/f21/x86_64/updates-testing/docker-host",
55
        "_created": "2016-03-03T02:37:33Z", "commit": "b954defc0c21b23705bf5776a78ca434b2569260e64e19fb61bdbd5526b3bf0f",
56
        "_id": "7653cb27-1ef8-4193-8bc3-56fdf648308e", "children": {}, "metadata":
57
        {"version": "23.3"}}, {"_storage_path": "/var/lib/pulp/content/shared/ostree/26760a9b7480dbfac877f6c0401a19da5e4d3e2292a5864b8820694f41cb5de9/links/f1e1608a-8c74-48e3-b177-8d4cc22a1641",
58
        "_href": "/pulp/api/v2/content/units/ostree/f1e1608a-8c74-48e3-b177-8d4cc22a1641/",
59
        "_last_updated": "2016-03-03T02:37:33Z", "remote_id": "b1046db191900ad624224c3826f095786a2a09b8c26968f30b81fd7e71aa632b",
60
        "_content_type_id": "ostree", "pulp_user_metadata": {}, "branch": "fedora-atomic/f21/x86_64/updates/docker-host",
61
        "_created": "2016-03-03T02:37:33Z", "commit": "b2179ef2c16343758ebebaa1dfdf40cca8a76d5418ad1780d19b708ff2202dcf",
62
        "_id": "f1e1608a-8c74-48e3-b177-8d4cc22a1641", "children": {}, "metadata":
63
        {"version": "23.3"}}]'
64
    http_version: 
65
  recorded_at: Fri, 04 Mar 2016 04:24:36 GMT
66
- request:
67
    method: post
68
    uri: https://admin:admin@galaxy.example.com/pulp/api/v2/content/units/ostree/search/
69
    body:
70
      encoding: UTF-8
71
      string: '{"criteria":{"filters":{"_id":{"$in":["664eb5e7-da47-4d37-a260-0161bab1d88f"]}}},"include_repos":true}'
72
    headers:
73
      Accept:
74
      - application/json
75
      Accept-Encoding:
76
      - gzip, deflate
77
      Content-Type:
78
      - application/json
79
      Content-Length:
80
      - '102'
81
      User-Agent:
82
      - Ruby
83
  response:
84
    status:
85
      code: 200
86
      message: OK
87
    headers:
88
      Date:
89
      - Fri, 04 Mar 2016 04:24:36 GMT
90
      Server:
91
      - Apache/2.4.6 (CentOS)
92
      Vary:
93
      - Accept-Encoding
94
      Content-Length:
95
      - '844'
96
      Content-Type:
97
      - application/json; charset=utf-8
98
    body:
99
      encoding: ASCII-8BIT
100
      string: '[{"repository_memberships": ["Default_Organization-ostree-life"], "_storage_path":
101
        "/var/lib/pulp/content/shared/ostree/48868e83e4a50500d16c6adac1dfa68bb50d72ec87311aa4be87f01796293958/links/664eb5e7-da47-4d37-a260-0161bab1d88f",
102
        "_href": "/pulp/api/v2/content/units/ostree/664eb5e7-da47-4d37-a260-0161bab1d88f/",
103
        "_last_updated": "2016-03-02T00:45:08Z", "remote_id": "2c5b6e07fe47d0b626a417d5dbb855a4aa8c991177e930213a3a80514d3e1a14",
104
        "_content_type_id": "ostree", "pulp_user_metadata": {}, "branch": "fedora-atomic/f23/x86_64/docker-host",
105
        "_created": "2016-03-02T00:45:08Z", "commit": "954bdbeebebfa87b625d9d7bd78c81400bdd6756fcc3205987970af4b64eb678",
106
        "_id": "664eb5e7-da47-4d37-a260-0161bab1d88f", "children": {}, "metadata":
107
        {"version": "23.74", "rpmostree-inputhash": "cefa153b7f2ec7f2ee2cc6f4b2bb18ac34ef5128cf4a56cbcb6998e8a35b63ca"}}]'
108
    http_version: 
109
  recorded_at: Fri, 04 Mar 2016 04:24:36 GMT
110
recorded_with: VCR 3.0.1
test/fixtures/vcr_cassettes/extensions/ostree_branch/find_by_unit_id.yml
1
---
2
http_interactions:
3
- request:
4
    method: post
5
    uri: https://admin:admin@galaxy.example.com/pulp/api/v2/content/units/ostree/search/
6
    body:
7
      encoding: UTF-8
8
      string: '{"criteria":{}}'
9
    headers:
10
      Accept:
11
      - application/json
12
      Accept-Encoding:
13
      - gzip, deflate
14
      Content-Type:
15
      - application/json
16
      Content-Length:
17
      - '15'
18
      User-Agent:
19
      - Ruby
20
  response:
21
    status:
22
      code: 200
23
      message: OK
24
    headers:
25
      Date:
26
      - Fri, 04 Mar 2016 04:24:36 GMT
27
      Server:
28
      - Apache/2.4.6 (CentOS)
29
      Vary:
30
      - Accept-Encoding
31
      Content-Length:
32
      - '2968'
33
      Content-Type:
34
      - application/json; charset=utf-8
35
    body:
36
      encoding: ASCII-8BIT
37
      string: '[{"_storage_path": "/var/lib/pulp/content/shared/ostree/48868e83e4a50500d16c6adac1dfa68bb50d72ec87311aa4be87f01796293958/links/664eb5e7-da47-4d37-a260-0161bab1d88f",
38
        "_href": "/pulp/api/v2/content/units/ostree/664eb5e7-da47-4d37-a260-0161bab1d88f/",
39
        "_last_updated": "2016-03-02T00:45:08Z", "remote_id": "2c5b6e07fe47d0b626a417d5dbb855a4aa8c991177e930213a3a80514d3e1a14",
40
        "_content_type_id": "ostree", "pulp_user_metadata": {}, "branch": "fedora-atomic/f23/x86_64/docker-host",
41
        "_created": "2016-03-02T00:45:08Z", "commit": "954bdbeebebfa87b625d9d7bd78c81400bdd6756fcc3205987970af4b64eb678",
42
        "_id": "664eb5e7-da47-4d37-a260-0161bab1d88f", "children": {}, "metadata":
43
        {"version": "23.74", "rpmostree-inputhash": "cefa153b7f2ec7f2ee2cc6f4b2bb18ac34ef5128cf4a56cbcb6998e8a35b63ca"}},
44
        {"_storage_path": "/var/lib/pulp/content/shared/ostree/48868e83e4a50500d16c6adac1dfa68bb50d72ec87311aa4be87f01796293958/links/fa0facae-71d0-49b7-94f5-6d7d75d708bb",
45
        "_href": "/pulp/api/v2/content/units/ostree/fa0facae-71d0-49b7-94f5-6d7d75d708bb/",
46
        "_last_updated": "2016-03-02T00:45:08Z", "remote_id": "2c5b6e07fe47d0b626a417d5dbb855a4aa8c991177e930213a3a80514d3e1a14",
47
        "_content_type_id": "ostree", "pulp_user_metadata": {}, "branch": "fedora-atomic/f23/x86_64/testing/docker-host",
48
        "_created": "2016-03-02T00:45:08Z", "commit": "2c515ce0327df9cec4288490c8d0275c311bab72d24faebf6d6f9c4d6dd8aa8b",
49
        "_id": "fa0facae-71d0-49b7-94f5-6d7d75d708bb", "children": {}, "metadata":
50
        {"version": "23.78", "rpmostree-inputhash": "71871d96a49212899335587be9af33354151b927f4d8c8cb8e58729b036afda9"}},
51
        {"_storage_path": "/var/lib/pulp/content/shared/ostree/26760a9b7480dbfac877f6c0401a19da5e4d3e2292a5864b8820694f41cb5de9/links/7653cb27-1ef8-4193-8bc3-56fdf648308e",
52
        "_href": "/pulp/api/v2/content/units/ostree/7653cb27-1ef8-4193-8bc3-56fdf648308e/",
53
        "_last_updated": "2016-03-03T02:37:33Z", "remote_id": "b1046db191900ad624224c3826f095786a2a09b8c26968f30b81fd7e71aa632b",
54
        "_content_type_id": "ostree", "pulp_user_metadata": {}, "branch": "fedora-atomic/f21/x86_64/updates-testing/docker-host",
55
        "_created": "2016-03-03T02:37:33Z", "commit": "b954defc0c21b23705bf5776a78ca434b2569260e64e19fb61bdbd5526b3bf0f",
56
        "_id": "7653cb27-1ef8-4193-8bc3-56fdf648308e", "children": {}, "metadata":
57
        {"version": "23.3"}}, {"_storage_path": "/var/lib/pulp/content/shared/ostree/26760a9b7480dbfac877f6c0401a19da5e4d3e2292a5864b8820694f41cb5de9/links/f1e1608a-8c74-48e3-b177-8d4cc22a1641",
58
        "_href": "/pulp/api/v2/content/units/ostree/f1e1608a-8c74-48e3-b177-8d4cc22a1641/",
59
        "_last_updated": "2016-03-03T02:37:33Z", "remote_id": "b1046db191900ad624224c3826f095786a2a09b8c26968f30b81fd7e71aa632b",
60
        "_content_type_id": "ostree", "pulp_user_metadata": {}, "branch": "fedora-atomic/f21/x86_64/updates/docker-host",
61
        "_created": "2016-03-03T02:37:33Z", "commit": "b2179ef2c16343758ebebaa1dfdf40cca8a76d5418ad1780d19b708ff2202dcf",
62
        "_id": "f1e1608a-8c74-48e3-b177-8d4cc22a1641", "children": {}, "metadata":
63
        {"version": "23.3"}}]'
64
    http_version: 
65
  recorded_at: Fri, 04 Mar 2016 04:24:36 GMT
66
- request:
67
    method: post
68
    uri: https://admin:admin@galaxy.example.com/pulp/api/v2/content/units/ostree/search/
69
    body:
70
      encoding: UTF-8
71
      string: '{"criteria":{"filters":{"_id":{"$in":["664eb5e7-da47-4d37-a260-0161bab1d88f"]}}},"include_repos":true}'
72
    headers:
73
      Accept:
74
      - application/json
75
      Accept-Encoding:
76
      - gzip, deflate
77
      Content-Type:
78
      - application/json
79
      Content-Length:
80
      - '102'
81
      User-Agent:
82
      - Ruby
83
  response:
84
    status:
85
      code: 200
86
      message: OK
87
    headers:
88
      Date:
89
      - Fri, 04 Mar 2016 04:24:36 GMT
90
      Server:
91
      - Apache/2.4.6 (CentOS)
92
      Vary:
93
      - Accept-Encoding
94
      Content-Length:
95
      - '844'
96
      Content-Type:
97
      - application/json; charset=utf-8
98
    body:
99
      encoding: ASCII-8BIT
100
      string: '[{"repository_memberships": ["Default_Organization-ostree-life"], "_storage_path":
101
        "/var/lib/pulp/content/shared/ostree/48868e83e4a50500d16c6adac1dfa68bb50d72ec87311aa4be87f01796293958/links/664eb5e7-da47-4d37-a260-0161bab1d88f",
102
        "_href": "/pulp/api/v2/content/units/ostree/664eb5e7-da47-4d37-a260-0161bab1d88f/",
103
        "_last_updated": "2016-03-02T00:45:08Z", "remote_id": "2c5b6e07fe47d0b626a417d5dbb855a4aa8c991177e930213a3a80514d3e1a14",
104
        "_content_type_id": "ostree", "pulp_user_metadata": {}, "branch": "fedora-atomic/f23/x86_64/docker-host",
105
        "_created": "2016-03-02T00:45:08Z", "commit": "954bdbeebebfa87b625d9d7bd78c81400bdd6756fcc3205987970af4b64eb678",
106
        "_id": "664eb5e7-da47-4d37-a260-0161bab1d88f", "children": {}, "metadata":
107
        {"version": "23.74", "rpmostree-inputhash": "cefa153b7f2ec7f2ee2cc6f4b2bb18ac34ef5128cf4a56cbcb6998e8a35b63ca"}}]'
108
    http_version: 
109
  recorded_at: Fri, 04 Mar 2016 04:24:36 GMT
110
recorded_with: VCR 3.0.1
test/fixtures/vcr_cassettes/extensions/ostree_branch/find_unknown.yml
1
---
2
http_interactions:
3
- request:
4
    method: post
5
    uri: https://admin:admin@galaxy.example.com/pulp/api/v2/content/units/ostree/search/
6
    body:
7
      encoding: UTF-8
8
      string: '{"criteria":{"filters":{"id":{"$in":["f"]}}},"include_repos":true}'
9
    headers:
10
      Accept:
11
      - application/json
12
      Accept-Encoding:
13
      - gzip, deflate
14
      Content-Type:
15
      - application/json
16
      Content-Length:
17
      - '66'
18
      User-Agent:
19
      - Ruby
20
  response:
21
    status:
22
      code: 200
23
      message: OK
24
    headers:
25
      Date:
26
      - Fri, 04 Mar 2016 04:24:36 GMT
27
      Server:
28
      - Apache/2.4.6 (CentOS)
29
      Content-Length:
30
      - '2'
31
      Content-Type:
32
      - application/json; charset=utf-8
33
    body:
34
      encoding: UTF-8
35
      string: "[]"
36
    http_version: 
37
  recorded_at: Fri, 04 Mar 2016 04:24:36 GMT
38
recorded_with: VCR 3.0.1
test/fixtures/vcr_cassettes/extensions/ostree_branch/suite.yml
1
---
2
http_interactions:
3
- request:
4
    method: get
5
    uri: https://admin:admin@galaxy.example.com/pulp/api/v2/repositories/integration_test_id/
6
    body:
7
      encoding: US-ASCII
8
      string: ''
9
    headers:
10
      Accept:
11
      - application/json
12
      Accept-Encoding:
13
      - gzip, deflate
14
      Content-Type:
15
      - application/json
16
      User-Agent:
17
      - Ruby
18
  response:
19
    status:
20
      code: 404
21
      message: NOT FOUND
22
    headers:
23
      Date:
24
      - Fri, 04 Mar 2016 04:24:34 GMT
25
      Server:
26
      - Apache/2.4.6 (CentOS)
27
      Content-Encoding:
28
      - utf-8
29
      Content-Length:
30
      - '452'
31
      Content-Type:
32
      - application/json; charset=utf-8
33
    body:
34
      encoding: UTF-8
35
      string: '{"http_request_method": "GET", "exception": null, "error_message":
36
        "Missing resource(s): repository=integration_test_id", "_href": "/pulp/api/v2/repositories/integration_test_id/?",
37
        "http_status": 404, "error": {"code": "PLP0009", "data": {"resources": {"repository":
38
        "integration_test_id"}}, "description": "Missing resource(s): repository=integration_test_id",
39
        "sub_errors": []}, "traceback": null, "resources": {"repository": "integration_test_id"}}'
40
    http_version: 
41
  recorded_at: Fri, 04 Mar 2016 04:24:34 GMT
42
- request:
43
    method: post
44
    uri: https://admin:admin@galaxy.example.com/pulp/api/v2/repositories/
45
    body:
46
      encoding: UTF-8
47
      string: '{"id":"integration_test_id","importer_type_id":"ostree_web_importer","importer_config":{"feed":"file:///var/www/repositories/ostree/fedora"}}'
48
    headers:
49
      Accept:
50
      - application/json
51
      Accept-Encoding:
52
      - gzip, deflate
53
      Content-Type:
54
      - application/json
55
      Content-Length:
56
      - '141'
57
      User-Agent:
58
      - Ruby
59
  response:
60
    status:
61
      code: 201
62
      message: CREATED
63
    headers:
64
      Date:
65
      - Fri, 04 Mar 2016 04:24:34 GMT
66
      Server:
67
      - Apache/2.4.6 (CentOS)
68
      Content-Length:
69
      - '319'
70
      Location:
71
      - https://galaxy.example.com/pulp/api/v2/repositories/integration_test_id/
72
      Content-Type:
73
      - application/json; charset=utf-8
74
    body:
75
      encoding: UTF-8
76
      string: '{"scratchpad": {}, "display_name": "integration_test_id", "description":
77
        null, "last_unit_added": null, "notes": {}, "last_unit_removed": null, "content_unit_counts":
78
        {}, "_ns": "repos", "_id": {"$oid": "56d90e02e93417157ae42dc0"}, "id": "integration_test_id",
79
        "_href": "/pulp/api/v2/repositories/integration_test_id/"}'
80
    http_version: 
81
  recorded_at: Fri, 04 Mar 2016 04:24:34 GMT
82
- request:
83
    method: post
84
    uri: https://admin:admin@galaxy.example.com/pulp/api/v2/repositories/integration_test_id/actions/sync/
85
    body:
86
      encoding: UTF-8
87
      string: "{}"
88
    headers:
89
      Accept:
90
      - application/json
91
      Accept-Encoding:
92
      - gzip, deflate
93
      Content-Type:
94
      - application/json
95
      Content-Length:
96
      - '2'
97
      User-Agent:
98
      - Ruby
99
  response:
100
    status:
101
      code: 202
102
      message: ACCEPTED
103
    headers:
104
      Date:
105
      - Fri, 04 Mar 2016 04:24:34 GMT
106
      Server:
107
      - Apache/2.4.6 (CentOS)
108
      Content-Length:
109
      - '172'
110
      Content-Type:
111
      - application/json; charset=utf-8
112
    body:
113
      encoding: UTF-8
114
      string: '{"spawned_tasks": [{"_href": "/pulp/api/v2/tasks/fa8bc093-1b74-4130-8ced-bfe08987aaf5/",
115
        "task_id": "fa8bc093-1b74-4130-8ced-bfe08987aaf5"}], "result": null, "error":
116
        null}'
117
    http_version: 
118
  recorded_at: Fri, 04 Mar 2016 04:24:34 GMT
119
- request:
120
    method: get
121
    uri: https://admin:admin@galaxy.example.com/pulp/api/v2/tasks/fa8bc093-1b74-4130-8ced-bfe08987aaf5/
122
    body:
123
      encoding: US-ASCII
124
      string: ''
125
    headers:
126
      Accept:
127
      - application/json
128
      Accept-Encoding:
129
      - gzip, deflate
130
      Content-Type:
131
      - application/json
132
      User-Agent:
133
      - Ruby
134
  response:
135
    status:
136
      code: 200
137
      message: OK
138
    headers:
139
      Date:
140
      - Fri, 04 Mar 2016 04:24:35 GMT
141
      Server:
142
      - Apache/2.4.6 (CentOS)
143
      Vary:
144
      - Accept-Encoding
145
      Content-Length:
146
      - '1954'
147
      Content-Type:
148
      - application/json; charset=utf-8
149
    body:
150
      encoding: ASCII-8BIT
151
      string: '{"exception": null, "task_type": "pulp.server.managers.repo.sync.sync",
152
        "_href": "/pulp/api/v2/tasks/fa8bc093-1b74-4130-8ced-bfe08987aaf5/", "task_id":
153
        "fa8bc093-1b74-4130-8ced-bfe08987aaf5", "tags": ["pulp:repository:integration_test_id",
154
        "pulp:action:sync"], "finish_time": null, "_ns": "task_status", "start_time":
155
        "2016-03-04T04:24:34Z", "traceback": null, "spawned_tasks": [], "progress_report":
156
        {"ostree_web_importer": [{"num_success": 1, "description": "Create Local Repository",
157
        "step_type": "import_create_repository", "items_total": 1, "state": "FINISHED",
158
        "error_details": [], "details": "", "num_failures": 0, "step_id": "aec91b39-0f77-4314-831c-a9786f0d1d07",
159
        "num_processed": 1}, {"num_success": 0, "description": "Update Summary", "step_type":
160
        "import_summary", "items_total": 1, "state": "IN_PROGRESS", "error_details":
161
        [], "details": "", "num_failures": 0, "step_id": "c59bb97f-60b2-4169-ba21-6f7b3733ae11",
162
        "num_processed": 0}, {"num_success": 0, "description": "Pull Remote Branches",
163
        "step_type": "import_pull", "items_total": 1, "state": "NOT_STARTED", "error_details":
164
        [], "details": "", "num_failures": 0, "step_id": "70573d8f-f9c4-4392-b78f-661df4650bc6",
165
        "num_processed": 0}, {"num_success": 0, "description": "Add Content Units",
166
        "step_type": "import_add_unit", "items_total": 1, "state": "NOT_STARTED",
167
        "error_details": [], "details": "", "num_failures": 0, "step_id": "e03b4319-58ba-42ae-8f2e-59ad1ea88dd1",
168
        "num_processed": 0}, {"num_success": 0, "description": "Clean", "step_type":
169
        "import_clean", "items_total": 1, "state": "NOT_STARTED", "error_details":
170
        [], "details": "", "num_failures": 0, "step_id": "225b9a71-dd88-4418-a04d-6057c24aba1b",
171
        "num_processed": 0}]}, "queue": "reserved_resource_worker-1@galaxy.example.com.dq",
172
        "state": "running", "worker_name": "reserved_resource_worker-1@galaxy.example.com",
173
        "result": null, "error": null, "_id": {"$oid": "56d90e0281f42f1fda53d669"},
174
        "id": "56d90e0281f42f1fda53d669"}'
175
    http_version: 
176
  recorded_at: Fri, 04 Mar 2016 04:24:35 GMT
177
- request:
178
    method: get
179
    uri: https://admin:admin@galaxy.example.com/pulp/api/v2/tasks/fa8bc093-1b74-4130-8ced-bfe08987aaf5/
180
    body:
181
      encoding: US-ASCII
182
      string: ''
183
    headers:
184
      Accept:
185
      - application/json
186
      Accept-Encoding:
187
      - gzip, deflate
188
      Content-Type:
189
      - application/json
190
      User-Agent:
191
      - Ruby
192
  response:
193
    status:
194
      code: 200
195
      message: OK
196
    headers:
197
      Date:
198
      - Fri, 04 Mar 2016 04:24:35 GMT
199
      Server:
200
      - Apache/2.4.6 (CentOS)
201
      Vary:
202
      - Accept-Encoding
203
      Content-Length:
204
      - '1948'
205
      Content-Type:
206
      - application/json; charset=utf-8
207
    body:
208
      encoding: ASCII-8BIT
209
      string: '{"exception": null, "task_type": "pulp.server.managers.repo.sync.sync",
210
        "_href": "/pulp/api/v2/tasks/fa8bc093-1b74-4130-8ced-bfe08987aaf5/", "task_id":
211
        "fa8bc093-1b74-4130-8ced-bfe08987aaf5", "tags": ["pulp:repository:integration_test_id",
212
        "pulp:action:sync"], "finish_time": null, "_ns": "task_status", "start_time":
213
        "2016-03-04T04:24:34Z", "traceback": null, "spawned_tasks": [], "progress_report":
214
        {"ostree_web_importer": [{"num_success": 1, "description": "Create Local Repository",
215
        "step_type": "import_create_repository", "items_total": 1, "state": "FINISHED",
216
        "error_details": [], "details": "", "num_failures": 0, "step_id": "aec91b39-0f77-4314-831c-a9786f0d1d07",
217
        "num_processed": 1}, {"num_success": 1, "description": "Update Summary", "step_type":
218
        "import_summary", "items_total": 1, "state": "FINISHED", "error_details":
219
        [], "details": "", "num_failures": 0, "step_id": "c59bb97f-60b2-4169-ba21-6f7b3733ae11",
220
        "num_processed": 1}, {"num_success": 1, "description": "Pull Remote Branches",
221
        "step_type": "import_pull", "items_total": 1, "state": "FINISHED", "error_details":
222
        [], "details": "", "num_failures": 0, "step_id": "70573d8f-f9c4-4392-b78f-661df4650bc6",
223
        "num_processed": 1}, {"num_success": 0, "description": "Add Content Units",
224
        "step_type": "import_add_unit", "items_total": 1, "state": "IN_PROGRESS",
225
        "error_details": [], "details": "", "num_failures": 0, "step_id": "e03b4319-58ba-42ae-8f2e-59ad1ea88dd1",
226
        "num_processed": 0}, {"num_success": 0, "description": "Clean", "step_type":
227
        "import_clean", "items_total": 1, "state": "NOT_STARTED", "error_details":
228
        [], "details": "", "num_failures": 0, "step_id": "225b9a71-dd88-4418-a04d-6057c24aba1b",
229
        "num_processed": 0}]}, "queue": "reserved_resource_worker-1@galaxy.example.com.dq",
230
        "state": "running", "worker_name": "reserved_resource_worker-1@galaxy.example.com",
231
        "result": null, "error": null, "_id": {"$oid": "56d90e0281f42f1fda53d669"},
232
        "id": "56d90e0281f42f1fda53d669"}'
233
    http_version: 
234
  recorded_at: Fri, 04 Mar 2016 04:24:35 GMT
235
- request:
236
    method: get
237
    uri: https://admin:admin@galaxy.example.com/pulp/api/v2/tasks/fa8bc093-1b74-4130-8ced-bfe08987aaf5/
238
    body:
239
      encoding: US-ASCII
240
      string: ''
241
    headers:
242
      Accept:
243
      - application/json
244
      Accept-Encoding:
245
      - gzip, deflate
246
      Content-Type:
247
      - application/json
248
      User-Agent:
249
      - Ruby
250
  response:
251
    status:
252
      code: 200
253
      message: OK
254
    headers:
255
      Date:
256
      - Fri, 04 Mar 2016 04:24:36 GMT
257
      Server:
258
      - Apache/2.4.6 (CentOS)
259
      Vary:
260
      - Accept-Encoding
261
      Content-Length:
262
      - '3788'
263
      Content-Type:
264
      - application/json; charset=utf-8
265
    body:
266
      encoding: ASCII-8BIT
267
      string: '{"exception": null, "task_type": "pulp.server.managers.repo.sync.sync",
268
        "_href": "/pulp/api/v2/tasks/fa8bc093-1b74-4130-8ced-bfe08987aaf5/", "task_id":
269
        "fa8bc093-1b74-4130-8ced-bfe08987aaf5", "tags": ["pulp:repository:integration_test_id",
270
        "pulp:action:sync"], "finish_time": "2016-03-04T04:24:35Z", "_ns": "task_status",
271
        "start_time": "2016-03-04T04:24:34Z", "traceback": null, "spawned_tasks":
272
        [], "progress_report": {"ostree_web_importer": [{"num_success": 1, "description":
273
        "Create Local Repository", "step_type": "import_create_repository", "items_total":
274
        1, "state": "FINISHED", "error_details": [], "details": "", "num_failures":
275
        0, "step_id": "aec91b39-0f77-4314-831c-a9786f0d1d07", "num_processed": 1},
276
        {"num_success": 1, "description": "Update Summary", "step_type": "import_summary",
277
        "items_total": 1, "state": "FINISHED", "error_details": [], "details": "",
278
        "num_failures": 0, "step_id": "c59bb97f-60b2-4169-ba21-6f7b3733ae11", "num_processed":
279
        1}, {"num_success": 1, "description": "Pull Remote Branches", "step_type":
280
        "import_pull", "items_total": 1, "state": "FINISHED", "error_details": [],
281
        "details": "", "num_failures": 0, "step_id": "70573d8f-f9c4-4392-b78f-661df4650bc6",
282
        "num_processed": 1}, {"num_success": 1, "description": "Add Content Units",
283
        "step_type": "import_add_unit", "items_total": 1, "state": "FINISHED", "error_details":
284
        [], "details": "", "num_failures": 0, "step_id": "e03b4319-58ba-42ae-8f2e-59ad1ea88dd1",
285
        "num_processed": 1}, {"num_success": 1, "description": "Clean", "step_type":
286
        "import_clean", "items_total": 1, "state": "FINISHED", "error_details": [],
287
        "details": "", "num_failures": 0, "step_id": "225b9a71-dd88-4418-a04d-6057c24aba1b",
288
        "num_processed": 1}]}, "queue": "reserved_resource_worker-1@galaxy.example.com.dq",
289
        "state": "finished", "worker_name": "reserved_resource_worker-1@galaxy.example.com",
290
        "result": {"result": "success", "importer_id": "ostree_web_importer", "exception":
291
        null, "repo_id": "integration_test_id", "traceback": null, "started": "2016-03-04T04:24:34Z",
292
        "_ns": "repo_sync_results", "completed": "2016-03-04T04:24:35Z", "importer_type_id":
293
        "ostree_web_importer", "error_message": null, "summary": {"import_summary":
294
        "FINISHED", "import_create_repository": "FINISHED", "import_pull": "FINISHED",
295
        "import_clean": "FINISHED", "import_add_unit": "FINISHED"}, "added_count":
296
        2, "removed_count": 0, "updated_count": 0, "id": "56d90e03e93417171891b440",
297
        "details": [{"num_success": 1, "description": "Create Local Repository", "step_type":
298
        "import_create_repository", "items_total": 1, "state": "FINISHED", "error_details":
299
        [], "details": "", "num_failures": 0, "step_id": "aec91b39-0f77-4314-831c-a9786f0d1d07",
300
        "num_processed": 1}, {"num_success": 1, "description": "Update Summary", "step_type":
301
        "import_summary", "items_total": 1, "state": "FINISHED", "error_details":
302
        [], "details": "", "num_failures": 0, "step_id": "c59bb97f-60b2-4169-ba21-6f7b3733ae11",
303
        "num_processed": 1}, {"num_success": 1, "description": "Pull Remote Branches",
304
        "step_type": "import_pull", "items_total": 1, "state": "FINISHED", "error_details":
305
        [], "details": "", "num_failures": 0, "step_id": "70573d8f-f9c4-4392-b78f-661df4650bc6",
306
        "num_processed": 1}, {"num_success": 1, "description": "Add Content Units",
307
        "step_type": "import_add_unit", "items_total": 1, "state": "FINISHED", "error_details":
308
        [], "details": "", "num_failures": 0, "step_id": "e03b4319-58ba-42ae-8f2e-59ad1ea88dd1",
309
        "num_processed": 1}, {"num_success": 1, "description": "Clean", "step_type":
310
        "import_clean", "items_total": 1, "state": "FINISHED", "error_details": [],
311
        "details": "", "num_failures": 0, "step_id": "225b9a71-dd88-4418-a04d-6057c24aba1b",
312
        "num_processed": 1}]}, "error": null, "_id": {"$oid": "56d90e0281f42f1fda53d669"},
313
        "id": "56d90e0281f42f1fda53d669"}'
314
    http_version: 
315
  recorded_at: Fri, 04 Mar 2016 04:24:36 GMT
316
- request:
317
    method: delete
318
    uri: https://admin:admin@galaxy.example.com/pulp/api/v2/repositories/integration_test_id/
319
    body:
320
      encoding: US-ASCII
321
      string: ''
322
    headers:
323
      Accept:
324
      - application/json
325
      Accept-Encoding:
326
      - gzip, deflate
327
      Content-Type:
328
      - application/json
329
      User-Agent:
330
      - Ruby
331
  response:
332
    status:
333
      code: 202
334
      message: ACCEPTED
335
    headers:
336
      Date:
337
      - Fri, 04 Mar 2016 04:24:36 GMT
338
      Server:
339
      - Apache/2.4.6 (CentOS)
340
      Content-Length:
341
      - '172'
342
      Content-Type:
343
      - application/json; charset=utf-8
344
    body:
345
      encoding: UTF-8
346
      string: '{"spawned_tasks": [{"_href": "/pulp/api/v2/tasks/1c7a04e7-dd5e-491f-8a8e-58f8f0216400/",
347
        "task_id": "1c7a04e7-dd5e-491f-8a8e-58f8f0216400"}], "result": null, "error":
348
        null}'
349
    http_version: 
350
  recorded_at: Fri, 04 Mar 2016 04:24:36 GMT
351
- request:
352
    method: get
353
    uri: https://admin:admin@galaxy.example.com/pulp/api/v2/tasks/1c7a04e7-dd5e-491f-8a8e-58f8f0216400/
354
    body:
355
      encoding: US-ASCII
356
      string: ''
357
    headers:
358
      Accept:
359
      - application/json
360
      Accept-Encoding:
361
      - gzip, deflate
362
      Content-Type:
363
      - application/json
364
      User-Agent:
365
      - Ruby
366
  response:
367
    status:
368
      code: 200
369
      message: OK
370
    headers:
371
      Date:
372
      - Fri, 04 Mar 2016 04:24:37 GMT
373
      Server:
374
      - Apache/2.4.6 (CentOS)
375
      Vary:
376
      - Accept-Encoding
377
      Content-Length:
378
      - '680'
379
      Content-Type:
380
      - application/json; charset=utf-8
381
    body:
382
      encoding: ASCII-8BIT
383
      string: '{"exception": null, "task_type": "pulp.server.tasks.repository.delete",
384
        "_href": "/pulp/api/v2/tasks/1c7a04e7-dd5e-491f-8a8e-58f8f0216400/", "task_id":
385
        "1c7a04e7-dd5e-491f-8a8e-58f8f0216400", "tags": ["pulp:repository:integration_test_id",
386
        "pulp:action:delete"], "finish_time": "2016-03-04T04:24:36Z", "_ns": "task_status",
387
        "start_time": "2016-03-04T04:24:36Z", "traceback": null, "spawned_tasks":
388
        [], "progress_report": {}, "queue": "reserved_resource_worker-1@galaxy.example.com.dq",
389
        "state": "finished", "worker_name": "reserved_resource_worker-1@galaxy.example.com",
390
        "result": null, "error": null, "_id": {"$oid": "56d90e0481f42f1fda53d66c"},
391
        "id": "56d90e0481f42f1fda53d66c"}'
392
    http_version: 
393
  recorded_at: Fri, 04 Mar 2016 04:24:37 GMT
394
recorded_with: VCR 3.0.1
test/fixtures/vcr_cassettes/extensions/ostree_branch_copy/copy.yml
1
---
2
http_interactions:
3
- request:
4
    method: post
5
    uri: https://admin:admin@galaxy.example.com/pulp/api/v2/repositories/integration_test_id_clone/actions/associate/
6
    body:
7
      encoding: UTF-8
8
      string: '{"source_repo_id":"integration_test_id","criteria":{"type_ids":["ostree"],"filters":{}}}'
9
    headers:
10
      Accept:
11
      - application/json
12
      Accept-Encoding:
13
      - gzip, deflate
14
      Content-Type:
15
      - application/json
16
      Content-Length:
17
      - '88'
18
      User-Agent:
19
      - Ruby
20
  response:
21
    status:
22
      code: 202
23
      message: ACCEPTED
24
    headers:
25
      Date:
26
      - Fri, 04 Mar 2016 04:24:38 GMT
27
      Server:
28
      - Apache/2.4.6 (CentOS)
29
      Content-Length:
30
      - '172'
31
      Content-Type:
32
      - application/json; charset=utf-8
33
    body:
34
      encoding: UTF-8
35
      string: '{"spawned_tasks": [{"_href": "/pulp/api/v2/tasks/e8f7dc74-7bb6-4444-9b01-598eb93ad251/",
36
        "task_id": "e8f7dc74-7bb6-4444-9b01-598eb93ad251"}], "result": null, "error":
37
        null}'
38
    http_version: 
39
  recorded_at: Fri, 04 Mar 2016 04:24:38 GMT
40
- request:
41
    method: get
42
    uri: https://admin:admin@galaxy.example.com/pulp/api/v2/tasks/e8f7dc74-7bb6-4444-9b01-598eb93ad251/
43
    body:
44
      encoding: US-ASCII
45
      string: ''
46
    headers:
47
      Accept:
48
      - application/json
49
      Accept-Encoding:
50
      - gzip, deflate
51
      Content-Type:
52
      - application/json
53
      User-Agent:
54
      - Ruby
55
  response:
56
    status:
57
      code: 200
58
      message: OK
59
    headers:
60
      Date:
61
      - Fri, 04 Mar 2016 04:24:38 GMT
62
      Server:
63
      - Apache/2.4.6 (CentOS)
64
      Vary:
65
      - Accept-Encoding
66
      Content-Length:
67
      - '775'
68
      Content-Type:
69
      - application/json; charset=utf-8
70
    body:
71
      encoding: ASCII-8BIT
72
      string: '{"exception": null, "task_type": "pulp.server.managers.repo.unit_association.associate_from_repo",
73
        "_href": "/pulp/api/v2/tasks/e8f7dc74-7bb6-4444-9b01-598eb93ad251/", "task_id":
74
        "e8f7dc74-7bb6-4444-9b01-598eb93ad251", "tags": ["pulp:repository:integration_test_id_clone",
75
        "pulp:repository:integration_test_id", "pulp:action:associate"], "finish_time":
76
        "2016-03-04T04:24:38Z", "_ns": "task_status", "start_time": "2016-03-04T04:24:38Z",
77
        "traceback": null, "spawned_tasks": [], "progress_report": {}, "queue": "reserved_resource_worker-1@galaxy.example.com.dq",
78
        "state": "finished", "worker_name": "reserved_resource_worker-1@galaxy.example.com",
79
        "result": {"units_successful": []}, "error": null, "_id": {"$oid": "56d90e0681f42f1fda53d67c"},
80
        "id": "56d90e0681f42f1fda53d67c"}'
81
    http_version: 
82
  recorded_at: Fri, 04 Mar 2016 04:24:38 GMT
83
- request:
84
    method: post
85
    uri: https://admin:admin@galaxy.example.com/pulp/api/v2/repositories/integration_test_id_clone/search/units/
86
    body:
87
      encoding: UTF-8
88
      string: '{"criteria":{"type_ids":["ostree"]}}'
89
    headers:
90
      Accept:
91
      - application/json
92
      Accept-Encoding:
93
      - gzip, deflate
94
      Content-Type:
95
      - application/json
96
      Content-Length:
97
      - '36'
98
      User-Agent:
99
      - Ruby
100
  response:
101
    status:
102
      code: 200
103
      message: OK
104
    headers:
105
      Date:
106
      - Fri, 04 Mar 2016 04:24:38 GMT
107
      Server:
108
      - Apache/2.4.6 (CentOS)
109
      Content-Length:
110
      - '2'
111
      Content-Type:
112
      - application/json; charset=utf-8
113
    body:
114
      encoding: UTF-8
115
      string: "[]"
116
    http_version: 
117
  recorded_at: Fri, 04 Mar 2016 04:24:38 GMT
118
- request:
119
    method: post
120
    uri: https://admin:admin@galaxy.example.com/pulp/api/v2/repositories/integration_test_id/search/units/
121
    body:
122
      encoding: UTF-8
123
      string: '{"criteria":{"type_ids":["ostree"]}}'
124
    headers:
125
      Accept:
126
      - application/json
127
      Accept-Encoding:
128
      - gzip, deflate
129
      Content-Type:
130
      - application/json
131
      Content-Length:
132
      - '36'
133
      User-Agent:
134
      - Ruby
135
  response:
136
    status:
137
      code: 200
138
      message: OK
139
    headers:
140
      Date:
141
      - Fri, 04 Mar 2016 04:24:39 GMT
142
      Server:
143
      - Apache/2.4.6 (CentOS)
144
      Content-Length:
145
      - '2'
146
      Content-Type:
147
      - application/json; charset=utf-8
148
    body:
149
      encoding: UTF-8
150
      string: "[]"
151
    http_version: 
152
  recorded_at: Fri, 04 Mar 2016 04:24:39 GMT
153
recorded_with: VCR 3.0.1
test/fixtures/vcr_cassettes/extensions/ostree_branch_copy/suite.yml
1
---
2
http_interactions:
3
- request:
4
    method: delete
5
    uri: https://admin:admin@galaxy.example.com/pulp/api/v2/repositories/integration_test_id/
6
    body:
7
      encoding: US-ASCII
8
      string: ''
9
    headers:
10
      Accept:
11
      - application/json
12
      Accept-Encoding:
13
      - gzip, deflate
14
      Content-Type:
15
      - application/json
16
      User-Agent:
17
      - Ruby
18
  response:
19
    status:
20
      code: 404
21
      message: NOT FOUND
22
    headers:
23
      Date:
24
      - Fri, 04 Mar 2016 04:24:37 GMT
25
      Server:
26
      - Apache/2.4.6 (CentOS)
27
      Content-Encoding:
28
      - utf-8
29
      Content-Length:
30
      - '454'
31
      Content-Type:
32
      - application/json; charset=utf-8
33
    body:
34
      encoding: UTF-8
35
      string: '{"http_request_method": "DELETE", "exception": null, "error_message":
36
        "Missing resource(s): repository=integration_test_id", "_href": "/pulp/api/v2/repositories/integration_test_id/",
37
        "http_status": 404, "error": {"code": "PLP0009", "data": {"resources": {"repository":
38
        "integration_test_id"}}, "description": "Missing resource(s): repository=integration_test_id",
39
        "sub_errors": []}, "traceback": null, "resources": {"repository": "integration_test_id"}}'
40
    http_version: 
41
  recorded_at: Fri, 04 Mar 2016 04:24:37 GMT
42
- request:
43
    method: get
44
    uri: https://admin:admin@galaxy.example.com/pulp/api/v2/repositories/integration_test_id/
45
    body:
46
      encoding: US-ASCII
47
      string: ''
48
    headers:
49
      Accept:
50
      - application/json
51
      Accept-Encoding:
52
      - gzip, deflate
53
      Content-Type:
54
      - application/json
55
      User-Agent:
56
      - Ruby
57
  response:
58
    status:
59
      code: 404
60
      message: NOT FOUND
61
    headers:
62
      Date:
63
      - Fri, 04 Mar 2016 04:24:37 GMT
64
      Server:
65
      - Apache/2.4.6 (CentOS)
66
      Content-Encoding:
67
      - utf-8
68
      Content-Length:
69
      - '452'
70
      Content-Type:
71
      - application/json; charset=utf-8
72
    body:
73
      encoding: UTF-8
74
      string: '{"http_request_method": "GET", "exception": null, "error_message":
75
        "Missing resource(s): repository=integration_test_id", "_href": "/pulp/api/v2/repositories/integration_test_id/?",
76
        "http_status": 404, "error": {"code": "PLP0009", "data": {"resources": {"repository":
77
        "integration_test_id"}}, "description": "Missing resource(s): repository=integration_test_id",
78
        "sub_errors": []}, "traceback": null, "resources": {"repository": "integration_test_id"}}'
79
    http_version: 
80
  recorded_at: Fri, 04 Mar 2016 04:24:37 GMT
81
- request:
82
    method: post
83
    uri: https://admin:admin@galaxy.example.com/pulp/api/v2/repositories/
84
    body:
85
      encoding: UTF-8
86
      string: '{"id":"integration_test_id","importer_type_id":"yum_importer","importer_config":{"feed":"file:///var/www/repositories/zoo5"}}'
87
    headers:
88
      Accept:
89
      - application/json
90
      Accept-Encoding:
91
      - gzip, deflate
92
      Content-Type:
93
      - application/json
94
      Content-Length:
95
      - '125'
96
      User-Agent:
97
      - Ruby
98
  response:
99
    status:
100
      code: 201
101
      message: CREATED
102
    headers:
103
      Date:
104
      - Fri, 04 Mar 2016 04:24:37 GMT
105
      Server:
106
      - Apache/2.4.6 (CentOS)
107
      Content-Length:
108
      - '319'
109
      Location:
110
      - https://galaxy.example.com/pulp/api/v2/repositories/integration_test_id/
111
      Content-Type:
112
      - application/json; charset=utf-8
113
    body:
114
      encoding: UTF-8
115
      string: '{"scratchpad": {}, "display_name": "integration_test_id", "description":
116
        null, "last_unit_added": null, "notes": {}, "last_unit_removed": null, "content_unit_counts":
117
        {}, "_ns": "repos", "_id": {"$oid": "56d90e05e93417157ba56a54"}, "id": "integration_test_id",
118
        "_href": "/pulp/api/v2/repositories/integration_test_id/"}'
119
    http_version: 
120
  recorded_at: Fri, 04 Mar 2016 04:24:37 GMT
121
- request:
122
    method: post
123
    uri: https://admin:admin@galaxy.example.com/pulp/api/v2/repositories/integration_test_id/actions/sync/
124
    body:
125
      encoding: UTF-8
126
      string: "{}"
127
    headers:
128
      Accept:
129
      - application/json
130
      Accept-Encoding:
131
      - gzip, deflate
132
      Content-Type:
133
      - application/json
134
      Content-Length:
135
      - '2'
136
      User-Agent:
137
      - Ruby
138
  response:
139
    status:
140
      code: 202
141
      message: ACCEPTED
142
    headers:
143
      Date:
144
      - Fri, 04 Mar 2016 04:24:37 GMT
145
      Server:
146
      - Apache/2.4.6 (CentOS)
147
      Content-Length:
148
      - '172'
149
      Content-Type:
150
      - application/json; charset=utf-8
151
    body:
152
      encoding: UTF-8
153
      string: '{"spawned_tasks": [{"_href": "/pulp/api/v2/tasks/d393958d-3e1b-4e68-9058-bf78f368f92d/",
154
        "task_id": "d393958d-3e1b-4e68-9058-bf78f368f92d"}], "result": null, "error":
155
        null}'
156
    http_version: 
157
  recorded_at: Fri, 04 Mar 2016 04:24:37 GMT
158
- request:
159
    method: get
160
    uri: https://admin:admin@galaxy.example.com/pulp/api/v2/tasks/d393958d-3e1b-4e68-9058-bf78f368f92d/
161
    body:
162
      encoding: US-ASCII
163
      string: ''
164
    headers:
165
      Accept:
166
      - application/json
167
      Accept-Encoding:
168
      - gzip, deflate
169
      Content-Type:
170
      - application/json
171
      User-Agent:
172
      - Ruby
173
  response:
174
    status:
175
      code: 200
176
      message: OK
177
    headers:
178
      Date:
179
      - Fri, 04 Mar 2016 04:24:38 GMT
180
      Server:
181
      - Apache/2.4.6 (CentOS)
182
      Vary:
183
      - Accept-Encoding
184
      Content-Length:
185
      - '2184'
186
      Content-Type:
187
      - application/json; charset=utf-8
188
    body:
189
      encoding: ASCII-8BIT
190
      string: '{"exception": null, "task_type": "pulp.server.managers.repo.sync.sync",
191
        "_href": "/pulp/api/v2/tasks/d393958d-3e1b-4e68-9058-bf78f368f92d/", "task_id":
192
        "d393958d-3e1b-4e68-9058-bf78f368f92d", "tags": ["pulp:repository:integration_test_id",
193
        "pulp:action:sync"], "finish_time": "2016-03-04T04:24:38Z", "_ns": "task_status",
194
        "start_time": "2016-03-04T04:24:37Z", "traceback": null, "spawned_tasks":
195
        [], "progress_report": {"yum_importer": {"content": {"items_total": 0, "state":
196
        "FINISHED", "error_details": [], "details": {"rpm_total": 0, "rpm_done": 0,
197
        "drpm_total": 0, "drpm_done": 0}, "size_total": 0, "size_left": 0, "items_left":
198
        0}, "comps": {"state": "FINISHED"}, "purge_duplicates": {"state": "FINISHED"},
199
        "distribution": {"items_total": 3, "state": "FINISHED", "error_details": [],
200
        "items_left": 0}, "errata": {"state": "FINISHED"}, "metadata": {"state": "FINISHED"}}},
201
        "queue": "reserved_resource_worker-1@galaxy.example.com.dq", "state": "finished",
202
        "worker_name": "reserved_resource_worker-1@galaxy.example.com", "result":
203
        {"result": "success", "importer_id": "yum_importer", "exception": null, "repo_id":
204
        "integration_test_id", "traceback": null, "started": "2016-03-04T04:24:37Z",
205
        "_ns": "repo_sync_results", "completed": "2016-03-04T04:24:38Z", "importer_type_id":
206
        "yum_importer", "error_message": null, "summary": {"content": {"state": "FINISHED"},
207
        "comps": {"state": "FINISHED"}, "purge_duplicates": {"state": "FINISHED"},
208
        "distribution": {"state": "FINISHED"}, "errata": {"state": "FINISHED"}, "metadata":
209
        {"state": "FINISHED"}}, "added_count": 14, "removed_count": 0, "updated_count":
210
        0, "id": "56d90e06e93417171891b444", "details": {"content": {"size_total":
211
        0, "items_left": 0, "items_total": 0, "state": "FINISHED", "size_left": 0,
212
        "details": {"rpm_total": 0, "rpm_done": 0, "drpm_total": 0, "drpm_done": 0},
213
        "error_details": []}, "comps": {"state": "FINISHED"}, "purge_duplicates":
214
        {"state": "FINISHED"}, "distribution": {"items_total": 3, "state": "FINISHED",
215
        "error_details": [], "items_left": 0}, "errata": {"state": "FINISHED"}, "metadata":
216
        {"state": "FINISHED"}}}, "error": null, "_id": {"$oid": "56d90e0581f42f1fda53d66d"},
217
        "id": "56d90e0581f42f1fda53d66d"}'
218
    http_version: 
219
  recorded_at: Fri, 04 Mar 2016 04:24:38 GMT
220
- request:
221
    method: post
222
    uri: https://admin:admin@galaxy.example.com/pulp/api/v2/repositories/
223
    body:
224
      encoding: UTF-8
225
      string: '{"id":"integration_test_id_clone","importer_type_id":"yum_importer","importer_config":{}}'
226
    headers:
227
      Accept:
228
      - application/json
229
      Accept-Encoding:
230
      - gzip, deflate
231
      Content-Type:
232
      - application/json
233
      Content-Length:
234
      - '89'
235
      User-Agent:
236
      - Ruby
237
  response:
238
    status:
239
      code: 201
240
      message: CREATED
241
    headers:
242
      Date:
243
      - Fri, 04 Mar 2016 04:24:38 GMT
244
      Server:
245
      - Apache/2.4.6 (CentOS)
246
      Content-Length:
247
      - '337'
248
      Location:
249
      - https://galaxy.example.com/pulp/api/v2/repositories/integration_test_id_clone/
250
      Content-Type:
251
      - application/json; charset=utf-8
252
    body:
253
      encoding: UTF-8
254
      string: '{"scratchpad": {}, "display_name": "integration_test_id_clone", "description":
255
        null, "last_unit_added": null, "notes": {}, "last_unit_removed": null, "content_unit_counts":
256
        {}, "_ns": "repos", "_id": {"$oid": "56d90e06e934171579c8e329"}, "id": "integration_test_id_clone",
257
        "_href": "/pulp/api/v2/repositories/integration_test_id_clone/"}'
258
    http_version: 
259
  recorded_at: Fri, 04 Mar 2016 04:24:38 GMT
260
- request:
261
    method: delete
262
    uri: https://admin:admin@galaxy.example.com/pulp/api/v2/repositories/integration_test_id_clone/
263
    body:
264
      encoding: US-ASCII
265
      string: ''
266
    headers:
267
      Accept:
268
      - application/json
269
      Accept-Encoding:
270
      - gzip, deflate
271
      Content-Type:
272
      - application/json
273
      User-Agent:
274
      - Ruby
275
  response:
276
    status:
277
      code: 202
278
      message: ACCEPTED
279
    headers:
280
      Date:
281
      - Fri, 04 Mar 2016 04:24:39 GMT
282
      Server:
283
      - Apache/2.4.6 (CentOS)
284
      Content-Length:
285
      - '172'
286
      Content-Type:
287
      - application/json; charset=utf-8
288
    body:
289
      encoding: UTF-8
290
      string: '{"spawned_tasks": [{"_href": "/pulp/api/v2/tasks/b322021e-6275-42d0-a2b7-d7a70941355e/",
291
        "task_id": "b322021e-6275-42d0-a2b7-d7a70941355e"}], "result": null, "error":
292
        null}'
293
    http_version: 
... This diff was truncated because it exceeds the maximum size that can be displayed.

Also available in: Unified diff