pulp_maven_client 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (97) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +43 -31
  3. data/docs/ContentArtifactApi.md +37 -35
  4. data/docs/ContentSummary.md +3 -3
  5. data/docs/ContentSummaryResponse.md +21 -0
  6. data/docs/DistributionsMavenApi.md +63 -61
  7. data/docs/MavenMavenArtifact.md +3 -13
  8. data/docs/MavenMavenArtifactResponse.md +29 -0
  9. data/docs/MavenMavenDistribution.md +1 -7
  10. data/docs/MavenMavenDistributionResponse.md +29 -0
  11. data/docs/MavenMavenRemote.md +18 -12
  12. data/docs/MavenMavenRemoteResponse.md +51 -0
  13. data/docs/MavenMavenRepository.md +4 -10
  14. data/docs/MavenMavenRepositoryResponse.md +29 -0
  15. data/docs/PaginatedRepositoryVersionResponseList.md +23 -0
  16. data/docs/PaginatedmavenMavenArtifactResponseList.md +23 -0
  17. data/docs/PaginatedmavenMavenDistributionResponseList.md +23 -0
  18. data/docs/PaginatedmavenMavenRemoteResponseList.md +23 -0
  19. data/docs/PaginatedmavenMavenRepositoryResponseList.md +23 -0
  20. data/docs/PatchedmavenMavenDistribution.md +23 -0
  21. data/docs/PatchedmavenMavenRemote.md +45 -0
  22. data/docs/PatchedmavenMavenRepository.md +21 -0
  23. data/docs/PolicyEnum.md +16 -0
  24. data/docs/RemotesMavenApi.md +68 -66
  25. data/docs/RepositoriesMavenApi.md +60 -58
  26. data/docs/RepositoriesMavenVersionsApi.md +110 -53
  27. data/docs/RepositoryVersion.md +1 -9
  28. data/docs/RepositoryVersionResponse.md +25 -0
  29. data/lib/pulp_maven_client/api/content_artifact_api.rb +55 -52
  30. data/lib/pulp_maven_client/api/distributions_maven_api.rb +94 -91
  31. data/lib/pulp_maven_client/api/remotes_maven_api.rb +104 -101
  32. data/lib/pulp_maven_client/api/repositories_maven_api.rb +97 -94
  33. data/lib/pulp_maven_client/api/repositories_maven_versions_api.rb +149 -78
  34. data/lib/pulp_maven_client/api_client.rb +3 -3
  35. data/lib/pulp_maven_client/api_error.rb +3 -3
  36. data/lib/pulp_maven_client/configuration.rb +6 -6
  37. data/lib/pulp_maven_client/models/async_operation_response.rb +4 -3
  38. data/lib/pulp_maven_client/models/content_summary.rb +10 -16
  39. data/lib/pulp_maven_client/models/content_summary_response.rb +240 -0
  40. data/lib/pulp_maven_client/models/maven_maven_artifact.rb +15 -118
  41. data/lib/pulp_maven_client/models/maven_maven_artifact_response.rb +272 -0
  42. data/lib/pulp_maven_client/models/maven_maven_distribution.rb +5 -86
  43. data/lib/pulp_maven_client/models/maven_maven_distribution_response.rb +279 -0
  44. data/lib/pulp_maven_client/models/maven_maven_remote.rb +111 -147
  45. data/lib/pulp_maven_client/models/maven_maven_remote_response.rb +472 -0
  46. data/lib/pulp_maven_client/models/maven_maven_repository.rb +19 -79
  47. data/lib/pulp_maven_client/models/maven_maven_repository_response.rb +271 -0
  48. data/lib/pulp_maven_client/models/{inline_response200.rb → paginated_repository_version_response_list.rb} +7 -17
  49. data/lib/pulp_maven_client/models/{inline_response2002.rb → paginatedmaven_maven_artifact_response_list.rb} +7 -17
  50. data/lib/pulp_maven_client/models/{inline_response2004.rb → paginatedmaven_maven_distribution_response_list.rb} +7 -17
  51. data/lib/pulp_maven_client/models/{inline_response2003.rb → paginatedmaven_maven_remote_response_list.rb} +7 -17
  52. data/lib/pulp_maven_client/models/paginatedmaven_maven_repository_response_list.rb +237 -0
  53. data/lib/pulp_maven_client/models/{inline_response2001.rb → patchedmaven_maven_distribution.rb} +38 -45
  54. data/lib/pulp_maven_client/models/patchedmaven_maven_remote.rb +433 -0
  55. data/lib/pulp_maven_client/models/patchedmaven_maven_repository.rb +229 -0
  56. data/lib/pulp_maven_client/models/policy_enum.rb +36 -0
  57. data/lib/pulp_maven_client/models/repository_version.rb +8 -44
  58. data/lib/pulp_maven_client/models/repository_version_response.rb +246 -0
  59. data/lib/pulp_maven_client/version.rb +4 -4
  60. data/lib/pulp_maven_client.rb +18 -8
  61. data/pulp_maven_client.gemspec +5 -5
  62. data/spec/api/content_artifact_api_spec.rb +16 -15
  63. data/spec/api/distributions_maven_api_spec.rb +20 -19
  64. data/spec/api/remotes_maven_api_spec.rb +23 -22
  65. data/spec/api/repositories_maven_api_spec.rb +21 -20
  66. data/spec/api/repositories_maven_versions_api_spec.rb +36 -23
  67. data/spec/api_client_spec.rb +3 -3
  68. data/spec/configuration_spec.rb +6 -6
  69. data/spec/models/async_operation_response_spec.rb +3 -3
  70. data/spec/models/content_summary_response_spec.rb +53 -0
  71. data/spec/models/content_summary_spec.rb +3 -3
  72. data/spec/models/maven_maven_artifact_response_spec.rb +77 -0
  73. data/spec/models/maven_maven_artifact_spec.rb +4 -34
  74. data/spec/models/maven_maven_distribution_response_spec.rb +77 -0
  75. data/spec/models/maven_maven_distribution_spec.rb +3 -21
  76. data/spec/models/maven_maven_remote_response_spec.rb +143 -0
  77. data/spec/models/maven_maven_remote_spec.rb +33 -19
  78. data/spec/models/maven_maven_repository_response_spec.rb +77 -0
  79. data/spec/models/maven_maven_repository_spec.rb +6 -24
  80. data/spec/models/{inline_response2002_spec.rb → paginated_repository_version_response_list_spec.rb} +9 -9
  81. data/spec/models/{inline_response2003_spec.rb → paginatedmaven_maven_artifact_response_list_spec.rb} +9 -9
  82. data/spec/models/paginatedmaven_maven_distribution_response_list_spec.rb +59 -0
  83. data/spec/models/{inline_response2001_spec.rb → paginatedmaven_maven_remote_response_list_spec.rb} +9 -9
  84. data/spec/models/{inline_response2004_spec.rb → paginatedmaven_maven_repository_response_list_spec.rb} +9 -9
  85. data/spec/models/patchedmaven_maven_distribution_spec.rb +59 -0
  86. data/spec/models/patchedmaven_maven_remote_spec.rb +125 -0
  87. data/spec/models/{inline_response200_spec.rb → patchedmaven_maven_repository_spec.rb} +12 -18
  88. data/spec/models/policy_enum_spec.rb +35 -0
  89. data/spec/models/repository_version_response_spec.rb +65 -0
  90. data/spec/models/repository_version_spec.rb +3 -27
  91. data/spec/spec_helper.rb +3 -3
  92. metadata +70 -30
  93. data/docs/InlineResponse200.md +0 -23
  94. data/docs/InlineResponse2001.md +0 -23
  95. data/docs/InlineResponse2002.md +0 -23
  96. data/docs/InlineResponse2003.md +0 -23
  97. data/docs/InlineResponse2004.md +0 -23
