pulp_npm_client 0.1.0a3 → 0.1.0a4

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.
Files changed (94) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +1 -1
  3. data/README.md +8 -8
  4. data/docs/ContentPackagesApi.md +6 -4
  5. data/docs/DistributionsNpmApi.md +3 -3
  6. data/docs/NpmNpmDistribution.md +1 -3
  7. data/docs/NpmNpmDistributionResponse.md +1 -3
  8. data/docs/NpmNpmRemote.md +10 -8
  9. data/docs/NpmNpmRemoteResponse.md +8 -6
  10. data/docs/NpmNpmRepository.md +3 -1
  11. data/docs/NpmNpmRepositoryResponse.md +3 -1
  12. data/docs/NpmPackage.md +2 -0
  13. data/docs/PatchednpmNpmDistribution.md +1 -3
  14. data/docs/PatchednpmNpmRemote.md +10 -8
  15. data/docs/PatchednpmNpmRepository.md +3 -1
  16. data/docs/PulpNpmPackagesApi.md +1 -1
  17. data/docs/RemotesNpmApi.md +3 -3
  18. data/docs/Repair.md +17 -0
  19. data/docs/RepositoriesNpmApi.md +3 -3
  20. data/docs/RepositoriesNpmVersionsApi.md +7 -7
  21. data/docs/RepositoryAddRemoveContent.md +2 -2
  22. data/docs/RepositoryVersionResponse.md +2 -0
  23. data/lib/pulp_npm_client/api/content_packages_api.rb +23 -4
  24. data/lib/pulp_npm_client/api/distributions_npm_api.rb +8 -4
  25. data/lib/pulp_npm_client/api/pulp_npm_packages_api.rb +1 -1
  26. data/lib/pulp_npm_client/api/remotes_npm_api.rb +8 -4
  27. data/lib/pulp_npm_client/api/repositories_npm_api.rb +8 -4
  28. data/lib/pulp_npm_client/api/repositories_npm_versions_api.rb +17 -13
  29. data/lib/pulp_npm_client/api_client.rb +13 -12
  30. data/lib/pulp_npm_client/api_error.rb +1 -1
  31. data/lib/pulp_npm_client/configuration.rb +11 -3
  32. data/lib/pulp_npm_client/models/async_operation_response.rb +1 -1
  33. data/lib/pulp_npm_client/models/content_summary_response.rb +1 -1
  34. data/lib/pulp_npm_client/models/npm_npm_distribution.rb +44 -17
  35. data/lib/pulp_npm_client/models/npm_npm_distribution_response.rb +6 -17
  36. data/lib/pulp_npm_client/models/npm_npm_remote.rb +180 -10
  37. data/lib/pulp_npm_client/models/npm_npm_remote_response.rb +20 -8
  38. data/lib/pulp_npm_client/models/npm_npm_repository.rb +63 -2
  39. data/lib/pulp_npm_client/models/npm_npm_repository_response.rb +29 -2
  40. data/lib/pulp_npm_client/models/npm_package.rb +69 -2
  41. data/lib/pulp_npm_client/models/npm_package_response.rb +1 -1
  42. data/lib/pulp_npm_client/models/paginated_repository_version_response_list.rb +1 -1
  43. data/lib/pulp_npm_client/models/paginatednpm_npm_distribution_response_list.rb +1 -1
  44. data/lib/pulp_npm_client/models/paginatednpm_npm_remote_response_list.rb +1 -1
  45. data/lib/pulp_npm_client/models/paginatednpm_npm_repository_response_list.rb +1 -1
  46. data/lib/pulp_npm_client/models/paginatednpm_package_response_list.rb +1 -1
  47. data/lib/pulp_npm_client/models/patchednpm_npm_distribution.rb +36 -17
  48. data/lib/pulp_npm_client/models/patchednpm_npm_remote.rb +172 -10
  49. data/lib/pulp_npm_client/models/patchednpm_npm_repository.rb +59 -2
  50. data/lib/pulp_npm_client/models/policy_enum.rb +1 -1
  51. data/lib/pulp_npm_client/models/{repository_version.rb → repair.rb} +14 -13
  52. data/lib/pulp_npm_client/models/repository_add_remove_content.rb +3 -3
  53. data/lib/pulp_npm_client/models/repository_sync_url.rb +1 -1
  54. data/lib/pulp_npm_client/models/repository_version_response.rb +11 -2
  55. data/lib/pulp_npm_client/version.rb +2 -2
  56. data/lib/pulp_npm_client.rb +2 -3
  57. data/pulp_npm_client.gemspec +2 -2
  58. data/spec/api/content_packages_api_spec.rb +3 -2
  59. data/spec/api/distributions_npm_api_spec.rb +2 -2
  60. data/spec/api/pulp_npm_packages_api_spec.rb +1 -1
  61. data/spec/api/remotes_npm_api_spec.rb +2 -2
  62. data/spec/api/repositories_npm_api_spec.rb +2 -2
  63. data/spec/api/repositories_npm_versions_api_spec.rb +3 -3
  64. data/spec/api_client_spec.rb +2 -2
  65. data/spec/configuration_spec.rb +4 -4
  66. data/spec/models/async_operation_response_spec.rb +1 -1
  67. data/spec/models/content_summary_response_spec.rb +1 -1
  68. data/spec/models/npm_npm_distribution_response_spec.rb +1 -7
  69. data/spec/models/npm_npm_distribution_spec.rb +1 -7
  70. data/spec/models/npm_npm_remote_response_spec.rb +7 -1
  71. data/spec/models/npm_npm_remote_spec.rb +7 -1
  72. data/spec/models/npm_npm_repository_response_spec.rb +7 -1
  73. data/spec/models/npm_npm_repository_spec.rb +7 -1
  74. data/spec/models/npm_package_response_spec.rb +1 -1
  75. data/spec/models/npm_package_spec.rb +7 -1
  76. data/spec/models/paginated_repository_version_response_list_spec.rb +1 -1
  77. data/spec/models/paginatednpm_npm_distribution_response_list_spec.rb +1 -1
  78. data/spec/models/paginatednpm_npm_remote_response_list_spec.rb +1 -1
  79. data/spec/models/paginatednpm_npm_repository_response_list_spec.rb +1 -1
  80. data/spec/models/paginatednpm_package_response_list_spec.rb +1 -1
  81. data/spec/models/patchednpm_npm_distribution_spec.rb +1 -7
  82. data/spec/models/patchednpm_npm_remote_spec.rb +7 -1
  83. data/spec/models/patchednpm_npm_repository_spec.rb +7 -1
  84. data/spec/models/policy_enum_spec.rb +1 -1
  85. data/spec/models/{repository_version_spec.rb → repair_spec.rb} +8 -8
  86. data/spec/models/repository_add_remove_content_spec.rb +1 -1
  87. data/spec/models/repository_sync_url_spec.rb +1 -1
  88. data/spec/models/repository_version_response_spec.rb +7 -1
  89. data/spec/spec_helper.rb +1 -1
  90. metadata +37 -35
  91. data/docs/ContentSummary.md +0 -21
  92. data/docs/RepositoryVersion.md +0 -17
  93. data/lib/pulp_npm_client/models/content_summary.rb +0 -246
  94. data/spec/models/content_summary_spec.rb +0 -53
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b48ba81fad0df623bb9c71e911fa991507ab37efd20eb1fa3c8a50120ca1dbf2
4
- data.tar.gz: 10bb18d180432d13223033bbe05a28a82d8bb59d2a208b027d9fd032c67c9283
3
+ metadata.gz: 17e5be2599f8bd3c8d1e77fb9154575df3a44b299f3984dd8ea4492c8b0e39d1
4
+ data.tar.gz: 6fa4eaecdc4a725ae6076283d8eab3c804f10530aaf2b678dce0509fac57c668
5
5
  SHA512:
6
- metadata.gz: c3419837e87bd025f2b2edf53a31cfeb5c60de8826bd522f592182804b47fce92bb67c29abf4d7e911b0ad0a9506df5f7e5a5e4d0111041e937d72a392f60192
7
- data.tar.gz: 83f38119ba240397ac8abdb5378bbb35952ebf4b8175a5125d4124b3e7b153f4ecfe3327c37b41667456286bf3916bc492df7e9f6a97ac5a51a02114c5577923
6
+ metadata.gz: 6170105e489adaba2ff0ecf6a7a2a750f408cc0a6c230ff54fff059d7e7df88693a9b5785f7da8626c5cdd4b9c11b6f3979d82a68012f289f44751e7f5bd87fe
7
+ data.tar.gz: 76e5de68ce2a37d72752bd7a32208e4cea6dbcc16550a3dfef0ad1767c43a9781c295040d9d36e7d102d8eca180e50bff9ed2e90de1af3b44f282b19f783731e
data/Gemfile CHANGED
@@ -3,7 +3,7 @@ source 'https://rubygems.org'
3
3
  gemspec
4
4
 
5
5
  group :development, :test do
6
- gem 'rake', '~> 12.0.0'
6
+ gem 'rake', '~> 13.0.1'
7
7
  gem 'pry-byebug'
