pulpcore_client 3.14.0 → 3.14.4

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2d9a361fc8f870f422c0dc2b8fdecc1a67493cc4189cb03ce9fed2155fde0b4e
4
- data.tar.gz: 2938c75d402e0c156758008c91d3d16c5a542aa9fc74ec2ac42b692ccec9424a
3
+ metadata.gz: da8d1cad7eb2b7aa45f12bc5a470487eb4d40c3280eb704d0fdfe5d05228fe72
4
+ data.tar.gz: a2776f8fd2fe2197a7a71c0a67bf6fa4174b68e5a5cd5de908d7cda05e9a8f85
5
5
  SHA512:
6
- metadata.gz: 024e829358f0bd47f84563ad9a3532bebb4a2a144cf82648e1d56e913a9dcb1b35a76941b7c0465e47092020f3301a7ee7ca8b2d171da84da71e601716e1a57b
7
- data.tar.gz: b2bad3bbbb02bb9e201d7c836a30636a0737eac6881e23dbf8380c0ca71dba2ef62a2ca70fa6d4af3157f079473ac832dc093bf37e1baac374a8ffa8d7c26816
6
+ metadata.gz: 6f7ac29d70678d645e43e6a0ec122dc1fc7885abf1c175a7a6088c63cf82b88ac1f55c54310b7a433d0856138e9675ec7eba659be335dbafe32c9472c96cfab1
7
+ data.tar.gz: 04ea8cab94f0bb3e97f89d1002d492b9184bd4806539706da9624b5396da04ccbb04631f9d3fdd7514a3e498a97b4549957920bed7231fdb1d72a5580e80726e
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.14.0
10
+ - Package version: 3.14.4
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.14.0.gem
27
+ gem install ./pulpcore_client-3.14.4.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./pulpcore_client-3.14.0.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./pulpcore_client-3.14.4.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.14.0'
36
+ gem 'pulpcore_client', '~> 3.14.4'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -7,7 +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
  **task** | **String** | A URI of the task that ran the Export. | [optional]
10
- **exported_resources** | [**Array<AnyType>**](AnyType.md) | Resources that were exported. | [optional] [readonly]
10
+ **exported_resources** | **Array<String>** | Resources that were exported. | [optional] [readonly]
11
11
  **params** | [**Object**](.md) | Any additional parameters that were used to create the export. | [optional] [readonly]
12
12
  **output_file_info** | [**Object**](.md) | Dictionary of filename: sha256hash entries for export-output-file(s) | [optional] [readonly]
13
13
  **toc_info** | [**Object**](.md) | Filename and sha256-checksum of table-of-contents for this export | [optional] [readonly]
@@ -8,7 +8,7 @@ Name | Type | Description | Notes
8
8
  **online_workers** | [**Array<WorkerResponse>**](WorkerResponse.md) | List of online workers known to the application. An online worker is actively heartbeating and can respond to new work |
9
9
  **online_content_apps** | [**Array<ContentAppStatusResponse>**](ContentAppStatusResponse.md) | List of online content apps known to the application. An online content app is actively heartbeating and can serve data to clients |
10
10
  **database_connection** | [**DatabaseConnectionResponse**](DatabaseConnectionResponse.md) | Database connection information |
11
- **redis_connection** | [**RedisConnectionResponse**](RedisConnectionResponse.md) | Redis connection information |
11
+ **redis_connection** | [**RedisConnectionResponse**](RedisConnectionResponse.md) | Redis connection information | [optional]
12
12
  **storage** | [**StorageResponse**](StorageResponse.md) | Storage information | [optional]
13
13
 
14
14
  ## Code Sample
@@ -4,8 +4,8 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
8
7
  **pulp_href** | **String** | | [optional] [readonly]
