pulp_maven_client 0.1.0b31572381206 → 0.1.0b31574196301

Sign up to get free protection for your applications and to get access to all the features.
Files changed (63) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +22 -8
  3. data/docs/ContentArtifactApi.md +6 -6
  4. data/docs/ContentSummary.md +21 -0
  5. data/docs/DistributionsMavenApi.md +8 -8
  6. data/docs/InlineResponse200.md +1 -1
  7. data/docs/InlineResponse2001.md +1 -1
  8. data/docs/InlineResponse2002.md +1 -1
  9. data/docs/InlineResponse2003.md +23 -0
  10. data/docs/InlineResponse2004.md +23 -0
  11. data/docs/{MavenArtifact.md → MavenMavenArtifact.md} +2 -4
  12. data/docs/{MavenDistribution.md → MavenMavenDistribution.md} +2 -2
  13. data/docs/MavenMavenRemote.md +39 -0
  14. data/docs/MavenMavenRepository.md +27 -0
  15. data/docs/RemotesMavenApi.md +10 -10
  16. data/docs/RepositoriesMavenApi.md +354 -0
  17. data/docs/RepositoriesMavenVersionsApi.md +214 -0
  18. data/docs/RepositoryVersion.md +25 -0
  19. data/lib/pulp_maven_client.rb +11 -4
  20. data/lib/pulp_maven_client/api/content_artifact_api.rb +9 -9
  21. data/lib/pulp_maven_client/api/distributions_maven_api.rb +10 -10
  22. data/lib/pulp_maven_client/api/remotes_maven_api.rb +13 -13
  23. data/lib/pulp_maven_client/api/repositories_maven_api.rb +430 -0
  24. data/lib/pulp_maven_client/api/repositories_maven_versions_api.rb +268 -0
  25. data/lib/pulp_maven_client/api_client.rb +1 -1
  26. data/lib/pulp_maven_client/api_error.rb +1 -1
  27. data/lib/pulp_maven_client/configuration.rb +1 -1
  28. data/lib/pulp_maven_client/models/async_operation_response.rb +12 -2
  29. data/lib/pulp_maven_client/models/content_summary.rb +246 -0
  30. data/lib/pulp_maven_client/models/inline_response200.rb +15 -3
  31. data/lib/pulp_maven_client/models/inline_response2001.rb +15 -3
  32. data/lib/pulp_maven_client/models/inline_response2002.rb +15 -3
  33. data/lib/pulp_maven_client/models/inline_response2003.rb +247 -0
  34. data/lib/pulp_maven_client/models/inline_response2004.rb +247 -0
  35. data/lib/pulp_maven_client/models/{maven_artifact.rb → maven_maven_artifact.rb} +16 -40
  36. data/lib/pulp_maven_client/models/{maven_distribution.rb → maven_maven_distribution.rb} +17 -23
  37. data/lib/pulp_maven_client/models/{maven_remote.rb → maven_maven_remote.rb} +69 -105
  38. data/lib/pulp_maven_client/models/maven_maven_repository.rb +294 -0
  39. data/lib/pulp_maven_client/models/repository_version.rb +244 -0
  40. data/lib/pulp_maven_client/version.rb +2 -2
  41. data/pulp_maven_client.gemspec +1 -1
  42. data/spec/api/content_artifact_api_spec.rb +3 -3
  43. data/spec/api/distributions_maven_api_spec.rb +2 -2
  44. data/spec/api/remotes_maven_api_spec.rb +3 -3
  45. data/spec/api/repositories_maven_api_spec.rb +116 -0
  46. data/spec/api/repositories_maven_versions_api_spec.rb +91 -0
  47. data/spec/api_client_spec.rb +1 -1
  48. data/spec/configuration_spec.rb +1 -1
  49. data/spec/models/async_operation_response_spec.rb +1 -1
  50. data/spec/models/content_summary_spec.rb +53 -0
  51. data/spec/models/inline_response2001_spec.rb +1 -1
  52. data/spec/models/inline_response2002_spec.rb +1 -1
  53. data/spec/models/inline_response2003_spec.rb +59 -0
  54. data/spec/models/inline_response2004_spec.rb +59 -0
  55. data/spec/models/inline_response200_spec.rb +1 -1
  56. data/spec/models/{maven_artifact_spec.rb → maven_maven_artifact_spec.rb} +7 -13
  57. data/spec/models/{maven_distribution_spec.rb → maven_maven_distribution_spec.rb} +7 -7
  58. data/spec/models/{maven_remote_spec.rb → maven_maven_remote_spec.rb} +11 -23
  59. data/spec/models/maven_maven_repository_spec.rb +71 -0
  60. data/spec/models/repository_version_spec.rb +65 -0
  61. data/spec/spec_helper.rb +1 -1
  62. metadata +42 -14
  63. data/docs/MavenRemote.md +0 -43
