lita-pulp 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/.rspec +3 -0
- data/CHANGELOG.md +5 -0
- data/README.md +2 -0
- data/lib/lita/handlers/pulp.rb +140 -0
- data/lib/pulphelper/misc.rb +6 -0
- data/lib/pulphelper/repo.rb +105 -3
- data/lib/pulphelper/user.rb +56 -0
- data/lita-pulp.gemspec +2 -1
- data/locales/en.yml +6 -0
- data/spec/fixtures/docker-compose.yml +98 -0
- data/spec/lita/handlers/pulp_repo_spec.rb +51 -17
- data/spec/lita/handlers/pulp_unit_spec.rb +1 -1
- data/spec/spec_helper.rb +29 -4
- metadata +21 -36
- data/spec/fixtures/cassettes/Lita_Handlers_Pulp/_copy_puppet_between_repo/copy_puppet_module.yml +0 -86
- data/spec/fixtures/cassettes/Lita_Handlers_Pulp/_copy_puppet_between_repo/copy_puppet_module_delete_new_and_publish.yml +0 -217
- data/spec/fixtures/cassettes/Lita_Handlers_Pulp/_copy_rpm_between_repo/copy_rpm_package.yml +0 -86
- data/spec/fixtures/cassettes/Lita_Handlers_Pulp/_copy_rpm_between_repo/copy_rpm_package_delete_new_and_publish.yml +0 -264
- data/spec/fixtures/cassettes/Lita_Handlers_Pulp/_publish_repo/publish_a_repository.yml +0 -140
- data/spec/fixtures/cassettes/Lita_Handlers_Pulp/_puppet_repos/list_puppet_repos.yml +0 -88
- data/spec/fixtures/cassettes/Lita_Handlers_Pulp/_puppet_search/search_puppet_with_repo.yml +0 -134
- data/spec/fixtures/cassettes/Lita_Handlers_Pulp/_puppet_search/search_puppet_without_author_name.yml +0 -134
- data/spec/fixtures/cassettes/Lita_Handlers_Pulp/_puppet_search/search_puppet_without_repo.yml +0 -134
- data/spec/fixtures/cassettes/Lita_Handlers_Pulp/_rpm_repos/list_rpm_repos.yml +0 -593
- data/spec/fixtures/cassettes/Lita_Handlers_Pulp/_rpm_search/search_rpm_with_repo.yml +0 -152
- data/spec/fixtures/cassettes/Lita_Handlers_Pulp/_rpm_search/search_rpm_without_repo.yml +0 -152
- data/spec/fixtures/cassettes/Lita_Handlers_Pulp/_show_repo_detail/show_a_puppet_repo_detail.yml +0 -52
- data/spec/fixtures/cassettes/Lita_Handlers_Pulp/_show_repo_detail/show_a_rpm_repo_detail.yml +0 -57
- data/spec/fixtures/cassettes/Lita_Handlers_Pulp/_show_rpm_repo_detail/show_an_rpm_repo_detail.yml +0 -100
- data/spec/fixtures/cassettes/Lita_Handlers_Pulp/_sync_repo/sync_a_repository.yml +0 -44
- data/spec/fixtures/cassettes/Lita_Handlers_Pulp/_sync_repo/syncs_a_repository.yml +0 -44
@@ -1,140 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: get
|
5
|
-
uri: https://pulp.co.epi.web/pulp/api/v2/repositories/ent-cent7-qa/?details=true
|
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
|
-
Authorization:
|
19
|
-
- Basic YWRtaW46YWRtaW4=
|
20
|
-
response:
|
21
|
-
status:
|
22
|
-
code: 200
|
23
|
-
message: OK
|
24
|
-
headers:
|
25
|
-
Date:
|
26
|
-
- Thu, 30 Jun 2016 18:56:12 GMT
|
27
|
-
Server:
|
28
|
-
- Apache/2.2.15 (CentOS)
|
29
|
-
Content-Length:
|
30
|
-
- '1656'
|
31
|
-
Connection:
|
32
|
-
- close
|
33
|
-
Content-Type:
|
34
|
-
- application/json; charset=utf-8
|
35
|
-
body:
|
36
|
-
encoding: UTF-8
|
37
|
-
string: '{"scratchpad": {"checksum_type": "sha256"}, "display_name": "ent-cent7-qa",
|
38
|
-
"description": null, "distributors": [{"repo_id": "ent-cent7-qa", "_href":
|
39
|
-
"/pulp/api/v2/repositories/ent-cent7-qa/distributors/yum_distributor/", "_ns":
|
40
|
-
"repo_distributors", "last_publish": "2016-06-30T18:22:22Z", "distributor_type_id":
|
41
|
-
"yum_distributor", "auto_publish": true, "scratchpad": {}, "_id": {"$oid":
|
42
|
-
"56b5142ec20cde71a353fc80"}, "config": {"checksum_type": "sha256", "http":
|
43
|
-
true, "relative_url": "entertainment/qa/centos/7/x86_64", "https": true},
|
44
|
-
"id": "yum_distributor"}, {"repo_id": "ent-cent7-qa", "_href": "/pulp/api/v2/repositories/ent-cent7-qa/distributors/export_distributor/",
|
45
|
-
"_ns": "repo_distributors", "last_publish": "2016-06-30T18:22:33Z", "distributor_type_id":
|
46
|
-
"export_distributor", "auto_publish": false, "scratchpad": {}, "_id": {"$oid":
|
47
|
-
"56b5142ec20cde71a353fc81"}, "config": {"http": true, "relative_url": "entertainment/qa/centos/7/x86_64",
|
48
|
-
"https": true}, "id": "export_distributor"}], "last_unit_added": null, "notes":
|
49
|
-
{"_repo-type": "rpm-repo"}, "last_unit_removed": null, "content_unit_counts":
|
50
|
-
{"rpm": 23}, "_ns": "repos", "importers": [{"scratchpad": null, "_href": "/pulp/api/v2/repositories/ent-cent7-qa/importers/yum_importer/",
|
51
|
-
"_ns": "repo_importers", "importer_type_id": "yum_importer", "last_sync":
|
52
|
-
"2016-02-05T21:30:24Z", "repo_id": "ent-cent7-qa", "_id": {"$oid": "56b5142ec20cde71a353fc7f"},
|
53
|
-
"config": {"ssl_validation": false}, "id": "yum_importer"}], "locally_stored_units":
|
54
|
-
23, "_id": {"$oid": "56b5142ec20cde71a353fc7e"}, "total_repository_units":
|
55
|
-
23, "id": "ent-cent7-qa", "_href": "/pulp/api/v2/repositories/ent-cent7-qa/"}'
|
56
|
-
http_version:
|
57
|
-
recorded_at: Thu, 30 Jun 2016 18:56:13 GMT
|
58
|
-
- request:
|
59
|
-
method: post
|
60
|
-
uri: https://pulp.co.epi.web/pulp/api/v2/repositories/ent-cent7-qa/actions/publish/
|
61
|
-
body:
|
62
|
-
encoding: UTF-8
|
63
|
-
string: '{"id":"yum_distributor"}'
|
64
|
-
headers:
|
65
|
-
Accept:
|
66
|
-
- application/json
|
67
|
-
Accept-Encoding:
|
68
|
-
- gzip, deflate
|
69
|
-
Content-Type:
|
70
|
-
- application/json
|
71
|
-
Content-Length:
|
72
|
-
- '24'
|
73
|
-
User-Agent:
|
74
|
-
- Ruby
|
75
|
-
Authorization:
|
76
|
-
- Basic YWRtaW46YWRtaW4=
|
77
|
-
response:
|
78
|
-
status:
|
79
|
-
code: 202
|
80
|
-
message: ACCEPTED
|
81
|
-
headers:
|
82
|
-
Date:
|
83
|
-
- Thu, 30 Jun 2016 18:56:12 GMT
|
84
|
-
Server:
|
85
|
-
- Apache/2.2.15 (CentOS)
|
86
|
-
Content-Length:
|
87
|
-
- '172'
|
88
|
-
Connection:
|
89
|
-
- close
|
90
|
-
Content-Type:
|
91
|
-
- application/json; charset=utf-8
|
92
|
-
body:
|
93
|
-
encoding: UTF-8
|
94
|
-
string: '{"spawned_tasks": [{"_href": "/pulp/api/v2/tasks/03ba6b1d-409a-445a-a183-b56495fa71cc/",
|
95
|
-
"task_id": "03ba6b1d-409a-445a-a183-b56495fa71cc"}], "result": null, "error":
|
96
|
-
null}'
|
97
|
-
http_version:
|
98
|
-
recorded_at: Thu, 30 Jun 2016 18:56:13 GMT
|
99
|
-
- request:
|
100
|
-
method: post
|
101
|
-
uri: https://pulp.co.epi.web/pulp/api/v2/repositories/ent-cent7-qa/actions/publish/
|
102
|
-
body:
|
103
|
-
encoding: UTF-8
|
104
|
-
string: '{"id":"export_distributor"}'
|
105
|
-
headers:
|
106
|
-
Accept:
|
107
|
-
- application/json
|
108
|
-
Accept-Encoding:
|
109
|
-
- gzip, deflate
|
110
|
-
Content-Type:
|
111
|
-
- application/json
|
112
|
-
Content-Length:
|
113
|
-
- '27'
|
114
|
-
User-Agent:
|
115
|
-
- Ruby
|
116
|
-
Authorization:
|
117
|
-
- Basic YWRtaW46YWRtaW4=
|
118
|
-
response:
|
119
|
-
status:
|
120
|
-
code: 202
|
121
|
-
message: ACCEPTED
|
122
|
-
headers:
|
123
|
-
Date:
|
124
|
-
- Thu, 30 Jun 2016 18:56:12 GMT
|
125
|
-
Server:
|
126
|
-
- Apache/2.2.15 (CentOS)
|
127
|
-
Content-Length:
|
128
|
-
- '172'
|
129
|
-
Connection:
|
130
|
-
- close
|
131
|
-
Content-Type:
|
132
|
-
- application/json; charset=utf-8
|
133
|
-
body:
|
134
|
-
encoding: UTF-8
|
135
|
-
string: '{"spawned_tasks": [{"_href": "/pulp/api/v2/tasks/e6e15264-dc14-4c32-82b9-3bfbc820bbe6/",
|
136
|
-
"task_id": "e6e15264-dc14-4c32-82b9-3bfbc820bbe6"}], "result": null, "error":
|
137
|
-
null}'
|
138
|
-
http_version:
|
139
|
-
recorded_at: Thu, 30 Jun 2016 18:56:14 GMT
|
140
|
-
recorded_with: VCR 3.0.3
|
@@ -1,88 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: post
|
5
|
-
uri: https://pulp.co.epi.web/pulp/api/v2/repositories/search/
|
6
|
-
body:
|
7
|
-
encoding: UTF-8
|
8
|
-
string: '{"criteria":{"filters":{"notes._repo-type":{"$in":["puppet-repo"]}}},"details":true}'
|
9
|
-
headers:
|
10
|
-
Accept:
|
11
|
-
- application/json
|
12
|
-
Accept-Encoding:
|
13
|
-
- gzip, deflate
|
14
|
-
Content-Type:
|
15
|
-
- application/json
|
16
|
-
Content-Length:
|
17
|
-
- '84'
|
18
|
-
User-Agent:
|
19
|
-
- Ruby
|
20
|
-
Authorization:
|
21
|
-
- Basic YWRtaW46YWRtaW4=
|
22
|
-
response:
|
23
|
-
status:
|
24
|
-
code: 200
|
25
|
-
message: OK
|
26
|
-
headers:
|
27
|
-
Date:
|
28
|
-
- Wed, 29 Jun 2016 14:43:08 GMT
|
29
|
-
Server:
|
30
|
-
- Apache/2.2.15 (CentOS)
|
31
|
-
Content-Length:
|
32
|
-
- '4107'
|
33
|
-
Connection:
|
34
|
-
- close
|
35
|
-
Content-Type:
|
36
|
-
- application/json; charset=utf-8
|
37
|
-
body:
|
38
|
-
encoding: UTF-8
|
39
|
-
string: '[{"scratchpad": {}, "display_name": "forge_uat", "description": null,
|
40
|
-
"distributors": [{"repo_id": "forge_uat", "_href": "/pulp/api/v2/repositories/forge_uat/distributors/puppet_distributor/",
|
41
|
-
"_ns": "repo_distributors", "last_publish": "2016-01-20T19:30:35Z", "distributor_type_id":
|
42
|
-
"puppet_distributor", "auto_publish": true, "scratchpad": {}, "_id": {"$oid":
|
43
|
-
"564104adc20cde2b4d2d7ee3"}, "config": {}, "id": "puppet_distributor"}], "last_unit_added":
|
44
|
-
null, "notes": {"_repo-type": "puppet-repo"}, "last_unit_removed": null, "content_unit_counts":
|
45
|
-
{"puppet_module": 3}, "_ns": "repos", "importers": [{"scratchpad": null, "_href":
|
46
|
-
"/pulp/api/v2/repositories/forge_uat/importers/puppet_importer/", "_ns": "repo_importers",
|
47
|
-
"importer_type_id": "puppet_importer", "last_sync": null, "repo_id": "forge_uat",
|
48
|
-
"_id": {"$oid": "564104adc20cde2b4d2d7ee2"}, "config": {}, "id": "puppet_importer"}],
|
49
|
-
"_id": {"$oid": "564104adc20cde2b4d2d7ee1"}, "id": "forge_uat", "_href": "/pulp/api/v2/repositories/forge_uat/"},
|
50
|
-
{"scratchpad": {}, "display_name": null, "description": null, "distributors":
|
51
|
-
[{"repo_id": "forge_build", "_href": "/pulp/api/v2/repositories/forge_build/distributors/puppet_distributor/",
|
52
|
-
"_ns": "repo_distributors", "last_publish": "2016-06-28T19:45:32Z", "distributor_type_id":
|
53
|
-
"puppet_distributor", "auto_publish": true, "scratchpad": {}, "_id": {"$oid":
|
54
|
-
"574861acc20cde13fa48fdbb"}, "config": {}, "id": "puppet_distributor"}], "last_unit_added":
|
55
|
-
null, "notes": {"_repo-type": "puppet-repo"}, "last_unit_removed": null, "content_unit_counts":
|
56
|
-
{"puppet_module": 87}, "_ns": "repos", "importers": [{"scratchpad": null,
|
57
|
-
"_href": "/pulp/api/v2/repositories/forge_build/importers/puppet_importer/",
|
58
|
-
"_ns": "repo_importers", "importer_type_id": "puppet_importer", "last_sync":
|
59
|
-
null, "repo_id": "forge_build", "_id": {"$oid": "574861acc20cde13fa48fdba"},
|
60
|
-
"config": {}, "id": "puppet_importer"}], "_id": {"$oid": "574861acc20cde13fa48fdb9"},
|
61
|
-
"id": "forge_build", "_href": "/pulp/api/v2/repositories/forge_build/"}, {"scratchpad":
|
62
|
-
{}, "display_name": "forge_qa", "description": null, "distributors": [{"repo_id":
|
63
|
-
"forge_qa", "_href": "/pulp/api/v2/repositories/forge_qa/distributors/puppet_distributor/",
|
64
|
-
"_ns": "repo_distributors", "last_publish": "2016-06-29T14:07:29Z", "distributor_type_id":
|
65
|
-
"puppet_distributor", "auto_publish": true, "scratchpad": {}, "_id": {"$oid":
|
66
|
-
"5638cb9bc20cde6bafe50ac3"}, "config": {}, "id": "puppet_distributor"}], "last_unit_added":
|
67
|
-
"2016-06-24T17:13:46Z", "notes": {"_repo-type": "puppet-repo"}, "last_unit_removed":
|
68
|
-
"2016-05-31T16:05:45Z", "content_unit_counts": {"puppet_module": 4}, "_ns":
|
69
|
-
"repos", "importers": [{"scratchpad": null, "_href": "/pulp/api/v2/repositories/forge_qa/importers/puppet_importer/",
|
70
|
-
"_ns": "repo_importers", "importer_type_id": "puppet_importer", "last_sync":
|
71
|
-
"2016-01-25T15:49:52Z", "repo_id": "forge_qa", "_id": {"$oid": "5638cb9bc20cde6bafe50ac2"},
|
72
|
-
"config": {}, "id": "puppet_importer"}], "_id": {"$oid": "5638cb9bc20cde6bafe50ac1"},
|
73
|
-
"id": "forge_qa", "_href": "/pulp/api/v2/repositories/forge_qa/"}, {"scratchpad":
|
74
|
-
{}, "display_name": "forge_dev", "description": null, "distributors": [{"repo_id":
|
75
|
-
"forge_dev", "_href": "/pulp/api/v2/repositories/forge_dev/distributors/puppet_distributor/",
|
76
|
-
"_ns": "repo_distributors", "last_publish": "2016-06-28T19:46:22Z", "distributor_type_id":
|
77
|
-
"puppet_distributor", "auto_publish": true, "scratchpad": {}, "_id": {"$oid":
|
78
|
-
"56ba3b59c20cde7c072e6778"}, "config": {}, "id": "puppet_distributor"}], "last_unit_added":
|
79
|
-
"2016-06-28T19:46:14Z", "notes": {"_repo-type": "puppet-repo"}, "last_unit_removed":
|
80
|
-
"2016-06-02T18:37:52Z", "content_unit_counts": {"puppet_module": 125}, "_ns":
|
81
|
-
"repos", "importers": [{"scratchpad": null, "_href": "/pulp/api/v2/repositories/forge_dev/importers/puppet_importer/",
|
82
|
-
"_ns": "repo_importers", "importer_type_id": "puppet_importer", "last_sync":
|
83
|
-
null, "repo_id": "forge_dev", "_id": {"$oid": "56ba3b59c20cde7c072e6777"},
|
84
|
-
"config": {}, "id": "puppet_importer"}], "_id": {"$oid": "56ba3b58c20cde7c072e6776"},
|
85
|
-
"id": "forge_dev", "_href": "/pulp/api/v2/repositories/forge_dev/"}]'
|
86
|
-
http_version:
|
87
|
-
recorded_at: Wed, 29 Jun 2016 14:43:18 GMT
|
88
|
-
recorded_with: VCR 3.0.3
|
@@ -1,134 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: post
|
5
|
-
uri: https://pulp.co.epi.web/pulp/api/v2/content/units/puppet_module/search/
|
6
|
-
body:
|
7
|
-
encoding: UTF-8
|
8
|
-
string: '{"criteria":{"fields":["author","name","version"],"filters":{"name":{"$regex":"cicd_test"}},"sort":[["author","descending"],["name","descending"],["version","descending"]]},"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
|
-
- '194'
|
18
|
-
User-Agent:
|
19
|
-
- Ruby
|
20
|
-
Authorization:
|
21
|
-
- Basic YWRtaW46YWRtaW4=
|
22
|
-
response:
|
23
|
-
status:
|
24
|
-
code: 200
|
25
|
-
message: OK
|
26
|
-
headers:
|
27
|
-
Date:
|
28
|
-
- Wed, 29 Jun 2016 14:43:58 GMT
|
29
|
-
Server:
|
30
|
-
- Apache/2.2.15 (CentOS)
|
31
|
-
Content-Length:
|
32
|
-
- '8329'
|
33
|
-
Connection:
|
34
|
-
- close
|
35
|
-
Content-Type:
|
36
|
-
- application/json; charset=utf-8
|
37
|
-
body:
|
38
|
-
encoding: UTF-8
|
39
|
-
string: '[{"repository_memberships": [], "version": "0.1.33-pre78-rev1264a10",
|
40
|
-
"_href": "/pulp/api/v2/content/units/puppet_module/bef04f59-fc0c-4475-b26b-7b5b082e4ba8/",
|
41
|
-
"author": "entertainment", "_id": "bef04f59-fc0c-4475-b26b-7b5b082e4ba8",
|
42
|
-
"children": {}, "name": "cicd_test"}, {"repository_memberships": [], "version":
|
43
|
-
"0.1.33-pre76-rev8c3bcb0", "_href": "/pulp/api/v2/content/units/puppet_module/0006c3c0-bda8-49d7-ac2e-efbdca662454/",
|
44
|
-
"author": "entertainment", "_id": "0006c3c0-bda8-49d7-ac2e-efbdca662454",
|
45
|
-
"children": {}, "name": "cicd_test"}, {"repository_memberships": ["forge_build"],
|
46
|
-
"version": "0.1.33-pre75-rev7f3e1e5", "_href": "/pulp/api/v2/content/units/puppet_module/fc350a23-9f99-4b78-b611-df238faf7c4d/",
|
47
|
-
"author": "entertainment", "_id": "fc350a23-9f99-4b78-b611-df238faf7c4d",
|
48
|
-
"children": {}, "name": "cicd_test"}, {"repository_memberships": [], "version":
|
49
|
-
"0.1.33-pre72-rev7f3e1e5", "_href": "/pulp/api/v2/content/units/puppet_module/7ab03c96-e7a9-4b93-a590-83036dfc8ffb/",
|
50
|
-
"author": "entertainment", "_id": "7ab03c96-e7a9-4b93-a590-83036dfc8ffb",
|
51
|
-
"children": {}, "name": "cicd_test"}, {"repository_memberships": [], "version":
|
52
|
-
"0.1.33-pre71-rev7f3e1e5", "_href": "/pulp/api/v2/content/units/puppet_module/04a87bd8-04cb-4a6f-a0fe-21b185449e51/",
|
53
|
-
"author": "entertainment", "_id": "04a87bd8-04cb-4a6f-a0fe-21b185449e51",
|
54
|
-
"children": {}, "name": "cicd_test"}, {"repository_memberships": [], "version":
|
55
|
-
"0.1.33-pre70-rev7f3e1e5", "_href": "/pulp/api/v2/content/units/puppet_module/7db4a2c9-b9a4-47d8-81ea-78555becf9e9/",
|
56
|
-
"author": "entertainment", "_id": "7db4a2c9-b9a4-47d8-81ea-78555becf9e9",
|
57
|
-
"children": {}, "name": "cicd_test"}, {"repository_memberships": [], "version":
|
58
|
-
"0.1.33-pre69-revc3e43fb", "_href": "/pulp/api/v2/content/units/puppet_module/fbfdd053-bc16-411b-8f02-25ff6b2c0f81/",
|
59
|
-
"author": "entertainment", "_id": "fbfdd053-bc16-411b-8f02-25ff6b2c0f81",
|
60
|
-
"children": {}, "name": "cicd_test"}, {"repository_memberships": [], "version":
|
61
|
-
"0.1.33-pre68-revc3e43fb", "_href": "/pulp/api/v2/content/units/puppet_module/d025111b-b3e3-4e18-9157-0080dce69419/",
|
62
|
-
"author": "entertainment", "_id": "d025111b-b3e3-4e18-9157-0080dce69419",
|
63
|
-
"children": {}, "name": "cicd_test"}, {"repository_memberships": [], "version":
|
64
|
-
"0.1.33-pre64-revc3e43fb", "_href": "/pulp/api/v2/content/units/puppet_module/82898816-3e68-4c2a-869a-fbaee96b64ac/",
|
65
|
-
"author": "entertainment", "_id": "82898816-3e68-4c2a-869a-fbaee96b64ac",
|
66
|
-
"children": {}, "name": "cicd_test"}, {"repository_memberships": [], "version":
|
67
|
-
"0.1.33-pre62-rev514c325", "_href": "/pulp/api/v2/content/units/puppet_module/37be046f-de8f-4ea6-a146-918d4441e11d/",
|
68
|
-
"author": "entertainment", "_id": "37be046f-de8f-4ea6-a146-918d4441e11d",
|
69
|
-
"children": {}, "name": "cicd_test"}, {"repository_memberships": [], "version":
|
70
|
-
"0.1.33-pre61-rev514c325", "_href": "/pulp/api/v2/content/units/puppet_module/97e2a88b-2210-43c2-b09e-af8abc62aeb7/",
|
71
|
-
"author": "entertainment", "_id": "97e2a88b-2210-43c2-b09e-af8abc62aeb7",
|
72
|
-
"children": {}, "name": "cicd_test"}, {"repository_memberships": [], "version":
|
73
|
-
"0.1.33-pre59-rev514c325", "_href": "/pulp/api/v2/content/units/puppet_module/30b8ab33-fb1d-48cc-a60b-3029b444038c/",
|
74
|
-
"author": "entertainment", "_id": "30b8ab33-fb1d-48cc-a60b-3029b444038c",
|
75
|
-
"children": {}, "name": "cicd_test"}, {"repository_memberships": [], "version":
|
76
|
-
"0.1.33-pre58-rev514c325", "_href": "/pulp/api/v2/content/units/puppet_module/675d1f87-933d-4647-a26c-6aa4f1ada12c/",
|
77
|
-
"author": "entertainment", "_id": "675d1f87-933d-4647-a26c-6aa4f1ada12c",
|
78
|
-
"children": {}, "name": "cicd_test"}, {"repository_memberships": [], "version":
|
79
|
-
"0.1.33-pre56-rev039ebec", "_href": "/pulp/api/v2/content/units/puppet_module/c5de39f6-32d3-4006-9d2e-398ed0572847/",
|
80
|
-
"author": "entertainment", "_id": "c5de39f6-32d3-4006-9d2e-398ed0572847",
|
81
|
-
"children": {}, "name": "cicd_test"}, {"repository_memberships": [], "version":
|
82
|
-
"0.1.33-pre32-revc3e43fb", "_href": "/pulp/api/v2/content/units/puppet_module/8a842504-8e5a-4652-b3cd-add2b19d553a/",
|
83
|
-
"author": "entertainment", "_id": "8a842504-8e5a-4652-b3cd-add2b19d553a",
|
84
|
-
"children": {}, "name": "cicd_test"}, {"repository_memberships": [], "version":
|
85
|
-
"0.1.33-pre23-rev039ebec", "_href": "/pulp/api/v2/content/units/puppet_module/6d186edf-cca0-4626-922f-f2a915429ac8/",
|
86
|
-
"author": "entertainment", "_id": "6d186edf-cca0-4626-922f-f2a915429ac8",
|
87
|
-
"children": {}, "name": "cicd_test"}, {"repository_memberships": [], "version":
|
88
|
-
"0.1.33-pre22-rev039ebec", "_href": "/pulp/api/v2/content/units/puppet_module/66c2cbf9-e743-4c8a-a567-9c68d504525b/",
|
89
|
-
"author": "entertainment", "_id": "66c2cbf9-e743-4c8a-a567-9c68d504525b",
|
90
|
-
"children": {}, "name": "cicd_test"}, {"repository_memberships": [], "version":
|
91
|
-
"0.1.33-pre21-rev039ebec", "_href": "/pulp/api/v2/content/units/puppet_module/3106fc74-ac14-471c-8e29-fc22ccf6f1b2/",
|
92
|
-
"author": "entertainment", "_id": "3106fc74-ac14-471c-8e29-fc22ccf6f1b2",
|
93
|
-
"children": {}, "name": "cicd_test"}, {"repository_memberships": [], "version":
|
94
|
-
"0.1.33-pre19-rev50927a2", "_href": "/pulp/api/v2/content/units/puppet_module/fb0abb5e-14c5-47e4-b93b-7dd4dfc96e15/",
|
95
|
-
"author": "entertainment", "_id": "fb0abb5e-14c5-47e4-b93b-7dd4dfc96e15",
|
96
|
-
"children": {}, "name": "cicd_test"}, {"repository_memberships": [], "version":
|
97
|
-
"0.1.33-pre18-rev50927a2", "_href": "/pulp/api/v2/content/units/puppet_module/a0b8d75a-3716-4d34-9109-a3953222e014/",
|
98
|
-
"author": "entertainment", "_id": "a0b8d75a-3716-4d34-9109-a3953222e014",
|
99
|
-
"children": {}, "name": "cicd_test"}, {"repository_memberships": [], "version":
|
100
|
-
"0.1.33-pre174-rev7f3e1e5", "_href": "/pulp/api/v2/content/units/puppet_module/cb6adf75-b369-4387-862e-aff941e83e0b/",
|
101
|
-
"author": "entertainment", "_id": "cb6adf75-b369-4387-862e-aff941e83e0b",
|
102
|
-
"children": {}, "name": "cicd_test"}, {"repository_memberships": [], "version":
|
103
|
-
"0.1.33-pre17-rev50927a2", "_href": "/pulp/api/v2/content/units/puppet_module/fdad263d-2cc5-472c-b9dc-9ad38efd1ee6/",
|
104
|
-
"author": "entertainment", "_id": "fdad263d-2cc5-472c-b9dc-9ad38efd1ee6",
|
105
|
-
"children": {}, "name": "cicd_test"}, {"repository_memberships": ["forge_build",
|
106
|
-
"forge_dev"], "version": "0.1.33-pre100080-rev159b6f9", "_href": "/pulp/api/v2/content/units/puppet_module/a0942d31-ed23-41d3-a890-aa9249df48b5/",
|
107
|
-
"author": "entertainment", "_id": "a0942d31-ed23-41d3-a890-aa9249df48b5",
|
108
|
-
"children": {}, "name": "cicd_test"}, {"repository_memberships": ["forge_qa",
|
109
|
-
"forge_build", "forge_dev"], "version": "0.1.33-pre100079-rev159b6f9", "_href":
|
110
|
-
"/pulp/api/v2/content/units/puppet_module/c3d5f09d-88a5-472e-880b-f4dbb4b5b7c8/",
|
111
|
-
"author": "entertainment", "_id": "c3d5f09d-88a5-472e-880b-f4dbb4b5b7c8",
|
112
|
-
"children": {}, "name": "cicd_test"}, {"repository_memberships": ["forge_build",
|
113
|
-
"forge_dev"], "version": "0.1.33-pre100078-rev7f3e1e5", "_href": "/pulp/api/v2/content/units/puppet_module/c5083258-3265-4571-8e73-85ac89f466f2/",
|
114
|
-
"author": "entertainment", "_id": "c5083258-3265-4571-8e73-85ac89f466f2",
|
115
|
-
"children": {}, "name": "cicd_test"}, {"repository_memberships": ["forge_build",
|
116
|
-
"forge_dev"], "version": "0.1.33-pre100077-rev7f3e1e5", "_href": "/pulp/api/v2/content/units/puppet_module/2627f6ad-b507-48d6-bc94-91291187a8e3/",
|
117
|
-
"author": "entertainment", "_id": "2627f6ad-b507-48d6-bc94-91291187a8e3",
|
118
|
-
"children": {}, "name": "cicd_test"}, {"repository_memberships": ["forge_qa",
|
119
|
-
"forge_build", "forge_dev"], "version": "0.1.33-pre100076-rev7f3e1e5", "_href":
|
120
|
-
"/pulp/api/v2/content/units/puppet_module/e40d66b1-7750-48a5-9c3a-cb9cfcc4cebc/",
|
121
|
-
"author": "entertainment", "_id": "e40d66b1-7750-48a5-9c3a-cb9cfcc4cebc",
|
122
|
-
"children": {}, "name": "cicd_test"}, {"repository_memberships": ["forge_dev"],
|
123
|
-
"version": "0.1.32", "_href": "/pulp/api/v2/content/units/puppet_module/5d3ab80e-c18f-46fd-a85f-51f1a8a55054/",
|
124
|
-
"author": "entertainment", "_id": "5d3ab80e-c18f-46fd-a85f-51f1a8a55054",
|
125
|
-
"children": {}, "name": "cicd_test"}, {"repository_memberships": ["forge_uat"],
|
126
|
-
"version": "0.1.28", "_href": "/pulp/api/v2/content/units/puppet_module/a631384b-b3ce-4687-b167-881662fb6e71/",
|
127
|
-
"author": "entertainment", "_id": "a631384b-b3ce-4687-b167-881662fb6e71",
|
128
|
-
"children": {}, "name": "cicd_test"}, {"repository_memberships": ["forge_uat"],
|
129
|
-
"version": "0.1.0", "_href": "/pulp/api/v2/content/units/puppet_module/a78649f3-926a-48f5-a7a0-ac54a841ce12/",
|
130
|
-
"author": "entertainment", "_id": "a78649f3-926a-48f5-a7a0-ac54a841ce12",
|
131
|
-
"children": {}, "name": "cicd_test"}]'
|
132
|
-
http_version:
|
133
|
-
recorded_at: Wed, 29 Jun 2016 14:44:08 GMT
|
134
|
-
recorded_with: VCR 3.0.3
|
data/spec/fixtures/cassettes/Lita_Handlers_Pulp/_puppet_search/search_puppet_without_author_name.yml
DELETED
@@ -1,134 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: post
|
5
|
-
uri: https://pulp.co.epi.web/pulp/api/v2/content/units/puppet_module/search/
|
6
|
-
body:
|
7
|
-
encoding: UTF-8
|
8
|
-
string: '{"criteria":{"fields":["author","name","version"],"filters":{"$and":[{"name":{"$regex":"cicd_test"}},{"author":"entertainment"}]},"sort":[["author","descending"],["name","descending"],["version","descending"]]},"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
|
-
- '232'
|
18
|
-
User-Agent:
|
19
|
-
- Ruby
|
20
|
-
Authorization:
|
21
|
-
- Basic YWRtaW46YWRtaW4=
|
22
|
-
response:
|
23
|
-
status:
|
24
|
-
code: 200
|
25
|
-
message: OK
|
26
|
-
headers:
|
27
|
-
Date:
|
28
|
-
- Wed, 29 Jun 2016 14:43:58 GMT
|
29
|
-
Server:
|
30
|
-
- Apache/2.2.15 (CentOS)
|
31
|
-
Content-Length:
|
32
|
-
- '8329'
|
33
|
-
Connection:
|
34
|
-
- close
|
35
|
-
Content-Type:
|
36
|
-
- application/json; charset=utf-8
|
37
|
-
body:
|
38
|
-
encoding: UTF-8
|
39
|
-
string: '[{"repository_memberships": [], "version": "0.1.33-pre78-rev1264a10",
|
40
|
-
"_href": "/pulp/api/v2/content/units/puppet_module/bef04f59-fc0c-4475-b26b-7b5b082e4ba8/",
|
41
|
-
"author": "entertainment", "_id": "bef04f59-fc0c-4475-b26b-7b5b082e4ba8",
|
42
|
-
"children": {}, "name": "cicd_test"}, {"repository_memberships": [], "version":
|
43
|
-
"0.1.33-pre76-rev8c3bcb0", "_href": "/pulp/api/v2/content/units/puppet_module/0006c3c0-bda8-49d7-ac2e-efbdca662454/",
|
44
|
-
"author": "entertainment", "_id": "0006c3c0-bda8-49d7-ac2e-efbdca662454",
|
45
|
-
"children": {}, "name": "cicd_test"}, {"repository_memberships": ["forge_build"],
|
46
|
-
"version": "0.1.33-pre75-rev7f3e1e5", "_href": "/pulp/api/v2/content/units/puppet_module/fc350a23-9f99-4b78-b611-df238faf7c4d/",
|
47
|
-
"author": "entertainment", "_id": "fc350a23-9f99-4b78-b611-df238faf7c4d",
|
48
|
-
"children": {}, "name": "cicd_test"}, {"repository_memberships": [], "version":
|
49
|
-
"0.1.33-pre72-rev7f3e1e5", "_href": "/pulp/api/v2/content/units/puppet_module/7ab03c96-e7a9-4b93-a590-83036dfc8ffb/",
|
50
|
-
"author": "entertainment", "_id": "7ab03c96-e7a9-4b93-a590-83036dfc8ffb",
|
51
|
-
"children": {}, "name": "cicd_test"}, {"repository_memberships": [], "version":
|
52
|
-
"0.1.33-pre71-rev7f3e1e5", "_href": "/pulp/api/v2/content/units/puppet_module/04a87bd8-04cb-4a6f-a0fe-21b185449e51/",
|
53
|
-
"author": "entertainment", "_id": "04a87bd8-04cb-4a6f-a0fe-21b185449e51",
|
54
|
-
"children": {}, "name": "cicd_test"}, {"repository_memberships": [], "version":
|
55
|
-
"0.1.33-pre70-rev7f3e1e5", "_href": "/pulp/api/v2/content/units/puppet_module/7db4a2c9-b9a4-47d8-81ea-78555becf9e9/",
|
56
|
-
"author": "entertainment", "_id": "7db4a2c9-b9a4-47d8-81ea-78555becf9e9",
|
57
|
-
"children": {}, "name": "cicd_test"}, {"repository_memberships": [], "version":
|
58
|
-
"0.1.33-pre69-revc3e43fb", "_href": "/pulp/api/v2/content/units/puppet_module/fbfdd053-bc16-411b-8f02-25ff6b2c0f81/",
|
59
|
-
"author": "entertainment", "_id": "fbfdd053-bc16-411b-8f02-25ff6b2c0f81",
|
60
|
-
"children": {}, "name": "cicd_test"}, {"repository_memberships": [], "version":
|
61
|
-
"0.1.33-pre68-revc3e43fb", "_href": "/pulp/api/v2/content/units/puppet_module/d025111b-b3e3-4e18-9157-0080dce69419/",
|
62
|
-
"author": "entertainment", "_id": "d025111b-b3e3-4e18-9157-0080dce69419",
|
63
|
-
"children": {}, "name": "cicd_test"}, {"repository_memberships": [], "version":
|
64
|
-
"0.1.33-pre64-revc3e43fb", "_href": "/pulp/api/v2/content/units/puppet_module/82898816-3e68-4c2a-869a-fbaee96b64ac/",
|
65
|
-
"author": "entertainment", "_id": "82898816-3e68-4c2a-869a-fbaee96b64ac",
|
66
|
-
"children": {}, "name": "cicd_test"}, {"repository_memberships": [], "version":
|
67
|
-
"0.1.33-pre62-rev514c325", "_href": "/pulp/api/v2/content/units/puppet_module/37be046f-de8f-4ea6-a146-918d4441e11d/",
|
68
|
-
"author": "entertainment", "_id": "37be046f-de8f-4ea6-a146-918d4441e11d",
|
69
|
-
"children": {}, "name": "cicd_test"}, {"repository_memberships": [], "version":
|
70
|
-
"0.1.33-pre61-rev514c325", "_href": "/pulp/api/v2/content/units/puppet_module/97e2a88b-2210-43c2-b09e-af8abc62aeb7/",
|
71
|
-
"author": "entertainment", "_id": "97e2a88b-2210-43c2-b09e-af8abc62aeb7",
|
72
|
-
"children": {}, "name": "cicd_test"}, {"repository_memberships": [], "version":
|
73
|
-
"0.1.33-pre59-rev514c325", "_href": "/pulp/api/v2/content/units/puppet_module/30b8ab33-fb1d-48cc-a60b-3029b444038c/",
|
74
|
-
"author": "entertainment", "_id": "30b8ab33-fb1d-48cc-a60b-3029b444038c",
|
75
|
-
"children": {}, "name": "cicd_test"}, {"repository_memberships": [], "version":
|
76
|
-
"0.1.33-pre58-rev514c325", "_href": "/pulp/api/v2/content/units/puppet_module/675d1f87-933d-4647-a26c-6aa4f1ada12c/",
|
77
|
-
"author": "entertainment", "_id": "675d1f87-933d-4647-a26c-6aa4f1ada12c",
|
78
|
-
"children": {}, "name": "cicd_test"}, {"repository_memberships": [], "version":
|
79
|
-
"0.1.33-pre56-rev039ebec", "_href": "/pulp/api/v2/content/units/puppet_module/c5de39f6-32d3-4006-9d2e-398ed0572847/",
|
80
|
-
"author": "entertainment", "_id": "c5de39f6-32d3-4006-9d2e-398ed0572847",
|
81
|
-
"children": {}, "name": "cicd_test"}, {"repository_memberships": [], "version":
|
82
|
-
"0.1.33-pre32-revc3e43fb", "_href": "/pulp/api/v2/content/units/puppet_module/8a842504-8e5a-4652-b3cd-add2b19d553a/",
|
83
|
-
"author": "entertainment", "_id": "8a842504-8e5a-4652-b3cd-add2b19d553a",
|
84
|
-
"children": {}, "name": "cicd_test"}, {"repository_memberships": [], "version":
|
85
|
-
"0.1.33-pre23-rev039ebec", "_href": "/pulp/api/v2/content/units/puppet_module/6d186edf-cca0-4626-922f-f2a915429ac8/",
|
86
|
-
"author": "entertainment", "_id": "6d186edf-cca0-4626-922f-f2a915429ac8",
|
87
|
-
"children": {}, "name": "cicd_test"}, {"repository_memberships": [], "version":
|
88
|
-
"0.1.33-pre22-rev039ebec", "_href": "/pulp/api/v2/content/units/puppet_module/66c2cbf9-e743-4c8a-a567-9c68d504525b/",
|
89
|
-
"author": "entertainment", "_id": "66c2cbf9-e743-4c8a-a567-9c68d504525b",
|
90
|
-
"children": {}, "name": "cicd_test"}, {"repository_memberships": [], "version":
|
91
|
-
"0.1.33-pre21-rev039ebec", "_href": "/pulp/api/v2/content/units/puppet_module/3106fc74-ac14-471c-8e29-fc22ccf6f1b2/",
|
92
|
-
"author": "entertainment", "_id": "3106fc74-ac14-471c-8e29-fc22ccf6f1b2",
|
93
|
-
"children": {}, "name": "cicd_test"}, {"repository_memberships": [], "version":
|
94
|
-
"0.1.33-pre19-rev50927a2", "_href": "/pulp/api/v2/content/units/puppet_module/fb0abb5e-14c5-47e4-b93b-7dd4dfc96e15/",
|
95
|
-
"author": "entertainment", "_id": "fb0abb5e-14c5-47e4-b93b-7dd4dfc96e15",
|
96
|
-
"children": {}, "name": "cicd_test"}, {"repository_memberships": [], "version":
|
97
|
-
"0.1.33-pre18-rev50927a2", "_href": "/pulp/api/v2/content/units/puppet_module/a0b8d75a-3716-4d34-9109-a3953222e014/",
|
98
|
-
"author": "entertainment", "_id": "a0b8d75a-3716-4d34-9109-a3953222e014",
|
99
|
-
"children": {}, "name": "cicd_test"}, {"repository_memberships": [], "version":
|
100
|
-
"0.1.33-pre174-rev7f3e1e5", "_href": "/pulp/api/v2/content/units/puppet_module/cb6adf75-b369-4387-862e-aff941e83e0b/",
|
101
|
-
"author": "entertainment", "_id": "cb6adf75-b369-4387-862e-aff941e83e0b",
|
102
|
-
"children": {}, "name": "cicd_test"}, {"repository_memberships": [], "version":
|
103
|
-
"0.1.33-pre17-rev50927a2", "_href": "/pulp/api/v2/content/units/puppet_module/fdad263d-2cc5-472c-b9dc-9ad38efd1ee6/",
|
104
|
-
"author": "entertainment", "_id": "fdad263d-2cc5-472c-b9dc-9ad38efd1ee6",
|
105
|
-
"children": {}, "name": "cicd_test"}, {"repository_memberships": ["forge_build",
|
106
|
-
"forge_dev"], "version": "0.1.33-pre100080-rev159b6f9", "_href": "/pulp/api/v2/content/units/puppet_module/a0942d31-ed23-41d3-a890-aa9249df48b5/",
|
107
|
-
"author": "entertainment", "_id": "a0942d31-ed23-41d3-a890-aa9249df48b5",
|
108
|
-
"children": {}, "name": "cicd_test"}, {"repository_memberships": ["forge_qa",
|
109
|
-
"forge_build", "forge_dev"], "version": "0.1.33-pre100079-rev159b6f9", "_href":
|
110
|
-
"/pulp/api/v2/content/units/puppet_module/c3d5f09d-88a5-472e-880b-f4dbb4b5b7c8/",
|
111
|
-
"author": "entertainment", "_id": "c3d5f09d-88a5-472e-880b-f4dbb4b5b7c8",
|
112
|
-
"children": {}, "name": "cicd_test"}, {"repository_memberships": ["forge_build",
|
113
|
-
"forge_dev"], "version": "0.1.33-pre100078-rev7f3e1e5", "_href": "/pulp/api/v2/content/units/puppet_module/c5083258-3265-4571-8e73-85ac89f466f2/",
|
114
|
-
"author": "entertainment", "_id": "c5083258-3265-4571-8e73-85ac89f466f2",
|
115
|
-
"children": {}, "name": "cicd_test"}, {"repository_memberships": ["forge_build",
|
116
|
-
"forge_dev"], "version": "0.1.33-pre100077-rev7f3e1e5", "_href": "/pulp/api/v2/content/units/puppet_module/2627f6ad-b507-48d6-bc94-91291187a8e3/",
|
117
|
-
"author": "entertainment", "_id": "2627f6ad-b507-48d6-bc94-91291187a8e3",
|
118
|
-
"children": {}, "name": "cicd_test"}, {"repository_memberships": ["forge_qa",
|
119
|
-
"forge_build", "forge_dev"], "version": "0.1.33-pre100076-rev7f3e1e5", "_href":
|
120
|
-
"/pulp/api/v2/content/units/puppet_module/e40d66b1-7750-48a5-9c3a-cb9cfcc4cebc/",
|
121
|
-
"author": "entertainment", "_id": "e40d66b1-7750-48a5-9c3a-cb9cfcc4cebc",
|
122
|
-
"children": {}, "name": "cicd_test"}, {"repository_memberships": ["forge_dev"],
|
123
|
-
"version": "0.1.32", "_href": "/pulp/api/v2/content/units/puppet_module/5d3ab80e-c18f-46fd-a85f-51f1a8a55054/",
|
124
|
-
"author": "entertainment", "_id": "5d3ab80e-c18f-46fd-a85f-51f1a8a55054",
|
125
|
-
"children": {}, "name": "cicd_test"}, {"repository_memberships": ["forge_uat"],
|
126
|
-
"version": "0.1.28", "_href": "/pulp/api/v2/content/units/puppet_module/a631384b-b3ce-4687-b167-881662fb6e71/",
|
127
|
-
"author": "entertainment", "_id": "a631384b-b3ce-4687-b167-881662fb6e71",
|
128
|
-
"children": {}, "name": "cicd_test"}, {"repository_memberships": ["forge_uat"],
|
129
|
-
"version": "0.1.0", "_href": "/pulp/api/v2/content/units/puppet_module/a78649f3-926a-48f5-a7a0-ac54a841ce12/",
|
130
|
-
"author": "entertainment", "_id": "a78649f3-926a-48f5-a7a0-ac54a841ce12",
|
131
|
-
"children": {}, "name": "cicd_test"}]'
|
132
|
-
http_version:
|
133
|
-
recorded_at: Wed, 29 Jun 2016 14:44:09 GMT
|
134
|
-
recorded_with: VCR 3.0.3
|