pulp_npm_client 0.1.0a3 → 0.1.0a4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/README.md +8 -8
- data/docs/ContentPackagesApi.md +6 -4
- data/docs/DistributionsNpmApi.md +3 -3
- data/docs/NpmNpmDistribution.md +1 -3
- data/docs/NpmNpmDistributionResponse.md +1 -3
- data/docs/NpmNpmRemote.md +10 -8
- data/docs/NpmNpmRemoteResponse.md +8 -6
- data/docs/NpmNpmRepository.md +3 -1
- data/docs/NpmNpmRepositoryResponse.md +3 -1
- data/docs/NpmPackage.md +2 -0
- data/docs/PatchednpmNpmDistribution.md +1 -3
- data/docs/PatchednpmNpmRemote.md +10 -8
- data/docs/PatchednpmNpmRepository.md +3 -1
- data/docs/PulpNpmPackagesApi.md +1 -1
- data/docs/RemotesNpmApi.md +3 -3
- data/docs/Repair.md +17 -0
- data/docs/RepositoriesNpmApi.md +3 -3
- data/docs/RepositoriesNpmVersionsApi.md +7 -7
- data/docs/RepositoryAddRemoveContent.md +2 -2
- data/docs/RepositoryVersionResponse.md +2 -0
- data/lib/pulp_npm_client/api/content_packages_api.rb +23 -4
- data/lib/pulp_npm_client/api/distributions_npm_api.rb +8 -4
- data/lib/pulp_npm_client/api/pulp_npm_packages_api.rb +1 -1
- data/lib/pulp_npm_client/api/remotes_npm_api.rb +8 -4
- data/lib/pulp_npm_client/api/repositories_npm_api.rb +8 -4
- data/lib/pulp_npm_client/api/repositories_npm_versions_api.rb +17 -13
- data/lib/pulp_npm_client/api_client.rb +13 -12
- data/lib/pulp_npm_client/api_error.rb +1 -1
- data/lib/pulp_npm_client/configuration.rb +11 -3
- data/lib/pulp_npm_client/models/async_operation_response.rb +1 -1
- data/lib/pulp_npm_client/models/content_summary_response.rb +1 -1
- data/lib/pulp_npm_client/models/npm_npm_distribution.rb +44 -17
- data/lib/pulp_npm_client/models/npm_npm_distribution_response.rb +6 -17
- data/lib/pulp_npm_client/models/npm_npm_remote.rb +180 -10
- data/lib/pulp_npm_client/models/npm_npm_remote_response.rb +20 -8
- data/lib/pulp_npm_client/models/npm_npm_repository.rb +63 -2
- data/lib/pulp_npm_client/models/npm_npm_repository_response.rb +29 -2
- data/lib/pulp_npm_client/models/npm_package.rb +69 -2
- data/lib/pulp_npm_client/models/npm_package_response.rb +1 -1
- data/lib/pulp_npm_client/models/paginated_repository_version_response_list.rb +1 -1
- data/lib/pulp_npm_client/models/paginatednpm_npm_distribution_response_list.rb +1 -1
- data/lib/pulp_npm_client/models/paginatednpm_npm_remote_response_list.rb +1 -1
- data/lib/pulp_npm_client/models/paginatednpm_npm_repository_response_list.rb +1 -1
- data/lib/pulp_npm_client/models/paginatednpm_package_response_list.rb +1 -1
- data/lib/pulp_npm_client/models/patchednpm_npm_distribution.rb +36 -17
- data/lib/pulp_npm_client/models/patchednpm_npm_remote.rb +172 -10
- data/lib/pulp_npm_client/models/patchednpm_npm_repository.rb +59 -2
- data/lib/pulp_npm_client/models/policy_enum.rb +1 -1
- data/lib/pulp_npm_client/models/{repository_version.rb → repair.rb} +14 -13
- data/lib/pulp_npm_client/models/repository_add_remove_content.rb +3 -3
- data/lib/pulp_npm_client/models/repository_sync_url.rb +1 -1
- data/lib/pulp_npm_client/models/repository_version_response.rb +11 -2
- data/lib/pulp_npm_client/version.rb +2 -2
- data/lib/pulp_npm_client.rb +2 -3
- data/pulp_npm_client.gemspec +2 -2
- data/spec/api/content_packages_api_spec.rb +3 -2
- data/spec/api/distributions_npm_api_spec.rb +2 -2
- data/spec/api/pulp_npm_packages_api_spec.rb +1 -1
- data/spec/api/remotes_npm_api_spec.rb +2 -2
- data/spec/api/repositories_npm_api_spec.rb +2 -2
- data/spec/api/repositories_npm_versions_api_spec.rb +3 -3
- data/spec/api_client_spec.rb +2 -2
- data/spec/configuration_spec.rb +4 -4
- data/spec/models/async_operation_response_spec.rb +1 -1
- data/spec/models/content_summary_response_spec.rb +1 -1
- data/spec/models/npm_npm_distribution_response_spec.rb +1 -7
- data/spec/models/npm_npm_distribution_spec.rb +1 -7
- data/spec/models/npm_npm_remote_response_spec.rb +7 -1
- data/spec/models/npm_npm_remote_spec.rb +7 -1
- data/spec/models/npm_npm_repository_response_spec.rb +7 -1
- data/spec/models/npm_npm_repository_spec.rb +7 -1
- data/spec/models/npm_package_response_spec.rb +1 -1
- data/spec/models/npm_package_spec.rb +7 -1
- data/spec/models/paginated_repository_version_response_list_spec.rb +1 -1
- data/spec/models/paginatednpm_npm_distribution_response_list_spec.rb +1 -1
- data/spec/models/paginatednpm_npm_remote_response_list_spec.rb +1 -1
- data/spec/models/paginatednpm_npm_repository_response_list_spec.rb +1 -1
- data/spec/models/paginatednpm_package_response_list_spec.rb +1 -1
- data/spec/models/patchednpm_npm_distribution_spec.rb +1 -7
- data/spec/models/patchednpm_npm_remote_spec.rb +7 -1
- data/spec/models/patchednpm_npm_repository_spec.rb +7 -1
- data/spec/models/policy_enum_spec.rb +1 -1
- data/spec/models/{repository_version_spec.rb → repair_spec.rb} +8 -8
- data/spec/models/repository_add_remove_content_spec.rb +1 -1
- data/spec/models/repository_sync_url_spec.rb +1 -1
- data/spec/models/repository_version_response_spec.rb +7 -1
- data/spec/spec_helper.rb +1 -1
- metadata +37 -35
- data/docs/ContentSummary.md +0 -21
- data/docs/RepositoryVersion.md +0 -17
- data/lib/pulp_npm_client/models/content_summary.rb +0 -246
- data/spec/models/content_summary_spec.rb +0 -53
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 17e5be2599f8bd3c8d1e77fb9154575df3a44b299f3984dd8ea4492c8b0e39d1
|
4
|
+
data.tar.gz: 6fa4eaecdc4a725ae6076283d8eab3c804f10530aaf2b678dce0509fac57c668
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6170105e489adaba2ff0ecf6a7a2a750f408cc0a6c230ff54fff059d7e7df88693a9b5785f7da8626c5cdd4b9c11b6f3979d82a68012f289f44751e7f5bd87fe
|
7
|
+
data.tar.gz: 76e5de68ce2a37d72752bd7a32208e4cea6dbcc16550a3dfef0ad1767c43a9781c295040d9d36e7d102d8eca180e50bff9ed2e90de1af3b44f282b19f783731e
|
data/Gemfile
CHANGED
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.
|
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.
|
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.
|
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.
|
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 *
|
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
|
|
data/docs/ContentPackagesApi.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# PulpNpmClient::ContentPackagesApi
|
2
2
|
|
3
|
-
All URIs are relative to *
|
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 |
|
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<String>**](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
|
132
|
+
**ordering** | [**Array<String>**](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]
|
data/docs/DistributionsNpmApi.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# PulpNpmClient::DistributionsNpmApi
|
2
2
|
|
3
|
-
All URIs are relative to *
|
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 |
|
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<String>**](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
|
186
|
+
**ordering** | [**Array<String>**](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]
|
data/docs/NpmNpmDistribution.md
CHANGED
@@ -9,7 +9,6 @@ Name | Type | Description | Notes
|
|
9
9
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
10
10
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
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, `rawhide` and `stable`. |
|
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
|
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: 'immediate', 'on_demand', and 'streamed'. 'immediate' 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<Object>** | Headers for aiohttp.Clientsession | [optional]
|
26
|
-
**rate_limit** | **Integer** | Limits
|
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: 'immediate', 'on_demand', and 'streamed'. 'immediate' 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<Object>** | Headers for aiohttp.Clientsession | [optional]
|
24
|
-
**rate_limit** | **Integer** | Limits
|
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,
|
data/docs/NpmNpmRepository.md
CHANGED
@@ -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
|
-
**
|
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
|
-
**
|
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, `rawhide` and `stable`. | [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
|
|
data/docs/PatchednpmNpmRemote.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
|
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: 'immediate', 'on_demand', and 'streamed'. 'immediate' 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<Object>** | Headers for aiohttp.Clientsession | [optional]
|
26
|
-
**rate_limit** | **Integer** | Limits
|
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
|
-
**
|
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
|
|
data/docs/PulpNpmPackagesApi.md
CHANGED
data/docs/RemotesNpmApi.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# PulpNpmClient::RemotesNpmApi
|
2
2
|
|
3
|
-
All URIs are relative to *
|
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 |
|
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<String>**](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
|
184
|
+
**ordering** | [**Array<String>**](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
|
+
|
data/docs/RepositoriesNpmApi.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# PulpNpmClient::RepositoriesNpmApi
|
2
2
|
|
3
|
-
All URIs are relative to *
|
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 |
|
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<String>**](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
|
180
|
+
**ordering** | [**Array<String>**](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 *
|
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 |
|
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<Integer>**](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
|
136
|
+
**ordering** | [**Array<String>**](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,
|
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
|
-
|
241
|
+
repair = PulpNpmClient::Repair.new # Repair |
|
242
242
|
|
243
243
|
begin
|
244
|
-
result = api_instance.repair(npm_npm_repository_version_href,
|
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
|
-
**
|
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<
|
8
|
-
**remove_content_units** | **Array<
|
7
|
+
**add_content_units** | [**Array<AnyType>**](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<AnyType>**](AnyType.md) | A list of content units to remove from the latest repository version. You may also specify '*' 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
|
```
|