pulp_npm_client 0.10.1 → 0.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docs/ContentPackagesApi.md +6 -2
- data/docs/RepositorySyncURL.md +1 -1
- data/lib/pulp_npm_client/api/content_packages_api.rb +9 -3
- data/lib/pulp_npm_client/models/nested_role.rb +1 -1
- data/lib/pulp_npm_client/models/nested_role_response.rb +1 -1
- data/lib/pulp_npm_client/models/repository_add_remove_content.rb +1 -1
- data/lib/pulp_npm_client/models/repository_sync_url.rb +1 -1
- data/lib/pulp_npm_client/models/repository_version_response.rb +1 -1
- data/lib/pulp_npm_client/version.rb +1 -1
- data/spec/api/content_packages_api_spec.rb +3 -1
- metadata +30 -33
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9d1d0a052b6272d899d9eddcf49941858545a97a83998123840ebc4dc63b7d38
|
|
4
|
+
data.tar.gz: 9860fbc6ad6f609a093c9eb7623b441029566cb75b9ec36e26272479316d84c5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: '08ab40359b87caf6f56ea6ef4b955b7cc30bcb02ccc369321dec5a04906abdca9d20c753dd3e7f3b5ed8729f75f4b39cfda64903c4dcd984d007fb2df4eb5dcc'
|
|
7
|
+
data.tar.gz: e3f2e514a55d64b7dabc5451066958d45d0601ddebcfbc365cf9a81084d667d929cdd7069cce3b930b2a8e8bb7bd5649891182cd8bddb4fd2fff78d9b17d68b2
|
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.
|
|
10
|
+
- Package version: 0.11.0
|
|
11
11
|
- Generator version: 7.10.0
|
|
12
12
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
|
13
13
|
For more information, please visit [https://pulpproject.org](https://pulpproject.org)
|
|
@@ -25,16 +25,16 @@ gem build pulp_npm_client.gemspec
|
|
|
25
25
|
Then either install the gem locally:
|
|
26
26
|
|
|
27
27
|
```shell
|
|
28
|
-
gem install ./pulp_npm_client-0.
|
|
28
|
+
gem install ./pulp_npm_client-0.11.0.gem
|
|
29
29
|
```
|
|
30
30
|
|
|
31
|
-
(for development, run `gem install --dev ./pulp_npm_client-0.
|
|
31
|
+
(for development, run `gem install --dev ./pulp_npm_client-0.11.0.gem` to install the development dependencies)
|
|
32
32
|
|
|
33
33
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
|
34
34
|
|
|
35
35
|
Finally add this to the Gemfile:
|
|
36
36
|
|
|
37
|
-
gem 'pulp_npm_client', '~> 0.
|
|
37
|
+
gem 'pulp_npm_client', '~> 0.11.0'
|
|
38
38
|
|
|
39
39
|
### Install from Git
|
|
40
40
|
|
data/docs/ContentPackagesApi.md
CHANGED
|
@@ -129,17 +129,19 @@ end
|
|
|
129
129
|
api_instance = PulpNpmClient::ContentPackagesApi.new
|
|
130
130
|
opts = {
|
|
131
131
|
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
|
132
|
+
added_between: ['inner_example'], # Array<String> |
|
|
132
133
|
limit: 56, # Integer | Number of results to return per page.
|
|
133
134
|
name: 'name_example', # String | Filter results where name matches value
|
|
134
135
|
name__in: ['inner_example'], # Array<String> | Filter results where name is in a comma-separated list of values
|
|
135
136
|
offset: 56, # Integer | The initial index from which to return the results.
|
|
136
|
-
ordering: ['-
|
|
137
|
+
ordering: ['-integrity'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `name` - Name * `-name` - Name (descending) * `version` - Version * `-version` - Version (descending) * `manifest` - Manifest * `-manifest` - Manifest (descending) * `integrity` - Integrity * `-integrity` - Integrity (descending) * `shasum` - Shasum * `-shasum` - Shasum (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
137
138
|
orphaned_for: 8.14, # Float | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
|
138
139
|
prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
|
139
140
|
pulp_href__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
|
140
141
|
pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
|
141
142
|
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
|
142
143
|
q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
|
|
144
|
+
removed_between: ['inner_example'], # Array<String> |
|
|
143
145
|
repository_version: 'repository_version_example', # String |
|
|
144
146
|
repository_version_added: 'repository_version_added_example', # String |
|
|
145
147
|
repository_version_removed: 'repository_version_removed_example', # String |
|
|
@@ -179,17 +181,19 @@ end
|
|
|
179
181
|
| Name | Type | Description | Notes |
|
|
180
182
|
| ---- | ---- | ----------- | ----- |
|
|
181
183
|
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
184
|
+
| **added_between** | [**Array<String>**](String.md) | | [optional] |
|
|
182
185
|
| **limit** | **Integer** | Number of results to return per page. | [optional] |
|
|
183
186
|
| **name** | **String** | Filter results where name matches value | [optional] |
|
|
184
187
|
| **name__in** | [**Array<String>**](String.md) | Filter results where name is in a comma-separated list of values | [optional] |
|
|
185
188
|
| **offset** | **Integer** | The initial index from which to return the results. | [optional] |
|
|
186
|
-
| **ordering** | [**Array<String>**](String.md) | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `name` - Name * `-name` - Name (descending) * `version` - Version * `-version` - Version (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
|
189
|
+
| **ordering** | [**Array<String>**](String.md) | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `name` - Name * `-name` - Name (descending) * `version` - Version * `-version` - Version (descending) * `manifest` - Manifest * `-manifest` - Manifest (descending) * `integrity` - Integrity * `-integrity` - Integrity (descending) * `shasum` - Shasum * `-shasum` - Shasum (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
|
187
190
|
| **orphaned_for** | **Float** | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME. | [optional] |
|
|
188
191
|
| **prn__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
|
189
192
|
| **pulp_href__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
|
190
193
|
| **pulp_id__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
|
191
194
|
| **pulp_label_select** | **String** | Filter labels by search string | [optional] |
|
|
192
195
|
| **q** | **String** | Filter results by using NOT, AND and OR operations on other filters | [optional] |
|
|
196
|
+
| **removed_between** | [**Array<String>**](String.md) | | [optional] |
|
|
193
197
|
| **repository_version** | **String** | | [optional] |
|
|
194
198
|
| **repository_version_added** | **String** | | [optional] |
|
|
195
199
|
| **repository_version_removed** | **String** | | [optional] |
|
data/docs/RepositorySyncURL.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **remote** | **String** | A remote to sync from. This will override a remote set on repository. | [optional] |
|
|
8
|
-
| **mirror** | **Boolean** | If `
|
|
8
|
+
| **mirror** | **Boolean** | If `True`, synchronization will remove all content that is not present in the remote repository. If `False`, sync will be additive only. | [optional][default to false] |
|
|
9
9
|
|
|
10
10
|
## Example
|
|
11
11
|
|
|
@@ -137,17 +137,19 @@ module PulpNpmClient
|
|
|
137
137
|
# A ViewSet for NpmPackage. Define endpoint name which will appear in the API endpoint for this content type. For example:: http://pulp.example.com/pulp/api/v3/content/npm/packages/ Also specify queryset and serializer for NpmPackage.
|
|
138
138
|
# @param [Hash] opts the optional parameters
|
|
139
139
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
140
|
+
# @option opts [Array<String>] :added_between
|
|
140
141
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
141
142
|
# @option opts [String] :name Filter results where name matches value
|
|
142
143
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
|
143
144
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
144
|
-
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `name` - Name * `-name` - Name (descending) * `version` - Version * `-version` - Version (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
145
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `name` - Name * `-name` - Name (descending) * `version` - Version * `-version` - Version (descending) * `manifest` - Manifest * `-manifest` - Manifest (descending) * `integrity` - Integrity * `-integrity` - Integrity (descending) * `shasum` - Shasum * `-shasum` - Shasum (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
145
146
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
|
146
147
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
|
147
148
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
148
149
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
149
150
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
150
151
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
152
|
+
# @option opts [Array<String>] :removed_between
|
|
151
153
|
# @option opts [String] :repository_version
|
|
152
154
|
# @option opts [String] :repository_version_added
|
|
153
155
|
# @option opts [String] :repository_version_removed
|
|
@@ -163,17 +165,19 @@ module PulpNpmClient
|
|
|
163
165
|
# A ViewSet for NpmPackage. Define endpoint name which will appear in the API endpoint for this content type. For example:: http://pulp.example.com/pulp/api/v3/content/npm/packages/ Also specify queryset and serializer for NpmPackage.
|
|
164
166
|
# @param [Hash] opts the optional parameters
|
|
165
167
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
168
|
+
# @option opts [Array<String>] :added_between
|
|
166
169
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
167
170
|
# @option opts [String] :name Filter results where name matches value
|
|
168
171
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
|
169
172
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
170
|
-
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `name` - Name * `-name` - Name (descending) * `version` - Version * `-version` - Version (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
173
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `name` - Name * `-name` - Name (descending) * `version` - Version * `-version` - Version (descending) * `manifest` - Manifest * `-manifest` - Manifest (descending) * `integrity` - Integrity * `-integrity` - Integrity (descending) * `shasum` - Shasum * `-shasum` - Shasum (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
171
174
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
|
172
175
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
|
173
176
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
174
177
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
175
178
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
176
179
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
180
|
+
# @option opts [Array<String>] :removed_between
|
|
177
181
|
# @option opts [String] :repository_version
|
|
178
182
|
# @option opts [String] :repository_version_added
|
|
179
183
|
# @option opts [String] :repository_version_removed
|
|
@@ -184,7 +188,7 @@ module PulpNpmClient
|
|
|
184
188
|
if @api_client.config.debugging
|
|
185
189
|
@api_client.config.logger.debug 'Calling API: ContentPackagesApi.list ...'
|
|
186
190
|
end
|
|
187
|
-
allowable_values = ["-name", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-timestamp_of_interest", "-upstream_id", "-version", "name", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "timestamp_of_interest", "upstream_id", "version"]
|
|
191
|
+
allowable_values = ["-integrity", "-manifest", "-name", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-shasum", "-timestamp_of_interest", "-upstream_id", "-version", "integrity", "manifest", "name", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "shasum", "timestamp_of_interest", "upstream_id", "version"]
|
|
188
192
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
|
189
193
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
|
190
194
|
end
|
|
@@ -193,6 +197,7 @@ module PulpNpmClient
|
|
|
193
197
|
|
|
194
198
|
# query parameters
|
|
195
199
|
query_params = opts[:query_params] || {}
|
|
200
|
+
query_params[:'added_between'] = @api_client.build_collection_param(opts[:'added_between'], :csv) if !opts[:'added_between'].nil?
|
|
196
201
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
197
202
|
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
|
198
203
|
query_params[:'name__in'] = @api_client.build_collection_param(opts[:'name__in'], :csv) if !opts[:'name__in'].nil?
|
|
@@ -204,6 +209,7 @@ module PulpNpmClient
|
|
|
204
209
|
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
|
205
210
|
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
|
206
211
|
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|
|
212
|
+
query_params[:'removed_between'] = @api_client.build_collection_param(opts[:'removed_between'], :csv) if !opts[:'removed_between'].nil?
|
|
207
213
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
|
208
214
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
|
209
215
|
query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
|
|
@@ -14,7 +14,7 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module PulpNpmClient
|
|
17
|
-
# Serializer to add/remove object roles to/from users/groups. This is used in conjunction with
|
|
17
|
+
# Serializer to add/remove object roles to/from users/groups. This is used in conjunction with `pulpcore.app.viewsets.base.RolesMixin` and requires the underlying object to be passed as `content_object` in the context.
|
|
18
18
|
class NestedRole
|
|
19
19
|
attr_accessor :users
|
|
20
20
|
|
|
@@ -14,7 +14,7 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module PulpNpmClient
|
|
17
|
-
# Serializer to add/remove object roles to/from users/groups. This is used in conjunction with
|
|
17
|
+
# Serializer to add/remove object roles to/from users/groups. This is used in conjunction with `pulpcore.app.viewsets.base.RolesMixin` and requires the underlying object to be passed as `content_object` in the context.
|
|
18
18
|
class NestedRoleResponse
|
|
19
19
|
attr_accessor :users
|
|
20
20
|
|
|
@@ -14,7 +14,7 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module PulpNpmClient
|
|
17
|
-
# Base serializer for use with [pulpcore.app.models.Model][] This ensures that all Serializers provide values for the 'pulp_href` field. The class provides a default for the
|
|
17
|
+
# Base serializer for use with [pulpcore.app.models.Model][] This ensures that all Serializers provide values for the 'pulp_href` field. The class provides a default for the `ref_name` attribute in the ModelSerializers's `Meta` class. This ensures that the OpenAPI definitions of plugins are namespaced properly.
|
|
18
18
|
class RepositoryAddRemoveContent
|
|
19
19
|
# A list of content units to add to a new repository version. This content is added after remove_content_units are removed.
|
|
20
20
|
attr_accessor :add_content_units
|
|
@@ -19,7 +19,7 @@ module PulpNpmClient
|
|
|
19
19
|
# A remote to sync from. This will override a remote set on repository.
|
|
20
20
|
attr_accessor :remote
|
|
21
21
|
|
|
22
|
-
# If
|
|
22
|
+
# If `True`, synchronization will remove all content that is not present in the remote repository. If `False`, sync will be additive only.
|
|
23
23
|
attr_accessor :mirror
|
|
24
24
|
|
|
25
25
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
@@ -14,7 +14,7 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module PulpNpmClient
|
|
17
|
-
# Base serializer for use with [pulpcore.app.models.Model][] This ensures that all Serializers provide values for the 'pulp_href` field. The class provides a default for the
|
|
17
|
+
# Base serializer for use with [pulpcore.app.models.Model][] This ensures that all Serializers provide values for the 'pulp_href` field. The class provides a default for the `ref_name` attribute in the ModelSerializers's `Meta` class. This ensures that the OpenAPI definitions of plugins are namespaced properly.
|
|
18
18
|
class RepositoryVersionResponse
|
|
19
19
|
attr_accessor :pulp_href
|
|
20
20
|
|
|
@@ -60,17 +60,19 @@ describe 'ContentPackagesApi' do
|
|
|
60
60
|
# A ViewSet for NpmPackage. Define endpoint name which will appear in the API endpoint for this content type. For example:: http://pulp.example.com/pulp/api/v3/content/npm/packages/ Also specify queryset and serializer for NpmPackage.
|
|
61
61
|
# @param [Hash] opts the optional parameters
|
|
62
62
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
63
|
+
# @option opts [Array<String>] :added_between
|
|
63
64
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
64
65
|
# @option opts [String] :name Filter results where name matches value
|
|
65
66
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
|
66
67
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
67
|
-
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `name` - Name * `-name` - Name (descending) * `version` - Version * `-version` - Version (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
68
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `name` - Name * `-name` - Name (descending) * `version` - Version * `-version` - Version (descending) * `manifest` - Manifest * `-manifest` - Manifest (descending) * `integrity` - Integrity * `-integrity` - Integrity (descending) * `shasum` - Shasum * `-shasum` - Shasum (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
68
69
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
|
69
70
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
|
70
71
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
71
72
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
72
73
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
73
74
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
75
|
+
# @option opts [Array<String>] :removed_between
|
|
74
76
|
# @option opts [String] :repository_version
|
|
75
77
|
# @option opts [String] :repository_version_added
|
|
76
78
|
# @option opts [String] :repository_version_removed
|
metadata
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: pulp_npm_client
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.11.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- OpenAPI-Generator
|
|
8
|
-
autorequire:
|
|
9
8
|
bindir: bin
|
|
10
9
|
cert_chain: []
|
|
11
|
-
date:
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
12
11
|
dependencies:
|
|
13
12
|
- !ruby/object:Gem::Dependency
|
|
14
13
|
name: faraday
|
|
@@ -222,7 +221,6 @@ homepage: https://github.com/pulp/pulp_npm
|
|
|
222
221
|
licenses:
|
|
223
222
|
- GPLv2+
|
|
224
223
|
metadata: {}
|
|
225
|
-
post_install_message:
|
|
226
224
|
rdoc_options: []
|
|
227
225
|
require_paths:
|
|
228
226
|
- lib
|
|
@@ -237,50 +235,49 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
237
235
|
- !ruby/object:Gem::Version
|
|
238
236
|
version: '0'
|
|
239
237
|
requirements: []
|
|
240
|
-
rubygems_version: 3.
|
|
241
|
-
signing_key:
|
|
238
|
+
rubygems_version: 3.6.7
|
|
242
239
|
specification_version: 4
|
|
243
240
|
summary: Pulp 3 API Ruby Gem
|
|
244
241
|
test_files:
|
|
245
|
-
- spec/api/remotes_npm_api_spec.rb
|
|
246
|
-
- spec/api/npm_ping_api_spec.rb
|
|
247
|
-
- spec/api/distributions_npm_api_spec.rb
|
|
248
242
|
- spec/api/content_packages_api_spec.rb
|
|
243
|
+
- spec/api/distributions_npm_api_spec.rb
|
|
244
|
+
- spec/api/npm_api_spec.rb
|
|
245
|
+
- spec/api/npm_ping_api_spec.rb
|
|
249
246
|
- spec/api/npm_whoami_api_spec.rb
|
|
247
|
+
- spec/api/remotes_npm_api_spec.rb
|
|
250
248
|
- spec/api/repositories_npm_api_spec.rb
|
|
251
249
|
- spec/api/repositories_npm_versions_api_spec.rb
|
|
252
|
-
- spec/
|
|
253
|
-
- spec/models/paginatednpm_npm_repository_response_list_spec.rb
|
|
254
|
-
- spec/models/paginatednpm_npm_remote_response_list_spec.rb
|
|
250
|
+
- spec/models/async_operation_response_spec.rb
|
|
255
251
|
- spec/models/content_summary_response_spec.rb
|
|
252
|
+
- spec/models/my_permissions_response_spec.rb
|
|
253
|
+
- spec/models/nested_role_response_spec.rb
|
|
254
|
+
- spec/models/nested_role_spec.rb
|
|
256
255
|
- spec/models/npm_npm_distribution_response_spec.rb
|
|
257
|
-
- spec/models/
|
|
258
|
-
- spec/models/
|
|
256
|
+
- spec/models/npm_npm_distribution_spec.rb
|
|
257
|
+
- spec/models/npm_npm_remote_response_hidden_fields_inner_spec.rb
|
|
258
|
+
- spec/models/npm_npm_remote_response_spec.rb
|
|
259
|
+
- spec/models/npm_npm_remote_spec.rb
|
|
260
|
+
- spec/models/npm_npm_repository_response_spec.rb
|
|
261
|
+
- spec/models/npm_npm_repository_spec.rb
|
|
262
|
+
- spec/models/npm_package_response_spec.rb
|
|
263
|
+
- spec/models/object_roles_response_spec.rb
|
|
264
|
+
- spec/models/paginated_repository_version_response_list_spec.rb
|
|
259
265
|
- spec/models/paginatednpm_npm_distribution_response_list_spec.rb
|
|
266
|
+
- spec/models/paginatednpm_npm_remote_response_list_spec.rb
|
|
267
|
+
- spec/models/paginatednpm_npm_repository_response_list_spec.rb
|
|
268
|
+
- spec/models/paginatednpm_package_response_list_spec.rb
|
|
269
|
+
- spec/models/patchednpm_npm_distribution_spec.rb
|
|
270
|
+
- spec/models/patchednpm_npm_remote_spec.rb
|
|
271
|
+
- spec/models/patchednpm_npm_repository_spec.rb
|
|
260
272
|
- spec/models/policy_enum_spec.rb
|
|
261
273
|
- spec/models/remote_network_config_response_spec.rb
|
|
262
|
-
- spec/models/
|
|
263
|
-
- spec/models/
|
|
264
|
-
- spec/models/nested_role_response_spec.rb
|
|
274
|
+
- spec/models/remote_network_config_spec.rb
|
|
275
|
+
- spec/models/repair_spec.rb
|
|
265
276
|
- spec/models/repository_add_remove_content_spec.rb
|
|
266
|
-
- spec/models/nested_role_spec.rb
|
|
267
277
|
- spec/models/repository_sync_url_spec.rb
|
|
268
278
|
- spec/models/repository_version_response_spec.rb
|
|
269
|
-
- spec/models/
|
|
270
|
-
- spec/models/
|
|
271
|
-
- spec/models/paginated_repository_version_response_list_spec.rb
|
|
272
|
-
- spec/models/npm_package_response_spec.rb
|
|
273
|
-
- spec/models/async_operation_response_spec.rb
|
|
274
|
-
- spec/models/patchednpm_npm_remote_spec.rb
|
|
275
|
-
- spec/models/repair_spec.rb
|
|
276
|
-
- spec/models/npm_npm_repository_response_spec.rb
|
|
277
|
-
- spec/models/npm_npm_remote_spec.rb
|
|
279
|
+
- spec/models/set_label_response_spec.rb
|
|
280
|
+
- spec/models/set_label_spec.rb
|
|
278
281
|
- spec/models/unset_label_response_spec.rb
|
|
279
282
|
- spec/models/unset_label_spec.rb
|
|
280
|
-
- spec/models/my_permissions_response_spec.rb
|
|
281
|
-
- spec/models/object_roles_response_spec.rb
|
|
282
|
-
- spec/models/npm_npm_remote_response_hidden_fields_inner_spec.rb
|
|
283
|
-
- spec/models/set_label_spec.rb
|
|
284
|
-
- spec/models/npm_npm_remote_response_spec.rb
|
|
285
|
-
- spec/models/paginatednpm_package_response_list_spec.rb
|
|
286
283
|
- spec/spec_helper.rb
|