@@ -1,12 +1,12 @@
1
1
  =begin
2
2
  #Pulp 3 API
3
3
 
4
- #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
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.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 data
38
+ # @param maven_maven_remote
39
39
  # @param [Hash] opts the optional parameters
40
- # @return [MavenMavenRemote]
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 maven_remote_href URI of Maven Remote. e.g.: /pulp/api/v3/remotes/maven/maven/1/
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 [InlineResponse2002]
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
- # Partially update a maven remote
84
+ # Update a maven remote
84
85
  # Trigger an asynchronous partial update task
85
- # @param maven_remote_href URI of Maven Remote. e.g.: /pulp/api/v3/remotes/maven/maven/1/
86
- # @param data
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 maven_remote_href URI of Maven Remote. e.g.: /pulp/api/v3/remotes/maven/maven/1/
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 [MavenMavenRemote]
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 maven_remote_href URI of Maven Remote. e.g.: /pulp/api/v3/remotes/maven/maven/1/
113
- # @param data
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
- #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
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.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 data
38
+ # @param maven_maven_repository
39
39
  # @param [Hash] opts the optional parameters
40
- # @return [MavenMavenRepository]
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 task to delete a repository.
50
- # @param maven_repository_href URI of Maven Repository. e.g.: /pulp/api/v3/repositories/maven/maven/1/
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 [InlineResponse2003]
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
- # 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
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 [MavenMavenRepository]
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 maven_repository_href URI of Maven Repository. e.g.: /pulp/api/v3/repositories/maven/maven/1/
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 [MavenMavenRepository]
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 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
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
- #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
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.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 repositroy version.
38
- # @param maven_repository_version_href URI of Repository Version. e.g.: /pulp/api/v3/repositories/maven/maven/1/versions/1/
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 maven_repository_href URI of Maven Repository. e.g.: /pulp/api/v3/repositories/maven/maven/1/
50
+ # @param maven_maven_repository_href
51
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
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 [InlineResponse2004]
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 maven_repository_version_href URI of Repository Version. e.g.: /pulp/api/v3/repositories/maven/maven/1/versions/1/
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 [RepositoryVersion]
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
@@ -1,12 +1,12 @@
1
1
  =begin
2
2
  #Pulp 3 API
3
3
 
4
- #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
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.2
9
+ OpenAPI Generator version: 4.2.3
10
10
 
11
11
  =end
12
12
 
@@ -1,12 +1,12 @@
1
1
  =begin
2
2
  #Pulp 3 API
3
3
 
4
- #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
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.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://localhost:24817")
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://localhost:24817")
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://localhost:24817")
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
- #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
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.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
- #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
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.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
- #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
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.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 "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
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