pulp_rpm_client 3.0.0b71572533171 → 3.0.0rc1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +63 -22
- data/docs/ContentAdvisoriesApi.md +15 -7
- data/docs/ContentDistributionTreesApi.md +2 -2
- data/docs/ContentModulemdDefaultsApi.md +6 -6
- data/docs/{ContentModulemdApi.md → ContentModulemdsApi.md} +14 -14
- data/docs/ContentPackagecategoriesApi.md +189 -0
- data/docs/ContentPackageenvironmentsApi.md +189 -0
- data/docs/ContentPackagegroupsApi.md +189 -0
- data/docs/ContentPackagelangpacksApi.md +189 -0
- data/docs/ContentPackagesApi.md +4 -4
- data/docs/ContentRepoMetadataFilesApi.md +4 -4
- data/docs/ContentSummary.md +21 -0
- data/docs/DistributionsRpmApi.md +10 -10
- data/docs/InlineResponse200.md +1 -1
- data/docs/InlineResponse2001.md +1 -1
- data/docs/InlineResponse20010.md +23 -0
- data/docs/InlineResponse20011.md +23 -0
- data/docs/InlineResponse20012.md +23 -0
- data/docs/InlineResponse20013.md +23 -0
- data/docs/InlineResponse20014.md +23 -0
- data/docs/InlineResponse2002.md +1 -1
- data/docs/InlineResponse2003.md +1 -1
- data/docs/InlineResponse2004.md +1 -1
- data/docs/InlineResponse2005.md +1 -1
- data/docs/InlineResponse2006.md +1 -1
- data/docs/InlineResponse2007.md +1 -1
- data/docs/InlineResponse2008.md +1 -1
- data/docs/InlineResponse2009.md +23 -0
- data/docs/PublicationsRpmApi.md +6 -6
- data/docs/RemotesRpmApi.md +12 -68
- data/docs/RepositoriesRpmApi.md +465 -0
- data/docs/RepositoriesRpmVersionsApi.md +214 -0
- data/docs/RepositoryAddRemoveContent.md +21 -0
- data/docs/RepositorySyncURL.md +2 -2
- data/docs/RepositoryVersion.md +25 -0
- data/docs/{DistributionTree.md → RpmDistributionTree.md} +2 -2
- data/docs/{Modulemd.md → RpmModulemd.md} +2 -8
- data/docs/{ModulemdDefaults.md → RpmModulemdDefaults.md} +2 -8
- data/docs/{Package.md → RpmPackage.md} +2 -8
- data/docs/RpmPackageCategory.md +33 -0
- data/docs/RpmPackageEnvironment.md +37 -0
- data/docs/RpmPackageGroup.md +39 -0
- data/docs/RpmPackageLangpacks.md +19 -0
- data/docs/{RepoMetadataFile.md → RpmRepoMetadataFile.md} +2 -8
- data/docs/{RpmDistribution.md → RpmRpmDistribution.md} +2 -2
- data/docs/{RpmPublication.md → RpmRpmPublication.md} +2 -2
- data/docs/{RpmRemote.md → RpmRpmRemote.md} +10 -14
- data/docs/RpmRpmRepository.md +27 -0
- data/docs/RpmUpdateCollection.md +21 -0
- data/docs/{UpdateRecord.md → RpmUpdateRecord.md} +24 -20
- data/lib/pulp_rpm_client/api/content_advisories_api.rb +28 -14
- data/lib/pulp_rpm_client/api/content_distribution_trees_api.rb +4 -4
- data/lib/pulp_rpm_client/api/content_modulemd_defaults_api.rb +8 -8
- data/lib/pulp_rpm_client/api/{content_modulemd_api.rb → content_modulemds_api.rb} +30 -30
- data/lib/pulp_rpm_client/api/content_packagecategories_api.rb +227 -0
- data/lib/pulp_rpm_client/api/content_packageenvironments_api.rb +227 -0
- data/lib/pulp_rpm_client/api/content_packagegroups_api.rb +227 -0
- data/lib/pulp_rpm_client/api/content_packagelangpacks_api.rb +227 -0
- data/lib/pulp_rpm_client/api/content_packages_api.rb +7 -7
- data/lib/pulp_rpm_client/api/content_repo_metadata_files_api.rb +7 -7
- data/lib/pulp_rpm_client/api/distributions_rpm_api.rb +13 -13
- data/lib/pulp_rpm_client/api/publications_rpm_api.rb +9 -9
- data/lib/pulp_rpm_client/api/remotes_rpm_api.rb +16 -86
- data/lib/pulp_rpm_client/api/repositories_rpm_api.rb +568 -0
- data/lib/pulp_rpm_client/api/repositories_rpm_versions_api.rb +268 -0
- data/lib/pulp_rpm_client/api_client.rb +1 -1
- data/lib/pulp_rpm_client/api_error.rb +1 -1
- data/lib/pulp_rpm_client/configuration.rb +1 -1
- data/lib/pulp_rpm_client/models/addon.rb +12 -2
- data/lib/pulp_rpm_client/models/artifact.rb +18 -2
- data/lib/pulp_rpm_client/models/async_operation_response.rb +12 -2
- data/lib/pulp_rpm_client/models/checksum.rb +12 -2
- data/lib/pulp_rpm_client/models/content_summary.rb +246 -0
- data/lib/pulp_rpm_client/models/image.rb +12 -2
- data/lib/pulp_rpm_client/models/inline_response200.rb +15 -3
- data/lib/pulp_rpm_client/models/inline_response2001.rb +15 -3
- data/lib/pulp_rpm_client/models/inline_response20010.rb +247 -0
- data/lib/pulp_rpm_client/models/inline_response20011.rb +247 -0
- data/lib/pulp_rpm_client/models/inline_response20012.rb +247 -0
- data/lib/pulp_rpm_client/models/inline_response20013.rb +247 -0
- data/lib/pulp_rpm_client/models/inline_response20014.rb +247 -0
- data/lib/pulp_rpm_client/models/inline_response2002.rb +15 -3
- data/lib/pulp_rpm_client/models/inline_response2003.rb +15 -3
- data/lib/pulp_rpm_client/models/inline_response2004.rb +15 -3
- data/lib/pulp_rpm_client/models/inline_response2005.rb +15 -3
- data/lib/pulp_rpm_client/models/inline_response2006.rb +15 -3
- data/lib/pulp_rpm_client/models/inline_response2007.rb +15 -3
- data/lib/pulp_rpm_client/models/inline_response2008.rb +15 -3
- data/lib/pulp_rpm_client/models/inline_response2009.rb +247 -0
- data/lib/pulp_rpm_client/models/repository_add_remove_content.rb +231 -0
- data/lib/pulp_rpm_client/models/repository_sync_url.rb +22 -12
- data/lib/pulp_rpm_client/models/repository_version.rb +244 -0
- data/lib/pulp_rpm_client/models/{distribution_tree.rb → rpm_distribution_tree.rb} +15 -5
- data/lib/pulp_rpm_client/models/{modulemd.rb → rpm_modulemd.rb} +16 -60
- data/lib/pulp_rpm_client/models/{modulemd_defaults.rb → rpm_modulemd_defaults.rb} +16 -60
- data/lib/pulp_rpm_client/models/{package.rb → rpm_package.rb} +16 -60
- data/lib/pulp_rpm_client/models/rpm_package_category.rb +405 -0
- data/lib/pulp_rpm_client/models/rpm_package_environment.rb +432 -0
- data/lib/pulp_rpm_client/models/rpm_package_group.rb +435 -0
- data/lib/pulp_rpm_client/models/rpm_package_langpacks.rb +246 -0
- data/lib/pulp_rpm_client/models/{repo_metadata_file.rb → rpm_repo_metadata_file.rb} +16 -60
- data/lib/pulp_rpm_client/models/{rpm_distribution.rb → rpm_rpm_distribution.rb} +17 -23
- data/lib/pulp_rpm_client/models/{rpm_publication.rb → rpm_rpm_publication.rb} +16 -5
- data/lib/pulp_rpm_client/models/{rpm_remote.rb → rpm_rpm_remote.rb} +69 -105
- data/lib/pulp_rpm_client/models/rpm_rpm_repository.rb +294 -0
- data/lib/pulp_rpm_client/models/rpm_update_collection.rb +240 -0
- data/lib/pulp_rpm_client/models/{update_record.rb → rpm_update_record.rb} +49 -239
- data/lib/pulp_rpm_client/models/variant.rb +12 -2
- data/lib/pulp_rpm_client/version.rb +2 -2
- data/lib/pulp_rpm_client.rb +32 -12
- data/pulp_rpm_client.gemspec +1 -1
- data/spec/api/content_advisories_api_spec.rb +6 -3
- data/spec/api/content_distribution_trees_api_spec.rb +2 -2
- data/spec/api/content_modulemd_defaults_api_spec.rb +3 -3
- data/spec/api/{content_modulemd_api_spec.rb → content_modulemds_api_spec.rb} +9 -9
- data/spec/api/content_packagecategories_api_spec.rb +79 -0
- data/spec/api/content_packageenvironments_api_spec.rb +79 -0
- data/spec/api/content_packagegroups_api_spec.rb +79 -0
- data/spec/api/content_packagelangpacks_api_spec.rb +79 -0
- data/spec/api/content_packages_api_spec.rb +3 -3
- data/spec/api/content_repo_metadata_files_api_spec.rb +3 -3
- data/spec/api/distributions_rpm_api_spec.rb +3 -3
- data/spec/api/publications_rpm_api_spec.rb +3 -3
- data/spec/api/remotes_rpm_api_spec.rb +4 -17
- data/spec/api/repositories_rpm_api_spec.rb +141 -0
- data/spec/api/repositories_rpm_versions_api_spec.rb +91 -0
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/addon_spec.rb +1 -1
- data/spec/models/artifact_spec.rb +1 -1
- data/spec/models/async_operation_response_spec.rb +1 -1
- data/spec/models/checksum_spec.rb +1 -1
- data/spec/models/content_summary_spec.rb +53 -0
- data/spec/models/image_spec.rb +1 -1
- data/spec/models/inline_response20010_spec.rb +59 -0
- data/spec/models/inline_response20011_spec.rb +59 -0
- data/spec/models/inline_response20012_spec.rb +59 -0
- data/spec/models/inline_response20013_spec.rb +59 -0
- data/spec/models/inline_response20014_spec.rb +59 -0
- data/spec/models/inline_response2001_spec.rb +1 -1
- data/spec/models/inline_response2002_spec.rb +1 -1
- data/spec/models/inline_response2003_spec.rb +1 -1
- data/spec/models/inline_response2004_spec.rb +1 -1
- data/spec/models/inline_response2005_spec.rb +1 -1
- data/spec/models/inline_response2006_spec.rb +1 -1
- data/spec/models/inline_response2007_spec.rb +1 -1
- data/spec/models/inline_response2008_spec.rb +1 -1
- data/spec/models/inline_response2009_spec.rb +59 -0
- data/spec/models/inline_response200_spec.rb +1 -1
- data/spec/models/repository_add_remove_content_spec.rb +53 -0
- data/spec/models/repository_sync_url_spec.rb +2 -2
- data/spec/models/repository_version_spec.rb +65 -0
- data/spec/models/{distribution_tree_spec.rb → rpm_distribution_tree_spec.rb} +7 -7
- data/spec/models/{modulemd_defaults_spec.rb → rpm_modulemd_defaults_spec.rb} +7 -25
- data/spec/models/{modulemd_spec.rb → rpm_modulemd_spec.rb} +7 -25
- data/spec/models/{repo_metadata_file_spec.rb → rpm_package_category_spec.rb} +16 -16
- data/spec/models/rpm_package_environment_spec.rb +101 -0
- data/spec/models/rpm_package_group_spec.rb +107 -0
- data/spec/models/rpm_package_langpacks_spec.rb +47 -0
- data/spec/models/{package_spec.rb → rpm_package_spec.rb} +7 -25
- data/spec/models/rpm_repo_metadata_file_spec.rb +71 -0
- data/spec/models/{rpm_distribution_spec.rb → rpm_rpm_distribution_spec.rb} +7 -7
- data/spec/models/{rpm_publication_spec.rb → rpm_rpm_publication_spec.rb} +7 -7
- data/spec/models/{rpm_remote_spec.rb → rpm_rpm_remote_spec.rb} +11 -23
- data/spec/models/rpm_rpm_repository_spec.rb +71 -0
- data/spec/models/rpm_update_collection_spec.rb +53 -0
- data/spec/models/{update_record_spec.rb → rpm_update_record_spec.rb} +19 -7
- data/spec/models/variant_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +126 -46
- data/docs/RpmCopyApi.md +0 -70
- data/lib/pulp_rpm_client/api/rpm_copy_api.rb +0 -96
- data/spec/api/rpm_copy_api_spec.rb +0 -50
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pulp_rpm_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.0rc1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OpenAPI-Generator
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-11-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -80,15 +80,24 @@ files:
|
|
80
80
|
- docs/Checksum.md
|
81
81
|
- docs/ContentAdvisoriesApi.md
|
82
82
|
- docs/ContentDistributionTreesApi.md
|
83
|
-
- docs/ContentModulemdApi.md
|
84
83
|
- docs/ContentModulemdDefaultsApi.md
|
84
|
+
- docs/ContentModulemdsApi.md
|
85
|
+
- docs/ContentPackagecategoriesApi.md
|
86
|
+
- docs/ContentPackageenvironmentsApi.md
|
87
|
+
- docs/ContentPackagegroupsApi.md
|
88
|
+
- docs/ContentPackagelangpacksApi.md
|
85
89
|
- docs/ContentPackagesApi.md
|
86
90
|
- docs/ContentRepoMetadataFilesApi.md
|
87
|
-
- docs/
|
91
|
+
- docs/ContentSummary.md
|
88
92
|
- docs/DistributionsRpmApi.md
|
89
93
|
- docs/Image.md
|
90
94
|
- docs/InlineResponse200.md
|
91
95
|
- docs/InlineResponse2001.md
|
96
|
+
- docs/InlineResponse20010.md
|
97
|
+
- docs/InlineResponse20011.md
|
98
|
+
- docs/InlineResponse20012.md
|
99
|
+
- docs/InlineResponse20013.md
|
100
|
+
- docs/InlineResponse20014.md
|
92
101
|
- docs/InlineResponse2002.md
|
93
102
|
- docs/InlineResponse2003.md
|
94
103
|
- docs/InlineResponse2004.md
|
@@ -96,31 +105,47 @@ files:
|
|
96
105
|
- docs/InlineResponse2006.md
|
97
106
|
- docs/InlineResponse2007.md
|
98
107
|
- docs/InlineResponse2008.md
|
99
|
-
- docs/
|
100
|
-
- docs/ModulemdDefaults.md
|
101
|
-
- docs/Package.md
|
108
|
+
- docs/InlineResponse2009.md
|
102
109
|
- docs/PublicationsRpmApi.md
|
103
110
|
- docs/RemotesRpmApi.md
|
104
|
-
- docs/
|
111
|
+
- docs/RepositoriesRpmApi.md
|
112
|
+
- docs/RepositoriesRpmVersionsApi.md
|
113
|
+
- docs/RepositoryAddRemoveContent.md
|
105
114
|
- docs/RepositorySyncURL.md
|
106
|
-
- docs/
|
107
|
-
- docs/
|
108
|
-
- docs/
|
109
|
-
- docs/
|
110
|
-
- docs/
|
115
|
+
- docs/RepositoryVersion.md
|
116
|
+
- docs/RpmDistributionTree.md
|
117
|
+
- docs/RpmModulemd.md
|
118
|
+
- docs/RpmModulemdDefaults.md
|
119
|
+
- docs/RpmPackage.md
|
120
|
+
- docs/RpmPackageCategory.md
|
121
|
+
- docs/RpmPackageEnvironment.md
|
122
|
+
- docs/RpmPackageGroup.md
|
123
|
+
- docs/RpmPackageLangpacks.md
|
124
|
+
- docs/RpmRepoMetadataFile.md
|
125
|
+
- docs/RpmRpmDistribution.md
|
126
|
+
- docs/RpmRpmPublication.md
|
127
|
+
- docs/RpmRpmRemote.md
|
128
|
+
- docs/RpmRpmRepository.md
|
129
|
+
- docs/RpmUpdateCollection.md
|
130
|
+
- docs/RpmUpdateRecord.md
|
111
131
|
- docs/Variant.md
|
112
132
|
- git_push.sh
|
113
133
|
- lib/pulp_rpm_client.rb
|
114
134
|
- lib/pulp_rpm_client/api/content_advisories_api.rb
|
115
135
|
- lib/pulp_rpm_client/api/content_distribution_trees_api.rb
|
116
|
-
- lib/pulp_rpm_client/api/content_modulemd_api.rb
|
117
136
|
- lib/pulp_rpm_client/api/content_modulemd_defaults_api.rb
|
137
|
+
- lib/pulp_rpm_client/api/content_modulemds_api.rb
|
138
|
+
- lib/pulp_rpm_client/api/content_packagecategories_api.rb
|
139
|
+
- lib/pulp_rpm_client/api/content_packageenvironments_api.rb
|
140
|
+
- lib/pulp_rpm_client/api/content_packagegroups_api.rb
|
141
|
+
- lib/pulp_rpm_client/api/content_packagelangpacks_api.rb
|
118
142
|
- lib/pulp_rpm_client/api/content_packages_api.rb
|
119
143
|
- lib/pulp_rpm_client/api/content_repo_metadata_files_api.rb
|
120
144
|
- lib/pulp_rpm_client/api/distributions_rpm_api.rb
|
121
145
|
- lib/pulp_rpm_client/api/publications_rpm_api.rb
|
122
146
|
- lib/pulp_rpm_client/api/remotes_rpm_api.rb
|
123
|
-
- lib/pulp_rpm_client/api/
|
147
|
+
- lib/pulp_rpm_client/api/repositories_rpm_api.rb
|
148
|
+
- lib/pulp_rpm_client/api/repositories_rpm_versions_api.rb
|
124
149
|
- lib/pulp_rpm_client/api_client.rb
|
125
150
|
- lib/pulp_rpm_client/api_error.rb
|
126
151
|
- lib/pulp_rpm_client/configuration.rb
|
@@ -128,10 +153,15 @@ files:
|
|
128
153
|
- lib/pulp_rpm_client/models/artifact.rb
|
129
154
|
- lib/pulp_rpm_client/models/async_operation_response.rb
|
130
155
|
- lib/pulp_rpm_client/models/checksum.rb
|
131
|
-
- lib/pulp_rpm_client/models/
|
156
|
+
- lib/pulp_rpm_client/models/content_summary.rb
|
132
157
|
- lib/pulp_rpm_client/models/image.rb
|
133
158
|
- lib/pulp_rpm_client/models/inline_response200.rb
|
134
159
|
- lib/pulp_rpm_client/models/inline_response2001.rb
|
160
|
+
- lib/pulp_rpm_client/models/inline_response20010.rb
|
161
|
+
- lib/pulp_rpm_client/models/inline_response20011.rb
|
162
|
+
- lib/pulp_rpm_client/models/inline_response20012.rb
|
163
|
+
- lib/pulp_rpm_client/models/inline_response20013.rb
|
164
|
+
- lib/pulp_rpm_client/models/inline_response20014.rb
|
135
165
|
- lib/pulp_rpm_client/models/inline_response2002.rb
|
136
166
|
- lib/pulp_rpm_client/models/inline_response2003.rb
|
137
167
|
- lib/pulp_rpm_client/models/inline_response2004.rb
|
@@ -139,36 +169,56 @@ files:
|
|
139
169
|
- lib/pulp_rpm_client/models/inline_response2006.rb
|
140
170
|
- lib/pulp_rpm_client/models/inline_response2007.rb
|
141
171
|
- lib/pulp_rpm_client/models/inline_response2008.rb
|
142
|
-
- lib/pulp_rpm_client/models/
|
143
|
-
- lib/pulp_rpm_client/models/
|
144
|
-
- lib/pulp_rpm_client/models/package.rb
|
145
|
-
- lib/pulp_rpm_client/models/repo_metadata_file.rb
|
172
|
+
- lib/pulp_rpm_client/models/inline_response2009.rb
|
173
|
+
- lib/pulp_rpm_client/models/repository_add_remove_content.rb
|
146
174
|
- lib/pulp_rpm_client/models/repository_sync_url.rb
|
147
|
-
- lib/pulp_rpm_client/models/
|
148
|
-
- lib/pulp_rpm_client/models/
|
149
|
-
- lib/pulp_rpm_client/models/
|
150
|
-
- lib/pulp_rpm_client/models/
|
175
|
+
- lib/pulp_rpm_client/models/repository_version.rb
|
176
|
+
- lib/pulp_rpm_client/models/rpm_distribution_tree.rb
|
177
|
+
- lib/pulp_rpm_client/models/rpm_modulemd.rb
|
178
|
+
- lib/pulp_rpm_client/models/rpm_modulemd_defaults.rb
|
179
|
+
- lib/pulp_rpm_client/models/rpm_package.rb
|
180
|
+
- lib/pulp_rpm_client/models/rpm_package_category.rb
|
181
|
+
- lib/pulp_rpm_client/models/rpm_package_environment.rb
|
182
|
+
- lib/pulp_rpm_client/models/rpm_package_group.rb
|
183
|
+
- lib/pulp_rpm_client/models/rpm_package_langpacks.rb
|
184
|
+
- lib/pulp_rpm_client/models/rpm_repo_metadata_file.rb
|
185
|
+
- lib/pulp_rpm_client/models/rpm_rpm_distribution.rb
|
186
|
+
- lib/pulp_rpm_client/models/rpm_rpm_publication.rb
|
187
|
+
- lib/pulp_rpm_client/models/rpm_rpm_remote.rb
|
188
|
+
- lib/pulp_rpm_client/models/rpm_rpm_repository.rb
|
189
|
+
- lib/pulp_rpm_client/models/rpm_update_collection.rb
|
190
|
+
- lib/pulp_rpm_client/models/rpm_update_record.rb
|
151
191
|
- lib/pulp_rpm_client/models/variant.rb
|
152
192
|
- lib/pulp_rpm_client/version.rb
|
153
193
|
- pulp_rpm_client.gemspec
|
154
194
|
- spec/api/content_advisories_api_spec.rb
|
155
195
|
- spec/api/content_distribution_trees_api_spec.rb
|
156
|
-
- spec/api/content_modulemd_api_spec.rb
|
157
196
|
- spec/api/content_modulemd_defaults_api_spec.rb
|
197
|
+
- spec/api/content_modulemds_api_spec.rb
|
198
|
+
- spec/api/content_packagecategories_api_spec.rb
|
199
|
+
- spec/api/content_packageenvironments_api_spec.rb
|
200
|
+
- spec/api/content_packagegroups_api_spec.rb
|
201
|
+
- spec/api/content_packagelangpacks_api_spec.rb
|
158
202
|
- spec/api/content_packages_api_spec.rb
|
159
203
|
- spec/api/content_repo_metadata_files_api_spec.rb
|
160
204
|
- spec/api/distributions_rpm_api_spec.rb
|
161
205
|
- spec/api/publications_rpm_api_spec.rb
|
162
206
|
- spec/api/remotes_rpm_api_spec.rb
|
163
|
-
- spec/api/
|
207
|
+
- spec/api/repositories_rpm_api_spec.rb
|
208
|
+
- spec/api/repositories_rpm_versions_api_spec.rb
|
164
209
|
- spec/api_client_spec.rb
|
165
210
|
- spec/configuration_spec.rb
|
166
211
|
- spec/models/addon_spec.rb
|
167
212
|
- spec/models/artifact_spec.rb
|
168
213
|
- spec/models/async_operation_response_spec.rb
|
169
214
|
- spec/models/checksum_spec.rb
|
170
|
-
- spec/models/
|
215
|
+
- spec/models/content_summary_spec.rb
|
171
216
|
- spec/models/image_spec.rb
|
217
|
+
- spec/models/inline_response20010_spec.rb
|
218
|
+
- spec/models/inline_response20011_spec.rb
|
219
|
+
- spec/models/inline_response20012_spec.rb
|
220
|
+
- spec/models/inline_response20013_spec.rb
|
221
|
+
- spec/models/inline_response20014_spec.rb
|
172
222
|
- spec/models/inline_response2001_spec.rb
|
173
223
|
- spec/models/inline_response2002_spec.rb
|
174
224
|
- spec/models/inline_response2003_spec.rb
|
@@ -177,16 +227,26 @@ files:
|
|
177
227
|
- spec/models/inline_response2006_spec.rb
|
178
228
|
- spec/models/inline_response2007_spec.rb
|
179
229
|
- spec/models/inline_response2008_spec.rb
|
230
|
+
- spec/models/inline_response2009_spec.rb
|
180
231
|
- spec/models/inline_response200_spec.rb
|
181
|
-
- spec/models/
|
182
|
-
- spec/models/modulemd_spec.rb
|
183
|
-
- spec/models/package_spec.rb
|
184
|
-
- spec/models/repo_metadata_file_spec.rb
|
232
|
+
- spec/models/repository_add_remove_content_spec.rb
|
185
233
|
- spec/models/repository_sync_url_spec.rb
|
186
|
-
- spec/models/
|
187
|
-
- spec/models/
|
188
|
-
- spec/models/
|
189
|
-
- spec/models/
|
234
|
+
- spec/models/repository_version_spec.rb
|
235
|
+
- spec/models/rpm_distribution_tree_spec.rb
|
236
|
+
- spec/models/rpm_modulemd_defaults_spec.rb
|
237
|
+
- spec/models/rpm_modulemd_spec.rb
|
238
|
+
- spec/models/rpm_package_category_spec.rb
|
239
|
+
- spec/models/rpm_package_environment_spec.rb
|
240
|
+
- spec/models/rpm_package_group_spec.rb
|
241
|
+
- spec/models/rpm_package_langpacks_spec.rb
|
242
|
+
- spec/models/rpm_package_spec.rb
|
243
|
+
- spec/models/rpm_repo_metadata_file_spec.rb
|
244
|
+
- spec/models/rpm_rpm_distribution_spec.rb
|
245
|
+
- spec/models/rpm_rpm_publication_spec.rb
|
246
|
+
- spec/models/rpm_rpm_remote_spec.rb
|
247
|
+
- spec/models/rpm_rpm_repository_spec.rb
|
248
|
+
- spec/models/rpm_update_collection_spec.rb
|
249
|
+
- spec/models/rpm_update_record_spec.rb
|
190
250
|
- spec/models/variant_spec.rb
|
191
251
|
- spec/spec_helper.rb
|
192
252
|
homepage: https://openapi-generator.tech
|
@@ -214,41 +274,61 @@ signing_key:
|
|
214
274
|
specification_version: 4
|
215
275
|
summary: Pulp 3 API Ruby Gem
|
216
276
|
test_files:
|
277
|
+
- spec/api/repositories_rpm_versions_api_spec.rb
|
278
|
+
- spec/api/content_modulemds_api_spec.rb
|
217
279
|
- spec/api/remotes_rpm_api_spec.rb
|
218
280
|
- spec/api/content_packages_api_spec.rb
|
219
|
-
- spec/api/
|
281
|
+
- spec/api/content_packageenvironments_api_spec.rb
|
220
282
|
- spec/api/content_advisories_api_spec.rb
|
221
283
|
- spec/api/content_repo_metadata_files_api_spec.rb
|
222
284
|
- spec/api/content_modulemd_defaults_api_spec.rb
|
223
285
|
- spec/api/publications_rpm_api_spec.rb
|
286
|
+
- spec/api/content_packagegroups_api_spec.rb
|
224
287
|
- spec/api/content_distribution_trees_api_spec.rb
|
225
|
-
- spec/api/
|
288
|
+
- spec/api/content_packagecategories_api_spec.rb
|
226
289
|
- spec/api/distributions_rpm_api_spec.rb
|
290
|
+
- spec/api/content_packagelangpacks_api_spec.rb
|
291
|
+
- spec/api/repositories_rpm_api_spec.rb
|
227
292
|
- spec/api_client_spec.rb
|
228
293
|
- spec/configuration_spec.rb
|
294
|
+
- spec/models/rpm_package_langpacks_spec.rb
|
229
295
|
- spec/models/inline_response2003_spec.rb
|
230
|
-
- spec/models/
|
231
|
-
- spec/models/
|
296
|
+
- spec/models/rpm_modulemd_defaults_spec.rb
|
297
|
+
- spec/models/rpm_rpm_distribution_spec.rb
|
298
|
+
- spec/models/rpm_package_group_spec.rb
|
299
|
+
- spec/models/inline_response20010_spec.rb
|
300
|
+
- spec/models/repository_version_spec.rb
|
232
301
|
- spec/models/inline_response2001_spec.rb
|
233
|
-
- spec/models/update_record_spec.rb
|
234
302
|
- spec/models/image_spec.rb
|
235
303
|
- spec/models/addon_spec.rb
|
236
|
-
- spec/models/
|
304
|
+
- spec/models/inline_response20014_spec.rb
|
305
|
+
- spec/models/rpm_package_category_spec.rb
|
237
306
|
- spec/models/inline_response2006_spec.rb
|
238
307
|
- spec/models/inline_response2002_spec.rb
|
308
|
+
- spec/models/rpm_distribution_tree_spec.rb
|
239
309
|
- spec/models/inline_response2004_spec.rb
|
310
|
+
- spec/models/inline_response20012_spec.rb
|
240
311
|
- spec/models/checksum_spec.rb
|
312
|
+
- spec/models/rpm_repo_metadata_file_spec.rb
|
313
|
+
- spec/models/inline_response20011_spec.rb
|
241
314
|
- spec/models/async_operation_response_spec.rb
|
242
|
-
- spec/models/
|
243
|
-
- spec/models/
|
315
|
+
- spec/models/inline_response20013_spec.rb
|
316
|
+
- spec/models/content_summary_spec.rb
|
317
|
+
- spec/models/rpm_rpm_publication_spec.rb
|
318
|
+
- spec/models/rpm_rpm_repository_spec.rb
|
244
319
|
- spec/models/inline_response2007_spec.rb
|
245
320
|
- spec/models/variant_spec.rb
|
246
321
|
- spec/models/repository_sync_url_spec.rb
|
247
|
-
- spec/models/
|
322
|
+
- spec/models/repository_add_remove_content_spec.rb
|
323
|
+
- spec/models/rpm_update_collection_spec.rb
|
324
|
+
- spec/models/rpm_update_record_spec.rb
|
325
|
+
- spec/models/rpm_modulemd_spec.rb
|
326
|
+
- spec/models/rpm_package_environment_spec.rb
|
248
327
|
- spec/models/artifact_spec.rb
|
249
|
-
- spec/models/
|
328
|
+
- spec/models/rpm_package_spec.rb
|
329
|
+
- spec/models/inline_response2009_spec.rb
|
330
|
+
- spec/models/rpm_rpm_remote_spec.rb
|
250
331
|
- spec/models/inline_response2005_spec.rb
|
251
332
|
- spec/models/inline_response2008_spec.rb
|
252
|
-
- spec/models/modulemd_defaults_spec.rb
|
253
333
|
- spec/models/inline_response200_spec.rb
|
254
334
|
- spec/spec_helper.rb
|
data/docs/RpmCopyApi.md
DELETED
@@ -1,70 +0,0 @@
|
|
1
|
-
# PulpRpmClient::RpmCopyApi
|
2
|
-
|
3
|
-
All URIs are relative to *http://localhost:24817*
|
4
|
-
|
5
|
-
Method | HTTP request | Description
|
6
|
-
------------- | ------------- | -------------
|
7
|
-
[**copy_content**](RpmCopyApi.md#copy_content) | **POST** /pulp/api/v3/rpm/copy/ | Copy content
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
## copy_content
|
12
|
-
|
13
|
-
> AsyncOperationResponse copy_content(dest_repo, opts)
|
14
|
-
|
15
|
-
Copy content
|
16
|
-
|
17
|
-
Trigger an asynchronous task to copy RPM contentfrom one repository into another, creating a newrepository version.
|
18
|
-
|
19
|
-
### Example
|
20
|
-
|
21
|
-
```ruby
|
22
|
-
# load the gem
|
23
|
-
require 'pulp_rpm_client'
|
24
|
-
# setup authorization
|
25
|
-
PulpRpmClient.configure do |config|
|
26
|
-
# Configure HTTP basic authorization: Basic
|
27
|
-
config.username = 'YOUR USERNAME'
|
28
|
-
config.password = 'YOUR PASSWORD'
|
29
|
-
end
|
30
|
-
|
31
|
-
api_instance = PulpRpmClient::RpmCopyApi.new
|
32
|
-
dest_repo = 'dest_repo_example' # String | A URI of the repository.
|
33
|
-
opts = {
|
34
|
-
source_repo: 'source_repo_example', # String | A URI of the repository.
|
35
|
-
source_repo_version: 'source_repo_version_example', # String | A URI of the repository version
|
36
|
-
types: 'types_example' # Array<String> | A list of types to copy [\"package\", \"advisory\"]
|
37
|
-
}
|
38
|
-
|
39
|
-
begin
|
40
|
-
#Copy content
|
41
|
-
result = api_instance.copy_content(dest_repo, opts)
|
42
|
-
p result
|
43
|
-
rescue PulpRpmClient::ApiError => e
|
44
|
-
puts "Exception when calling RpmCopyApi->copy_content: #{e}"
|
45
|
-
end
|
46
|
-
```
|
47
|
-
|
48
|
-
### Parameters
|
49
|
-
|
50
|
-
|
51
|
-
Name | Type | Description | Notes
|
52
|
-
------------- | ------------- | ------------- | -------------
|
53
|
-
**dest_repo** | **String**| A URI of the repository. |
|
54
|
-
**source_repo** | **String**| A URI of the repository. | [optional]
|
55
|
-
**source_repo_version** | **String**| A URI of the repository version | [optional]
|
56
|
-
**types** | [**Array<String>**](String.md)| A list of types to copy [\"package\", \"advisory\"] | [optional]
|
57
|
-
|
58
|
-
### Return type
|
59
|
-
|
60
|
-
[**AsyncOperationResponse**](AsyncOperationResponse.md)
|
61
|
-
|
62
|
-
### Authorization
|
63
|
-
|
64
|
-
[Basic](../README.md#Basic)
|
65
|
-
|
66
|
-
### HTTP request headers
|
67
|
-
|
68
|
-
- **Content-Type**: multipart/form-data, application/x-www-form-urlencoded
|
69
|
-
- **Accept**: application/json
|
70
|
-
|
@@ -1,96 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
#Pulp 3 API
|
3
|
-
|
4
|
-
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
5
|
-
|
6
|
-
The version of the OpenAPI document: v3
|
7
|
-
|
8
|
-
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.2.1-SNAPSHOT
|
10
|
-
|
11
|
-
=end
|
12
|
-
|
13
|
-
require 'cgi'
|
14
|
-
|
15
|
-
module PulpRpmClient
|
16
|
-
class RpmCopyApi
|
17
|
-
attr_accessor :api_client
|
18
|
-
|
19
|
-
def initialize(api_client = ApiClient.default)
|
20
|
-
@api_client = api_client
|
21
|
-
end
|
22
|
-
# Copy content
|
23
|
-
# Trigger an asynchronous task to copy RPM contentfrom one repository into another, creating a newrepository version.
|
24
|
-
# @param dest_repo [String] A URI of the repository.
|
25
|
-
# @param [Hash] opts the optional parameters
|
26
|
-
# @option opts [String] :source_repo A URI of the repository.
|
27
|
-
# @option opts [String] :source_repo_version A URI of the repository version
|
28
|
-
# @option opts [Array<String>] :types A list of types to copy [\"package\", \"advisory\"]
|
29
|
-
# @return [AsyncOperationResponse]
|
30
|
-
def copy_content(dest_repo, opts = {})
|
31
|
-
data, _status_code, _headers = copy_content_with_http_info(dest_repo, opts)
|
32
|
-
data
|
33
|
-
end
|
34
|
-
|
35
|
-
# Copy content
|
36
|
-
# Trigger an asynchronous task to copy RPM contentfrom one repository into another, creating a newrepository version.
|
37
|
-
# @param dest_repo [String] A URI of the repository.
|
38
|
-
# @param [Hash] opts the optional parameters
|
39
|
-
# @option opts [String] :source_repo A URI of the repository.
|
40
|
-
# @option opts [String] :source_repo_version A URI of the repository version
|
41
|
-
# @option opts [Array<String>] :types A list of types to copy [\"package\", \"advisory\"]
|
42
|
-
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
43
|
-
def copy_content_with_http_info(dest_repo, opts = {})
|
44
|
-
if @api_client.config.debugging
|
45
|
-
@api_client.config.logger.debug 'Calling API: RpmCopyApi.copy_content ...'
|
46
|
-
end
|
47
|
-
# verify the required parameter 'dest_repo' is set
|
48
|
-
if @api_client.config.client_side_validation && dest_repo.nil?
|
49
|
-
fail ArgumentError, "Missing the required parameter 'dest_repo' when calling RpmCopyApi.copy_content"
|
50
|
-
end
|
51
|
-
# resource path
|
52
|
-
local_var_path = '/pulp/api/v3/rpm/copy/'
|
53
|
-
|
54
|
-
# query parameters
|
55
|
-
query_params = opts[:query_params] || {}
|
56
|
-
|
57
|
-
# header parameters
|
58
|
-
header_params = opts[:header_params] || {}
|
59
|
-
# HTTP header 'Accept' (if needed)
|
60
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
61
|
-
# HTTP header 'Content-Type'
|
62
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data', 'application/x-www-form-urlencoded'])
|
63
|
-
|
64
|
-
# form parameters
|
65
|
-
form_params = opts[:form_params] || {}
|
66
|
-
form_params['dest_repo'] = dest_repo
|
67
|
-
form_params['source_repo'] = opts[:'source_repo'] if !opts[:'source_repo'].nil?
|
68
|
-
form_params['source_repo_version'] = opts[:'source_repo_version'] if !opts[:'source_repo_version'].nil?
|
69
|
-
form_params['types'] = @api_client.build_collection_param(opts[:'types'], :csv) if !opts[:'types'].nil?
|
70
|
-
|
71
|
-
# http body (model)
|
72
|
-
post_body = opts[:body]
|
73
|
-
|
74
|
-
# return_type
|
75
|
-
return_type = opts[:return_type] || 'AsyncOperationResponse'
|
76
|
-
|
77
|
-
# auth_names
|
78
|
-
auth_names = opts[:auth_names] || ['Basic']
|
79
|
-
|
80
|
-
new_options = opts.merge(
|
81
|
-
:header_params => header_params,
|
82
|
-
:query_params => query_params,
|
83
|
-
:form_params => form_params,
|
84
|
-
:body => post_body,
|
85
|
-
:auth_names => auth_names,
|
86
|
-
:return_type => return_type
|
87
|
-
)
|
88
|
-
|
89
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
90
|
-
if @api_client.config.debugging
|
91
|
-
@api_client.config.logger.debug "API called: RpmCopyApi#copy_content\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
92
|
-
end
|
93
|
-
return data, status_code, headers
|
94
|
-
end
|
95
|
-
end
|
96
|
-
end
|
@@ -1,50 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
#Pulp 3 API
|
3
|
-
|
4
|
-
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
5
|
-
|
6
|
-
The version of the OpenAPI document: v3
|
7
|
-
|
8
|
-
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.2.1-SNAPSHOT
|
10
|
-
|
11
|
-
=end
|
12
|
-
|
13
|
-
require 'spec_helper'
|
14
|
-
require 'json'
|
15
|
-
|
16
|
-
# Unit tests for PulpRpmClient::RpmCopyApi
|
17
|
-
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
|
-
# Please update as you see appropriate
|
19
|
-
describe 'RpmCopyApi' do
|
20
|
-
before do
|
21
|
-
# run before each test
|
22
|
-
@api_instance = PulpRpmClient::RpmCopyApi.new
|
23
|
-
end
|
24
|
-
|
25
|
-
after do
|
26
|
-
# run after each test
|
27
|
-
end
|
28
|
-
|
29
|
-
describe 'test an instance of RpmCopyApi' do
|
30
|
-
it 'should create an instance of RpmCopyApi' do
|
31
|
-
expect(@api_instance).to be_instance_of(PulpRpmClient::RpmCopyApi)
|
32
|
-
end
|
33
|
-
end
|
34
|
-
|
35
|
-
# unit tests for copy_content
|
36
|
-
# Copy content
|
37
|
-
# Trigger an asynchronous task to copy RPM contentfrom one repository into another, creating a newrepository version.
|
38
|
-
# @param dest_repo A URI of the repository.
|
39
|
-
# @param [Hash] opts the optional parameters
|
40
|
-
# @option opts [String] :source_repo A URI of the repository.
|
41
|
-
# @option opts [String] :source_repo_version A URI of the repository version
|
42
|
-
# @option opts [Array<String>] :types A list of types to copy [\"package\", \"advisory\"]
|
43
|
-
# @return [AsyncOperationResponse]
|
44
|
-
describe 'copy_content test' do
|
45
|
-
it 'should work' do
|
46
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
47
|
-
end
|
48
|
-
end
|
49
|
-
|
50
|
-
end
|