8
8
  gem 'rubocop', '~> 0.66.0'
9
9
  end
data/README.md CHANGED
@@ -7,7 +7,7 @@ Fetch, Upload, Organize, and Distribute Software Packages
7
7
  This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
8
8
 
9
9
  - API version: v3
10
- - Package version: 0.1.0a3
10
+ - Package version: 0.1.0a4
11
11
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
12
12
  For more information, please visit [https://pulpproject.org](https://pulpproject.org)
13
13
 
@@ -24,16 +24,16 @@ gem build pulp_npm_client.gemspec
24
24
  Then either install the gem locally:
25
25
 
26
26
  ```shell
27
- gem install ./pulp_npm_client-0.1.0a3.gem
27
+ gem install ./pulp_npm_client-0.1.0a4.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./pulp_npm_client-0.1.0a3.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./pulp_npm_client-0.1.0a4.gem` to install the development dependencies)
31
31
 
32
32
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
33
33
 
34
34
  Finally add this to the Gemfile:
35
35
 
36
- gem 'pulp_npm_client', '~> 0.1.0a3'
36
+ gem 'pulp_npm_client', '~> 0.1.0a4'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -71,7 +71,8 @@ version = 'version_example' # String |
71
71
  opts = {
72
72
  artifact: 'artifact_example', # String | Artifact file representing the physical content
73
73
  file: File.new('/path/to/file'), # File | An uploaded file that may be turned into the artifact of the content unit.
74
- repository: 'repository_example' # String | A URI of a repository the new content unit should be associated with.
74
+ repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
75
+ upload: 'upload_example' # String | An uncommitted upload that may be turned into the artifact of the content unit.
75
76
  }
76
77
 
77
78
  begin
@@ -86,7 +87,7 @@ end
86
87
 
87
88
  ## Documentation for API Endpoints
88
89
 
89
- All URIs are relative to *http://pulp*
90
+ All URIs are relative to *https://pulp*
90
91
 
91
92
  Class | Method | HTTP request | Description
92
93
  ------------ | ------------- | ------------- | -------------
@@ -123,7 +124,6 @@ Class | Method | HTTP request | Description
123
124
  ## Documentation for Models
124
125
 
125
126
  - [PulpNpmClient::AsyncOperationResponse](docs/AsyncOperationResponse.md)
126
- - [PulpNpmClient::ContentSummary](docs/ContentSummary.md)
127
127
  - [PulpNpmClient::ContentSummaryResponse](docs/ContentSummaryResponse.md)
128
128
  - [PulpNpmClient::NpmNpmDistribution](docs/NpmNpmDistribution.md)
129
129
  - [PulpNpmClient::NpmNpmDistributionResponse](docs/NpmNpmDistributionResponse.md)
@@ -142,9 +142,9 @@ Class | Method | HTTP request | Description
142
142
  - [PulpNpmClient::PatchednpmNpmRemote](docs/PatchednpmNpmRemote.md)
143
143
  - [PulpNpmClient::PatchednpmNpmRepository](docs/PatchednpmNpmRepository.md)
144
144
  - [PulpNpmClient::PolicyEnum](docs/PolicyEnum.md)
145
+ - [PulpNpmClient::Repair](docs/Repair.md)
145
146
  - [PulpNpmClient::RepositoryAddRemoveContent](docs/RepositoryAddRemoveContent.md)
146
147
  - [PulpNpmClient::RepositorySyncURL](docs/RepositorySyncURL.md)
147
- - [PulpNpmClient::RepositoryVersion](docs/RepositoryVersion.md)
148
148
  - [PulpNpmClient::RepositoryVersionResponse](docs/RepositoryVersionResponse.md)
149
149
 
150
150
 
@@ -1,6 +1,6 @@
1
1
  # PulpNpmClient::ContentPackagesApi
2
2
 
3
- All URIs are relative to *http://pulp*
3
+ All URIs are relative to *https://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -37,7 +37,8 @@ version = 'version_example' # String |
37
37
  opts = {
38
38
  artifact: 'artifact_example', # String | Artifact file representing the physical content
39
39
  file: File.new('/path/to/file'), # File | An uploaded file that may be turned into the artifact of the content unit.
40
- repository: 'repository_example' # String | A URI of a repository the new content unit should be associated with.
40
+ repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
41
+ upload: 'upload_example' # String | An uncommitted upload that may be turned into the artifact of the content unit.
41
42
  }