8
+ **pulp_created** | **DateTime** | Timestamp of creation. | [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(pulp_created: null,
18
- pulp_href: null,
17
+ instance = PulpcoreClient::WorkerResponse.new(pulp_href: null,
18
+ pulp_created: null,
19
19
  name: null,
20
20
  last_heartbeat: null)
21
21
  ```
@@ -54,7 +54,7 @@ module PulpcoreClient
54
54
  :'pulp_href' => :'String',
55
55
  :'pulp_created' => :'DateTime',
56
56
  :'task' => :'String',
57
- :'exported_resources' => :'Array<AnyType>',
57
+ :'exported_resources' => :'Array<String>',
58
58
  :'params' => :'Object',
59
59
  :'output_file_info' => :'Object',
60
60
  :'toc_info' => :'Object'
@@ -129,10 +129,6 @@ module PulpcoreClient
129
129
  invalid_properties.push('invalid value for "database_connection", database_connection cannot be nil.')
130
130
  end
131
131
 
132
- if @redis_connection.nil?
133
- invalid_properties.push('invalid value for "redis_connection", redis_connection cannot be nil.')
134
- end
135
-
136
132
  invalid_properties
137
133
  end
138
134
 
@@ -143,7 +139,6 @@ module PulpcoreClient
143
139
  return false if @online_workers.nil?
144
140
  return false if @online_content_apps.nil?
145
141
  return false if @database_connection.nil?
146
- return false if @redis_connection.nil?
147
142
  true
148
143
  end
149
144
 
@@ -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
+
18
20
  # Timestamp of creation.
19
21
  attr_accessor :pulp_created
20
22
 
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_created' => :'pulp_created',
33
32
  :'pulp_href' => :'pulp_href',
33
+ :'pulp_created' => :'pulp_created',
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_created' => :'DateTime',
43
42
  :'pulp_href' => :'String',
43
+ :'pulp_created' => :'DateTime',
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_created')
71
- self.pulp_created = attributes[:'pulp_created']
72
- end
73
-
74
70
  if attributes.key?(:'pulp_href')
75
71
  self.pulp_href = attributes[:'pulp_href']
76
72
  end
77
73
 
74
+ if attributes.key?(:'pulp_created')
75
+ self.pulp_created = attributes[:'pulp_created']
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_created == o.pulp_created &&
106
105
  pulp_href == o.pulp_href &&
106
+ pulp_created == o.pulp_created &&
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
- [pulp_created, pulp_href, name, last_heartbeat].hash
120
+ [pulp_href, pulp_created, name, last_heartbeat].hash
121
121
  end
122
122
 
123
123
  # Builds the object from hash
@@ -11,5 +11,5 @@ OpenAPI Generator version: 4.3.1
11
11
  =end
12
12
 
13
13
  module PulpcoreClient
14
- VERSION = '3.14.0'
14
+ VERSION = '3.14.4'
15
15
  end
@@ -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 "pulp_created"' do
35
+ describe 'test attribute "pulp_href"' 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 "pulp_href"' do
41
+ describe 'test attribute "pulp_created"' 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.14.0
4
+ version: 3.14.4
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-07-01 00:00:00.000000000 Z
11
+ date: 2021-08-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -411,107 +411,107 @@ signing_key:
411
411
  specification_version: 4
412
412
  summary: Pulp 3 API Ruby Gem
413
413
  test_files:
414
- - spec/api/publications_api_spec.rb
415
- - spec/api/tasks_api_spec.rb
416
- - spec/api/access_policies_api_spec.rb
417
- - spec/api/groups_model_permissions_api_spec.rb
418
- - spec/api/signing_services_api_spec.rb
419
- - spec/api/content_api_spec.rb
420
- - spec/api/artifacts_api_spec.rb
421
- - spec/api/contentguards_api_spec.rb
422
414
  - spec/api/workers_api_spec.rb
423
- - spec/api/exporters_pulp_api_spec.rb
415
+ - spec/api/artifacts_api_spec.rb
424
416
  - spec/api/groups_users_api_spec.rb
425
- - spec/api/orphans_api_spec.rb
426
417
  - spec/api/repository_versions_api_spec.rb
427
- - spec/api/importers_pulp_imports_api_spec.rb
428
- - spec/api/status_api_spec.rb
429
- - spec/api/repositories_api_spec.rb
430
- - spec/api/importers_pulp_api_spec.rb
431
- - spec/api/importers_pulp_import_check_api_spec.rb
418
+ - spec/api/content_api_spec.rb
432
419
  - spec/api/exporters_pulp_exports_api_spec.rb
433
- - spec/api/groups_api_spec.rb
434
- - spec/api/users_api_spec.rb
435
- - spec/api/repair_api_spec.rb
436
- - spec/api/task_groups_api_spec.rb
437
420
  - spec/api/groups_object_permissions_api_spec.rb
421
+ - spec/api/importers_pulp_import_check_api_spec.rb
422
+ - spec/api/tasks_api_spec.rb
438
423
  - spec/api/orphans_cleanup_api_spec.rb
424
+ - spec/api/groups_api_spec.rb
425
+ - spec/api/importers_pulp_api_spec.rb
426
+ - spec/api/repositories_api_spec.rb
439
427
  - spec/api/uploads_api_spec.rb
428
+ - spec/api/users_api_spec.rb
429
+ - spec/api/importers_pulp_imports_api_spec.rb
430
+ - spec/api/publications_api_spec.rb
431
+ - spec/api/task_groups_api_spec.rb
432
+ - spec/api/groups_model_permissions_api_spec.rb
433
+ - spec/api/orphans_api_spec.rb
434
+ - spec/api/status_api_spec.rb
435
+ - spec/api/contentguards_api_spec.rb
436
+ - spec/api/exporters_pulp_api_spec.rb
437
+ - spec/api/repair_api_spec.rb
438
+ - spec/api/access_policies_api_spec.rb
439
+ - spec/api/signing_services_api_spec.rb
440
440
  - spec/api_client_spec.rb
441
441
  - spec/configuration_spec.rb
442
442
  - spec/models/paginated_user_response_list_spec.rb
443
- - spec/models/upload_spec.rb
444
- - spec/models/patched_group_spec.rb
445
- - spec/models/pulp_exporter_spec.rb
446
- - spec/models/repair_spec.rb
447
- - spec/models/paginated_pulp_exporter_response_list_spec.rb
448
- - spec/models/pulp_export_response_spec.rb
449
- - spec/models/redis_connection_response_spec.rb
450
- - spec/models/async_operation_response_spec.rb
443
+ - spec/models/group_response_spec.rb
444
+ - spec/models/permission_response_spec.rb
445
+ - spec/models/task_response_spec.rb
446
+ - spec/models/upload_chunk_spec.rb
447
+ - spec/models/paginated_publication_response_list_spec.rb
448
+ - spec/models/pulp_import_spec.rb
449
+ - spec/models/pulp_import_check_response_spec.rb
450
+ - spec/models/group_spec.rb
451
+ - spec/models/upload_commit_spec.rb
451
452
  - spec/models/content_app_status_response_spec.rb
452
- - spec/models/publication_response_spec.rb
453
+ - spec/models/paginated_pulp_importer_response_list_spec.rb
454
+ - spec/models/upload_spec.rb
455
+ - spec/models/minimal_task_response_spec.rb
453
456
  - spec/models/group_progress_report_response_spec.rb
454
- - spec/models/upload_chunk_spec.rb
455
- - spec/models/database_connection_response_spec.rb
457
+ - spec/models/pulp_importer_response_spec.rb
458
+ - spec/models/signing_service_response_spec.rb
456
459
  - spec/models/paginated_artifact_response_list_spec.rb
457
- - spec/models/access_policy_response_spec.rb
458
- - spec/models/artifact_spec.rb
460
+ - spec/models/paginated_worker_response_list_spec.rb
461
+ - spec/models/patched_group_spec.rb
462
+ - spec/models/paginated_task_group_response_list_spec.rb
463
+ - spec/models/paginated_upload_response_list_spec.rb
464
+ - spec/models/paginated_repository_response_list_spec.rb
459
465
  - spec/models/paginated_task_response_list_spec.rb
466
+ - spec/models/repository_version_response_spec.rb
467
+ - spec/models/orphans_cleanup_spec.rb
468
+ - spec/models/multiple_artifact_content_response_spec.rb
469
+ - spec/models/pulp_import_check_spec.rb
470
+ - spec/models/version_response_spec.rb
471
+ - spec/models/upload_response_spec.rb
472
+ - spec/models/content_guard_response_spec.rb
473
+ - spec/models/import_response_spec.rb
474
+ - spec/models/patched_task_cancel_spec.rb
460
475
  - spec/models/content_summary_response_spec.rb
461
- - spec/models/group_response_spec.rb
476
+ - spec/models/patched_access_policy_spec.rb
477
+ - spec/models/redis_connection_response_spec.rb
478
+ - spec/models/user_group_response_spec.rb
479
+ - spec/models/access_policy_response_spec.rb
480
+ - spec/models/paginated_multiple_artifact_content_response_list_spec.rb
481
+ - spec/models/async_operation_response_spec.rb
462
482
  - spec/models/paginated_repository_version_response_list_spec.rb
483
+ - spec/models/pulp_exporter_spec.rb
484
+ - spec/models/patched_pulp_importer_spec.rb
485
+ - spec/models/paginated_content_guard_response_list_spec.rb
486
+ - spec/models/database_connection_response_spec.rb
487
+ - spec/models/user_response_spec.rb
463
488
  - spec/models/task_group_response_spec.rb
464
- - spec/models/paginated_signing_service_response_list_spec.rb
465
- - spec/models/group_user_response_spec.rb
466
- - spec/models/worker_response_spec.rb
467
- - spec/models/version_response_spec.rb
489
+ - spec/models/artifact_response_spec.rb
490
+ - spec/models/pulp_export_response_spec.rb
468
491
  - spec/models/group_user_spec.rb
469
- - spec/models/minimal_task_response_spec.rb
470
- - spec/models/group_spec.rb
471
- - spec/models/permission_response_spec.rb
472
- - spec/models/patched_access_policy_spec.rb
473
492
  - spec/models/pulp_exporter_response_spec.rb
474
- - spec/models/storage_response_spec.rb
475
- - spec/models/task_response_spec.rb
476
- - spec/models/upload_commit_spec.rb
477
- - spec/models/repository_version_response_spec.rb
478
- - spec/models/multiple_artifact_content_response_spec.rb
479
- - spec/models/paginated_pulp_export_response_list_spec.rb
480
- - spec/models/pulp_importer_spec.rb
481
- - spec/models/patched_task_cancel_spec.rb
482
- - spec/models/pulp_import_spec.rb
483
493
  - spec/models/paginated_group_response_list_spec.rb
484
- - spec/models/paginated_worker_response_list_spec.rb
485
- - spec/models/patched_pulp_importer_spec.rb
486
- - spec/models/pulp_importer_response_spec.rb
487
- - spec/models/evaluation_response_spec.rb
488
- - spec/models/import_response_spec.rb
489
- - spec/models/pulp_import_check_spec.rb
490
- - spec/models/repository_response_spec.rb
491
- - spec/models/progress_report_response_spec.rb
492
- - spec/models/upload_response_spec.rb
493
494
  - spec/models/paginated_access_policy_response_list_spec.rb
494
- - spec/models/signing_service_response_spec.rb
495
- - spec/models/paginated_multiple_artifact_content_response_list_spec.rb
496
- - spec/models/paginated_publication_response_list_spec.rb
495
+ - spec/models/worker_response_spec.rb
497
496
  - spec/models/upload_detail_response_spec.rb
498
- - spec/models/paginated_task_group_response_list_spec.rb
499
- - spec/models/user_group_response_spec.rb
500
- - spec/models/paginated_repository_response_list_spec.rb
497
+ - spec/models/paginated_pulp_exporter_response_list_spec.rb
501
498
  - spec/models/paginated_permission_response_list_spec.rb
502
- - spec/models/paginated_group_user_response_list_spec.rb
499
+ - spec/models/pulp_importer_spec.rb
503
500
  - spec/models/pulp_export_spec.rb
504
- - spec/models/orphans_cleanup_spec.rb
505
- - spec/models/paginated_upload_response_list_spec.rb
501
+ - spec/models/storage_response_spec.rb
502
+ - spec/models/paginated_group_user_response_list_spec.rb
506
503
  - spec/models/upload_chunk_response_spec.rb
504
+ - spec/models/paginated_pulp_export_response_list_spec.rb
505
+ - spec/models/repository_response_spec.rb
506
+ - spec/models/progress_report_response_spec.rb
507
+ - spec/models/group_user_response_spec.rb
508
+ - spec/models/paginated_signing_service_response_list_spec.rb
509
+ - spec/models/artifact_spec.rb
510
+ - spec/models/evaluation_response_spec.rb
511
+ - spec/models/repair_spec.rb
512
+ - spec/models/publication_response_spec.rb
513
+ - spec/models/paginated_import_response_list_spec.rb
507
514
  - spec/models/patched_pulp_exporter_spec.rb
508
- - spec/models/paginated_content_guard_response_list_spec.rb
509
515
  - spec/models/access_policy_spec.rb
510
- - spec/models/content_guard_response_spec.rb
511
- - spec/models/pulp_import_check_response_spec.rb
512
- - spec/models/paginated_import_response_list_spec.rb
513
- - spec/models/artifact_response_spec.rb
514
- - spec/models/user_response_spec.rb
515
516
  - spec/models/status_response_spec.rb
516
- - spec/models/paginated_pulp_importer_response_list_spec.rb
517
517
  - spec/spec_helper.rb