pulp_maven_client 0.16.1 → 0.17.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,150 @@
1
+ =begin
2
+ #Pulp 3 API
3
+
4
+ #Fetch, Upload, Organize, and Distribute Software Packages
5
+
6
+ The version of the OpenAPI document: v3
7
+ Contact: pulp-list@redhat.com
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.10.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for PulpMavenClient::ContentMetadataApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'ContentMetadataApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = PulpMavenClient::ContentMetadataApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of ContentMetadataApi' do
30
+ it 'should create an instance of ContentMetadataApi' do
31
+ expect(@api_instance).to be_instance_of(PulpMavenClient::ContentMetadataApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for create
36
+ # Create a maven metadata
37
+ # Trigger an asynchronous task to create content,optionally create new repository version.
38
+ # @param relative_path Path where the artifact is located relative to distributions base_path
39
+ # @param [Hash] opts the optional parameters
40
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
41
+ # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
42
+ # @option opts [Boolean] :overwrite When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when &#39;repository&#39; is specified. Defaults to true.
43
+ # @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
44
+ # @option opts [String] :artifact Artifact file representing the physical content
45
+ # @option opts [File] :file An uploaded file that may be turned into the content unit.
46
+ # @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
47
+ # @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
48
+ # @option opts [RemoteNetworkConfig] :downloader_config Configuration for the download process (e.g., proxies, auth, timeouts). Only applicable when providing a &#39;file_url.
49
+ # @return [AsyncOperationResponse]
50
+ describe 'create test' do
51
+ it 'should work' do
52
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
53
+ end
54
+ end
55
+
56
+ # unit tests for list
57
+ # List maven metadatas
58
+ # A ViewSet for MavenMetadata.
59
+ # @param [Hash] opts the optional parameters
60
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
61
+ # @option opts [String] :artifact_id Filter results where artifact_id matches value
62
+ # @option opts [String] :filename Filter results where filename matches value
63
+ # @option opts [String] :group_id Filter results where group_id matches value
64
+ # @option opts [Integer] :limit Number of results to return per page.
65
+ # @option opts [Integer] :offset The initial index from which to return the results.
66
+ # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;group_id&#x60; - Group id * &#x60;-group_id&#x60; - Group id (descending) * &#x60;artifact_id&#x60; - Artifact id * &#x60;-artifact_id&#x60; - Artifact id (descending) * &#x60;version&#x60; - Version * &#x60;-version&#x60; - Version (descending) * &#x60;filename&#x60; - Filename * &#x60;-filename&#x60; - Filename (descending) * &#x60;sha256&#x60; - Sha256 * &#x60;-sha256&#x60; - Sha256 (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
67
+ # @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
68
+ # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
69
+ # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
70
+ # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
71
+ # @option opts [String] :pulp_label_select Filter labels by search string
72
+ # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
73
+ # @option opts [String] :repository_version
74
+ # @option opts [String] :repository_version_added
75
+ # @option opts [String] :repository_version_removed
76
+ # @option opts [String] :version Filter results where version matches value
77
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
78
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
79
+ # @return [PaginatedmavenMavenMetadataResponseList]
80
+ describe 'list test' do
81
+ it 'should work' do
82
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
83
+ end
84
+ end
85
+
86
+ # unit tests for read
87
+ # Inspect a maven metadata
88
+ # A ViewSet for MavenMetadata.
89
+ # @param maven_maven_metadata_href
90
+ # @param [Hash] opts the optional parameters
91
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
92
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
93
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
94
+ # @return [MavenMavenMetadataResponse]
95
+ describe 'read test' do
96
+ it 'should work' do
97
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
98
+ end
99
+ end
100
+
101
+ # unit tests for set_label
102
+ # Set a label
103
+ # Set a single pulp_label on the object to a specific value or null.
104
+ # @param maven_maven_metadata_href
105
+ # @param set_label
106
+ # @param [Hash] opts the optional parameters
107
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
108
+ # @return [SetLabelResponse]
109
+ describe 'set_label test' do
110
+ it 'should work' do
111
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
112
+ end
113
+ end
114
+
115
+ # unit tests for unset_label
116
+ # Unset a label
117
+ # Unset a single pulp_label on the object.
118
+ # @param maven_maven_metadata_href
119
+ # @param unset_label
120
+ # @param [Hash] opts the optional parameters
121
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
122
+ # @return [UnsetLabelResponse]
123
+ describe 'unset_label test' do
124
+ it 'should work' do
125
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
126
+ end
127
+ end
128
+
129
+ # unit tests for upload
130
+ # Upload a Maven metadata file synchronously.
131
+ # Synchronously upload a Maven metadata file.
132
+ # @param relative_path Path where the artifact is located relative to distributions base_path
133
+ # @param [Hash] opts the optional parameters
134
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
135
+ # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
136
+ # @option opts [Boolean] :overwrite When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when &#39;repository&#39; is specified. Defaults to true.
137
+ # @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
138
+ # @option opts [String] :artifact Artifact file representing the physical content
139
+ # @option opts [File] :file An uploaded file that may be turned into the content unit.
140
+ # @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
141
+ # @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
142
+ # @option opts [RemoteNetworkConfig] :downloader_config Configuration for the download process (e.g., proxies, auth, timeouts). Only applicable when providing a &#39;file_url.
143
+ # @return [MavenMavenMetadataResponse]
144
+ describe 'upload test' do
145
+ it 'should work' do
146
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
147
+ end
148
+ end
149
+
150
+ end
@@ -0,0 +1,102 @@
1
+ =begin
2
+ #Pulp 3 API
3
+
4
+ #Fetch, Upload, Organize, and Distribute Software Packages
5
+
6
+ The version of the OpenAPI document: v3
7
+ Contact: pulp-list@redhat.com
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.10.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for PulpMavenClient::MavenMavenMetadataResponse
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe PulpMavenClient::MavenMavenMetadataResponse do
21
+ let(:instance) { PulpMavenClient::MavenMavenMetadataResponse.new }
22
+
23
+ describe 'test an instance of MavenMavenMetadataResponse' do
24
+ it 'should create an instance of MavenMavenMetadataResponse' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(PulpMavenClient::MavenMavenMetadataResponse)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "pulp_href"' do
31
+ it 'should work' do
32
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
+ end
34
+ end
35
+
36
+ describe 'test attribute "prn"' do
37
+ it 'should work' do
38
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
39
+ end
40
+ end
41
+
42
+ describe 'test attribute "pulp_created"' do
43
+ it 'should work' do
44
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
45
+ end
46
+ end
47
+
48
+ describe 'test attribute "pulp_last_updated"' do
49
+ it 'should work' do
50
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
51
+ end
52
+ end
53
+
54
+ describe 'test attribute "pulp_labels"' do
55
+ it 'should work' do
56
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
57
+ end
58
+ end
59
+
60
+ describe 'test attribute "vuln_report"' do
61
+ it 'should work' do
62
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
63
+ end
64
+ end
65
+
66
+ describe 'test attribute "artifact"' do
67
+ it 'should work' do
68
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
69
+ end
70
+ end
71
+
72
+ describe 'test attribute "group_id"' do
73
+ it 'should work' do
74
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
75
+ end
76
+ end
77
+
78
+ describe 'test attribute "artifact_id"' do
79
+ it 'should work' do
80
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
81
+ end
82
+ end
83
+
84
+ describe 'test attribute "version"' do
85
+ it 'should work' do
86
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
87
+ end
88
+ end
89
+
90
+ describe 'test attribute "filename"' do
91
+ it 'should work' do
92
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
93
+ end
94
+ end
95
+
96
+ describe 'test attribute "sha256"' do
97
+ it 'should work' do
98
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
99
+ end
100
+ end
101
+
102
+ end
@@ -0,0 +1,54 @@
1
+ =begin
2
+ #Pulp 3 API
3
+
4
+ #Fetch, Upload, Organize, and Distribute Software Packages
5
+
6
+ The version of the OpenAPI document: v3
7
+ Contact: pulp-list@redhat.com
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.10.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for PulpMavenClient::PaginatedmavenMavenMetadataResponseList
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe PulpMavenClient::PaginatedmavenMavenMetadataResponseList do
21
+ let(:instance) { PulpMavenClient::PaginatedmavenMavenMetadataResponseList.new }
22
+
23
+ describe 'test an instance of PaginatedmavenMavenMetadataResponseList' do
24
+ it 'should create an instance of PaginatedmavenMavenMetadataResponseList' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(PulpMavenClient::PaginatedmavenMavenMetadataResponseList)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "count"' do
31
+ it 'should work' do
32
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
+ end
34
+ end
35
+
36
+ describe 'test attribute "_next"' do
37
+ it 'should work' do
38
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
39
+ end
40
+ end
41
+
42
+ describe 'test attribute "previous"' do
43
+ it 'should work' do
44
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
45
+ end
46
+ end
47
+
48
+ describe 'test attribute "results"' do
49
+ it 'should work' do
50
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
51
+ end
52
+ end
53
+
54
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pulp_maven_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.16.1
4
+ version: 0.17.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-06-26 00:00:00.000000000 Z
11
+ date: 2026-06-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -90,11 +90,13 @@ files:
90
90
  - Rakefile
91
91
  - docs/AsyncOperationResponse.md
92
92
  - docs/ContentArtifactApi.md
93
+ - docs/ContentMetadataApi.md
93
94
  - docs/ContentSummaryResponse.md
94
95
  - docs/DistributionsMavenApi.md
95
96
  - docs/MavenMavenArtifactResponse.md
96
97
  - docs/MavenMavenDistribution.md
97
98
  - docs/MavenMavenDistributionResponse.md
99
+ - docs/MavenMavenMetadataResponse.md
98
100
  - docs/MavenMavenRemote.md
99
101
  - docs/MavenMavenRemoteResponse.md
100
102
  - docs/MavenMavenRemoteResponseHiddenFieldsInner.md
@@ -103,6 +105,7 @@ files:
103
105
  - docs/PaginatedRepositoryVersionResponseList.md
104
106
  - docs/PaginatedmavenMavenArtifactResponseList.md
105
107
  - docs/PaginatedmavenMavenDistributionResponseList.md
108
+ - docs/PaginatedmavenMavenMetadataResponseList.md
106
109
  - docs/PaginatedmavenMavenRemoteResponseList.md
107
110
  - docs/PaginatedmavenMavenRepositoryResponseList.md
108
111
  - docs/PatchedmavenMavenDistribution.md
@@ -125,6 +128,7 @@ files:
125
128
  - docs/UnsetLabelResponse.md
126
129
  - lib/pulp_maven_client.rb
127
130
  - lib/pulp_maven_client/api/content_artifact_api.rb
131
+ - lib/pulp_maven_client/api/content_metadata_api.rb
128
132
  - lib/pulp_maven_client/api/distributions_maven_api.rb
129
133
  - lib/pulp_maven_client/api/pulp_maven_api.rb
130
134
  - lib/pulp_maven_client/api/remotes_maven_api.rb
@@ -138,6 +142,7 @@ files:
138
142
  - lib/pulp_maven_client/models/maven_maven_artifact_response.rb
139
143
  - lib/pulp_maven_client/models/maven_maven_distribution.rb
140
144
  - lib/pulp_maven_client/models/maven_maven_distribution_response.rb
145
+ - lib/pulp_maven_client/models/maven_maven_metadata_response.rb
141
146
  - lib/pulp_maven_client/models/maven_maven_remote.rb
142
147
  - lib/pulp_maven_client/models/maven_maven_remote_response.rb
143
148
  - lib/pulp_maven_client/models/maven_maven_remote_response_hidden_fields_inner.rb
@@ -146,6 +151,7 @@ files:
146
151
  - lib/pulp_maven_client/models/paginated_repository_version_response_list.rb
147
152
  - lib/pulp_maven_client/models/paginatedmaven_maven_artifact_response_list.rb
148
153
  - lib/pulp_maven_client/models/paginatedmaven_maven_distribution_response_list.rb
154
+ - lib/pulp_maven_client/models/paginatedmaven_maven_metadata_response_list.rb
149
155
  - lib/pulp_maven_client/models/paginatedmaven_maven_remote_response_list.rb
150
156
  - lib/pulp_maven_client/models/paginatedmaven_maven_repository_response_list.rb
151
157
  - lib/pulp_maven_client/models/patchedmaven_maven_distribution.rb
@@ -165,6 +171,7 @@ files:
165
171
  - lib/pulp_maven_client/version.rb
166
172
  - pulp_maven_client.gemspec
167
173
  - spec/api/content_artifact_api_spec.rb
174
+ - spec/api/content_metadata_api_spec.rb
168
175
  - spec/api/distributions_maven_api_spec.rb
169
176
  - spec/api/pulp_maven_api_spec.rb
170
177
  - spec/api/remotes_maven_api_spec.rb
@@ -175,6 +182,7 @@ files:
175
182
  - spec/models/maven_maven_artifact_response_spec.rb
176
183
  - spec/models/maven_maven_distribution_response_spec.rb
177
184
  - spec/models/maven_maven_distribution_spec.rb
185
+ - spec/models/maven_maven_metadata_response_spec.rb
178
186
  - spec/models/maven_maven_remote_response_hidden_fields_inner_spec.rb
179
187
  - spec/models/maven_maven_remote_response_spec.rb
180
188
  - spec/models/maven_maven_remote_spec.rb
@@ -183,6 +191,7 @@ files:
183
191
  - spec/models/paginated_repository_version_response_list_spec.rb
184
192
  - spec/models/paginatedmaven_maven_artifact_response_list_spec.rb
185
193
  - spec/models/paginatedmaven_maven_distribution_response_list_spec.rb
194
+ - spec/models/paginatedmaven_maven_metadata_response_list_spec.rb
186
195
  - spec/models/paginatedmaven_maven_remote_response_list_spec.rb
187
196
  - spec/models/paginatedmaven_maven_repository_response_list_spec.rb
188
197
  - spec/models/patchedmaven_maven_distribution_spec.rb
@@ -230,6 +239,8 @@ test_files:
230
239
  - spec/api/remotes_maven_api_spec.rb
231
240
  - spec/api/repositories_maven_versions_api_spec.rb
232
241
  - spec/api/pulp_maven_api_spec.rb
242
+ - spec/api/content_metadata_api_spec.rb
243
+ - spec/models/maven_maven_metadata_response_spec.rb
233
244
  - spec/models/content_summary_response_spec.rb
234
245
  - spec/models/remote_network_config_spec.rb
235
246
  - spec/models/maven_maven_repository_response_spec.rb
@@ -250,6 +261,7 @@ test_files:
250
261
  - spec/models/repair_spec.rb
251
262
  - spec/models/maven_maven_distribution_response_spec.rb
252
263
  - spec/models/async_operation_response_spec.rb
264
+ - spec/models/paginatedmaven_maven_metadata_response_list_spec.rb
253
265
  - spec/models/policy_enum_spec.rb
254
266
  - spec/models/repository_add_cached_content_spec.rb
255
267
  - spec/models/set_label_response_spec.rb