42
43
 
43
44
  begin
@@ -60,6 +61,7 @@ Name | Type | Description | Notes
60
61
  **artifact** | **String**| Artifact file representing the physical content | [optional]
61
62
  **file** | **File**| An uploaded file that may be turned into the artifact of the content unit. | [optional]
62
63
  **repository** | **String**| A URI of a repository the new content unit should be associated with. | [optional]
64
+ **upload** | **String**| An uncommitted upload that may be turned into the artifact of the content unit. | [optional]
63
65
 
64
66
  ### Return type
65
67
 
@@ -101,7 +103,7 @@ opts = {
101
103
  name: 'name_example', # String | Filter results where name matches value
102
104
  name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
103
105
  offset: 56, # Integer | The initial index from which to return the results.
104
- ordering: 'ordering_example', # String | Which field to use when ordering the results.
106
+ ordering: ['ordering_example'], # Array<String> | Ordering
105
107
  repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
106
108
  repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF
107
109
  repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF
@@ -127,7 +129,7 @@ Name | Type | Description | Notes
127
129
  **name** | **String**| Filter results where name matches value | [optional]
128
130
  **name__in** | [**Array&lt;String&gt;**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
129
131
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
130
- **ordering** | **String**| Which field to use when ordering the results. | [optional]
132
+ **ordering** | [**Array&lt;String&gt;**](String.md)| Ordering | [optional]
131
133
  **repository_version** | **String**| Repository Version referenced by HREF | [optional]
132
134
  **repository_version_added** | **String**| Repository Version referenced by HREF | [optional]
133
135
  **repository_version_removed** | **String**| Repository Version referenced by HREF | [optional]
@@ -1,6 +1,6 @@
1
1
  # PulpNpmClient::DistributionsNpmApi
2
2
 
3
- All URIs are relative to *http://pulp*
3
+ All URIs are relative to *https://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -152,7 +152,7 @@ opts = {
152
152
  name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
153
153
  name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
154
154
  offset: 56, # Integer | The initial index from which to return the results.
155
- ordering: 'ordering_example', # String | Which field to use when ordering the results.
155
+ ordering: ['ordering_example'], # Array<String> | Ordering
156
156
  pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
157
157
  fields: 'fields_example', # String | A list of fields to include in the response.
158
158
  exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
@@ -183,7 +183,7 @@ Name | Type | Description | Notes
183
183
  **name__in** | [**Array&lt;String&gt;**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
184
184
  **name__startswith** | **String**| Filter results where name starts with value | [optional]
185
185
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
186
- **ordering** | **String**| Which field to use when ordering the results. | [optional]
186
+ **ordering** | [**Array&lt;String&gt;**](String.md)| Ordering | [optional]
187
187
  **pulp_label_select** | **String**| Filter labels by search string | [optional]
188
188
  **fields** | **String**| A list of fields to include in the response. | [optional]
189
189
  **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
@@ -9,7 +9,6 @@ Name | Type | Description | Notes
9
9
  **pulp_labels** | [**Object**](.md) | | [optional]
10
10
  **name** | **String** | A unique name. Ex, &#x60;rawhide&#x60; and &#x60;stable&#x60;. |
11
11
  **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
12
- **repository_version** | **String** | RepositoryVersion to be served | [optional]
13
12
 
14
13
  ## Code Sample
15
14
 
@@ -20,8 +19,7 @@ instance = PulpNpmClient::NpmNpmDistribution.new(base_path: null,
20
19
  content_guard: null,
21
20
  pulp_labels: null,
22
21
  name: null,
23
- repository: null,
24
- repository_version: null)
22
+ repository: null)
25
23
  ```
26
24
 
27
25
 
@@ -12,7 +12,6 @@ Name | Type | Description | Notes
12
12
  **pulp_labels** | [**Object**](.md) | | [optional]
13
13
  **name** | **String** | A unique name. Ex, &#x60;rawhide&#x60; and &#x60;stable&#x60;. |
14
14
  **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
15
- **repository_version** | **String** | RepositoryVersion to be served | [optional]
16
15
 
17
16
  ## Code Sample
18
17
 
@@ -26,8 +25,7 @@ instance = PulpNpmClient::NpmNpmDistributionResponse.new(pulp_href: null,
26
25
  content_guard: null,
27
26
  pulp_labels: null,
28
27
  name: null,
29
- repository: null,
30
- repository_version: null)
28
+ repository: null)
31
29
  ```
32
30
 
33
31
 
data/docs/NpmNpmRemote.md CHANGED
@@ -12,18 +12,19 @@ Name | Type | Description | Notes
12
12
  **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
13
13
  **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
14
14
  **proxy_username** | **String** | The username to authenticte to the proxy. | [optional]
15
- **proxy_password** | **String** | The password to authenticte to the proxy. | [optional]
15
+ **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional]
16
16
  **username** | **String** | The username to be used for authentication when syncing. | [optional]
17
- **password** | **String** | The password to be used for authentication when syncing. | [optional]
17
+ **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional]
18
18
  **pulp_labels** | [**Object**](.md) | | [optional]
