pulpcore_client 3.16.10 → 3.16.13
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/WorkerResponse.md +3 -3
- data/lib/pulpcore_client/api_client.rb +1 -1
- data/lib/pulpcore_client/models/worker_response.rb +10 -10
- data/lib/pulpcore_client/version.rb +1 -1
- data/pulpcore_client.gemspec +3 -3
- data/spec/models/worker_response_spec.rb +2 -2
- metadata +108 -109
- data/git_push.sh +0 -58
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2a0e2c5dbd555b4e57bffeab41bc9e495c660d494854173a945b184fc3943cf7
|
|
4
|
+
data.tar.gz: e574cd7a58e396ff67f8d8077b2cb524e8d3bdf2aa9e535de32c00766bab306b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e9ed173c8a3860462f2ecdb4735ed6b580830d42922c1b9c2577d8a9092e9daa856cf9244af524f96e112d6b4927e88db5f5530e02f2317f436ffc3a185007ae
|
|
7
|
+
data.tar.gz: de964706abcd21682789e5b3e7a60b6bae183bcaa7189009e24ef1ac2afc4010ead2e32383f816c0d8688148579ddc60400b25c175b6b4e718d269a553ace333
|
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.16.
|
|
10
|
+
- Package version: 3.16.13
|
|
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.16.
|
|
27
|
+
gem install ./pulpcore_client-3.16.13.gem
|
|
28
28
|
```
|
|
29
29
|
|
|
30
|
-
(for development, run `gem install --dev ./pulpcore_client-3.16.
|
|
30
|
+
(for development, run `gem install --dev ./pulpcore_client-3.16.13.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.16.
|
|
36
|
+
gem 'pulpcore_client', '~> 3.16.13'
|
|
37
37
|
|
|
38
38
|
### Install from Git
|
|
39
39
|
|
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
|
```
|
|
@@ -154,7 +154,7 @@ module PulpcoreClient
|
|
|
154
154
|
case value
|
|
155
155
|
when ::File, ::Tempfile
|
|
156
156
|
# TODO hardcode to application/octet-stream, need better way to detect content type
|
|
157
|
-
data[key] = Faraday::
|
|
157
|
+
data[key] = Faraday::FilePart.new(value.path, 'application/octet-stream', value.path)
|
|
158
158
|
when ::Array, nil
|
|
159
159
|
# let Faraday handle Array and nil parameters
|
|
160
160
|
data[key] = value
|
|
@@ -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
|
data/pulpcore_client.gemspec
CHANGED
|
@@ -21,13 +21,13 @@ Gem::Specification.new do |s|
|
|
|
21
21
|
s.platform = Gem::Platform::RUBY
|
|
22
22
|
s.authors = ["OpenAPI-Generator"]
|
|
23
23
|
s.email = ["pulp-list@redhat.com"]
|
|
24
|
-
s.homepage = "https://
|
|
24
|
+
s.homepage = "https://github.com/pulp/pulpcore"
|
|
25
25
|
s.summary = "Pulp 3 API Ruby Gem"
|
|
26
26
|
s.description = "Fetch, Upload, Organize, and Distribute Software Packages"
|
|
27
|
-
s.license = '
|
|
27
|
+
s.license = 'GPLv2+'
|
|
28
28
|
s.required_ruby_version = ">= 1.9"
|
|
29
29
|
|
|
30
|
-
s.add_runtime_dependency 'faraday', '
|
|
30
|
+
s.add_runtime_dependency 'faraday', '>= 1.0.1', '< 2.0'
|
|
31
31
|
s.add_runtime_dependency 'json', '~> 2.1', '>= 2.1.0'
|
|
32
32
|
|
|
33
33
|
s.add_development_dependency 'rspec', '~> 3.6', '>= 3.6.0'
|
|
@@ -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,35 +1,35 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: pulpcore_client
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.16.
|
|
4
|
+
version: 3.16.13
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- OpenAPI-Generator
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2022-
|
|
11
|
+
date: 2022-09-01 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
|
16
16
|
requirements:
|
|
17
|
-
- - "
|
|
17
|
+
- - ">="
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
|
-
version:
|
|
19
|
+
version: 1.0.1
|
|
20
20
|
- - "<"
|
|
21
21
|
- !ruby/object:Gem::Version
|
|
22
|
-
version:
|
|
22
|
+
version: '2.0'
|
|
23
23
|
type: :runtime
|
|
24
24
|
prerelease: false
|
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
|
26
26
|
requirements:
|
|
27
|
-
- - "
|
|
27
|
+
- - ">="
|
|
28
28
|
- !ruby/object:Gem::Version
|
|
29
|
-
version:
|
|
29
|
+
version: 1.0.1
|
|
30
30
|
- - "<"
|
|
31
31
|
- !ruby/object:Gem::Version
|
|
32
|
-
version:
|
|
32
|
+
version: '2.0'
|
|
33
33
|
- !ruby/object:Gem::Dependency
|
|
34
34
|
name: json
|
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -200,7 +200,6 @@ files:
|
|
|
200
200
|
- docs/VersionResponse.md
|
|
201
201
|
- docs/WorkerResponse.md
|
|
202
202
|
- docs/WorkersApi.md
|
|
203
|
-
- git_push.sh
|
|
204
203
|
- lib/pulpcore_client.rb
|
|
205
204
|
- lib/pulpcore_client/api/access_policies_api.rb
|
|
206
205
|
- lib/pulpcore_client/api/artifacts_api.rb
|
|
@@ -450,9 +449,9 @@ files:
|
|
|
450
449
|
- spec/models/version_response_spec.rb
|
|
451
450
|
- spec/models/worker_response_spec.rb
|
|
452
451
|
- spec/spec_helper.rb
|
|
453
|
-
homepage: https://
|
|
452
|
+
homepage: https://github.com/pulp/pulpcore
|
|
454
453
|
licenses:
|
|
455
|
-
-
|
|
454
|
+
- GPLv2+
|
|
456
455
|
metadata: {}
|
|
457
456
|
post_install_message:
|
|
458
457
|
rdoc_options: []
|
|
@@ -474,126 +473,126 @@ signing_key:
|
|
|
474
473
|
specification_version: 4
|
|
475
474
|
summary: Pulp 3 API Ruby Gem
|
|
476
475
|
test_files:
|
|
477
|
-
- spec/api/
|
|
478
|
-
- spec/api/orphans_api_spec.rb
|
|
479
|
-
- spec/api/task_groups_api_spec.rb
|
|
480
|
-
- spec/api/access_policies_api_spec.rb
|
|
481
|
-
- spec/api/contentguards_rbac_api_spec.rb
|
|
482
|
-
- spec/api/repositories_api_spec.rb
|
|
483
|
-
- spec/api/importers_pulp_imports_api_spec.rb
|
|
484
|
-
- spec/api/repository_versions_api_spec.rb
|
|
485
|
-
- spec/api/groups_users_api_spec.rb
|
|
486
|
-
- spec/api/exporters_filesystem_api_spec.rb
|
|
487
|
-
- spec/api/workers_api_spec.rb
|
|
488
|
-
- spec/api/users_api_spec.rb
|
|
489
|
-
- spec/api/exporters_pulp_api_spec.rb
|
|
490
|
-
- spec/api/groups_api_spec.rb
|
|
491
|
-
- spec/api/repositories_reclaim_space_api_spec.rb
|
|
492
|
-
- spec/api/contentguards_api_spec.rb
|
|
476
|
+
- spec/api/content_api_spec.rb
|
|
493
477
|
- spec/api/status_api_spec.rb
|
|
494
|
-
- spec/api/repair_api_spec.rb
|
|
495
478
|
- spec/api/exporters_pulp_exports_api_spec.rb
|
|
496
|
-
- spec/api/
|
|
497
|
-
- spec/api/groups_object_permissions_api_spec.rb
|
|
479
|
+
- spec/api/importers_pulp_api_spec.rb
|
|
498
480
|
- spec/api/importers_pulp_import_check_api_spec.rb
|
|
481
|
+
- spec/api/exporters_pulp_api_spec.rb
|
|
482
|
+
- spec/api/groups_api_spec.rb
|
|
499
483
|
- spec/api/orphans_cleanup_api_spec.rb
|
|
484
|
+
- spec/api/orphans_api_spec.rb
|
|
485
|
+
- spec/api/repository_versions_api_spec.rb
|
|
486
|
+
- spec/api/contentguards_api_spec.rb
|
|
487
|
+
- spec/api/signing_services_api_spec.rb
|
|
488
|
+
- spec/api/artifacts_api_spec.rb
|
|
489
|
+
- spec/api/importers_pulp_imports_api_spec.rb
|
|
490
|
+
- spec/api/repair_api_spec.rb
|
|
491
|
+
- spec/api/repositories_reclaim_space_api_spec.rb
|
|
492
|
+
- spec/api/users_api_spec.rb
|
|
493
|
+
- spec/api/groups_users_api_spec.rb
|
|
500
494
|
- spec/api/exporters_filesystem_exports_api_spec.rb
|
|
501
|
-
- spec/api/
|
|
502
|
-
- spec/api/
|
|
495
|
+
- spec/api/access_policies_api_spec.rb
|
|
496
|
+
- spec/api/publications_api_spec.rb
|
|
497
|
+
- spec/api/groups_object_permissions_api_spec.rb
|
|
498
|
+
- spec/api/exporters_filesystem_api_spec.rb
|
|
503
499
|
- spec/api/tasks_api_spec.rb
|
|
500
|
+
- spec/api/repositories_api_spec.rb
|
|
504
501
|
- spec/api/uploads_api_spec.rb
|
|
505
|
-
- spec/api/
|
|
506
|
-
- spec/api/
|
|
502
|
+
- spec/api/groups_model_permissions_api_spec.rb
|
|
503
|
+
- spec/api/task_groups_api_spec.rb
|
|
504
|
+
- spec/api/workers_api_spec.rb
|
|
505
|
+
- spec/api/contentguards_rbac_api_spec.rb
|
|
507
506
|
- spec/api_client_spec.rb
|
|
508
507
|
- spec/configuration_spec.rb
|
|
509
|
-
- spec/models/
|
|
510
|
-
- spec/models/
|
|
511
|
-
- spec/models/
|
|
512
|
-
- spec/models/pulp_exporter_spec.rb
|
|
513
|
-
- spec/models/paginated_multiple_artifact_content_response_list_spec.rb
|
|
508
|
+
- spec/models/patched_group_spec.rb
|
|
509
|
+
- spec/models/progress_report_response_spec.rb
|
|
510
|
+
- spec/models/task_group_response_spec.rb
|
|
514
511
|
- spec/models/paginated_task_group_response_list_spec.rb
|
|
515
|
-
- spec/models/pulp_import_spec.rb
|
|
516
|
-
- spec/models/rbac_content_guard_response_spec.rb
|
|
517
|
-
- spec/models/patched_task_cancel_spec.rb
|
|
518
|
-
- spec/models/repository_version_response_spec.rb
|
|
519
|
-
- spec/models/database_connection_response_spec.rb
|
|
520
|
-
- spec/models/filesystem_exporter_spec.rb
|
|
521
|
-
- spec/models/version_response_spec.rb
|
|
522
|
-
- spec/models/group_progress_report_response_spec.rb
|
|
523
|
-
- spec/models/upload_chunk_response_spec.rb
|
|
524
|
-
- spec/models/patched_access_policy_spec.rb
|
|
525
512
|
- spec/models/upload_detail_response_spec.rb
|
|
513
|
+
- spec/models/group_spec.rb
|
|
526
514
|
- spec/models/paginated_filesystem_export_response_list_spec.rb
|
|
527
|
-
- spec/models/
|
|
528
|
-
- spec/models/
|
|
529
|
-
- spec/models/
|
|
530
|
-
- spec/models/
|
|
515
|
+
- spec/models/paginated_import_response_list_spec.rb
|
|
516
|
+
- spec/models/access_policy_spec.rb
|
|
517
|
+
- spec/models/group_user_response_spec.rb
|
|
518
|
+
- spec/models/paginated_publication_response_list_spec.rb
|
|
519
|
+
- spec/models/publication_response_spec.rb
|
|
520
|
+
- spec/models/group_progress_report_response_spec.rb
|
|
521
|
+
- spec/models/paginated_group_user_response_list_spec.rb
|
|
522
|
+
- spec/models/group_user_spec.rb
|
|
523
|
+
- spec/models/rbac_content_guard_response_spec.rb
|
|
524
|
+
- spec/models/reclaim_space_spec.rb
|
|
525
|
+
- spec/models/async_operation_response_spec.rb
|
|
526
|
+
- spec/models/paginated_group_response_list_spec.rb
|
|
527
|
+
- spec/models/upload_chunk_response_spec.rb
|
|
528
|
+
- spec/models/pulp_exporter_response_spec.rb
|
|
529
|
+
- spec/models/paginated_rbac_content_guard_response_list_spec.rb
|
|
531
530
|
- spec/models/paginated_permission_response_list_spec.rb
|
|
531
|
+
- spec/models/import_response_spec.rb
|
|
532
|
+
- spec/models/paginated_signing_service_response_list_spec.rb
|
|
532
533
|
- spec/models/artifact_spec.rb
|
|
533
|
-
- spec/models/paginated_access_policy_response_list_spec.rb
|
|
534
|
-
- spec/models/paginated_filesystem_exporter_response_list_spec.rb
|
|
535
|
-
- spec/models/task_response_spec.rb
|
|
536
|
-
- spec/models/pulp_exporter_response_spec.rb
|
|
537
|
-
- spec/models/signing_service_response_spec.rb
|
|
538
|
-
- spec/models/paginated_pulp_export_response_list_spec.rb
|
|
539
|
-
- spec/models/storage_response_spec.rb
|
|
540
|
-
- spec/models/paginated_publication_response_list_spec.rb
|
|
541
534
|
- spec/models/upload_spec.rb
|
|
542
|
-
- spec/models/
|
|
543
|
-
- spec/models/
|
|
535
|
+
- spec/models/repository_version_response_spec.rb
|
|
536
|
+
- spec/models/pulp_importer_spec.rb
|
|
537
|
+
- spec/models/upload_chunk_spec.rb
|
|
538
|
+
- spec/models/redis_connection_response_spec.rb
|
|
539
|
+
- spec/models/permission_response_spec.rb
|
|
544
540
|
- spec/models/user_group_response_spec.rb
|
|
541
|
+
- spec/models/paginated_filesystem_exporter_response_list_spec.rb
|
|
542
|
+
- spec/models/repair_spec.rb
|
|
543
|
+
- spec/models/paginated_user_response_list_spec.rb
|
|
544
|
+
- spec/models/filesystem_exporter_spec.rb
|
|
545
|
+
- spec/models/patched_pulp_importer_spec.rb
|
|
546
|
+
- spec/models/evaluation_response_spec.rb
|
|
547
|
+
- spec/models/pulp_importer_response_spec.rb
|
|
548
|
+
- spec/models/storage_response_spec.rb
|
|
549
|
+
- spec/models/pulp_export_spec.rb
|
|
550
|
+
- spec/models/patched_pulp_exporter_spec.rb
|
|
551
|
+
- spec/models/paginated_repository_response_list_spec.rb
|
|
552
|
+
- spec/models/patched_access_policy_spec.rb
|
|
553
|
+
- spec/models/upload_commit_spec.rb
|
|
545
554
|
- spec/models/repository_response_spec.rb
|
|
546
|
-
- spec/models/
|
|
547
|
-
- spec/models/
|
|
548
|
-
- spec/models/
|
|
549
|
-
- spec/models/
|
|
550
|
-
- spec/models/
|
|
555
|
+
- spec/models/paginated_content_guard_response_list_spec.rb
|
|
556
|
+
- spec/models/paginated_task_response_list_spec.rb
|
|
557
|
+
- spec/models/pulp_import_check_spec.rb
|
|
558
|
+
- spec/models/pulp_import_check_response_spec.rb
|
|
559
|
+
- spec/models/rbac_content_guard_permission_spec.rb
|
|
560
|
+
- spec/models/access_policy_response_spec.rb
|
|
551
561
|
- spec/models/content_guard_response_spec.rb
|
|
552
|
-
- spec/models/
|
|
562
|
+
- spec/models/paginated_artifact_response_list_spec.rb
|
|
563
|
+
- spec/models/version_response_spec.rb
|
|
553
564
|
- spec/models/worker_response_spec.rb
|
|
554
|
-
- spec/models/
|
|
555
|
-
- spec/models/artifact_response_spec.rb
|
|
556
|
-
- spec/models/import_response_spec.rb
|
|
557
|
-
- spec/models/content_summary_response_spec.rb
|
|
558
|
-
- spec/models/reclaim_space_spec.rb
|
|
559
|
-
- spec/models/patched_pulp_exporter_spec.rb
|
|
560
|
-
- spec/models/pulp_import_check_spec.rb
|
|
565
|
+
- spec/models/paginated_pulp_export_response_list_spec.rb
|
|
561
566
|
- spec/models/orphans_cleanup_spec.rb
|
|
562
|
-
- spec/models/
|
|
563
|
-
- spec/models/
|
|
564
|
-
- spec/models/
|
|
565
|
-
- spec/models/
|
|
567
|
+
- spec/models/filesystem_export_response_spec.rb
|
|
568
|
+
- spec/models/multiple_artifact_content_response_spec.rb
|
|
569
|
+
- spec/models/pulp_import_spec.rb
|
|
570
|
+
- spec/models/pulp_exporter_spec.rb
|
|
571
|
+
- spec/models/artifact_response_spec.rb
|
|
566
572
|
- spec/models/paginated_repository_version_response_list_spec.rb
|
|
567
|
-
- spec/models/
|
|
568
|
-
- spec/models/
|
|
569
|
-
- spec/models/
|
|
570
|
-
- spec/models/
|
|
571
|
-
- spec/models/
|
|
573
|
+
- spec/models/pulp_export_response_spec.rb
|
|
574
|
+
- spec/models/paginated_upload_response_list_spec.rb
|
|
575
|
+
- spec/models/patched_task_cancel_spec.rb
|
|
576
|
+
- spec/models/paginated_pulp_importer_response_list_spec.rb
|
|
577
|
+
- spec/models/upload_response_spec.rb
|
|
578
|
+
- spec/models/paginated_multiple_artifact_content_response_list_spec.rb
|
|
579
|
+
- spec/models/paginated_pulp_exporter_response_list_spec.rb
|
|
580
|
+
- spec/models/status_response_spec.rb
|
|
581
|
+
- spec/models/task_response_spec.rb
|
|
582
|
+
- spec/models/signing_service_response_spec.rb
|
|
572
583
|
- spec/models/method_enum_spec.rb
|
|
573
|
-
- spec/models/
|
|
574
|
-
- spec/models/
|
|
584
|
+
- spec/models/content_app_status_response_spec.rb
|
|
585
|
+
- spec/models/paginated_access_policy_response_list_spec.rb
|
|
586
|
+
- spec/models/database_connection_response_spec.rb
|
|
587
|
+
- spec/models/filesystem_export_spec.rb
|
|
588
|
+
- spec/models/patched_rbac_content_guard_spec.rb
|
|
589
|
+
- spec/models/rbac_content_guard_spec.rb
|
|
590
|
+
- spec/models/paginated_worker_response_list_spec.rb
|
|
575
591
|
- spec/models/task_group_operation_response_spec.rb
|
|
576
|
-
- spec/models/
|
|
577
|
-
- spec/models/
|
|
578
|
-
- spec/models/task_group_response_spec.rb
|
|
579
|
-
- spec/models/repair_spec.rb
|
|
580
|
-
- spec/models/rbac_content_guard_permission_spec.rb
|
|
581
|
-
- spec/models/paginated_rbac_content_guard_response_list_spec.rb
|
|
582
|
-
- spec/models/upload_commit_spec.rb
|
|
583
|
-
- spec/models/permission_response_spec.rb
|
|
584
|
-
- spec/models/redis_connection_response_spec.rb
|
|
585
|
-
- spec/models/group_spec.rb
|
|
586
|
-
- spec/models/group_user_spec.rb
|
|
587
|
-
- spec/models/pulp_importer_response_spec.rb
|
|
588
|
-
- spec/models/filesystem_export_response_spec.rb
|
|
589
|
-
- spec/models/group_user_response_spec.rb
|
|
590
|
-
- spec/models/access_policy_spec.rb
|
|
591
|
-
- spec/models/paginated_content_guard_response_list_spec.rb
|
|
592
|
+
- spec/models/group_response_spec.rb
|
|
593
|
+
- spec/models/filesystem_exporter_response_spec.rb
|
|
592
594
|
- spec/models/patched_filesystem_exporter_spec.rb
|
|
593
|
-
- spec/models/
|
|
594
|
-
- spec/models/
|
|
595
|
-
- spec/models/
|
|
596
|
-
- spec/models/evaluation_response_spec.rb
|
|
597
|
-
- spec/models/content_app_status_response_spec.rb
|
|
598
|
-
- spec/models/pulp_export_spec.rb
|
|
595
|
+
- spec/models/minimal_task_response_spec.rb
|
|
596
|
+
- spec/models/content_summary_response_spec.rb
|
|
597
|
+
- spec/models/user_response_spec.rb
|
|
599
598
|
- spec/spec_helper.rb
|
data/git_push.sh
DELETED
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
#!/bin/sh
|
|
2
|
-
# ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/
|
|
3
|
-
#
|
|
4
|
-
# Usage example: /bin/sh ./git_push.sh wing328 openapi-pestore-perl "minor update" "gitlab.com"
|
|
5
|
-
|
|
6
|
-
git_user_id=$1
|
|
7
|
-
git_repo_id=$2
|
|
8
|
-
release_note=$3
|
|
9
|
-
git_host=$4
|
|
10
|
-
|
|
11
|
-
if [ "$git_host" = "" ]; then
|
|
12
|
-
git_host="github.com"
|
|
13
|
-
echo "[INFO] No command line input provided. Set \$git_host to $git_host"
|
|
14
|
-
fi
|
|
15
|
-
|
|
16
|
-
if [ "$git_user_id" = "" ]; then
|
|
17
|
-
git_user_id="GIT_USER_ID"
|
|
18
|
-
echo "[INFO] No command line input provided. Set \$git_user_id to $git_user_id"
|
|
19
|
-
fi
|
|
20
|
-
|
|
21
|
-
if [ "$git_repo_id" = "" ]; then
|
|
22
|
-
git_repo_id="GIT_REPO_ID"
|
|
23
|
-
echo "[INFO] No command line input provided. Set \$git_repo_id to $git_repo_id"
|
|
24
|
-
fi
|
|
25
|
-
|
|
26
|
-
if [ "$release_note" = "" ]; then
|
|
27
|
-
release_note="Minor update"
|
|
28
|
-
echo "[INFO] No command line input provided. Set \$release_note to $release_note"
|
|
29
|
-
fi
|
|
30
|
-
|
|
31
|
-
# Initialize the local directory as a Git repository
|
|
32
|
-
git init
|
|
33
|
-
|
|
34
|
-
# Adds the files in the local repository and stages them for commit.
|
|
35
|
-
git add .
|
|
36
|
-
|
|
37
|
-
# Commits the tracked changes and prepares them to be pushed to a remote repository.
|
|
38
|
-
git commit -m "$release_note"
|
|
39
|
-
|
|
40
|
-
# Sets the new remote
|
|
41
|
-
git_remote=`git remote`
|
|
42
|
-
if [ "$git_remote" = "" ]; then # git remote not defined
|
|
43
|
-
|
|
44
|
-
if [ "$GIT_TOKEN" = "" ]; then
|
|
45
|
-
echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment."
|
|
46
|
-
git remote add origin https://${git_host}/${git_user_id}/${git_repo_id}.git
|
|
47
|
-
else
|
|
48
|
-
git remote add origin https://${git_user_id}:${GIT_TOKEN}@${git_host}/${git_user_id}/${git_repo_id}.git
|
|
49
|
-
fi
|
|
50
|
-
|
|
51
|
-
fi
|
|
52
|
-
|
|
53
|
-
git pull origin master
|
|
54
|
-
|
|
55
|
-
# Pushes (Forces) the changes in the local repository up to the remote repository
|
|
56
|
-
echo "Git pushing to https://${git_host}/${git_user_id}/${git_repo_id}.git"
|
|
57
|
-
git push origin master 2>&1 | grep -v 'To https'
|
|
58
|
-
|