@@ -6,10 +6,10 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.0-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.2-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
13
13
  module PulpMavenClient
14
- VERSION = '0.1.0b31572381206'
14
+ VERSION = '0.1.0b31574196301'
15
15
  end
@@ -8,7 +8,7 @@
8
8
  The version of the OpenAPI document: v3
9
9
 
10
10
  Generated by: https://openapi-generator.tech
11
- OpenAPI Generator version: 4.2.0-SNAPSHOT
11
+ OpenAPI Generator version: 4.2.2-SNAPSHOT
12
12
 
13
13
  =end
14
14
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.0-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.2-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -37,7 +37,7 @@ describe 'ContentArtifactApi' do
37
37
  # A ViewSet for MavenArtifact.
38
38
  # @param data
39
39
  # @param [Hash] opts the optional parameters
40
- # @return [MavenArtifact]
40
+ # @return [MavenMavenArtifact]
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
@@ -73,7 +73,7 @@ describe 'ContentArtifactApi' do
73
73
  # @param [Hash] opts the optional parameters
74
74
  # @option opts [String] :fields A list of fields to include in the response.
75
75
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
76
- # @return [MavenArtifact]
76
+ # @return [MavenMavenArtifact]
77
77
  describe 'read test' do
78
78
  it 'should work' do
79
79
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.0-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.2-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -97,7 +97,7 @@ describe 'DistributionsMavenApi' do
97
97
  # @param [Hash] opts the optional parameters
98
98
  # @option opts [String] :fields A list of fields to include in the response.
99
99
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
100
- # @return [MavenDistribution]
100
+ # @return [MavenMavenDistribution]
101
101
  describe 'read test' do
102
102
  it 'should work' do
103
103
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.0-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.2-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -37,7 +37,7 @@ describe 'RemotesMavenApi' do
37
37
  # A ViewSet for MavenRemote.
38
38
  # @param data
39
39
  # @param [Hash] opts the optional parameters
40
- # @return [MavenRemote]
40
+ # @return [MavenMavenRemote]
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
@@ -99,7 +99,7 @@ describe 'RemotesMavenApi' do
99
99
  # @param [Hash] opts the optional parameters
100
100
  # @option opts [String] :fields A list of fields to include in the response.
101
101
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
102
- # @return [MavenRemote]
102
+ # @return [MavenMavenRemote]
103
103
  describe 'read test' do
104
104
  it 'should work' do