19
- **download_concurrency** | **Integer** | Total number of simultaneous connections. | [optional]
19
+ **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
20
+ **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
20
21
  **policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. The possible values include: &#39;immediate&#39;, &#39;on_demand&#39;, and &#39;streamed&#39;. &#39;immediate&#39; is the default. | [optional]
21
- **total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. | [optional]
22
- **connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. | [optional]
23
- **sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. | [optional]
24
- **sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. | [optional]
22
+ **total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
23
+ **connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
24
+ **sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
25
+ **sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
25
26
  **headers** | **Array&lt;Object&gt;** | Headers for aiohttp.Clientsession | [optional]
26
- **rate_limit** | **Integer** | Limits total download rate in requests per second | [optional]
27
+ **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional]
27
28
 
28
29
  ## Code Sample
29
30
 
@@ -43,6 +44,7 @@ instance = PulpNpmClient::NpmNpmRemote.new(name: null,
43
44
  password: null,
44
45
  pulp_labels: null,
45
46
  download_concurrency: null,
47
+ max_retries: null,
46
48
  policy: null,
47
49
  total_timeout: null,
48
50
  connect_timeout: null,
@@ -14,14 +14,15 @@ Name | Type | Description | Notes
14
14
  **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
15
15
  **pulp_labels** | [**Object**](.md) | | [optional]
16
16
  **pulp_last_updated** | **DateTime** | Timestamp of the most recent update of the remote. | [optional] [readonly]
17
- **download_concurrency** | **Integer** | Total number of simultaneous connections. | [optional]
17
+ **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
18
+ **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
18
19
  **policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. The possible values include: &#39;immediate&#39;, &#39;on_demand&#39;, and &#39;streamed&#39;. &#39;immediate&#39; is the default. | [optional]
19
- **total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. | [optional]
20
- **connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. | [optional]
21
- **sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. | [optional]
22
- **sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. | [optional]
20
+ **total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
21
+ **connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
22
+ **sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
23
+ **sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
23
24
  **headers** | **Array&lt;Object&gt;** | Headers for aiohttp.Clientsession | [optional]
24
- **rate_limit** | **Integer** | Limits total download rate in requests per second | [optional]
25
+ **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional]
25
26
 
26
27
  ## Code Sample
27
28
 
@@ -39,6 +40,7 @@ instance = PulpNpmClient::NpmNpmRemoteResponse.new(pulp_href: null,
39
40
  pulp_labels: null,
40
41
  pulp_last_updated: null,
41
42
  download_concurrency: null,
43
+ max_retries: null,
42
44
  policy: null,
43
45
  total_timeout: null,
44
46
  connect_timeout: null,
@@ -7,7 +7,8 @@ Name | Type | Description | Notes
7
7
  **pulp_labels** | [**Object**](.md) | | [optional]
8
8
  **name** | **String** | A unique name for this repository. |
9
9
  **description** | **String** | An optional description. | [optional]
10
- **remote** | **String** | | [optional]
10
+ **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future. | [optional]
11
+ **remote** | **String** | An optional remote to use by default when syncing. | [optional]
11
12
 
12
13
  ## Code Sample
13
14
 
@@ -17,6 +18,7 @@ require 'PulpNpmClient'
17
18
  instance = PulpNpmClient::NpmNpmRepository.new(pulp_labels: null,
18
19
  name: null,
19
20
  description: null,
21
+ retain_repo_versions: null,
20
22
  remote: null)
21
23
  ```
22
24
 
@@ -11,7 +11,8 @@ Name | Type | Description | Notes
11
11
  **latest_version_href** | **String** | | [optional] [readonly]
12
12
  **name** | **String** | A unique name for this repository. |
13
13
  **description** | **String** | An optional description. | [optional]
14
- **remote** | **String** | | [optional]
14
+ **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future. | [optional]
15
+ **remote** | **String** | An optional remote to use by default when syncing. | [optional]
15
16
 
16
17
  ## Code Sample
17
18
 
@@ -25,6 +26,7 @@ instance = PulpNpmClient::NpmNpmRepositoryResponse.new(pulp_href: null,
25
26
  latest_version_href: null,
26
27
  name: null,
27
28
  description: null,
29
+ retain_repo_versions: null,
28
30
  remote: null)
29
31
  ```
30
32
 
data/docs/NpmPackage.md CHANGED
@@ -8,6 +8,7 @@ Name | Type | Description | Notes
8
8
  **relative_path** | **String** | |
9
9
  **file** | **File** | An uploaded file that may be turned into the artifact of the content unit. | [optional]
10
10
  **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional]
