pulp_maven_client 0.3.3 → 0.4.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.
- checksums.yaml +4 -4
- data/README.md +7 -4
- data/docs/ContentArtifactApi.md +8 -8
- data/docs/DistributionsMavenApi.md +18 -12
- data/docs/MavenMavenDistribution.md +1 -1
- data/docs/MavenMavenDistributionResponse.md +1 -1
- data/docs/MavenMavenRemote.md +1 -1
- data/docs/MavenMavenRemoteResponse.md +4 -2
- data/docs/MavenMavenRemoteResponseHiddenFields.md +19 -0
- data/docs/MavenMavenRepository.md +2 -2
- data/docs/MavenMavenRepositoryResponse.md +2 -2
- data/docs/PatchedmavenMavenDistribution.md +1 -1
- data/docs/PatchedmavenMavenRemote.md +1 -1
- data/docs/PatchedmavenMavenRepository.md +2 -2
- data/docs/PulpMavenApi.md +110 -0
- data/docs/RemotesMavenApi.md +12 -12
- data/docs/RepositoriesMavenApi.md +28 -10
- data/docs/RepositoriesMavenVersionsApi.md +12 -12
- data/lib/pulp_maven_client/api/content_artifact_api.rb +13 -13
- data/lib/pulp_maven_client/api/distributions_maven_api.rb +26 -17
- data/lib/pulp_maven_client/api/pulp_maven_api.rb +176 -0
- data/lib/pulp_maven_client/api/remotes_maven_api.rb +17 -17
- data/lib/pulp_maven_client/api/repositories_maven_api.rb +42 -15
- data/lib/pulp_maven_client/api/repositories_maven_versions_api.rb +17 -17
- data/lib/pulp_maven_client/api_client.rb +1 -1
- data/lib/pulp_maven_client/models/maven_maven_distribution.rb +4 -2
- data/lib/pulp_maven_client/models/maven_maven_distribution_response.rb +4 -2
- data/lib/pulp_maven_client/models/maven_maven_remote.rb +4 -2
- data/lib/pulp_maven_client/models/maven_maven_remote_response.rb +21 -7
- data/lib/pulp_maven_client/models/maven_maven_remote_response_hidden_fields.rb +215 -0
- data/lib/pulp_maven_client/models/maven_maven_repository.rb +5 -3
- data/lib/pulp_maven_client/models/maven_maven_repository_response.rb +5 -3
- data/lib/pulp_maven_client/models/patchedmaven_maven_distribution.rb +4 -2
- data/lib/pulp_maven_client/models/patchedmaven_maven_remote.rb +4 -2
- data/lib/pulp_maven_client/models/patchedmaven_maven_repository.rb +5 -3
- data/lib/pulp_maven_client/version.rb +1 -1
- data/lib/pulp_maven_client.rb +2 -0
- data/pulp_maven_client.gemspec +3 -3
- data/spec/api/content_artifact_api_spec.rb +4 -4
- data/spec/api/distributions_maven_api_spec.rb +9 -6
- data/spec/api/pulp_maven_api_spec.rb +61 -0
- data/spec/api/remotes_maven_api_spec.rb +6 -6
- data/spec/api/repositories_maven_api_spec.rb +14 -5
- data/spec/api/repositories_maven_versions_api_spec.rb +6 -6
- data/spec/models/maven_maven_remote_response_hidden_fields_spec.rb +47 -0
- data/spec/models/maven_maven_remote_response_spec.rb +6 -0
- metadata +34 -27
- data/git_push.sh +0 -58
@@ -32,7 +32,7 @@ module PulpMavenClient
|
|
32
32
|
# An optional description.
|
33
33
|
attr_accessor :description
|
34
34
|
|
35
|
-
# Retain X versions of the repository. Default is null which retains all versions.
|
35
|
+
# Retain X versions of the repository. Default is null which retains all versions.
|
36
36
|
attr_accessor :retain_repo_versions
|
37
37
|
|
38
38
|
# An optional remote to use by default when syncing.
|
@@ -59,7 +59,7 @@ module PulpMavenClient
|
|
59
59
|
:'pulp_href' => :'String',
|
60
60
|
:'pulp_created' => :'DateTime',
|
61
61
|
:'versions_href' => :'String',
|
62
|
-
:'pulp_labels' => :'
|
62
|
+
:'pulp_labels' => :'Hash<String, String>',
|
63
63
|
:'latest_version_href' => :'String',
|
64
64
|
:'name' => :'String',
|
65
65
|
:'description' => :'String',
|
@@ -105,7 +105,9 @@ module PulpMavenClient
|
|
105
105
|
end
|
106
106
|
|
107
107
|
if attributes.key?(:'pulp_labels')
|
108
|
-
|
108
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
109
|
+
self.pulp_labels = value
|
110
|
+
end
|
109
111
|
end
|
110
112
|
|
111
113
|
if attributes.key?(:'latest_version_href')
|
@@ -49,7 +49,7 @@ module PulpMavenClient
|
|
49
49
|
{
|
50
50
|
:'base_path' => :'String',
|
51
51
|
:'content_guard' => :'String',
|
52
|
-
:'pulp_labels' => :'
|
52
|
+
:'pulp_labels' => :'Hash<String, String>',
|
53
53
|
:'name' => :'String',
|
54
54
|
:'repository' => :'String',
|
55
55
|
:'remote' => :'String'
|
@@ -89,7 +89,9 @@ module PulpMavenClient
|
|
89
89
|
end
|
90
90
|
|
91
91
|
if attributes.key?(:'pulp_labels')
|
92
|
-
|
92
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
93
|
+
self.pulp_labels = value
|
94
|
+
end
|
93
95
|
end
|
94
96
|
|
95
97
|
if attributes.key?(:'name')
|
@@ -118,7 +118,7 @@ module PulpMavenClient
|
|
118
118
|
:'proxy_password' => :'String',
|
119
119
|
:'username' => :'String',
|
120
120
|
:'password' => :'String',
|
121
|
-
:'pulp_labels' => :'
|
121
|
+
:'pulp_labels' => :'Hash<String, String>',
|
122
122
|
:'download_concurrency' => :'Integer',
|
123
123
|
:'max_retries' => :'Integer',
|
124
124
|
:'policy' => :'PolicyEnum',
|
@@ -212,7 +212,9 @@ module PulpMavenClient
|
|
212
212
|
end
|
213
213
|
|
214
214
|
if attributes.key?(:'pulp_labels')
|
215
|
-
|
215
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
216
|
+
self.pulp_labels = value
|
217
|
+
end
|
216
218
|
end
|
217
219
|
|
218
220
|
if attributes.key?(:'download_concurrency')
|
@@ -23,7 +23,7 @@ module PulpMavenClient
|
|
23
23
|
# An optional description.
|
24
24
|
attr_accessor :description
|
25
25
|
|
26
|
-
# Retain X versions of the repository. Default is null which retains all versions.
|
26
|
+
# Retain X versions of the repository. Default is null which retains all versions.
|
27
27
|
attr_accessor :retain_repo_versions
|
28
28
|
|
29
29
|
# An optional remote to use by default when syncing.
|
@@ -43,7 +43,7 @@ module PulpMavenClient
|
|
43
43
|
# Attribute type mapping.
|
44
44
|
def self.openapi_types
|
45
45
|
{
|
46
|
-
:'pulp_labels' => :'
|
46
|
+
:'pulp_labels' => :'Hash<String, String>',
|
47
47
|
:'name' => :'String',
|
48
48
|
:'description' => :'String',
|
49
49
|
:'retain_repo_versions' => :'Integer',
|
@@ -76,7 +76,9 @@ module PulpMavenClient
|
|
76
76
|
}
|
77
77
|
|
78
78
|
if attributes.key?(:'pulp_labels')
|
79
|
-
|
79
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
80
|
+
self.pulp_labels = value
|
81
|
+
end
|
80
82
|
end
|
81
83
|
|
82
84
|
if attributes.key?(:'name')
|
data/lib/pulp_maven_client.rb
CHANGED
@@ -25,6 +25,7 @@ require 'pulp_maven_client/models/maven_maven_distribution'
|
|
25
25
|
require 'pulp_maven_client/models/maven_maven_distribution_response'
|
26
26
|
require 'pulp_maven_client/models/maven_maven_remote'
|
27
27
|
require 'pulp_maven_client/models/maven_maven_remote_response'
|
28
|
+
require 'pulp_maven_client/models/maven_maven_remote_response_hidden_fields'
|
28
29
|
require 'pulp_maven_client/models/maven_maven_repository'
|
29
30
|
require 'pulp_maven_client/models/maven_maven_repository_response'
|
30
31
|
require 'pulp_maven_client/models/paginated_repository_version_response_list'
|
@@ -42,6 +43,7 @@ require 'pulp_maven_client/models/repository_version_response'
|
|
42
43
|
# APIs
|
43
44
|
require 'pulp_maven_client/api/content_artifact_api'
|
44
45
|
require 'pulp_maven_client/api/distributions_maven_api'
|
46
|
+
require 'pulp_maven_client/api/pulp_maven_api'
|
45
47
|
require 'pulp_maven_client/api/remotes_maven_api'
|
46
48
|
require 'pulp_maven_client/api/repositories_maven_api'
|
47
49
|
require 'pulp_maven_client/api/repositories_maven_versions_api'
|
data/pulp_maven_client.gemspec
CHANGED
@@ -21,13 +21,13 @@ Gem::Specification.new do |s|
|
|
21
21
|
s.platform = Gem::Platform::RUBY
|
22
22
|
s.authors = ["OpenAPI-Generator"]
|
23
23
|
s.email = ["pulp-list@redhat.com"]
|
24
|
-
s.homepage = "https://
|
24
|
+
s.homepage = "https://github.com/pulp/pulp_maven"
|
25
25
|
s.summary = "Pulp 3 API Ruby Gem"
|
26
26
|
s.description = "Fetch, Upload, Organize, and Distribute Software Packages"
|
27
|
-
s.license = '
|
27
|
+
s.license = 'GPLv2+'
|
28
28
|
s.required_ruby_version = ">= 1.9"
|
29
29
|
|
30
|
-
s.add_runtime_dependency 'faraday', '
|
30
|
+
s.add_runtime_dependency 'faraday', '>= 1.0.1', '< 2.0'
|
31
31
|
s.add_runtime_dependency 'json', '~> 2.1', '>= 2.1.0'
|
32
32
|
|
33
33
|
s.add_development_dependency 'rspec', '~> 3.6', '>= 3.6.0'
|
@@ -58,8 +58,8 @@ describe 'ContentArtifactApi' do
|
|
58
58
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
59
59
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
60
60
|
# @option opts [String] :version Filter results where version matches value
|
61
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
62
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
61
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
62
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
63
63
|
# @return [PaginatedmavenMavenArtifactResponseList]
|
64
64
|
describe 'list test' do
|
65
65
|
it 'should work' do
|
@@ -72,8 +72,8 @@ describe 'ContentArtifactApi' do
|
|
72
72
|
# A ViewSet for MavenArtifact.
|
73
73
|
# @param maven_maven_artifact_href
|
74
74
|
# @param [Hash] opts the optional parameters
|
75
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
76
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
75
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
76
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
77
77
|
# @return [MavenMavenArtifactResponse]
|
78
78
|
describe 'read test' do
|
79
79
|
it 'should work' do
|
@@ -60,12 +60,12 @@ describe 'DistributionsMavenApi' do
|
|
60
60
|
# List maven distributions
|
61
61
|
# ViewSet for Maven Distributions.
|
62
62
|
# @param [Hash] opts the optional parameters
|
63
|
-
# @option opts [String] :base_path
|
63
|
+
# @option opts [String] :base_path Filter results where base_path matches value
|
64
64
|
# @option opts [String] :base_path__contains Filter results where base_path contains value
|
65
65
|
# @option opts [String] :base_path__icontains Filter results where base_path contains value
|
66
66
|
# @option opts [Array<String>] :base_path__in Filter results where base_path is in a comma-separated list of values
|
67
67
|
# @option opts [Integer] :limit Number of results to return per page.
|
68
|
-
# @option opts [String] :name
|
68
|
+
# @option opts [String] :name Filter results where name matches value
|
69
69
|
# @option opts [String] :name__contains Filter results where name contains value
|
70
70
|
# @option opts [String] :name__icontains Filter results where name contains value
|
71
71
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
@@ -73,8 +73,11 @@ describe 'DistributionsMavenApi' do
|
|
73
73
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
74
74
|
# @option opts [Array<String>] :ordering Ordering
|
75
75
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
76
|
-
# @option opts [String] :
|
77
|
-
# @option opts [String] :
|
76
|
+
# @option opts [String] :repository Filter results where repository matches value
|
77
|
+
# @option opts [Array<String>] :repository__in Filter results where repository is in a comma-separated list of values
|
78
|
+
# @option opts [String] :with_content Filter distributions based on the content served by them
|
79
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
80
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
78
81
|
# @return [PaginatedmavenMavenDistributionResponseList]
|
79
82
|
describe 'list test' do
|
80
83
|
it 'should work' do
|
@@ -100,8 +103,8 @@ describe 'DistributionsMavenApi' do
|
|
100
103
|
# ViewSet for Maven Distributions.
|
101
104
|
# @param maven_maven_distribution_href
|
102
105
|
# @param [Hash] opts the optional parameters
|
103
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
104
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
106
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
107
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
105
108
|
# @return [MavenMavenDistributionResponse]
|
106
109
|
describe 'read test' do
|
107
110
|
it 'should work' do
|
@@ -0,0 +1,61 @@
|
|
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
|
+
OpenAPI Generator version: 4.3.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
|
16
|
+
# Unit tests for PulpMavenClient::PulpMavenApi
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'PulpMavenApi' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@api_instance = PulpMavenClient::PulpMavenApi.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of PulpMavenApi' do
|
30
|
+
it 'should create an instance of PulpMavenApi' do
|
31
|
+
expect(@api_instance).to be_instance_of(PulpMavenClient::PulpMavenApi)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# unit tests for get
|
36
|
+
# Responds to GET requests about manifests by reference
|
37
|
+
# @param name
|
38
|
+
# @param path
|
39
|
+
# @param [Hash] opts the optional parameters
|
40
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
41
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
42
|
+
# @return [nil]
|
43
|
+
describe 'get test' do
|
44
|
+
it 'should work' do
|
45
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
46
|
+
end
|
47
|
+
end
|
48
|
+
|
49
|
+
# unit tests for put
|
50
|
+
# ViewSet for interacting with maven deploy API
|
51
|
+
# @param name
|
52
|
+
# @param path
|
53
|
+
# @param [Hash] opts the optional parameters
|
54
|
+
# @return [nil]
|
55
|
+
describe 'put test' do
|
56
|
+
it 'should work' do
|
57
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
58
|
+
end
|
59
|
+
end
|
60
|
+
|
61
|
+
end
|
@@ -61,7 +61,7 @@ describe 'RemotesMavenApi' do
|
|
61
61
|
# A ViewSet for MavenRemote.
|
62
62
|
# @param [Hash] opts the optional parameters
|
63
63
|
# @option opts [Integer] :limit Number of results to return per page.
|
64
|
-
# @option opts [String] :name
|
64
|
+
# @option opts [String] :name Filter results where name matches value
|
65
65
|
# @option opts [String] :name__contains Filter results where name contains value
|
66
66
|
# @option opts [String] :name__icontains Filter results where name contains value
|
67
67
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
@@ -69,14 +69,14 @@ describe 'RemotesMavenApi' do
|
|
69
69
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
70
70
|
# @option opts [Array<String>] :ordering Ordering
|
71
71
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
72
|
-
# @option opts [DateTime] :pulp_last_updated
|
72
|
+
# @option opts [DateTime] :pulp_last_updated Filter results where pulp_last_updated matches value
|
73
73
|
# @option opts [DateTime] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
|
74
74
|
# @option opts [DateTime] :pulp_last_updated__gte Filter results where pulp_last_updated is greater than or equal to value
|
75
75
|
# @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
|
76
76
|
# @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
|
77
77
|
# @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
|
78
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
79
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
78
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
79
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
80
80
|
# @return [PaginatedmavenMavenRemoteResponseList]
|
81
81
|
describe 'list test' do
|
82
82
|
it 'should work' do
|
@@ -102,8 +102,8 @@ describe 'RemotesMavenApi' do
|
|
102
102
|
# A ViewSet for MavenRemote.
|
103
103
|
# @param maven_maven_remote_href
|
104
104
|
# @param [Hash] opts the optional parameters
|
105
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
106
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
105
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
106
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
107
107
|
# @return [MavenMavenRemoteResponse]
|
108
108
|
describe 'read test' do
|
109
109
|
it 'should work' do
|
@@ -61,7 +61,7 @@ describe 'RepositoriesMavenApi' do
|
|
61
61
|
# A ViewSet for MavenRemote.
|
62
62
|
# @param [Hash] opts the optional parameters
|
63
63
|
# @option opts [Integer] :limit Number of results to return per page.
|
64
|
-
# @option opts [String] :name
|
64
|
+
# @option opts [String] :name Filter results where name matches value
|
65
65
|
# @option opts [String] :name__contains Filter results where name contains value
|
66
66
|
# @option opts [String] :name__icontains Filter results where name contains value
|
67
67
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
@@ -69,8 +69,17 @@ describe 'RepositoriesMavenApi' do
|
|
69
69
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
70
70
|
# @option opts [Array<String>] :ordering Ordering
|
71
71
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
72
|
-
# @option opts [String] :
|
73
|
-
# @option opts [
|
72
|
+
# @option opts [String] :remote Foreign Key referenced by HREF
|
73
|
+
# @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
|
74
|
+
# @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
|
75
|
+
# @option opts [Integer] :retain_repo_versions__gte Filter results where retain_repo_versions is greater than or equal to value
|
76
|
+
# @option opts [Boolean] :retain_repo_versions__isnull Filter results where retain_repo_versions has a null value
|
77
|
+
# @option opts [Integer] :retain_repo_versions__lt Filter results where retain_repo_versions is less than value
|
78
|
+
# @option opts [Integer] :retain_repo_versions__lte Filter results where retain_repo_versions is less than or equal to value
|
79
|
+
# @option opts [Integer] :retain_repo_versions__ne Filter results where retain_repo_versions not equal to value
|
80
|
+
# @option opts [Array<Integer>] :retain_repo_versions__range Filter results where retain_repo_versions is between two comma separated values
|
81
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
82
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
74
83
|
# @return [PaginatedmavenMavenRepositoryResponseList]
|
75
84
|
describe 'list test' do
|
76
85
|
it 'should work' do
|
@@ -96,8 +105,8 @@ describe 'RepositoriesMavenApi' do
|
|
96
105
|
# A ViewSet for MavenRemote.
|
97
106
|
# @param maven_maven_repository_href
|
98
107
|
# @param [Hash] opts the optional parameters
|
99
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
100
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
108
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
109
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
101
110
|
# @return [MavenMavenRepositoryResponse]
|
102
111
|
describe 'read test' do
|
103
112
|
it 'should work' do
|
@@ -52,7 +52,7 @@ describe 'RepositoriesMavenVersionsApi' do
|
|
52
52
|
# @option opts [String] :content Content Unit referenced by HREF
|
53
53
|
# @option opts [String] :content__in Content Unit referenced by HREF
|
54
54
|
# @option opts [Integer] :limit Number of results to return per page.
|
55
|
-
# @option opts [Integer] :number
|
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
|
57
57
|
# @option opts [Integer] :number__gte Filter results where number is greater than or equal to value
|
58
58
|
# @option opts [Integer] :number__lt Filter results where number is less than value
|
@@ -60,14 +60,14 @@ 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
|
63
|
-
# @option opts [DateTime] :pulp_created
|
63
|
+
# @option opts [DateTime] :pulp_created Filter results where pulp_created matches value
|
64
64
|
# @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
|
65
65
|
# @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
66
66
|
# @option opts [DateTime] :pulp_created__lt Filter results where pulp_created is less than value
|
67
67
|
# @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
|
68
68
|
# @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
69
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
70
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
69
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
70
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
71
71
|
# @return [PaginatedRepositoryVersionResponseList]
|
72
72
|
describe 'list test' do
|
73
73
|
it 'should work' do
|
@@ -80,8 +80,8 @@ describe 'RepositoriesMavenVersionsApi' do
|
|
80
80
|
# MavenRepositoryVersion represents a single Maven repository version.
|
81
81
|
# @param maven_maven_repository_version_href
|
82
82
|
# @param [Hash] opts the optional parameters
|
83
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
84
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
83
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
84
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
85
85
|
# @return [RepositoryVersionResponse]
|
86
86
|
describe 'read test' do
|
87
87
|
it 'should work' do
|
@@ -0,0 +1,47 @@
|
|
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
|
+
OpenAPI Generator version: 4.3.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for PulpMavenClient::MavenMavenRemoteResponseHiddenFields
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'MavenMavenRemoteResponseHiddenFields' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = PulpMavenClient::MavenMavenRemoteResponseHiddenFields.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of MavenMavenRemoteResponseHiddenFields' do
|
31
|
+
it 'should create an instance of MavenMavenRemoteResponseHiddenFields' do
|
32
|
+
expect(@instance).to be_instance_of(PulpMavenClient::MavenMavenRemoteResponseHiddenFields)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "name"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
describe 'test attribute "is_set"' 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
|
+
|
47
|
+
end
|
@@ -146,4 +146,10 @@ describe 'MavenMavenRemoteResponse' do
|
|
146
146
|
end
|
147
147
|
end
|
148
148
|
|
149
|
+
describe 'test attribute "hidden_fields"' do
|
150
|
+
it 'should work' do
|
151
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
152
|
+
end
|
153
|
+
end
|
154
|
+
|
149
155
|
end
|
metadata
CHANGED
@@ -1,35 +1,35 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pulp_maven_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.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:
|
11
|
+
date: 2023-03-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 1.0.1
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version:
|
22
|
+
version: '2.0'
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
26
26
|
requirements:
|
27
|
-
- - "
|
27
|
+
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version:
|
29
|
+
version: 1.0.1
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version:
|
32
|
+
version: '2.0'
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: json
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -90,6 +90,7 @@ files:
|
|
90
90
|
- docs/MavenMavenDistributionResponse.md
|
91
91
|
- docs/MavenMavenRemote.md
|
92
92
|
- docs/MavenMavenRemoteResponse.md
|
93
|
+
- docs/MavenMavenRemoteResponseHiddenFields.md
|
93
94
|
- docs/MavenMavenRepository.md
|
94
95
|
- docs/MavenMavenRepositoryResponse.md
|
95
96
|
- docs/PaginatedRepositoryVersionResponseList.md
|
@@ -101,15 +102,16 @@ files:
|
|
101
102
|
- docs/PatchedmavenMavenRemote.md
|
102
103
|
- docs/PatchedmavenMavenRepository.md
|
103
104
|
- docs/PolicyEnum.md
|
105
|
+
- docs/PulpMavenApi.md
|
104
106
|
- docs/RemotesMavenApi.md
|
105
107
|
- docs/Repair.md
|
106
108
|
- docs/RepositoriesMavenApi.md
|
107
109
|
- docs/RepositoriesMavenVersionsApi.md
|
108
110
|
- docs/RepositoryVersionResponse.md
|
109
|
-
- git_push.sh
|
110
111
|
- lib/pulp_maven_client.rb
|
111
112
|
- lib/pulp_maven_client/api/content_artifact_api.rb
|
112
113
|
- lib/pulp_maven_client/api/distributions_maven_api.rb
|
114
|
+
- lib/pulp_maven_client/api/pulp_maven_api.rb
|
113
115
|
- lib/pulp_maven_client/api/remotes_maven_api.rb
|
114
116
|
- lib/pulp_maven_client/api/repositories_maven_api.rb
|
115
117
|
- lib/pulp_maven_client/api/repositories_maven_versions_api.rb
|
@@ -124,6 +126,7 @@ files:
|
|
124
126
|
- lib/pulp_maven_client/models/maven_maven_distribution_response.rb
|
125
127
|
- lib/pulp_maven_client/models/maven_maven_remote.rb
|
126
128
|
- lib/pulp_maven_client/models/maven_maven_remote_response.rb
|
129
|
+
- lib/pulp_maven_client/models/maven_maven_remote_response_hidden_fields.rb
|
127
130
|
- lib/pulp_maven_client/models/maven_maven_repository.rb
|
128
131
|
- lib/pulp_maven_client/models/maven_maven_repository_response.rb
|
129
132
|
- lib/pulp_maven_client/models/paginated_repository_version_response_list.rb
|
@@ -141,6 +144,7 @@ files:
|
|
141
144
|
- pulp_maven_client.gemspec
|
142
145
|
- spec/api/content_artifact_api_spec.rb
|
143
146
|
- spec/api/distributions_maven_api_spec.rb
|
147
|
+
- spec/api/pulp_maven_api_spec.rb
|
144
148
|
- spec/api/remotes_maven_api_spec.rb
|
145
149
|
- spec/api/repositories_maven_api_spec.rb
|
146
150
|
- spec/api/repositories_maven_versions_api_spec.rb
|
@@ -152,6 +156,7 @@ files:
|
|
152
156
|
- spec/models/maven_maven_artifact_spec.rb
|
153
157
|
- spec/models/maven_maven_distribution_response_spec.rb
|
154
158
|
- spec/models/maven_maven_distribution_spec.rb
|
159
|
+
- spec/models/maven_maven_remote_response_hidden_fields_spec.rb
|
155
160
|
- spec/models/maven_maven_remote_response_spec.rb
|
156
161
|
- spec/models/maven_maven_remote_spec.rb
|
157
162
|
- spec/models/maven_maven_repository_response_spec.rb
|
@@ -168,9 +173,9 @@ files:
|
|
168
173
|
- spec/models/repair_spec.rb
|
169
174
|
- spec/models/repository_version_response_spec.rb
|
170
175
|
- spec/spec_helper.rb
|
171
|
-
homepage: https://
|
176
|
+
homepage: https://github.com/pulp/pulp_maven
|
172
177
|
licenses:
|
173
|
-
-
|
178
|
+
- GPLv2+
|
174
179
|
metadata: {}
|
175
180
|
post_install_message:
|
176
181
|
rdoc_options: []
|
@@ -192,32 +197,34 @@ signing_key:
|
|
192
197
|
specification_version: 4
|
193
198
|
summary: Pulp 3 API Ruby Gem
|
194
199
|
test_files:
|
195
|
-
- spec/api/
|
200
|
+
- spec/api/remotes_maven_api_spec.rb
|
196
201
|
- spec/api/repositories_maven_versions_api_spec.rb
|
202
|
+
- spec/api/content_artifact_api_spec.rb
|
203
|
+
- spec/api/pulp_maven_api_spec.rb
|
197
204
|
- spec/api/repositories_maven_api_spec.rb
|
198
205
|
- spec/api/distributions_maven_api_spec.rb
|
199
|
-
- spec/api/remotes_maven_api_spec.rb
|
200
206
|
- spec/api_client_spec.rb
|
201
207
|
- spec/configuration_spec.rb
|
202
|
-
- spec/models/paginated_repository_version_response_list_spec.rb
|
203
|
-
- spec/models/repair_spec.rb
|
204
|
-
- spec/models/patchedmaven_maven_remote_spec.rb
|
205
|
-
- spec/models/maven_maven_distribution_spec.rb
|
206
|
-
- spec/models/maven_maven_remote_spec.rb
|
207
208
|
- spec/models/patchedmaven_maven_distribution_spec.rb
|
208
|
-
- spec/models/
|
209
|
-
- spec/models/
|
210
|
-
- spec/models/policy_enum_spec.rb
|
211
|
-
- spec/models/paginatedmaven_maven_remote_response_list_spec.rb
|
212
|
-
- spec/models/maven_maven_artifact_response_spec.rb
|
209
|
+
- spec/models/maven_maven_remote_spec.rb
|
210
|
+
- spec/models/patchedmaven_maven_remote_spec.rb
|
213
211
|
- spec/models/maven_maven_repository_spec.rb
|
212
|
+
- spec/models/maven_maven_remote_response_hidden_fields_spec.rb
|
214
213
|
- spec/models/maven_maven_remote_response_spec.rb
|
215
214
|
- spec/models/paginatedmaven_maven_distribution_response_list_spec.rb
|
216
|
-
- spec/models/
|
215
|
+
- spec/models/maven_maven_artifact_response_spec.rb
|
216
|
+
- spec/models/paginatedmaven_maven_remote_response_list_spec.rb
|
217
|
+
- spec/models/repair_spec.rb
|
218
|
+
- spec/models/repository_version_response_spec.rb
|
217
219
|
- spec/models/patchedmaven_maven_repository_spec.rb
|
218
|
-
- spec/models/
|
220
|
+
- spec/models/maven_maven_distribution_spec.rb
|
221
|
+
- spec/models/paginatedmaven_maven_repository_response_list_spec.rb
|
222
|
+
- spec/models/policy_enum_spec.rb
|
219
223
|
- spec/models/maven_maven_repository_response_spec.rb
|
220
|
-
- spec/models/
|
224
|
+
- spec/models/maven_maven_distribution_response_spec.rb
|
225
|
+
- spec/models/paginatedmaven_maven_artifact_response_list_spec.rb
|
221
226
|
- spec/models/maven_maven_artifact_spec.rb
|
222
|
-
- spec/models/
|
227
|
+
- spec/models/async_operation_response_spec.rb
|
228
|
+
- spec/models/paginated_repository_version_response_list_spec.rb
|
229
|
+
- spec/models/content_summary_response_spec.rb
|
223
230
|
- spec/spec_helper.rb
|