105
105
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -0,0 +1,116 @@
1
+ =begin
2
+ #Pulp 3 API
3
+
4
+ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+
6
+ The version of the OpenAPI document: v3
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.2.2-SNAPSHOT
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for PulpMavenClient::RepositoriesMavenApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'RepositoriesMavenApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = PulpMavenClient::RepositoriesMavenApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of RepositoriesMavenApi' do
30
+ it 'should create an instance of RepositoriesMavenApi' do
31
+ expect(@api_instance).to be_instance_of(PulpMavenClient::RepositoriesMavenApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for create
36
+ # Create a maven repository
37
+ # A ViewSet for MavenRemote.
38
+ # @param data
39
+ # @param [Hash] opts the optional parameters
40
+ # @return [MavenMavenRepository]
41
+ describe 'create test' 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
+ # unit tests for delete
48
+ # Delete a maven repository
49
+ # Trigger an asynchronous task to delete a repository.
50
+ # @param maven_repository_href URI of Maven Repository. e.g.: /pulp/api/v3/repositories/maven/maven/1/
51
+ # @param [Hash] opts the optional parameters
52
+ # @return [AsyncOperationResponse]
53
+ describe 'delete test' 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
+ # unit tests for list
60
+ # List maven repositorys
61
+ # A ViewSet for MavenRemote.
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 [Integer] :limit Number of results to return per page.
66
+ # @option opts [Integer] :offset The initial index from which to return the results.
67
+ # @option opts [String] :fields A list of fields to include in the response.
68
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
69
+ # @return [InlineResponse2003]
70
+ describe 'list test' do
71
+ it 'should work' do
72
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
73
+ end
74
+ end
75
+
76
+ # unit tests for partial_update
77
+ # Partially update a maven repository
78
+ # A ViewSet for MavenRemote.
79
+ # @param maven_repository_href URI of Maven Repository. e.g.: /pulp/api/v3/repositories/maven/maven/1/
80
+ # @param data
81
+ # @param [Hash] opts the optional parameters
82
+ # @return [MavenMavenRepository]
83
+ describe 'partial_update test' do
84
+ it 'should work' do
85
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
86
+ end
87
+ end
88
+
89
+ # unit tests for read
90
+ # Inspect a maven repository
91
+ # A ViewSet for MavenRemote.
92
+ # @param maven_repository_href URI of Maven Repository. e.g.: /pulp/api/v3/repositories/maven/maven/1/
93
+ # @param [Hash] opts the optional parameters
94
+ # @option opts [String] :fields A list of fields to include in the response.
95
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
96
+ # @return [MavenMavenRepository]
97
+ describe 'read test' do
98
+ it 'should work' do
99
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
100
+ end
101
+ end
102
+
103
+ # unit tests for update
104
+ # Update a maven repository
105
+ # Trigger an asynchronous task to update a repository.
106
+ # @param maven_repository_href URI of Maven Repository. e.g.: /pulp/api/v3/repositories/maven/maven/1/
107
+ # @param data
108
+ # @param [Hash] opts the optional parameters
109
+ # @return [AsyncOperationResponse]
110
+ describe 'update test' do
111
+ it 'should work' do
112
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
113
+ end
114
+ end
115
+
116
+ end
@@ -0,0 +1,91 @@
1
+ =begin
2
+ #Pulp 3 API
3
+
4
+ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+
6
+ The version of the OpenAPI document: v3
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.2.2-SNAPSHOT
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for PulpMavenClient::RepositoriesMavenVersionsApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'RepositoriesMavenVersionsApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = PulpMavenClient::RepositoriesMavenVersionsApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of RepositoriesMavenVersionsApi' do
30
+ it 'should create an instance of RepositoriesMavenVersionsApi' do
31
+ expect(@api_instance).to be_instance_of(PulpMavenClient::RepositoriesMavenVersionsApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for delete
36
+ # Delete a repository version
37
+ # Trigger an asynchronous task to delete a repositroy version.
38
+ # @param maven_repository_version_href URI of Repository Version. e.g.: /pulp/api/v3/repositories/maven/maven/1/versions/1/
39
+ # @param [Hash] opts the optional parameters
40
+ # @return [AsyncOperationResponse]
41
+ describe 'delete test' 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
+ # unit tests for list
48
+ # List repository versions
49
+ # MavenRepositoryVersion represents a single Maven repository version.
50
+ # @param maven_maven_repository_href URI of Maven Repository. e.g.: /pulp/api/v3/repositories/maven/maven/1/
51
+ # @param [Hash] opts the optional parameters
52
+ # @option opts [String] :ordering Which field to use when ordering the results.
53
+ # @option opts [Float] :number
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
66
+ # @option opts [Integer] :limit Number of results to return per page.
67
+ # @option opts [Integer] :offset The initial index from which to return the results.
68
+ # @option opts [String] :fields A list of fields to include in the response.
69
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
70
+ # @return [InlineResponse2004]
71
+ describe 'list test' 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
+ # unit tests for read
78
+ # Inspect a repository version
79
+ # MavenRepositoryVersion represents a single Maven repository version.
80
+ # @param maven_repository_version_href URI of Repository Version. e.g.: /pulp/api/v3/repositories/maven/maven/1/versions/1/
81
+ # @param [Hash] opts the optional parameters
82
+ # @option opts [String] :fields A list of fields to include in the response.
83
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
84
+ # @return [RepositoryVersion]
85
+ describe 'read test' do
86
+ it 'should work' do
87
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
88
+ end
89
+ end
90
+
91
+ end
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.0-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.2-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.0-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.2-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.0-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.2-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -0,0 +1,53 @@
1
+ =begin
2
+ #Pulp 3 API
3
+
4
+ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+
6
+ The version of the OpenAPI document: v3
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.2.2-SNAPSHOT
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for PulpMavenClient::ContentSummary
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe 'ContentSummary' do
21
+ before do
22
+ # run before each test
23
+ @instance = PulpMavenClient::ContentSummary.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of ContentSummary' do
31
+ it 'should create an instance of ContentSummary' do
32
+ expect(@instance).to be_instance_of(PulpMavenClient::ContentSummary)
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
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.0-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.2-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.0-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.2-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -0,0 +1,59 @@
1
+ =begin
2
+ #Pulp 3 API
3
+
4
+ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+
6
+ The version of the OpenAPI document: v3
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.2.2-SNAPSHOT
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for PulpMavenClient::InlineResponse2003
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe 'InlineResponse2003' do
21
+ before do
22
+ # run before each test
23
+ @instance = PulpMavenClient::InlineResponse2003.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of InlineResponse2003' do
31
+ it 'should create an instance of InlineResponse2003' do
32
+ expect(@instance).to be_instance_of(PulpMavenClient::InlineResponse2003)
33
+ end
34
+ end
35
+ describe 'test attribute "count"' 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 "_next"' 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 "previous"' 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 "results"' 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
+ end