11
+ **upload** | **String** | An uncommitted upload that may be turned into the artifact of the content unit. | [optional]
11
12
  **name** | **String** | |
12
13
  **version** | **String** | |
13
14
 
@@ -20,6 +21,7 @@ instance = PulpNpmClient::NpmPackage.new(artifact: null,
20
21
  relative_path: null,
21
22
  file: null,
22
23
  repository: null,
24
+ upload: null,
23
25
  name: null,
24
26
  version: null)
25
27
  ```
@@ -9,7 +9,6 @@ Name | Type | Description | Notes
9
9
  **pulp_labels** | [**Object**](.md) | | [optional]
10
10
  **name** | **String** | A unique name. Ex, &#x60;rawhide&#x60; and &#x60;stable&#x60;. | [optional]
11
11
  **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
12
- **repository_version** | **String** | RepositoryVersion to be served | [optional]
13
12
 
14
13
  ## Code Sample
15
14
 
@@ -20,8 +19,7 @@ instance = PulpNpmClient::PatchednpmNpmDistribution.new(base_path: null,
20
19
  content_guard: null,
21
20
  pulp_labels: null,
22
21
  name: null,
23
- repository: null,
24
- repository_version: null)
22
+ repository: null)
25
23
  ```
26
24
 
27
25
 
@@ -12,18 +12,19 @@ Name | Type | Description | Notes
12
12
  **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
13
13
  **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
14
14
  **proxy_username** | **String** | The username to authenticte to the proxy. | [optional]
15
- **proxy_password** | **String** | The password to authenticte to the proxy. | [optional]
15
+ **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional]
16
16
  **username** | **String** | The username to be used for authentication when syncing. | [optional]
17
- **password** | **String** | The password to be used for authentication when syncing. | [optional]
17
+ **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional]
18
18
  **pulp_labels** | [**Object**](.md) | | [optional]
19
- **download_concurrency** | **Integer** | Total number of simultaneous connections. | [optional]
19
+ **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
20
+ **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
20
21
  **policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. The possible values include: &#39;immediate&#39;, &#39;on_demand&#39;, and &#39;streamed&#39;. &#39;immediate&#39; is the default. | [optional]
21
- **total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. | [optional]
22
- **connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. | [optional]
23
- **sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. | [optional]
24
- **sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. | [optional]
22
+ **total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
23
+ **connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
24
+ **sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
25
+ **sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
25
26
  **headers** | **Array&lt;Object&gt;** | Headers for aiohttp.Clientsession | [optional]
26
- **rate_limit** | **Integer** | Limits total download rate in requests per second | [optional]
27
+ **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional]
27
28
 
28
29
  ## Code Sample
29
30
 
