pulp_maven_client 0.1.0 → 0.2.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 +43 -31
- data/docs/ContentArtifactApi.md +37 -35
- data/docs/ContentSummary.md +3 -3
- data/docs/ContentSummaryResponse.md +21 -0
- data/docs/DistributionsMavenApi.md +63 -61
- data/docs/MavenMavenArtifact.md +3 -13
- data/docs/MavenMavenArtifactResponse.md +29 -0
- data/docs/MavenMavenDistribution.md +1 -7
- data/docs/MavenMavenDistributionResponse.md +29 -0
- data/docs/MavenMavenRemote.md +18 -12
- data/docs/MavenMavenRemoteResponse.md +51 -0
- data/docs/MavenMavenRepository.md +4 -10
- data/docs/MavenMavenRepositoryResponse.md +29 -0
- data/docs/PaginatedRepositoryVersionResponseList.md +23 -0
- data/docs/PaginatedmavenMavenArtifactResponseList.md +23 -0
- data/docs/PaginatedmavenMavenDistributionResponseList.md +23 -0
- data/docs/PaginatedmavenMavenRemoteResponseList.md +23 -0
- data/docs/PaginatedmavenMavenRepositoryResponseList.md +23 -0
- data/docs/PatchedmavenMavenDistribution.md +23 -0
- data/docs/PatchedmavenMavenRemote.md +45 -0
- data/docs/PatchedmavenMavenRepository.md +21 -0
- data/docs/PolicyEnum.md +16 -0
- data/docs/RemotesMavenApi.md +68 -66
- data/docs/RepositoriesMavenApi.md +60 -58
- data/docs/RepositoriesMavenVersionsApi.md +110 -53
- data/docs/RepositoryVersion.md +1 -9
- data/docs/RepositoryVersionResponse.md +25 -0
- data/lib/pulp_maven_client/api/content_artifact_api.rb +55 -52
- data/lib/pulp_maven_client/api/distributions_maven_api.rb +94 -91
- data/lib/pulp_maven_client/api/remotes_maven_api.rb +104 -101
- data/lib/pulp_maven_client/api/repositories_maven_api.rb +97 -94
- data/lib/pulp_maven_client/api/repositories_maven_versions_api.rb +149 -78
- data/lib/pulp_maven_client/api_client.rb +3 -3
- data/lib/pulp_maven_client/api_error.rb +3 -3
- data/lib/pulp_maven_client/configuration.rb +6 -6
- data/lib/pulp_maven_client/models/async_operation_response.rb +4 -3
- data/lib/pulp_maven_client/models/content_summary.rb +10 -16
- data/lib/pulp_maven_client/models/content_summary_response.rb +240 -0
- data/lib/pulp_maven_client/models/maven_maven_artifact.rb +15 -118
- data/lib/pulp_maven_client/models/maven_maven_artifact_response.rb +272 -0
- data/lib/pulp_maven_client/models/maven_maven_distribution.rb +5 -86
- data/lib/pulp_maven_client/models/maven_maven_distribution_response.rb +279 -0
- data/lib/pulp_maven_client/models/maven_maven_remote.rb +111 -147
- data/lib/pulp_maven_client/models/maven_maven_remote_response.rb +472 -0
- data/lib/pulp_maven_client/models/maven_maven_repository.rb +19 -79
- data/lib/pulp_maven_client/models/maven_maven_repository_response.rb +271 -0
- data/lib/pulp_maven_client/models/{inline_response200.rb → paginated_repository_version_response_list.rb} +7 -17
- data/lib/pulp_maven_client/models/{inline_response2002.rb → paginatedmaven_maven_artifact_response_list.rb} +7 -17
- data/lib/pulp_maven_client/models/{inline_response2004.rb → paginatedmaven_maven_distribution_response_list.rb} +7 -17
- data/lib/pulp_maven_client/models/{inline_response2003.rb → paginatedmaven_maven_remote_response_list.rb} +7 -17
- data/lib/pulp_maven_client/models/paginatedmaven_maven_repository_response_list.rb +237 -0
- data/lib/pulp_maven_client/models/{inline_response2001.rb → patchedmaven_maven_distribution.rb} +38 -45
- data/lib/pulp_maven_client/models/patchedmaven_maven_remote.rb +433 -0
- data/lib/pulp_maven_client/models/patchedmaven_maven_repository.rb +229 -0
- data/lib/pulp_maven_client/models/policy_enum.rb +36 -0
- data/lib/pulp_maven_client/models/repository_version.rb +8 -44
- data/lib/pulp_maven_client/models/repository_version_response.rb +246 -0
- data/lib/pulp_maven_client/version.rb +4 -4
- data/lib/pulp_maven_client.rb +18 -8
- data/pulp_maven_client.gemspec +5 -5
- data/spec/api/content_artifact_api_spec.rb +16 -15
- data/spec/api/distributions_maven_api_spec.rb +20 -19
- data/spec/api/remotes_maven_api_spec.rb +23 -22
- data/spec/api/repositories_maven_api_spec.rb +21 -20
- data/spec/api/repositories_maven_versions_api_spec.rb +36 -23
- data/spec/api_client_spec.rb +3 -3
- data/spec/configuration_spec.rb +6 -6
- data/spec/models/async_operation_response_spec.rb +3 -3
- data/spec/models/content_summary_response_spec.rb +53 -0
- data/spec/models/content_summary_spec.rb +3 -3
- data/spec/models/maven_maven_artifact_response_spec.rb +77 -0
- data/spec/models/maven_maven_artifact_spec.rb +4 -34
- data/spec/models/maven_maven_distribution_response_spec.rb +77 -0
- data/spec/models/maven_maven_distribution_spec.rb +3 -21
- data/spec/models/maven_maven_remote_response_spec.rb +143 -0
- data/spec/models/maven_maven_remote_spec.rb +33 -19
- data/spec/models/maven_maven_repository_response_spec.rb +77 -0
- data/spec/models/maven_maven_repository_spec.rb +6 -24
- data/spec/models/{inline_response2002_spec.rb → paginated_repository_version_response_list_spec.rb} +9 -9
- data/spec/models/{inline_response2003_spec.rb → paginatedmaven_maven_artifact_response_list_spec.rb} +9 -9
- data/spec/models/paginatedmaven_maven_distribution_response_list_spec.rb +59 -0
- data/spec/models/{inline_response2001_spec.rb → paginatedmaven_maven_remote_response_list_spec.rb} +9 -9
- data/spec/models/{inline_response2004_spec.rb → paginatedmaven_maven_repository_response_list_spec.rb} +9 -9
- data/spec/models/patchedmaven_maven_distribution_spec.rb +59 -0
- data/spec/models/patchedmaven_maven_remote_spec.rb +125 -0
- data/spec/models/{inline_response200_spec.rb → patchedmaven_maven_repository_spec.rb} +12 -18
- data/spec/models/policy_enum_spec.rb +35 -0
- data/spec/models/repository_version_response_spec.rb +65 -0
- data/spec/models/repository_version_spec.rb +3 -27
- data/spec/spec_helper.rb +3 -3
- metadata +70 -30
- data/docs/InlineResponse200.md +0 -23
- data/docs/InlineResponse2001.md +0 -23
- data/docs/InlineResponse2002.md +0 -23
- data/docs/InlineResponse2003.md +0 -23
- data/docs/InlineResponse2004.md +0 -23
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
=begin
|
|
2
2
|
#Pulp 3 API
|
|
3
3
|
|
|
4
|
-
#
|
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
|
5
5
|
|
|
6
6
|
The version of the OpenAPI document: v3
|
|
7
|
-
|
|
7
|
+
Contact: pulp-list@redhat.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 4.2.
|
|
9
|
+
OpenAPI Generator version: 4.2.3
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -35,9 +35,9 @@ describe 'RemotesMavenApi' do
|
|
|
35
35
|
# unit tests for create
|
|
36
36
|
# Create a maven remote
|
|
37
37
|
# A ViewSet for MavenRemote.
|
|
38
|
-
# @param
|
|
38
|
+
# @param maven_maven_remote
|
|
39
39
|
# @param [Hash] opts the optional parameters
|
|
40
|
-
# @return [
|
|
40
|
+
# @return [MavenMavenRemoteResponse]
|
|
41
41
|
describe 'create test' do
|
|
42
42
|
it 'should work' do
|
|
43
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -47,7 +47,7 @@ describe 'RemotesMavenApi' do
|
|
|
47
47
|
# unit tests for delete
|
|
48
48
|
# Delete a maven remote
|
|
49
49
|
# Trigger an asynchronous delete task
|
|
50
|
-
# @param
|
|
50
|
+
# @param maven_maven_remote_href
|
|
51
51
|
# @param [Hash] opts the optional parameters
|
|
52
52
|
# @return [AsyncOperationResponse]
|
|
53
53
|
describe 'delete test' do
|
|
@@ -60,19 +60,20 @@ describe 'RemotesMavenApi' do
|
|
|
60
60
|
# List maven remotes
|
|
61
61
|
# A ViewSet for MavenRemote.
|
|
62
62
|
# @param [Hash] opts the optional parameters
|
|
63
|
-
# @option opts [String] :name
|
|
64
|
-
# @option opts [String] :name__in Filter results where name is in a comma-separated list of values
|
|
65
|
-
# @option opts [String] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
|
|
66
|
-
# @option opts [String] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
|
|
67
|
-
# @option opts [String] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
|
|
68
|
-
# @option opts [String] :pulp_last_updated__gte Filter results where pulp_last_updated is greater than or equal to value
|
|
69
|
-
# @option opts [String] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
|
|
70
|
-
# @option opts [String] :pulp_last_updated ISO 8601 formatted dates are supported
|
|
71
63
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
64
|
+
# @option opts [String] :name name
|
|
65
|
+
# @option opts [String] :name__in name__in
|
|
72
66
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
67
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
68
|
+
# @option opts [String] :pulp_last_updated pulp_last_updated
|
|
69
|
+
# @option opts [String] :pulp_last_updated__gt pulp_last_updated__gt
|
|
70
|
+
# @option opts [String] :pulp_last_updated__gte pulp_last_updated__gte
|
|
71
|
+
# @option opts [String] :pulp_last_updated__lt pulp_last_updated__lt
|
|
72
|
+
# @option opts [String] :pulp_last_updated__lte pulp_last_updated__lte
|
|
73
|
+
# @option opts [String] :pulp_last_updated__range pulp_last_updated__range
|
|
73
74
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
74
75
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
75
|
-
# @return [
|
|
76
|
+
# @return [PaginatedmavenMavenRemoteResponseList]
|
|
76
77
|
describe 'list test' do
|
|
77
78
|
it 'should work' do
|
|
78
79
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -80,10 +81,10 @@ describe 'RemotesMavenApi' do
|
|
|
80
81
|
end
|
|
81
82
|
|
|
82
83
|
# unit tests for partial_update
|
|
83
|
-
#
|
|
84
|
+
# Update a maven remote
|
|
84
85
|
# Trigger an asynchronous partial update task
|
|
85
|
-
# @param
|
|
86
|
-
# @param
|
|
86
|
+
# @param maven_maven_remote_href
|
|
87
|
+
# @param patchedmaven_maven_remote
|
|
87
88
|
# @param [Hash] opts the optional parameters
|
|
88
89
|
# @return [AsyncOperationResponse]
|
|
89
90
|
describe 'partial_update test' do
|
|
@@ -95,11 +96,11 @@ describe 'RemotesMavenApi' do
|
|
|
95
96
|
# unit tests for read
|
|
96
97
|
# Inspect a maven remote
|
|
97
98
|
# A ViewSet for MavenRemote.
|
|
98
|
-
# @param
|
|
99
|
+
# @param maven_maven_remote_href
|
|
99
100
|
# @param [Hash] opts the optional parameters
|
|
100
101
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
101
102
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
102
|
-
# @return [
|
|
103
|
+
# @return [MavenMavenRemoteResponse]
|
|
103
104
|
describe 'read test' do
|
|
104
105
|
it 'should work' do
|
|
105
106
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -109,8 +110,8 @@ describe 'RemotesMavenApi' do
|
|
|
109
110
|
# unit tests for update
|
|
110
111
|
# Update a maven remote
|
|
111
112
|
# Trigger an asynchronous update task
|
|
112
|
-
# @param
|
|
113
|
-
# @param
|
|
113
|
+
# @param maven_maven_remote_href
|
|
114
|
+
# @param maven_maven_remote
|
|
114
115
|
# @param [Hash] opts the optional parameters
|
|
115
116
|
# @return [AsyncOperationResponse]
|
|
116
117
|
describe 'update test' do
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
=begin
|
|
2
2
|
#Pulp 3 API
|
|
3
3
|
|
|
4
|
-
#
|
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
|
5
5
|
|
|
6
6
|
The version of the OpenAPI document: v3
|
|
7
|
-
|
|
7
|
+
Contact: pulp-list@redhat.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 4.2.
|
|
9
|
+
OpenAPI Generator version: 4.2.3
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -35,9 +35,9 @@ describe 'RepositoriesMavenApi' do
|
|
|
35
35
|
# unit tests for create
|
|
36
36
|
# Create a maven repository
|
|
37
37
|
# A ViewSet for MavenRemote.
|
|
38
|
-
# @param
|
|
38
|
+
# @param maven_maven_repository
|
|
39
39
|
# @param [Hash] opts the optional parameters
|
|
40
|
-
# @return [
|
|
40
|
+
# @return [MavenMavenRepositoryResponse]
|
|
41
41
|
describe 'create test' do
|
|
42
42
|
it 'should work' do
|
|
43
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -46,8 +46,8 @@ describe 'RepositoriesMavenApi' do
|
|
|
46
46
|
|
|
47
47
|
# unit tests for delete
|
|
48
48
|
# Delete a maven repository
|
|
49
|
-
# Trigger an asynchronous
|
|
50
|
-
# @param
|
|
49
|
+
# Trigger an asynchronous delete task
|
|
50
|
+
# @param maven_maven_repository_href
|
|
51
51
|
# @param [Hash] opts the optional parameters
|
|
52
52
|
# @return [AsyncOperationResponse]
|
|
53
53
|
describe 'delete test' do
|
|
@@ -60,13 +60,14 @@ describe 'RepositoriesMavenApi' do
|
|
|
60
60
|
# List maven repositorys
|
|
61
61
|
# A ViewSet for MavenRemote.
|
|
62
62
|
# @param [Hash] opts the optional parameters
|
|
63
|
-
# @option opts [String] :name
|
|
64
|
-
# @option opts [String] :name__in Filter results where name is in a comma-separated list of values
|
|
65
63
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
64
|
+
# @option opts [String] :name name
|
|
65
|
+
# @option opts [String] :name__in name__in
|
|
66
66
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
67
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
67
68
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
68
69
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
69
|
-
# @return [
|
|
70
|
+
# @return [PaginatedmavenMavenRepositoryResponseList]
|
|
70
71
|
describe 'list test' do
|
|
71
72
|
it 'should work' do
|
|
72
73
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -74,12 +75,12 @@ describe 'RepositoriesMavenApi' do
|
|
|
74
75
|
end
|
|
75
76
|
|
|
76
77
|
# unit tests for partial_update
|
|
77
|
-
#
|
|
78
|
-
#
|
|
79
|
-
# @param
|
|
80
|
-
# @param
|
|
78
|
+
# Update a maven repository
|
|
79
|
+
# Trigger an asynchronous partial update task
|
|
80
|
+
# @param maven_maven_repository_href
|
|
81
|
+
# @param patchedmaven_maven_repository
|
|
81
82
|
# @param [Hash] opts the optional parameters
|
|
82
|
-
# @return [
|
|
83
|
+
# @return [AsyncOperationResponse]
|
|
83
84
|
describe 'partial_update test' do
|
|
84
85
|
it 'should work' do
|
|
85
86
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -89,11 +90,11 @@ describe 'RepositoriesMavenApi' do
|
|
|
89
90
|
# unit tests for read
|
|
90
91
|
# Inspect a maven repository
|
|
91
92
|
# A ViewSet for MavenRemote.
|
|
92
|
-
# @param
|
|
93
|
+
# @param maven_maven_repository_href
|
|
93
94
|
# @param [Hash] opts the optional parameters
|
|
94
95
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
95
96
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
96
|
-
# @return [
|
|
97
|
+
# @return [MavenMavenRepositoryResponse]
|
|
97
98
|
describe 'read test' do
|
|
98
99
|
it 'should work' do
|
|
99
100
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -102,9 +103,9 @@ describe 'RepositoriesMavenApi' do
|
|
|
102
103
|
|
|
103
104
|
# unit tests for update
|
|
104
105
|
# Update a maven repository
|
|
105
|
-
# Trigger an asynchronous
|
|
106
|
-
# @param
|
|
107
|
-
# @param
|
|
106
|
+
# Trigger an asynchronous update task
|
|
107
|
+
# @param maven_maven_repository_href
|
|
108
|
+
# @param maven_maven_repository
|
|
108
109
|
# @param [Hash] opts the optional parameters
|
|
109
110
|
# @return [AsyncOperationResponse]
|
|
110
111
|
describe 'update test' do
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
=begin
|
|
2
2
|
#Pulp 3 API
|
|
3
3
|
|
|
4
|
-
#
|
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
|
5
5
|
|
|
6
6
|
The version of the OpenAPI document: v3
|
|
7
|
-
|
|
7
|
+
Contact: pulp-list@redhat.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 4.2.
|
|
9
|
+
OpenAPI Generator version: 4.2.3
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -34,8 +34,8 @@ describe 'RepositoriesMavenVersionsApi' do
|
|
|
34
34
|
|
|
35
35
|
# unit tests for delete
|
|
36
36
|
# Delete a repository version
|
|
37
|
-
# Trigger an asynchronous task to delete a
|
|
38
|
-
# @param
|
|
37
|
+
# Trigger an asynchronous task to delete a repository version.
|
|
38
|
+
# @param maven_maven_repository_version_href
|
|
39
39
|
# @param [Hash] opts the optional parameters
|
|
40
40
|
# @return [AsyncOperationResponse]
|
|
41
41
|
describe 'delete test' do
|
|
@@ -47,27 +47,28 @@ describe 'RepositoriesMavenVersionsApi' do
|
|
|
47
47
|
# unit tests for list
|
|
48
48
|
# List repository versions
|
|
49
49
|
# MavenRepositoryVersion represents a single Maven repository version.
|
|
50
|
-
# @param
|
|
50
|
+
# @param maven_maven_repository_href
|
|
51
51
|
# @param [Hash] opts the optional parameters
|
|
52
|
-
# @option opts [String] :
|
|
53
|
-
# @option opts [
|
|
54
|
-
# @option opts [Float] :number__lt Filter results where number is less than value
|
|
55
|
-
# @option opts [Float] :number__lte Filter results where number is less than or equal to value
|
|
56
|
-
# @option opts [Float] :number__gt Filter results where number is greater than value
|
|
57
|
-
# @option opts [Float] :number__gte Filter results where number is greater than or equal to value
|
|
58
|
-
# @option opts [Float] :number__range Filter results where number is between two comma separated values
|
|
59
|
-
# @option opts [String] :pulp_created__lt Filter results where pulp_created is less than value
|
|
60
|
-
# @option opts [String] :pulp_created__lte Filter results where pulp_created is less than or equal to value
|
|
61
|
-
# @option opts [String] :pulp_created__gt Filter results where pulp_created is greater than value
|
|
62
|
-
# @option opts [String] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
|
63
|
-
# @option opts [String] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
|
64
|
-
# @option opts [String] :content Content Unit referenced by HREF
|
|
65
|
-
# @option opts [String] :pulp_created ISO 8601 formatted dates are supported
|
|
52
|
+
# @option opts [String] :content content
|
|
53
|
+
# @option opts [String] :content__in content__in
|
|
66
54
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
55
|
+
# @option opts [String] :number number
|
|
56
|
+
# @option opts [String] :number__gt number__gt
|
|
57
|
+
# @option opts [String] :number__gte number__gte
|
|
58
|
+
# @option opts [String] :number__lt number__lt
|
|
59
|
+
# @option opts [String] :number__lte number__lte
|
|
60
|
+
# @option opts [String] :number__range number__range
|
|
67
61
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
62
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
63
|
+
# @option opts [String] :pulp_created pulp_created
|
|
64
|
+
# @option opts [String] :pulp_created__gt pulp_created__gt
|
|
65
|
+
# @option opts [String] :pulp_created__gte pulp_created__gte
|
|
66
|
+
# @option opts [String] :pulp_created__lt pulp_created__lt
|
|
67
|
+
# @option opts [String] :pulp_created__lte pulp_created__lte
|
|
68
|
+
# @option opts [String] :pulp_created__range pulp_created__range
|
|
68
69
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
69
70
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
70
|
-
# @return [
|
|
71
|
+
# @return [PaginatedRepositoryVersionResponseList]
|
|
71
72
|
describe 'list test' do
|
|
72
73
|
it 'should work' do
|
|
73
74
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -77,15 +78,27 @@ describe 'RepositoriesMavenVersionsApi' do
|
|
|
77
78
|
# unit tests for read
|
|
78
79
|
# Inspect a repository version
|
|
79
80
|
# MavenRepositoryVersion represents a single Maven repository version.
|
|
80
|
-
# @param
|
|
81
|
+
# @param maven_maven_repository_version_href
|
|
81
82
|
# @param [Hash] opts the optional parameters
|
|
82
83
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
83
84
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
84
|
-
# @return [
|
|
85
|
+
# @return [RepositoryVersionResponse]
|
|
85
86
|
describe 'read test' do
|
|
86
87
|
it 'should work' do
|
|
87
88
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
88
89
|
end
|
|
89
90
|
end
|
|
90
91
|
|
|
92
|
+
# unit tests for repair
|
|
93
|
+
# Trigger an asynchronous task to repair a repository version.
|
|
94
|
+
# @param maven_maven_repository_version_href
|
|
95
|
+
# @param repository_version
|
|
96
|
+
# @param [Hash] opts the optional parameters
|
|
97
|
+
# @return [AsyncOperationResponse]
|
|
98
|
+
describe 'repair test' do
|
|
99
|
+
it 'should work' do
|
|
100
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
101
|
+
end
|
|
102
|
+
end
|
|
103
|
+
|
|
91
104
|
end
|
data/spec/api_client_spec.rb
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
=begin
|
|
2
2
|
#Pulp 3 API
|
|
3
3
|
|
|
4
|
-
#
|
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
|
5
5
|
|
|
6
6
|
The version of the OpenAPI document: v3
|
|
7
|
-
|
|
7
|
+
Contact: pulp-list@redhat.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 4.2.
|
|
9
|
+
OpenAPI Generator version: 4.2.3
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
data/spec/configuration_spec.rb
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
=begin
|
|
2
2
|
#Pulp 3 API
|
|
3
3
|
|
|
4
|
-
#
|
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
|
5
5
|
|
|
6
6
|
The version of the OpenAPI document: v3
|
|
7
|
-
|
|
7
|
+
Contact: pulp-list@redhat.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 4.2.
|
|
9
|
+
OpenAPI Generator version: 4.2.3
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -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://pulp")
|
|
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://pulp")
|
|
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://pulp")
|
|
39
39
|
end
|
|
40
40
|
end
|
|
41
41
|
end
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
=begin
|
|
2
2
|
#Pulp 3 API
|
|
3
3
|
|
|
4
|
-
#
|
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
|
5
5
|
|
|
6
6
|
The version of the OpenAPI document: v3
|
|
7
|
-
|
|
7
|
+
Contact: pulp-list@redhat.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 4.2.
|
|
9
|
+
OpenAPI Generator version: 4.2.3
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -0,0 +1,53 @@
|
|
|
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.2.3
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for PulpMavenClient::ContentSummaryResponse
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe 'ContentSummaryResponse' do
|
|
21
|
+
before do
|
|
22
|
+
# run before each test
|
|
23
|
+
@instance = PulpMavenClient::ContentSummaryResponse.new
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
after do
|
|
27
|
+
# run after each test
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test an instance of ContentSummaryResponse' do
|
|
31
|
+
it 'should create an instance of ContentSummaryResponse' do
|
|
32
|
+
expect(@instance).to be_instance_of(PulpMavenClient::ContentSummaryResponse)
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
describe 'test attribute "added"' 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 "removed"' 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
|
+
describe 'test attribute "present"' do
|
|
48
|
+
it 'should work' do
|
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
50
|
+
end
|
|
51
|
+
end
|
|
52
|
+
|
|
53
|
+
end
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
=begin
|
|
2
2
|
#Pulp 3 API
|
|
3
3
|
|
|
4
|
-
#
|
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
|
5
5
|
|
|
6
6
|
The version of the OpenAPI document: v3
|
|
7
|
-
|
|
7
|
+
Contact: pulp-list@redhat.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 4.2.
|
|
9
|
+
OpenAPI Generator version: 4.2.3
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -0,0 +1,77 @@
|
|
|
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.2.3
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for PulpMavenClient::MavenMavenArtifactResponse
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe 'MavenMavenArtifactResponse' do
|
|
21
|
+
before do
|
|
22
|
+
# run before each test
|
|
23
|
+
@instance = PulpMavenClient::MavenMavenArtifactResponse.new
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
after do
|
|
27
|
+
# run after each test
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test an instance of MavenMavenArtifactResponse' do
|
|
31
|
+
it 'should create an instance of MavenMavenArtifactResponse' do
|
|
32
|
+
expect(@instance).to be_instance_of(PulpMavenClient::MavenMavenArtifactResponse)
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
describe 'test attribute "pulp_href"' 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 "pulp_created"' 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
|
+
describe 'test attribute "artifact"' do
|
|
48
|
+
it 'should work' do
|
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
50
|
+
end
|
|
51
|
+
end
|
|
52
|
+
|
|
53
|
+
describe 'test attribute "group_id"' 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
|
+
|
|
59
|
+
describe 'test attribute "artifact_id"' do
|
|
60
|
+
it 'should work' do
|
|
61
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
62
|
+
end
|
|
63
|
+
end
|
|
64
|
+
|
|
65
|
+
describe 'test attribute "version"' do
|
|
66
|
+
it 'should work' do
|
|
67
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
68
|
+
end
|
|
69
|
+
end
|
|
70
|
+
|
|
71
|
+
describe 'test attribute "filename"' do
|
|
72
|
+
it 'should work' do
|
|
73
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
74
|
+
end
|
|
75
|
+
end
|
|
76
|
+
|
|
77
|
+
end
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
=begin
|
|
2
2
|
#Pulp 3 API
|
|
3
3
|
|
|
4
|
-
#
|
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
|
5
5
|
|
|
6
6
|
The version of the OpenAPI document: v3
|
|
7
|
-
|
|
7
|
+
Contact: pulp-list@redhat.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 4.2.
|
|
9
|
+
OpenAPI Generator version: 4.2.3
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -32,43 +32,13 @@ describe 'MavenMavenArtifact' do
|
|
|
32
32
|
expect(@instance).to be_instance_of(PulpMavenClient::MavenMavenArtifact)
|
|
33
33
|
end
|
|
34
34
|
end
|
|
35
|
-
describe 'test attribute "pulp_href"' 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 "pulp_created"' 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
35
|
describe 'test attribute "artifact"' do
|
|
48
36
|
it 'should work' do
|
|
49
37
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
50
38
|
end
|
|
51
39
|
end
|
|
52
40
|
|
|
53
|
-
describe 'test attribute "
|
|
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
|
-
|
|
59
|
-
describe 'test attribute "artifact_id"' do
|
|
60
|
-
it 'should work' do
|
|
61
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
62
|
-
end
|
|
63
|
-
end
|
|
64
|
-
|
|
65
|
-
describe 'test attribute "version"' do
|
|
66
|
-
it 'should work' do
|
|
67
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
68
|
-
end
|
|
69
|
-
end
|
|
70
|
-
|
|
71
|
-
describe 'test attribute "filename"' do
|
|
41
|
+
describe 'test attribute "relative_path"' do
|
|
72
42
|
it 'should work' do
|
|
73
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
74
44
|
end
|
|
@@ -0,0 +1,77 @@
|
|
|
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.2.3
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for PulpMavenClient::MavenMavenDistributionResponse
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe 'MavenMavenDistributionResponse' do
|
|
21
|
+
before do
|
|
22
|
+
# run before each test
|
|
23
|
+
@instance = PulpMavenClient::MavenMavenDistributionResponse.new
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
after do
|
|
27
|
+
# run after each test
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test an instance of MavenMavenDistributionResponse' do
|
|
31
|
+
it 'should create an instance of MavenMavenDistributionResponse' do
|
|
32
|
+
expect(@instance).to be_instance_of(PulpMavenClient::MavenMavenDistributionResponse)
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
describe 'test attribute "pulp_href"' 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 "pulp_created"' 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
|
+
describe 'test attribute "base_path"' do
|
|
48
|
+
it 'should work' do
|
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
50
|
+
end
|
|
51
|
+
end
|
|
52
|
+
|
|
53
|
+
describe 'test attribute "base_url"' 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
|
+
|
|
59
|
+
describe 'test attribute "content_guard"' do
|
|
60
|
+
it 'should work' do
|
|
61
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
62
|
+
end
|
|
63
|
+
end
|
|
64
|
+
|
|
65
|
+
describe 'test attribute "name"' do
|
|
66
|
+
it 'should work' do
|
|
67
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
68
|
+
end
|
|
69
|
+
end
|
|
70
|
+
|
|
71
|
+
describe 'test attribute "remote"' do
|
|
72
|
+
it 'should work' do
|
|
73
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
74
|
+
end
|
|
75
|
+
end
|
|
76
|
+
|
|
77
|
+
end
|