pulp_maven_client 0.8.0 → 0.8.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -5
- data/docs/ContentArtifactApi.md +13 -9
- data/docs/DistributionsMavenApi.md +5 -3
- data/docs/MavenMavenArtifactResponse.md +4 -0
- data/docs/MavenMavenDistributionResponse.md +6 -0
- data/docs/MavenMavenRemoteResponse.md +4 -2
- data/docs/MavenMavenRemoteResponseHiddenFields.md +2 -2
- data/docs/MavenMavenRepositoryResponse.md +4 -0
- data/docs/PaginatedRepositoryVersionResponseList.md +2 -2
- data/docs/PaginatedmavenMavenArtifactResponseList.md +2 -2
- data/docs/PaginatedmavenMavenDistributionResponseList.md +2 -2
- data/docs/PaginatedmavenMavenRemoteResponseList.md +2 -2
- data/docs/PaginatedmavenMavenRepositoryResponseList.md +2 -2
- data/docs/PulpMavenApi.md +1 -1
- data/docs/RemotesMavenApi.md +5 -3
- data/docs/RepositoriesMavenApi.md +9 -7
- data/docs/RepositoriesMavenVersionsApi.md +9 -7
- data/docs/RepositoryVersionResponse.md +4 -0
- data/lib/pulp_maven_client/api/content_artifact_api.rb +14 -8
- data/lib/pulp_maven_client/api/distributions_maven_api.rb +5 -2
- data/lib/pulp_maven_client/api/remotes_maven_api.rb +5 -2
- data/lib/pulp_maven_client/api/repositories_maven_api.rb +9 -6
- data/lib/pulp_maven_client/api/repositories_maven_versions_api.rb +10 -7
- data/lib/pulp_maven_client/configuration.rb +2 -2
- data/lib/pulp_maven_client/models/maven_maven_artifact_response.rb +21 -1
- data/lib/pulp_maven_client/models/maven_maven_distribution_response.rb +31 -1
- data/lib/pulp_maven_client/models/maven_maven_remote_response.rb +21 -11
- data/lib/pulp_maven_client/models/maven_maven_remote_response_hidden_fields.rb +10 -0
- data/lib/pulp_maven_client/models/maven_maven_repository_response.rb +21 -1
- data/lib/pulp_maven_client/models/paginated_repository_version_response_list.rb +10 -0
- data/lib/pulp_maven_client/models/paginatedmaven_maven_artifact_response_list.rb +10 -0
- data/lib/pulp_maven_client/models/paginatedmaven_maven_distribution_response_list.rb +10 -0
- data/lib/pulp_maven_client/models/paginatedmaven_maven_remote_response_list.rb +10 -0
- data/lib/pulp_maven_client/models/paginatedmaven_maven_repository_response_list.rb +10 -0
- data/lib/pulp_maven_client/models/repository_version_response.rb +22 -2
- data/lib/pulp_maven_client/version.rb +1 -1
- data/spec/api/content_artifact_api_spec.rb +6 -4
- data/spec/api/distributions_maven_api_spec.rb +2 -1
- data/spec/api/remotes_maven_api_spec.rb +2 -1
- data/spec/api/repositories_maven_api_spec.rb +4 -3
- data/spec/api/repositories_maven_versions_api_spec.rb +4 -3
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/maven_maven_artifact_response_spec.rb +12 -0
- data/spec/models/maven_maven_distribution_response_spec.rb +18 -0
- data/spec/models/maven_maven_remote_response_spec.rb +12 -6
- data/spec/models/maven_maven_repository_response_spec.rb +12 -0
- data/spec/models/repository_version_response_spec.rb +12 -0
- metadata +37 -37
@@ -88,12 +88,22 @@ module PulpMavenClient
|
|
88
88
|
# @return Array for valid properties with the reasons
|
89
89
|
def list_invalid_properties
|
90
90
|
invalid_properties = Array.new
|
91
|
+
if @count.nil?
|
92
|
+
invalid_properties.push('invalid value for "count", count cannot be nil.')
|
93
|
+
end
|
94
|
+
|
95
|
+
if @results.nil?
|
96
|
+
invalid_properties.push('invalid value for "results", results cannot be nil.')
|
97
|
+
end
|
98
|
+
|
91
99
|
invalid_properties
|
92
100
|
end
|
93
101
|
|
94
102
|
# Check to see if the all the properties in the model are valid
|
95
103
|
# @return true if the model is valid
|
96
104
|
def valid?
|
105
|
+
return false if @count.nil?
|
106
|
+
return false if @results.nil?
|
97
107
|
true
|
98
108
|
end
|
99
109
|
|
@@ -88,12 +88,22 @@ module PulpMavenClient
|
|
88
88
|
# @return Array for valid properties with the reasons
|
89
89
|
def list_invalid_properties
|
90
90
|
invalid_properties = Array.new
|
91
|
+
if @count.nil?
|
92
|
+
invalid_properties.push('invalid value for "count", count cannot be nil.')
|
93
|
+
end
|
94
|
+
|
95
|
+
if @results.nil?
|
96
|
+
invalid_properties.push('invalid value for "results", results cannot be nil.')
|
97
|
+
end
|
98
|
+
|
91
99
|
invalid_properties
|
92
100
|
end
|
93
101
|
|
94
102
|
# Check to see if the all the properties in the model are valid
|
95
103
|
# @return true if the model is valid
|
96
104
|
def valid?
|
105
|
+
return false if @count.nil?
|
106
|
+
return false if @results.nil?
|
97
107
|
true
|
98
108
|
end
|
99
109
|
|
@@ -88,12 +88,22 @@ module PulpMavenClient
|
|
88
88
|
# @return Array for valid properties with the reasons
|
89
89
|
def list_invalid_properties
|
90
90
|
invalid_properties = Array.new
|
91
|
+
if @count.nil?
|
92
|
+
invalid_properties.push('invalid value for "count", count cannot be nil.')
|
93
|
+
end
|
94
|
+
|
95
|
+
if @results.nil?
|
96
|
+
invalid_properties.push('invalid value for "results", results cannot be nil.')
|
97
|
+
end
|
98
|
+
|
91
99
|
invalid_properties
|
92
100
|
end
|
93
101
|
|
94
102
|
# Check to see if the all the properties in the model are valid
|
95
103
|
# @return true if the model is valid
|
96
104
|
def valid?
|
105
|
+
return false if @count.nil?
|
106
|
+
return false if @results.nil?
|
97
107
|
true
|
98
108
|
end
|
99
109
|
|
@@ -88,12 +88,22 @@ module PulpMavenClient
|
|
88
88
|
# @return Array for valid properties with the reasons
|
89
89
|
def list_invalid_properties
|
90
90
|
invalid_properties = Array.new
|
91
|
+
if @count.nil?
|
92
|
+
invalid_properties.push('invalid value for "count", count cannot be nil.')
|
93
|
+
end
|
94
|
+
|
95
|
+
if @results.nil?
|
96
|
+
invalid_properties.push('invalid value for "results", results cannot be nil.')
|
97
|
+
end
|
98
|
+
|
91
99
|
invalid_properties
|
92
100
|
end
|
93
101
|
|
94
102
|
# Check to see if the all the properties in the model are valid
|
95
103
|
# @return true if the model is valid
|
96
104
|
def valid?
|
105
|
+
return false if @count.nil?
|
106
|
+
return false if @results.nil?
|
97
107
|
true
|
98
108
|
end
|
99
109
|
|
@@ -88,12 +88,22 @@ module PulpMavenClient
|
|
88
88
|
# @return Array for valid properties with the reasons
|
89
89
|
def list_invalid_properties
|
90
90
|
invalid_properties = Array.new
|
91
|
+
if @count.nil?
|
92
|
+
invalid_properties.push('invalid value for "count", count cannot be nil.')
|
93
|
+
end
|
94
|
+
|
95
|
+
if @results.nil?
|
96
|
+
invalid_properties.push('invalid value for "results", results cannot be nil.')
|
97
|
+
end
|
98
|
+
|
91
99
|
invalid_properties
|
92
100
|
end
|
93
101
|
|
94
102
|
# Check to see if the all the properties in the model are valid
|
95
103
|
# @return true if the model is valid
|
96
104
|
def valid?
|
105
|
+
return false if @count.nil?
|
106
|
+
return false if @results.nil?
|
97
107
|
true
|
98
108
|
end
|
99
109
|
|
@@ -13,13 +13,19 @@ OpenAPI Generator version: 4.3.1
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module PulpMavenClient
|
16
|
-
# Base serializer for use with
|
16
|
+
# Base serializer for use with [pulpcore.app.models.Model][] This ensures that all Serializers provide values for the 'pulp_href` field. The class provides a default for the ``ref_name`` attribute in the ModelSerializers's ``Meta`` class. This ensures that the OpenAPI definitions of plugins are namespaced properly.
|
17
17
|
class RepositoryVersionResponse
|
18
18
|
attr_accessor :pulp_href
|
19
19
|
|
20
|
+
# The Pulp Resource Name (PRN).
|
21
|
+
attr_accessor :prn
|
22
|
+
|
20
23
|
# Timestamp of creation.
|
21
24
|
attr_accessor :pulp_created
|
22
25
|
|
26
|
+
# Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same.
|
27
|
+
attr_accessor :pulp_last_updated
|
28
|
+
|
23
29
|
attr_accessor :number
|
24
30
|
|
25
31
|
attr_accessor :repository
|
@@ -34,7 +40,9 @@ module PulpMavenClient
|
|
34
40
|
def self.attribute_map
|
35
41
|
{
|
36
42
|
:'pulp_href' => :'pulp_href',
|
43
|
+
:'prn' => :'prn',
|
37
44
|
:'pulp_created' => :'pulp_created',
|
45
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
38
46
|
:'number' => :'number',
|
39
47
|
:'repository' => :'repository',
|
40
48
|
:'base_version' => :'base_version',
|
@@ -46,7 +54,9 @@ module PulpMavenClient
|
|
46
54
|
def self.openapi_types
|
47
55
|
{
|
48
56
|
:'pulp_href' => :'String',
|
57
|
+
:'prn' => :'String',
|
49
58
|
:'pulp_created' => :'DateTime',
|
59
|
+
:'pulp_last_updated' => :'DateTime',
|
50
60
|
:'number' => :'Integer',
|
51
61
|
:'repository' => :'String',
|
52
62
|
:'base_version' => :'String',
|
@@ -79,10 +89,18 @@ module PulpMavenClient
|
|
79
89
|
self.pulp_href = attributes[:'pulp_href']
|
80
90
|
end
|
81
91
|
|
92
|
+
if attributes.key?(:'prn')
|
93
|
+
self.prn = attributes[:'prn']
|
94
|
+
end
|
95
|
+
|
82
96
|
if attributes.key?(:'pulp_created')
|
83
97
|
self.pulp_created = attributes[:'pulp_created']
|
84
98
|
end
|
85
99
|
|
100
|
+
if attributes.key?(:'pulp_last_updated')
|
101
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
102
|
+
end
|
103
|
+
|
86
104
|
if attributes.key?(:'number')
|
87
105
|
self.number = attributes[:'number']
|
88
106
|
end
|
@@ -119,7 +137,9 @@ module PulpMavenClient
|
|
119
137
|
return true if self.equal?(o)
|
120
138
|
self.class == o.class &&
|
121
139
|
pulp_href == o.pulp_href &&
|
140
|
+
prn == o.prn &&
|
122
141
|
pulp_created == o.pulp_created &&
|
142
|
+
pulp_last_updated == o.pulp_last_updated &&
|
123
143
|
number == o.number &&
|
124
144
|
repository == o.repository &&
|
125
145
|
base_version == o.base_version &&
|
@@ -135,7 +155,7 @@ module PulpMavenClient
|
|
135
155
|
# Calculates hash code according to all attributes.
|
136
156
|
# @return [Integer] Hash code
|
137
157
|
def hash
|
138
|
-
[pulp_href, pulp_created, number, repository, base_version, content_summary].hash
|
158
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, number, repository, base_version, content_summary].hash
|
139
159
|
end
|
140
160
|
|
141
161
|
# Builds the object from hash
|
@@ -54,12 +54,14 @@ describe 'ContentArtifactApi' do
|
|
54
54
|
# @option opts [Integer] :limit Number of results to return per page.
|
55
55
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
56
56
|
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `group_id` - Group id * `-group_id` - Group id (descending) * `artifact_id` - Artifact id * `-artifact_id` - Artifact id (descending) * `version` - Version * `-version` - Version (descending) * `filename` - Filename * `-filename` - Filename (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
57
|
+
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
58
|
+
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
57
59
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
58
60
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
59
|
-
# @option opts [String] :q
|
60
|
-
# @option opts [String] :repository_version Repository Version referenced by HREF
|
61
|
-
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
62
|
-
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
61
|
+
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
62
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF/PRN
|
63
|
+
# @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
|
64
|
+
# @option opts [String] :repository_version_removed Repository Version referenced by HREF/PRN
|
63
65
|
# @option opts [String] :version Filter results where version matches value
|
64
66
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
65
67
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
@@ -76,10 +76,11 @@ describe 'DistributionsMavenApi' do
|
|
76
76
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
77
77
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
78
78
|
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
79
|
+
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
79
80
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
80
81
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
81
82
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
82
|
-
# @option opts [String] :q
|
83
|
+
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
83
84
|
# @option opts [String] :repository Filter results where repository matches value
|
84
85
|
# @option opts [Array<String>] :repository__in Filter results where repository is in a comma-separated list of values
|
85
86
|
# @option opts [String] :with_content Filter distributions based on the content served by them
|
@@ -72,6 +72,7 @@ describe 'RemotesMavenApi' do
|
|
72
72
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
73
73
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
74
74
|
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `url` - Url * `-url` - Url (descending) * `ca_cert` - Ca cert * `-ca_cert` - Ca cert (descending) * `client_cert` - Client cert * `-client_cert` - Client cert (descending) * `client_key` - Client key * `-client_key` - Client key (descending) * `tls_validation` - Tls validation * `-tls_validation` - Tls validation (descending) * `username` - Username * `-username` - Username (descending) * `password` - Password * `-password` - Password (descending) * `proxy_url` - Proxy url * `-proxy_url` - Proxy url (descending) * `proxy_username` - Proxy username * `-proxy_username` - Proxy username (descending) * `proxy_password` - Proxy password * `-proxy_password` - Proxy password (descending) * `download_concurrency` - Download concurrency * `-download_concurrency` - Download concurrency (descending) * `max_retries` - Max retries * `-max_retries` - Max retries (descending) * `policy` - Policy * `-policy` - Policy (descending) * `total_timeout` - Total timeout * `-total_timeout` - Total timeout (descending) * `connect_timeout` - Connect timeout * `-connect_timeout` - Connect timeout (descending) * `sock_connect_timeout` - Sock connect timeout * `-sock_connect_timeout` - Sock connect timeout (descending) * `sock_read_timeout` - Sock read timeout * `-sock_read_timeout` - Sock read timeout (descending) * `headers` - Headers * `-headers` - Headers (descending) * `rate_limit` - Rate limit * `-rate_limit` - Rate limit (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
75
|
+
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
75
76
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
76
77
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
77
78
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
@@ -81,7 +82,7 @@ describe 'RemotesMavenApi' do
|
|
81
82
|
# @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
|
82
83
|
# @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
|
83
84
|
# @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
|
84
|
-
# @option opts [String] :q
|
85
|
+
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
85
86
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
86
87
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
87
88
|
# @return [PaginatedmavenMavenRemoteResponseList]
|
@@ -73,7 +73,7 @@ describe 'RepositoriesMavenApi' do
|
|
73
73
|
# List maven repositorys
|
74
74
|
# A ViewSet for MavenRemote.
|
75
75
|
# @param [Hash] opts the optional parameters
|
76
|
-
# @option opts [String] :latest_with_content Content Unit referenced by HREF
|
76
|
+
# @option opts [String] :latest_with_content Content Unit referenced by HREF/PRN
|
77
77
|
# @option opts [Integer] :limit Number of results to return per page.
|
78
78
|
# @option opts [String] :name Filter results where name matches value
|
79
79
|
# @option opts [String] :name__contains Filter results where name contains value
|
@@ -86,10 +86,11 @@ describe 'RepositoriesMavenApi' do
|
|
86
86
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
87
87
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
88
88
|
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
89
|
+
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
89
90
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
90
91
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
91
92
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
92
|
-
# @option opts [String] :q
|
93
|
+
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
93
94
|
# @option opts [String] :remote Foreign Key referenced by HREF
|
94
95
|
# @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
|
95
96
|
# @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
|
@@ -99,7 +100,7 @@ describe 'RepositoriesMavenApi' do
|
|
99
100
|
# @option opts [Integer] :retain_repo_versions__lte Filter results where retain_repo_versions is less than or equal to value
|
100
101
|
# @option opts [Integer] :retain_repo_versions__ne Filter results where retain_repo_versions not equal to value
|
101
102
|
# @option opts [Array<Integer>] :retain_repo_versions__range Filter results where retain_repo_versions is between two comma separated values
|
102
|
-
# @option opts [String] :with_content Content Unit referenced by HREF
|
103
|
+
# @option opts [String] :with_content Content Unit referenced by HREF/PRN
|
103
104
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
104
105
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
105
106
|
# @return [PaginatedmavenMavenRepositoryResponseList]
|
@@ -49,8 +49,8 @@ describe 'RepositoriesMavenVersionsApi' do
|
|
49
49
|
# MavenRepositoryVersion represents a single Maven repository version.
|
50
50
|
# @param maven_maven_repository_href
|
51
51
|
# @param [Hash] opts the optional parameters
|
52
|
-
# @option opts [String] :content Content Unit referenced by HREF
|
53
|
-
# @option opts [String] :content__in
|
52
|
+
# @option opts [String] :content Content Unit referenced by HREF/PRN
|
53
|
+
# @option opts [Array<String>] :content__in Multiple values may be separated by commas.
|
54
54
|
# @option opts [Integer] :limit Number of results to return per page.
|
55
55
|
# @option opts [Integer] :number Filter results where number matches value
|
56
56
|
# @option opts [Integer] :number__gt Filter results where number is greater than value
|
@@ -60,6 +60,7 @@ describe 'RepositoriesMavenVersionsApi' do
|
|
60
60
|
# @option opts [Array<Integer>] :number__range Filter results where number is between two comma separated values
|
61
61
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
62
62
|
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `number` - Number * `-number` - Number (descending) * `complete` - Complete * `-complete` - Complete (descending) * `info` - Info * `-info` - Info (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
63
|
+
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
63
64
|
# @option opts [DateTime] :pulp_created Filter results where pulp_created matches value
|
64
65
|
# @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
|
65
66
|
# @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
@@ -67,7 +68,7 @@ describe 'RepositoriesMavenVersionsApi' do
|
|
67
68
|
# @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
|
68
69
|
# @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
69
70
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
70
|
-
# @option opts [String] :q
|
71
|
+
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
71
72
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
72
73
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
73
74
|
# @return [PaginatedRepositoryVersionResponseList]
|
data/spec/configuration_spec.rb
CHANGED
@@ -18,7 +18,7 @@ describe PulpMavenClient::Configuration do
|
|
18
18
|
before(:each) do
|
19
19
|
# uncomment below to setup host and base_path
|
20
20
|
# require 'URI'
|
21
|
-
# uri = URI.parse("http://
|
21
|
+
# uri = URI.parse("http://localhost:24817")
|
22
22
|
# PulpMavenClient.configure do |c|
|
23
23
|
# c.host = uri.host
|
24
24
|
# c.base_path = uri.path
|
@@ -28,14 +28,14 @@ describe PulpMavenClient::Configuration do
|
|
28
28
|
describe '#base_url' do
|
29
29
|
it 'should have the default value' do
|
30
30
|
# uncomment below to test default value of the base path
|
31
|
-
# expect(config.base_url).to eq("http://
|
31
|
+
# expect(config.base_url).to eq("http://localhost:24817")
|
32
32
|
end
|
33
33
|
|
34
34
|
it 'should remove trailing slashes' do
|
35
35
|
[nil, '', '/', '//'].each do |base_path|
|
36
36
|
config.base_path = base_path
|
37
37
|
# uncomment below to test trailing slashes
|
38
|
-
# expect(config.base_url).to eq("http://
|
38
|
+
# expect(config.base_url).to eq("http://localhost:24817")
|
39
39
|
end
|
40
40
|
end
|
41
41
|
end
|
@@ -38,12 +38,24 @@ describe 'MavenMavenArtifactResponse' do
|
|
38
38
|
end
|
39
39
|
end
|
40
40
|
|
41
|
+
describe 'test attribute "prn"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
41
47
|
describe 'test attribute "pulp_created"' do
|
42
48
|
it 'should work' do
|
43
49
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
50
|
end
|
45
51
|
end
|
46
52
|
|
53
|
+
describe 'test attribute "pulp_last_updated"' do
|
54
|
+
it 'should work' do
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
47
59
|
describe 'test attribute "artifact"' do
|
48
60
|
it 'should work' do
|
49
61
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -38,12 +38,24 @@ describe 'MavenMavenDistributionResponse' do
|
|
38
38
|
end
|
39
39
|
end
|
40
40
|
|
41
|
+
describe 'test attribute "prn"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
41
47
|
describe 'test attribute "pulp_created"' do
|
42
48
|
it 'should work' do
|
43
49
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
50
|
end
|
45
51
|
end
|
46
52
|
|
53
|
+
describe 'test attribute "pulp_last_updated"' do
|
54
|
+
it 'should work' do
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
47
59
|
describe 'test attribute "base_path"' do
|
48
60
|
it 'should work' do
|
49
61
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -62,6 +74,12 @@ describe 'MavenMavenDistributionResponse' do
|
|
62
74
|
end
|
63
75
|
end
|
64
76
|
|
77
|
+
describe 'test attribute "no_content_change_since"' do
|
78
|
+
it 'should work' do
|
79
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
80
|
+
end
|
81
|
+
end
|
82
|
+
|
65
83
|
describe 'test attribute "hidden"' do
|
66
84
|
it 'should work' do
|
67
85
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -38,12 +38,24 @@ describe 'MavenMavenRemoteResponse' do
|
|
38
38
|
end
|
39
39
|
end
|
40
40
|
|
41
|
+
describe 'test attribute "prn"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
41
47
|
describe 'test attribute "pulp_created"' do
|
42
48
|
it 'should work' do
|
43
49
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
50
|
end
|
45
51
|
end
|
46
52
|
|
53
|
+
describe 'test attribute "pulp_last_updated"' do
|
54
|
+
it 'should work' do
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
47
59
|
describe 'test attribute "name"' do
|
48
60
|
it 'should work' do
|
49
61
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -86,12 +98,6 @@ describe 'MavenMavenRemoteResponse' do
|
|
86
98
|
end
|
87
99
|
end
|
88
100
|
|
89
|
-
describe 'test attribute "pulp_last_updated"' do
|
90
|
-
it 'should work' do
|
91
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
92
|
-
end
|
93
|
-
end
|
94
|
-
|
95
101
|
describe 'test attribute "download_concurrency"' do
|
96
102
|
it 'should work' do
|
97
103
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -38,12 +38,24 @@ describe 'MavenMavenRepositoryResponse' do
|
|
38
38
|
end
|
39
39
|
end
|
40
40
|
|
41
|
+
describe 'test attribute "prn"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
41
47
|
describe 'test attribute "pulp_created"' do
|
42
48
|
it 'should work' do
|
43
49
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
50
|
end
|
45
51
|
end
|
46
52
|
|
53
|
+
describe 'test attribute "pulp_last_updated"' do
|
54
|
+
it 'should work' do
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
47
59
|
describe 'test attribute "versions_href"' do
|
48
60
|
it 'should work' do
|
49
61
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -38,12 +38,24 @@ describe 'RepositoryVersionResponse' do
|
|
38
38
|
end
|
39
39
|
end
|
40
40
|
|
41
|
+
describe 'test attribute "prn"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
41
47
|
describe 'test attribute "pulp_created"' do
|
42
48
|
it 'should work' do
|
43
49
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
50
|
end
|
45
51
|
end
|
46
52
|
|
53
|
+
describe 'test attribute "pulp_last_updated"' do
|
54
|
+
it 'should work' do
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
47
59
|
describe 'test attribute "number"' do
|
48
60
|
it 'should work' do
|
49
61
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
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.8.
|
4
|
+
version: 0.8.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OpenAPI-Generator
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2025-02-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -34,42 +34,42 @@ dependencies:
|
|
34
34
|
name: json
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
36
36
|
requirements:
|
37
|
-
- - ">="
|
38
|
-
- !ruby/object:Gem::Version
|
39
|
-
version: 2.1.0
|
40
37
|
- - "~>"
|
41
38
|
- !ruby/object:Gem::Version
|
42
39
|
version: '2.1'
|
40
|
+
- - ">="
|
41
|
+
- !ruby/object:Gem::Version
|
42
|
+
version: 2.1.0
|
43
43
|
type: :runtime
|
44
44
|
prerelease: false
|
45
45
|
version_requirements: !ruby/object:Gem::Requirement
|
46
46
|
requirements:
|
47
|
-
- - ">="
|
48
|
-
- !ruby/object:Gem::Version
|
49
|
-
version: 2.1.0
|
50
47
|
- - "~>"
|
51
48
|
- !ruby/object:Gem::Version
|
52
49
|
version: '2.1'
|
50
|
+
- - ">="
|
51
|
+
- !ruby/object:Gem::Version
|
52
|
+
version: 2.1.0
|
53
53
|
- !ruby/object:Gem::Dependency
|
54
54
|
name: rspec
|
55
55
|
requirement: !ruby/object:Gem::Requirement
|
56
56
|
requirements:
|
57
|
-
- - ">="
|
58
|
-
- !ruby/object:Gem::Version
|
59
|
-
version: 3.6.0
|
60
57
|
- - "~>"
|
61
58
|
- !ruby/object:Gem::Version
|
62
59
|
version: '3.6'
|
60
|
+
- - ">="
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: 3.6.0
|
63
63
|
type: :development
|
64
64
|
prerelease: false
|
65
65
|
version_requirements: !ruby/object:Gem::Requirement
|
66
66
|
requirements:
|
67
|
-
- - ">="
|
68
|
-
- !ruby/object:Gem::Version
|
69
|
-
version: 3.6.0
|
70
67
|
- - "~>"
|
71
68
|
- !ruby/object:Gem::Version
|
72
69
|
version: '3.6'
|
70
|
+
- - ">="
|
71
|
+
- !ruby/object:Gem::Version
|
72
|
+
version: 3.6.0
|
73
73
|
description: Fetch, Upload, Organize, and Distribute Software Packages
|
74
74
|
email:
|
75
75
|
- pulp-list@redhat.com
|
@@ -192,7 +192,7 @@ homepage: https://github.com/pulp/pulp_maven
|
|
192
192
|
licenses:
|
193
193
|
- GPLv2+
|
194
194
|
metadata: {}
|
195
|
-
post_install_message:
|
195
|
+
post_install_message:
|
196
196
|
rdoc_options: []
|
197
197
|
require_paths:
|
198
198
|
- lib
|
@@ -207,44 +207,44 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
207
207
|
- !ruby/object:Gem::Version
|
208
208
|
version: '0'
|
209
209
|
requirements: []
|
210
|
-
rubygems_version: 3.
|
211
|
-
signing_key:
|
210
|
+
rubygems_version: 3.4.20
|
211
|
+
signing_key:
|
212
212
|
specification_version: 4
|
213
213
|
summary: Pulp 3 API Ruby Gem
|
214
214
|
test_files:
|
215
|
-
- spec/api/repositories_maven_versions_api_spec.rb
|
216
215
|
- spec/api/remotes_maven_api_spec.rb
|
217
216
|
- spec/api/distributions_maven_api_spec.rb
|
217
|
+
- spec/api/content_artifact_api_spec.rb
|
218
|
+
- spec/api/repositories_maven_versions_api_spec.rb
|
218
219
|
- spec/api/pulp_maven_api_spec.rb
|
219
220
|
- spec/api/repositories_maven_api_spec.rb
|
220
|
-
- spec/api/content_artifact_api_spec.rb
|
221
221
|
- spec/api_client_spec.rb
|
222
222
|
- spec/configuration_spec.rb
|
223
|
-
- spec/models/maven_maven_remote_response_spec.rb
|
224
223
|
- spec/models/repository_version_response_spec.rb
|
225
|
-
- spec/models/maven_maven_remote_response_hidden_fields_spec.rb
|
226
|
-
- spec/models/paginated_repository_version_response_list_spec.rb
|
227
|
-
- spec/models/policy_enum_spec.rb
|
228
224
|
- spec/models/patchedmaven_maven_repository_spec.rb
|
229
|
-
- spec/models/maven_maven_distribution_spec.rb
|
230
|
-
- spec/models/maven_maven_remote_spec.rb
|
231
|
-
- spec/models/maven_maven_repository_response_spec.rb
|
232
|
-
- spec/models/patchedmaven_maven_distribution_spec.rb
|
233
|
-
- spec/models/set_label_response_spec.rb
|
234
|
-
- spec/models/maven_maven_artifact_response_spec.rb
|
235
|
-
- spec/models/maven_maven_artifact_spec.rb
|
236
|
-
- spec/models/set_label_spec.rb
|
237
|
-
- spec/models/maven_maven_distribution_response_spec.rb
|
238
225
|
- spec/models/paginatedmaven_maven_distribution_response_list_spec.rb
|
239
|
-
- spec/models/unset_label_spec.rb
|
240
|
-
- spec/models/patchedmaven_maven_remote_spec.rb
|
241
226
|
- spec/models/unset_label_response_spec.rb
|
242
|
-
- spec/models/
|
227
|
+
- spec/models/set_label_spec.rb
|
228
|
+
- spec/models/maven_maven_remote_spec.rb
|
243
229
|
- spec/models/maven_maven_repository_spec.rb
|
230
|
+
- spec/models/maven_maven_distribution_response_spec.rb
|
231
|
+
- spec/models/maven_maven_distribution_spec.rb
|
232
|
+
- spec/models/paginatedmaven_maven_repository_response_list_spec.rb
|
244
233
|
- spec/models/paginatedmaven_maven_artifact_response_list_spec.rb
|
245
234
|
- spec/models/repair_spec.rb
|
235
|
+
- spec/models/maven_maven_repository_response_spec.rb
|
236
|
+
- spec/models/maven_maven_remote_response_hidden_fields_spec.rb
|
246
237
|
- spec/models/content_summary_response_spec.rb
|
247
238
|
- spec/models/paginatedmaven_maven_remote_response_list_spec.rb
|
248
|
-
- spec/models/
|
239
|
+
- spec/models/maven_maven_artifact_response_spec.rb
|
249
240
|
- spec/models/repository_add_cached_content_spec.rb
|
241
|
+
- spec/models/set_label_response_spec.rb
|
242
|
+
- spec/models/patchedmaven_maven_remote_spec.rb
|
243
|
+
- spec/models/policy_enum_spec.rb
|
244
|
+
- spec/models/maven_maven_artifact_spec.rb
|
245
|
+
- spec/models/maven_maven_remote_response_spec.rb
|
246
|
+
- spec/models/async_operation_response_spec.rb
|
247
|
+
- spec/models/paginated_repository_version_response_list_spec.rb
|
248
|
+
- spec/models/patchedmaven_maven_distribution_spec.rb
|
249
|
+
- spec/models/unset_label_spec.rb
|
250
250
|
- spec/spec_helper.rb
|