@@ -43,6 +44,7 @@ instance = PulpNpmClient::PatchednpmNpmRemote.new(name: null,
43
44
  password: null,
44
45
  pulp_labels: null,
45
46
  download_concurrency: null,
47
+ max_retries: null,
46
48
  policy: null,
47
49
  total_timeout: null,
48
50
  connect_timeout: null,
@@ -7,7 +7,8 @@ Name | Type | Description | Notes
7
7
  **pulp_labels** | [**Object**](.md) | | [optional]
8
8
  **name** | **String** | A unique name for this repository. | [optional]
9
9
  **description** | **String** | An optional description. | [optional]
10
- **remote** | **String** | | [optional]
10
+ **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future. | [optional]
11
+ **remote** | **String** | An optional remote to use by default when syncing. | [optional]
11
12
 
12
13
  ## Code Sample
13
14
 
@@ -17,6 +18,7 @@ require 'PulpNpmClient'
17
18
  instance = PulpNpmClient::PatchednpmNpmRepository.new(pulp_labels: null,
18
19
  name: null,
19
20
  description: null,
21
+ retain_repo_versions: null,
20
22
  remote: null)
21
23
  ```
22
24
 
@@ -1,6 +1,6 @@
1
1
  # PulpNpmClient::PulpNpmPackagesApi
2
2
 
3
- All URIs are relative to *http://pulp*
3
+ All URIs are relative to *https://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -1,6 +1,6 @@
1
1
  # PulpNpmClient::RemotesNpmApi
2
2
 
3
- All URIs are relative to *http://pulp*
3
+ All URIs are relative to *https://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -148,7 +148,7 @@ opts = {
148
148
  name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
149
149
  name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
150
150
  offset: 56, # Integer | The initial index from which to return the results.
151
- ordering: 'ordering_example', # String | Which field to use when ordering the results.
151
+ ordering: ['ordering_example'], # Array<String> | Ordering
152
152
  pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
153
153
  pulp_last_updated: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | ISO 8601 formatted dates are supported
154
154
  pulp_last_updated__gt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_last_updated is greater than value
@@ -181,7 +181,7 @@ Name | Type | Description | Notes
181
181
  **name__in** | [**Array&lt;String&gt;**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
182
182
  **name__startswith** | **String**| Filter results where name starts with value | [optional]
183
183
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
184
- **ordering** | **String**| Which field to use when ordering the results. | [optional]
184
+ **ordering** | [**Array&lt;String&gt;**](String.md)| Ordering | [optional]
185
185
  **pulp_label_select** | **String**| Filter labels by search string | [optional]
186
186
  **pulp_last_updated** | **DateTime**| ISO 8601 formatted dates are supported | [optional]
187
187
  **pulp_last_updated__gt** | **DateTime**| Filter results where pulp_last_updated is greater than value | [optional]
data/docs/Repair.md ADDED
@@ -0,0 +1,17 @@
1
+ # PulpNpmClient::Repair
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **verify_checksums** | **Boolean** | Will verify that the checksum of all stored files matches what saved in the database. Otherwise only the existence of the files will be checked. Enabled by default | [optional] [default to true]
8
+
9
+ ## Code Sample
10
+
11
+ ```ruby
12
+ require 'PulpNpmClient'
13
+
14
+ instance = PulpNpmClient::Repair.new(verify_checksums: null)
15
+ ```
16
+
17
+
@@ -1,6 +1,6 @@
1
1
  # PulpNpmClient::RepositoriesNpmApi
2
2
 
3
- All URIs are relative to *http://pulp*
3
+ All URIs are relative to *https://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -150,7 +150,7 @@ opts = {
150
150
  name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
151
151
  name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
152
152
  offset: 56, # Integer | The initial index from which to return the results.
153
- ordering: 'ordering_example', # String | Which field to use when ordering the results.
153
+ ordering: ['ordering_example'], # Array<String> | Ordering
154
154
  pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
155
155
  fields: 'fields_example', # String | A list of fields to include in the response.
156
156
  exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
@@ -177,7 +177,7 @@ Name | Type | Description | Notes
177
177
  **name__in** | [**Array&lt;String&gt;**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
178
178
  **name__startswith** | **String**| Filter results where name starts with value | [optional]
179
179
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
180
- **ordering** | **String**| Which field to use when ordering the results. | [optional]
180
+ **ordering** | [**Array&lt;String&gt;**](String.md)| Ordering | [optional]
181
181
  **pulp_label_select** | **String**| Filter labels by search string | [optional]
182
182
  **fields** | **String**| A list of fields to include in the response. | [optional]
183
183
  **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
@@ -1,6 +1,6 @@
1
1
  # PulpNpmClient::RepositoriesNpmVersionsApi
2
2
 
3
- All URIs are relative to *http://pulp*
3
+ All URIs are relative to *https://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -97,7 +97,7 @@ opts = {
97
97
  number__lte: 56, # Integer | Filter results where number is less than or equal to value
98
98
  number__range: [56], # Array<Integer> | Filter results where number is between two comma separated values
99
99
  offset: 56, # Integer | The initial index from which to return the results.
100
- ordering: 'ordering_example', # String | Which field to use when ordering the results.
100
+ ordering: ['ordering_example'], # Array<String> | Ordering
101
101
  pulp_created: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | ISO 8601 formatted dates are supported
102
102
  pulp_created__gt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is greater than value
103
103
  pulp_created__gte: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is greater than or equal to value
@@ -133,7 +133,7 @@ Name | Type | Description | Notes
133
133
  **number__lte** | **Integer**| Filter results where number is less than or equal to value | [optional]
134
134
  **number__range** | [**Array&lt;Integer&gt;**](Integer.md)| Filter results where number is between two comma separated values | [optional]
135
135
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
136
- **ordering** | **String**| Which field to use when ordering the results. | [optional]
136
+ **ordering** | [**Array&lt;String&gt;**](String.md)| Ordering | [optional]
137
137
  **pulp_created** | **DateTime**| ISO 8601 formatted dates are supported | [optional]
138
138
  **pulp_created__gt** | **DateTime**| Filter results where pulp_created is greater than value | [optional]
139
139
  **pulp_created__gte** | **DateTime**| Filter results where pulp_created is greater than or equal to value | [optional]
@@ -218,7 +218,7 @@ Name | Type | Description | Notes
218
218
 
219
219
  ## repair
220
220
 
221
- > AsyncOperationResponse repair(npm_npm_repository_version_href, repository_version)
221
+ > AsyncOperationResponse repair(npm_npm_repository_version_href, repair)
222
222
 
223
223
 
224
224
 
@@ -238,10 +238,10 @@ end
238
238
 
239
239
  api_instance = PulpNpmClient::RepositoriesNpmVersionsApi.new
240
240
  npm_npm_repository_version_href = 'npm_npm_repository_version_href_example' # String |
241
- repository_version = PulpNpmClient::RepositoryVersion.new # RepositoryVersion |
241
+ repair = PulpNpmClient::Repair.new # Repair |
242
242
 
243
243
  begin
244
- result = api_instance.repair(npm_npm_repository_version_href, repository_version)
244
+ result = api_instance.repair(npm_npm_repository_version_href, repair)
245
245
  p result
246
246
  rescue PulpNpmClient::ApiError => e
247
247
  puts "Exception when calling RepositoriesNpmVersionsApi->repair: #{e}"
@@ -254,7 +254,7 @@ end
254
254
  Name | Type | Description | Notes
255
255
  ------------- | ------------- | ------------- | -------------
256
256
  **npm_npm_repository_version_href** | **String**| |
257
- **repository_version** | [**RepositoryVersion**](RepositoryVersion.md)| |
257
+ **repair** | [**Repair**](Repair.md)| |
258
258
 
259
259
  ### Return type
260
260
 
@@ -4,8 +4,8 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **add_content_units** | **Array&lt;Object&gt;** | A list of content units to add to a new repository version. This content is added after remove_content_units are removed. | [optional]
8
- **remove_content_units** | **Array&lt;Object&gt;** | A list of content units to remove from the latest repository version. You may also specify &#39;*&#39; as an entry to remove all content. This content is removed before add_content_units are added. | [optional]
7
+ **add_content_units** | [**Array&lt;AnyType&gt;**](AnyType.md) | A list of content units to add to a new repository version. This content is added after remove_content_units are removed. | [optional]
8
+ **remove_content_units** | [**Array&lt;AnyType&gt;**](AnyType.md) | A list of content units to remove from the latest repository version. You may also specify &#39;*&#39; as an entry to remove all content. This content is removed before add_content_units are added. | [optional]
9
9
  **base_version** | **String** | A repository version whose content will be used as the initial set of content for the new repository version | [optional]
10
10
 
11
11
  ## Code Sample
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
7
7
  **pulp_href** | **String** | | [optional] [readonly]
8
8
  **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
9
9
  **number** | **Integer** | | [optional] [readonly]
10
+ **repository** | **String** | | [optional] [readonly]
10
11
  **base_version** | **String** | A repository version whose content was used as the initial set of content for this repository version | [optional]
11
12
  **content_summary** | [**ContentSummaryResponse**](ContentSummaryResponse.md) | Various count summaries of the content in the version and the HREF to view them. | [optional] [readonly]
12
13
 
@@ -18,6 +19,7 @@ require 'PulpNpmClient'
18
19
  instance = PulpNpmClient::RepositoryVersionResponse.new(pulp_href: null,
19
20
  pulp_created: null,
20
21
  number: null,
22
+ repository: null,
21
23
  base_version: null,
22
24
  content_summary: null)
23
25
  ```