pulpcore_client 3.11.0.dev01613727400 → 3.11.0.dev01614137794
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.
Potentially problematic release.
This version of pulpcore_client might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/README.md +5 -5
- data/docs/{ContentGuardsApi.md → ContentguardsApi.md} +5 -5
- data/docs/WorkerResponse.md +3 -3
- data/lib/pulpcore_client.rb +1 -1
- data/lib/pulpcore_client/api/{content_guards_api.rb → contentguards_api.rb} +6 -6
- data/lib/pulpcore_client/models/worker_response.rb +10 -10
- data/lib/pulpcore_client/version.rb +1 -1
- data/spec/api/{content_guards_api_spec.rb → contentguards_api_spec.rb} +7 -7
- data/spec/models/worker_response_spec.rb +2 -2
- metadata +6 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: bc79dcce0ae6a78d752ff4950dec43052746638f7046c3566ed5bc47ab6558df
|
|
4
|
+
data.tar.gz: f84b69678fc34ef985b31b8f3e598ca55aceec277903c132c61c05adae92c655
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 52aff307ee58f096d798236f0c0cb688c1585fda0948db4e6ba88ade251f238d4ef14839482f19d7d8ab1711204c62afe0dc16fffbe17e6745c20be927b12f2e
|
|
7
|
+
data.tar.gz: 274f852862047dcafdce66f7df9027ebcd715fbf52ba33c9bea396f5f9f9fb905a748e83db94ec0c2ba26b0a970d05c6e187647717c4792e536cfbc62161c8e2
|
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: 3.11.0.
|
|
10
|
+
- Package version: 3.11.0.dev01614137794
|
|
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 pulpcore_client.gemspec
|
|
|
24
24
|
Then either install the gem locally:
|
|
25
25
|
|
|
26
26
|
```shell
|
|
27
|
-
gem install ./pulpcore_client-3.11.0.
|
|
27
|
+
gem install ./pulpcore_client-3.11.0.dev01614137794.gem
|
|
28
28
|
```
|
|
29
29
|
|
|
30
|
-
(for development, run `gem install --dev ./pulpcore_client-3.11.0.
|
|
30
|
+
(for development, run `gem install --dev ./pulpcore_client-3.11.0.dev01614137794.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 'pulpcore_client', '~> 3.11.0.
|
|
36
|
+
gem 'pulpcore_client', '~> 3.11.0.dev01614137794'
|
|
37
37
|
|
|
38
38
|
### Install from Git
|
|
39
39
|
|
|
@@ -104,7 +104,7 @@ Class | Method | HTTP request | Description
|
|
|
104
104
|
*PulpcoreClient::ArtifactsApi* | [**list**](docs/ArtifactsApi.md#list) | **GET** /pulp/api/v3/artifacts/ | List artifacts
|
|
105
105
|
*PulpcoreClient::ArtifactsApi* | [**read**](docs/ArtifactsApi.md#read) | **GET** {artifact_href} | Inspect an artifact
|
|
106
106
|
*PulpcoreClient::ContentApi* | [**list**](docs/ContentApi.md#list) | **GET** /pulp/api/v3/content/ | List content
|
|
107
|
-
*PulpcoreClient::
|
|
107
|
+
*PulpcoreClient::ContentguardsApi* | [**list**](docs/ContentguardsApi.md#list) | **GET** /pulp/api/v3/contentguards/ | List content guards
|
|
108
108
|
*PulpcoreClient::ExportersCoreExportsApi* | [**create**](docs/ExportersCoreExportsApi.md#create) | **POST** {pulp_exporter_href}exports/ | Create a pulp export
|
|
109
109
|
*PulpcoreClient::ExportersCoreExportsApi* | [**delete**](docs/ExportersCoreExportsApi.md#delete) | **DELETE** {pulp_pulp_export_href} | Delete a pulp export
|
|
110
110
|
*PulpcoreClient::ExportersCoreExportsApi* | [**list**](docs/ExportersCoreExportsApi.md#list) | **GET** {pulp_exporter_href}exports/ | List pulp exports
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
# PulpcoreClient::
|
|
1
|
+
# PulpcoreClient::ContentguardsApi
|
|
2
2
|
|
|
3
3
|
All URIs are relative to *http://pulp*
|
|
4
4
|
|
|
5
5
|
Method | HTTP request | Description
|
|
6
6
|
------------- | ------------- | -------------
|
|
7
|
-
[**list**](
|
|
7
|
+
[**list**](ContentguardsApi.md#list) | **GET** /pulp/api/v3/contentguards/ | List content guards
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
@@ -14,7 +14,7 @@ Method | HTTP request | Description
|
|
|
14
14
|
|
|
15
15
|
List content guards
|
|
16
16
|
|
|
17
|
-
Endpoint to list all
|
|
17
|
+
Endpoint to list all contentguards.
|
|
18
18
|
|
|
19
19
|
### Example
|
|
20
20
|
|
|
@@ -28,7 +28,7 @@ PulpcoreClient.configure do |config|
|
|
|
28
28
|
config.password = 'YOUR PASSWORD'
|
|
29
29
|
end
|
|
30
30
|
|
|
31
|
-
api_instance = PulpcoreClient::
|
|
31
|
+
api_instance = PulpcoreClient::ContentguardsApi.new
|
|
32
32
|
opts = {
|
|
33
33
|
limit: 56, # Integer | Number of results to return per page.
|
|
34
34
|
name: 'name_example', # String |
|
|
@@ -47,7 +47,7 @@ begin
|
|
|
47
47
|
result = api_instance.list(opts)
|
|
48
48
|
p result
|
|
49
49
|
rescue PulpcoreClient::ApiError => e
|
|
50
|
-
puts "Exception when calling
|
|
50
|
+
puts "Exception when calling ContentguardsApi->list: #{e}"
|
|
51
51
|
end
|
|
52
52
|
```
|
|
53
53
|
|
data/docs/WorkerResponse.md
CHANGED
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**pulp_href** | **String** | | [optional] [readonly]
|
|
8
7
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
|
8
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
|
9
9
|
**name** | **String** | The name of the worker. | [optional] [readonly]
|
|
10
10
|
**last_heartbeat** | **DateTime** | Timestamp of the last time the worker talked to the service. | [optional] [readonly]
|
|
11
11
|
|
|
@@ -14,8 +14,8 @@ Name | Type | Description | Notes
|
|
|
14
14
|
```ruby
|
|
15
15
|
require 'PulpcoreClient'
|
|
16
16
|
|
|
17
|
-
instance = PulpcoreClient::WorkerResponse.new(
|
|
18
|
-
|
|
17
|
+
instance = PulpcoreClient::WorkerResponse.new(pulp_created: null,
|
|
18
|
+
pulp_href: null,
|
|
19
19
|
name: null,
|
|
20
20
|
last_heartbeat: null)
|
|
21
21
|
```
|
data/lib/pulpcore_client.rb
CHANGED
|
@@ -89,7 +89,7 @@ require 'pulpcore_client/models/worker_response'
|
|
|
89
89
|
require 'pulpcore_client/api/access_policies_api'
|
|
90
90
|
require 'pulpcore_client/api/artifacts_api'
|
|
91
91
|
require 'pulpcore_client/api/content_api'
|
|
92
|
-
require 'pulpcore_client/api/
|
|
92
|
+
require 'pulpcore_client/api/contentguards_api'
|
|
93
93
|
require 'pulpcore_client/api/exporters_core_exports_api'
|
|
94
94
|
require 'pulpcore_client/api/exporters_pulp_api'
|
|
95
95
|
require 'pulpcore_client/api/groups_api'
|
|
@@ -13,14 +13,14 @@ OpenAPI Generator version: 4.2.3
|
|
|
13
13
|
require 'cgi'
|
|
14
14
|
|
|
15
15
|
module PulpcoreClient
|
|
16
|
-
class
|
|
16
|
+
class ContentguardsApi
|
|
17
17
|
attr_accessor :api_client
|
|
18
18
|
|
|
19
19
|
def initialize(api_client = ApiClient.default)
|
|
20
20
|
@api_client = api_client
|
|
21
21
|
end
|
|
22
22
|
# List content guards
|
|
23
|
-
# Endpoint to list all
|
|
23
|
+
# Endpoint to list all contentguards.
|
|
24
24
|
# @param [Hash] opts the optional parameters
|
|
25
25
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
26
26
|
# @option opts [String] :name
|
|
@@ -39,7 +39,7 @@ module PulpcoreClient
|
|
|
39
39
|
end
|
|
40
40
|
|
|
41
41
|
# List content guards
|
|
42
|
-
# Endpoint to list all
|
|
42
|
+
# Endpoint to list all contentguards.
|
|
43
43
|
# @param [Hash] opts the optional parameters
|
|
44
44
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
45
45
|
# @option opts [String] :name
|
|
@@ -54,10 +54,10 @@ module PulpcoreClient
|
|
|
54
54
|
# @return [Array<(PaginatedContentGuardResponseList, Integer, Hash)>] PaginatedContentGuardResponseList data, response status code and response headers
|
|
55
55
|
def list_with_http_info(opts = {})
|
|
56
56
|
if @api_client.config.debugging
|
|
57
|
-
@api_client.config.logger.debug 'Calling API:
|
|
57
|
+
@api_client.config.logger.debug 'Calling API: ContentguardsApi.list ...'
|
|
58
58
|
end
|
|
59
59
|
# resource path
|
|
60
|
-
local_var_path = '/pulp/api/v3/
|
|
60
|
+
local_var_path = '/pulp/api/v3/contentguards/'
|
|
61
61
|
|
|
62
62
|
# query parameters
|
|
63
63
|
query_params = opts[:query_params] || {}
|
|
@@ -100,7 +100,7 @@ module PulpcoreClient
|
|
|
100
100
|
|
|
101
101
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
102
102
|
if @api_client.config.debugging
|
|
103
|
-
@api_client.config.logger.debug "API called:
|
|
103
|
+
@api_client.config.logger.debug "API called: ContentguardsApi#list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
104
104
|
end
|
|
105
105
|
return data, status_code, headers
|
|
106
106
|
end
|
|
@@ -15,11 +15,11 @@ require 'date'
|
|
|
15
15
|
module PulpcoreClient
|
|
16
16
|
# Base serializer for use with :class:`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.
|
|
17
17
|
class WorkerResponse
|
|
18
|
-
attr_accessor :pulp_href
|
|
19
|
-
|
|
20
18
|
# Timestamp of creation.
|
|
21
19
|
attr_accessor :pulp_created
|
|
22
20
|
|
|
21
|
+
attr_accessor :pulp_href
|
|
22
|
+
|
|
23
23
|
# The name of the worker.
|
|
24
24
|
attr_accessor :name
|
|
25
25
|
|
|
@@ -29,8 +29,8 @@ module PulpcoreClient
|
|
|
29
29
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
30
30
|
def self.attribute_map
|
|
31
31
|
{
|
|
32
|
-
:'pulp_href' => :'pulp_href',
|
|
33
32
|
:'pulp_created' => :'pulp_created',
|
|
33
|
+
:'pulp_href' => :'pulp_href',
|
|
34
34
|
:'name' => :'name',
|
|
35
35
|
:'last_heartbeat' => :'last_heartbeat'
|
|
36
36
|
}
|
|
@@ -39,8 +39,8 @@ module PulpcoreClient
|
|
|
39
39
|
# Attribute type mapping.
|
|
40
40
|
def self.openapi_types
|
|
41
41
|
{
|
|
42
|
-
:'pulp_href' => :'String',
|
|
43
42
|
:'pulp_created' => :'DateTime',
|
|
43
|
+
:'pulp_href' => :'String',
|
|
44
44
|
:'name' => :'String',
|
|
45
45
|
:'last_heartbeat' => :'DateTime'
|
|
46
46
|
}
|
|
@@ -67,14 +67,14 @@ module PulpcoreClient
|
|
|
67
67
|
h[k.to_sym] = v
|
|
68
68
|
}
|
|
69
69
|
|
|
70
|
-
if attributes.key?(:'pulp_href')
|
|
71
|
-
self.pulp_href = attributes[:'pulp_href']
|
|
72
|
-
end
|
|
73
|
-
|
|
74
70
|
if attributes.key?(:'pulp_created')
|
|
75
71
|
self.pulp_created = attributes[:'pulp_created']
|
|
76
72
|
end
|
|
77
73
|
|
|
74
|
+
if attributes.key?(:'pulp_href')
|
|
75
|
+
self.pulp_href = attributes[:'pulp_href']
|
|
76
|
+
end
|
|
77
|
+
|
|
78
78
|
if attributes.key?(:'name')
|
|
79
79
|
self.name = attributes[:'name']
|
|
80
80
|
end
|
|
@@ -102,8 +102,8 @@ module PulpcoreClient
|
|
|
102
102
|
def ==(o)
|
|
103
103
|
return true if self.equal?(o)
|
|
104
104
|
self.class == o.class &&
|
|
105
|
-
pulp_href == o.pulp_href &&
|
|
106
105
|
pulp_created == o.pulp_created &&
|
|
106
|
+
pulp_href == o.pulp_href &&
|
|
107
107
|
name == o.name &&
|
|
108
108
|
last_heartbeat == o.last_heartbeat
|
|
109
109
|
end
|
|
@@ -117,7 +117,7 @@ module PulpcoreClient
|
|
|
117
117
|
# Calculates hash code according to all attributes.
|
|
118
118
|
# @return [Integer] Hash code
|
|
119
119
|
def hash
|
|
120
|
-
[
|
|
120
|
+
[pulp_created, pulp_href, name, last_heartbeat].hash
|
|
121
121
|
end
|
|
122
122
|
|
|
123
123
|
# Builds the object from hash
|
|
@@ -13,28 +13,28 @@ OpenAPI Generator version: 4.2.3
|
|
|
13
13
|
require 'spec_helper'
|
|
14
14
|
require 'json'
|
|
15
15
|
|
|
16
|
-
# Unit tests for PulpcoreClient::
|
|
16
|
+
# Unit tests for PulpcoreClient::ContentguardsApi
|
|
17
17
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
18
18
|
# Please update as you see appropriate
|
|
19
|
-
describe '
|
|
19
|
+
describe 'ContentguardsApi' do
|
|
20
20
|
before do
|
|
21
21
|
# run before each test
|
|
22
|
-
@api_instance = PulpcoreClient::
|
|
22
|
+
@api_instance = PulpcoreClient::ContentguardsApi.new
|
|
23
23
|
end
|
|
24
24
|
|
|
25
25
|
after do
|
|
26
26
|
# run after each test
|
|
27
27
|
end
|
|
28
28
|
|
|
29
|
-
describe 'test an instance of
|
|
30
|
-
it 'should create an instance of
|
|
31
|
-
expect(@api_instance).to be_instance_of(PulpcoreClient::
|
|
29
|
+
describe 'test an instance of ContentguardsApi' do
|
|
30
|
+
it 'should create an instance of ContentguardsApi' do
|
|
31
|
+
expect(@api_instance).to be_instance_of(PulpcoreClient::ContentguardsApi)
|
|
32
32
|
end
|
|
33
33
|
end
|
|
34
34
|
|
|
35
35
|
# unit tests for list
|
|
36
36
|
# List content guards
|
|
37
|
-
# Endpoint to list all
|
|
37
|
+
# Endpoint to list all contentguards.
|
|
38
38
|
# @param [Hash] opts the optional parameters
|
|
39
39
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
40
40
|
# @option opts [String] :name
|
|
@@ -32,13 +32,13 @@ describe 'WorkerResponse' do
|
|
|
32
32
|
expect(@instance).to be_instance_of(PulpcoreClient::WorkerResponse)
|
|
33
33
|
end
|
|
34
34
|
end
|
|
35
|
-
describe 'test attribute "
|
|
35
|
+
describe 'test attribute "pulp_created"' do
|
|
36
36
|
it 'should work' do
|
|
37
37
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
38
38
|
end
|
|
39
39
|
end
|
|
40
40
|
|
|
41
|
-
describe 'test attribute "
|
|
41
|
+
describe 'test attribute "pulp_href"' do
|
|
42
42
|
it 'should work' do
|
|
43
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
44
44
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: pulpcore_client
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.11.0.
|
|
4
|
+
version: 3.11.0.dev01614137794
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- OpenAPI-Generator
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2021-02-
|
|
11
|
+
date: 2021-02-24 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|
|
@@ -84,7 +84,7 @@ files:
|
|
|
84
84
|
- docs/ContentApi.md
|
|
85
85
|
- docs/ContentAppStatusResponse.md
|
|
86
86
|
- docs/ContentGuardResponse.md
|
|
87
|
-
- docs/
|
|
87
|
+
- docs/ContentguardsApi.md
|
|
88
88
|
- docs/DatabaseConnectionResponse.md
|
|
89
89
|
- docs/EvaluationResponse.md
|
|
90
90
|
- docs/ExportersCoreExportsApi.md
|
|
@@ -169,7 +169,7 @@ files:
|
|
|
169
169
|
- lib/pulpcore_client/api/access_policies_api.rb
|
|
170
170
|
- lib/pulpcore_client/api/artifacts_api.rb
|
|
171
171
|
- lib/pulpcore_client/api/content_api.rb
|
|
172
|
-
- lib/pulpcore_client/api/
|
|
172
|
+
- lib/pulpcore_client/api/contentguards_api.rb
|
|
173
173
|
- lib/pulpcore_client/api/exporters_core_exports_api.rb
|
|
174
174
|
- lib/pulpcore_client/api/exporters_pulp_api.rb
|
|
175
175
|
- lib/pulpcore_client/api/groups_api.rb
|
|
@@ -264,7 +264,7 @@ files:
|
|
|
264
264
|
- spec/api/access_policies_api_spec.rb
|
|
265
265
|
- spec/api/artifacts_api_spec.rb
|
|
266
266
|
- spec/api/content_api_spec.rb
|
|
267
|
-
- spec/api/
|
|
267
|
+
- spec/api/contentguards_api_spec.rb
|
|
268
268
|
- spec/api/exporters_core_exports_api_spec.rb
|
|
269
269
|
- spec/api/exporters_pulp_api_spec.rb
|
|
270
270
|
- spec/api/groups_api_spec.rb
|
|
@@ -389,10 +389,10 @@ test_files:
|
|
|
389
389
|
- spec/api/access_policies_api_spec.rb
|
|
390
390
|
- spec/api/users_api_spec.rb
|
|
391
391
|
- spec/api/status_api_spec.rb
|
|
392
|
+
- spec/api/contentguards_api_spec.rb
|
|
392
393
|
- spec/api/tasks_api_spec.rb
|
|
393
394
|
- spec/api/groups_model_permissions_api_spec.rb
|
|
394
395
|
- spec/api/orphans_api_spec.rb
|
|
395
|
-
- spec/api/content_guards_api_spec.rb
|
|
396
396
|
- spec/api/content_api_spec.rb
|
|
397
397
|
- spec/api/importers_core_imports_api_spec.rb
|
|
398
398
|
- spec/api/exporters_core_exports_api_spec.rb
|