diff --git a/app/lib/actions/pulp3/repository/create_publication.rb b/app/lib/actions/pulp3/repository/create_publication.rb index e51075e0ae2..549cbe4699e 100644 --- a/app/lib/actions/pulp3/repository/create_publication.rb +++ b/app/lib/actions/pulp3/repository/create_publication.rb @@ -14,6 +14,10 @@ def plan(repository, smart_proxy, options) def invoke_external_task unless input[:skip_publication_creation] repository = ::Katello::Repository.find(input[:repository_id]) + if repository.root.sha1_checksum? + repository.root.remove_sha1_checksum_type + repository.root.save! + end output[:response] = repository.backend_service(smart_proxy).with_mirror_adapter.create_publication end end diff --git a/app/models/katello/root_repository.rb b/app/models/katello/root_repository.rb index e51c112a03d..3304e775abb 100644 --- a/app/models/katello/root_repository.rb +++ b/app/models/katello/root_repository.rb @@ -60,6 +60,8 @@ class RootRepository < Katello::Model has_many :repository_references, :class_name => 'Katello::Pulp3::RepositoryReference', :dependent => :destroy, :inverse_of => :root_repository + before_validation :remove_sha1_checksum_type, if: :sha1_checksum? + validates_lengths_from_database :except => [:label] validates_with Validators::KatelloLabelFormatValidator, :attributes => :label validates_with Validators::KatelloNameFormatValidator, :attributes => :name @@ -157,6 +159,14 @@ def self.in_organization(org) joins(:product).where("#{Katello::Product.table_name}.organization_id" => org) end + def sha1_checksum? + checksum_type == 'sha1' + end + + def remove_sha1_checksum_type + self.checksum_type = nil + end + def ensure_content_attribute_restrictions CONTENT_ATTRIBUTE_RESTRICTIONS.each do |attribute, value| if self.send(attribute).present? && !value.include?(self.content_type) diff --git a/db/migrate/20240531193030_remove_sha1_repository_checksum_type.rb b/db/migrate/20240531193030_remove_sha1_repository_checksum_type.rb deleted file mode 100644 index c782cfa778d..00000000000 --- a/db/migrate/20240531193030_remove_sha1_repository_checksum_type.rb +++ /dev/null @@ -1,10 +0,0 @@ -class RemoveSha1RepositoryChecksumType < ActiveRecord::Migration[6.1] - def up - ::Katello::Repository.where(saved_checksum_type: 'sha1').update(saved_checksum_type: nil) - ::Katello::RootRepository.where(checksum_type: 'sha1').update(checksum_type: nil) - end - - def down - fail ActiveRecord::IrreversibleMigration - end -end diff --git a/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/details/views/repository-info.html b/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/details/views/repository-info.html index 7c356457e96..a0e1fbe2e2b 100644 --- a/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/details/views/repository-info.html +++ b/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/details/views/repository-info.html @@ -208,6 +208,9 @@

Sync Settings

options="checksums" on-save="save(repository)"> +

+ The sha1 checksum type is no longer supported. The checksum type will reset to 'Default' at the next edit or change in content. +

diff --git a/test/actions/pulp3/orchestration/generate_metadata_test.rb b/test/actions/pulp3/orchestration/generate_metadata_test.rb index 0196ed135a2..cea2aed0c60 100644 --- a/test/actions/pulp3/orchestration/generate_metadata_test.rb +++ b/test/actions/pulp3/orchestration/generate_metadata_test.rb @@ -43,5 +43,14 @@ def test_generate_with_source_repo ForemanTasks.sync_task( ::Actions::Pulp3::Orchestration::Repository::Delete, @clone, @primary) end + + def test_generate_with_sha1_root_repo_checksum + root = @repo.root + root.checksum_type = 'sha1' + root.save!(validate: false) + ForemanTasks.sync_task(::Actions::Pulp3::Orchestration::Repository::GenerateMetadata, @repo, @primary, force_publication: true) + root.reload + assert_nil root.checksum_type + end end end diff --git a/test/fixtures/vcr_cassettes/actions/pulp3/generate_metadata/generate_with_sha1_root_repo_checksum.yml b/test/fixtures/vcr_cassettes/actions/pulp3/generate_metadata/generate_with_sha1_root_repo_checksum.yml new file mode 100644 index 00000000000..890a8b9773a --- /dev/null +++ b/test/fixtures/vcr_cassettes/actions/pulp3/generate_metadata/generate_with_sha1_root_repo_checksum.yml @@ -0,0 +1,1327 @@ +--- +http_interactions: +- request: + method: get + uri: https://centos9-katello-devel.manicotto.example.com/pulp/api/v3/repositories/file/file/?name=Default_Organization-Cabinet-My_Files + body: + encoding: US-ASCII + base64_string: '' + headers: + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/3.49.12/ruby + Accept: + - application/json + Authorization: + - Basic Og== + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + response: + status: + code: 200 + message: OK + headers: + Date: + - Fri, 28 Jun 2024 19:01:12 GMT + Server: + - gunicorn + Content-Type: + - application/json + Vary: + - Accept,Cookie + Allow: + - GET, POST, HEAD, OPTIONS + X-Frame-Options: + - DENY + Content-Length: + - '52' + X-Content-Type-Options: + - nosniff + Referrer-Policy: + - same-origin + Cross-Origin-Opener-Policy: + - same-origin + Correlation-Id: + - a03ac7e6241943118c231ca585ae93ce + Access-Control-Expose-Headers: + - Correlation-ID + Via: + - 1.1 centos9-katello-devel.manicotto.example.com + body: + encoding: UTF-8 + base64_string: | + eyJjb3VudCI6MCwibmV4dCI6bnVsbCwicHJldmlvdXMiOm51bGwsInJlc3Vs + dHMiOltdfQ== + recorded_at: Fri, 28 Jun 2024 19:01:12 GMT +- request: + method: get + uri: https://centos9-katello-devel.manicotto.example.com/pulp/api/v3/remotes/file/file/?name=Default_Organization-Cabinet-My_Files + body: + encoding: US-ASCII + base64_string: '' + headers: + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/3.49.12/ruby + Accept: + - application/json + Authorization: + - Basic Og== + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + response: + status: + code: 200 + message: OK + headers: + Date: + - Fri, 28 Jun 2024 19:01:12 GMT + Server: + - gunicorn + Content-Type: + - application/json + Vary: + - Accept,Cookie + Allow: + - GET, POST, HEAD, OPTIONS + X-Frame-Options: + - DENY + Content-Length: + - '52' + X-Content-Type-Options: + - nosniff + Referrer-Policy: + - same-origin + Cross-Origin-Opener-Policy: + - same-origin + Correlation-Id: + - 2e2b35a3062043d992bee3c430d4a07e + Access-Control-Expose-Headers: + - Correlation-ID + Via: + - 1.1 centos9-katello-devel.manicotto.example.com + body: + encoding: UTF-8 + base64_string: | + eyJjb3VudCI6MCwibmV4dCI6bnVsbCwicHJldmlvdXMiOm51bGwsInJlc3Vs + dHMiOltdfQ== + recorded_at: Fri, 28 Jun 2024 19:01:12 GMT +- request: + method: get + uri: https://centos9-katello-devel.manicotto.example.com/pulp/api/v3/distributions/file/file/?name=Default_Organization-Cabinet-My_Files + body: + encoding: US-ASCII + base64_string: '' + headers: + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/3.49.12/ruby + Accept: + - application/json + Authorization: + - Basic Og== + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + response: + status: + code: 200 + message: OK + headers: + Date: + - Fri, 28 Jun 2024 19:01:12 GMT + Server: + - gunicorn + Content-Type: + - application/json + Vary: + - Accept,Cookie + Allow: + - GET, POST, HEAD, OPTIONS + X-Frame-Options: + - DENY + Content-Length: + - '52' + X-Content-Type-Options: + - nosniff + Referrer-Policy: + - same-origin + Cross-Origin-Opener-Policy: + - same-origin + Correlation-Id: + - 1876e6f9e1e1428d89dac06828964aa4 + Access-Control-Expose-Headers: + - Correlation-ID + Via: + - 1.1 centos9-katello-devel.manicotto.example.com + body: + encoding: UTF-8 + base64_string: | + eyJjb3VudCI6MCwibmV4dCI6bnVsbCwicHJldmlvdXMiOm51bGwsInJlc3Vs + dHMiOltdfQ== + recorded_at: Fri, 28 Jun 2024 19:01:12 GMT +- request: + method: get + uri: https://centos9-katello-devel.manicotto.example.com/pulp/api/v3/distributions/file/file/?base_path=Default_Organization/library/My_Files + body: + encoding: US-ASCII + base64_string: '' + headers: + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/3.49.12/ruby + Accept: + - application/json + Authorization: + - Basic Og== + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + response: + status: + code: 200 + message: OK + headers: + Date: + - Fri, 28 Jun 2024 19:01:12 GMT + Server: + - gunicorn + Content-Type: + - application/json + Vary: + - Accept,Cookie + Allow: + - GET, POST, HEAD, OPTIONS + X-Frame-Options: + - DENY + Content-Length: + - '52' + X-Content-Type-Options: + - nosniff + Referrer-Policy: + - same-origin + Cross-Origin-Opener-Policy: + - same-origin + Correlation-Id: + - ef10adf888eb41e4b4164ab2fff8a70d + Access-Control-Expose-Headers: + - Correlation-ID + Via: + - 1.1 centos9-katello-devel.manicotto.example.com + body: + encoding: UTF-8 + base64_string: | + eyJjb3VudCI6MCwibmV4dCI6bnVsbCwicHJldmlvdXMiOm51bGwsInJlc3Vs + dHMiOltdfQ== + recorded_at: Fri, 28 Jun 2024 19:01:12 GMT +- request: + method: get + uri: https://centos9-katello-devel.manicotto.example.com/pulp/api/v3/repositories/file/file/?name=Default_Organization-Cabinet-My_Files + body: + encoding: US-ASCII + base64_string: '' + headers: + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/3.49.12/ruby + Accept: + - application/json + Authorization: + - Basic Og== + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + response: + status: + code: 200 + message: OK + headers: + Date: + - Fri, 28 Jun 2024 19:01:12 GMT + Server: + - gunicorn + Content-Type: + - application/json + Vary: + - Accept,Cookie + Allow: + - GET, POST, HEAD, OPTIONS + X-Frame-Options: + - DENY + Content-Length: + - '52' + X-Content-Type-Options: + - nosniff + Referrer-Policy: + - same-origin + Cross-Origin-Opener-Policy: + - same-origin + Correlation-Id: + - 6453fe6f5e3144aea74b000f756d9602 + Access-Control-Expose-Headers: + - Correlation-ID + Via: + - 1.1 centos9-katello-devel.manicotto.example.com + body: + encoding: UTF-8 + base64_string: | + eyJjb3VudCI6MCwibmV4dCI6bnVsbCwicHJldmlvdXMiOm51bGwsInJlc3Vs + dHMiOltdfQ== + recorded_at: Fri, 28 Jun 2024 19:01:12 GMT +- request: + method: get + uri: https://centos9-katello-devel.manicotto.example.com/pulp/api/v3/remotes/file/file/?name=Default_Organization-Cabinet-My_Files + body: + encoding: US-ASCII + base64_string: '' + headers: + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/3.49.12/ruby + Accept: + - application/json + Authorization: + - Basic Og== + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + response: + status: + code: 200 + message: OK + headers: + Date: + - Fri, 28 Jun 2024 19:01:12 GMT + Server: + - gunicorn + Content-Type: + - application/json + Vary: + - Accept,Cookie + Allow: + - GET, POST, HEAD, OPTIONS + X-Frame-Options: + - DENY + Content-Length: + - '52' + X-Content-Type-Options: + - nosniff + Referrer-Policy: + - same-origin + Cross-Origin-Opener-Policy: + - same-origin + Correlation-Id: + - 184386fa025140c6aaa4180c83099ce3 + Access-Control-Expose-Headers: + - Correlation-ID + Via: + - 1.1 centos9-katello-devel.manicotto.example.com + body: + encoding: UTF-8 + base64_string: | + eyJjb3VudCI6MCwibmV4dCI6bnVsbCwicHJldmlvdXMiOm51bGwsInJlc3Vs + dHMiOltdfQ== + recorded_at: Fri, 28 Jun 2024 19:01:12 GMT +- request: + method: get + uri: https://centos9-katello-devel.manicotto.example.com/pulp/api/v3/distributions/file/file/?name=Default_Organization-Cabinet-My_Files + body: + encoding: US-ASCII + base64_string: '' + headers: + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/3.49.12/ruby + Accept: + - application/json + Authorization: + - Basic Og== + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + response: + status: + code: 200 + message: OK + headers: + Date: + - Fri, 28 Jun 2024 19:01:12 GMT + Server: + - gunicorn + Content-Type: + - application/json + Vary: + - Accept,Cookie + Allow: + - GET, POST, HEAD, OPTIONS + X-Frame-Options: + - DENY + Content-Length: + - '52' + X-Content-Type-Options: + - nosniff + Referrer-Policy: + - same-origin + Cross-Origin-Opener-Policy: + - same-origin + Correlation-Id: + - ef6bd67ab64e4770b8b73389548ae125 + Access-Control-Expose-Headers: + - Correlation-ID + Via: + - 1.1 centos9-katello-devel.manicotto.example.com + body: + encoding: UTF-8 + base64_string: | + eyJjb3VudCI6MCwibmV4dCI6bnVsbCwicHJldmlvdXMiOm51bGwsInJlc3Vs + dHMiOltdfQ== + recorded_at: Fri, 28 Jun 2024 19:01:12 GMT +- request: + method: get + uri: https://centos9-katello-devel.manicotto.example.com/pulp/api/v3/distributions/file/file/?base_path=Default_Organization/library/My_Files + body: + encoding: US-ASCII + base64_string: '' + headers: + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/3.49.12/ruby + Accept: + - application/json + Authorization: + - Basic Og== + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + response: + status: + code: 200 + message: OK + headers: + Date: + - Fri, 28 Jun 2024 19:01:12 GMT + Server: + - gunicorn + Content-Type: + - application/json + Vary: + - Accept,Cookie + Allow: + - GET, POST, HEAD, OPTIONS + X-Frame-Options: + - DENY + Content-Length: + - '52' + X-Content-Type-Options: + - nosniff + Referrer-Policy: + - same-origin + Cross-Origin-Opener-Policy: + - same-origin + Correlation-Id: + - e42dd32f872945c0a69b0888c95f2618 + Access-Control-Expose-Headers: + - Correlation-ID + Via: + - 1.1 centos9-katello-devel.manicotto.example.com + body: + encoding: UTF-8 + base64_string: | + eyJjb3VudCI6MCwibmV4dCI6bnVsbCwicHJldmlvdXMiOm51bGwsInJlc3Vs + dHMiOltdfQ== + recorded_at: Fri, 28 Jun 2024 19:01:12 GMT +- request: + method: post + uri: https://centos9-katello-devel.manicotto.example.com/pulp/api/v3/remotes/file/file/ + body: + encoding: UTF-8 + base64_string: | + eyJuYW1lIjoiRGVmYXVsdF9Pcmdhbml6YXRpb24tQ2FiaW5ldC1NeV9GaWxl + cyIsInVybCI6Imh0dHA6Ly90ZXN0L3Rlc3QvL1BVTFBfTUFOSUZFU1QiLCJj + YV9jZXJ0IjpudWxsLCJjbGllbnRfY2VydCI6bnVsbCwiY2xpZW50X2tleSI6 + bnVsbCwidGxzX3ZhbGlkYXRpb24iOnRydWUsInByb3h5X3VybCI6bnVsbCwi + cHJveHlfdXNlcm5hbWUiOm51bGwsInByb3h5X3Bhc3N3b3JkIjpudWxsLCJ1 + c2VybmFtZSI6bnVsbCwicGFzc3dvcmQiOm51bGwsInRvdGFsX3RpbWVvdXQi + OjM2MDAsImNvbm5lY3RfdGltZW91dCI6NjAsInNvY2tfY29ubmVjdF90aW1l + b3V0Ijo2MCwic29ja19yZWFkX3RpbWVvdXQiOjM2MDAsInJhdGVfbGltaXQi + OjB9 + headers: + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/3.49.12/ruby + Accept: + - application/json + Authorization: + - Basic Og== + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + response: + status: + code: 201 + message: Created + headers: + Date: + - Fri, 28 Jun 2024 19:01:12 GMT + Server: + - gunicorn + Content-Type: + - application/json + Location: + - "/pulp/api/v3/remotes/file/file/01906039-1795-781a-829b-233ab863e0db/" + Vary: + - Accept,Cookie + Allow: + - GET, POST, HEAD, OPTIONS + X-Frame-Options: + - DENY + Content-Length: + - '762' + X-Content-Type-Options: + - nosniff + Referrer-Policy: + - same-origin + Cross-Origin-Opener-Policy: + - same-origin + Correlation-Id: + - f231bf5708b442a1adb17dfc4aae11dd + Access-Control-Expose-Headers: + - Correlation-ID + Via: + - 1.1 centos9-katello-devel.manicotto.example.com + body: + encoding: UTF-8 + base64_string: | + eyJwdWxwX2hyZWYiOiIvcHVscC9hcGkvdjMvcmVtb3Rlcy9maWxlL2ZpbGUv + MDE5MDYwMzktMTc5NS03ODFhLTgyOWItMjMzYWI4NjNlMGRiLyIsInB1bHBf + Y3JlYXRlZCI6IjIwMjQtMDYtMjhUMTk6MDE6MTIuNzI2MDE2WiIsInB1bHBf + bGFzdF91cGRhdGVkIjoiMjAyNC0wNi0yOFQxOTowMToxMi43MjYwMjlaIiwi + bmFtZSI6IkRlZmF1bHRfT3JnYW5pemF0aW9uLUNhYmluZXQtTXlfRmlsZXMi + LCJ1cmwiOiJodHRwOi8vdGVzdC90ZXN0Ly9QVUxQX01BTklGRVNUIiwiY2Ff + Y2VydCI6bnVsbCwiY2xpZW50X2NlcnQiOm51bGwsInRsc192YWxpZGF0aW9u + Ijp0cnVlLCJwcm94eV91cmwiOm51bGwsInB1bHBfbGFiZWxzIjp7fSwiZG93 + bmxvYWRfY29uY3VycmVuY3kiOm51bGwsIm1heF9yZXRyaWVzIjpudWxsLCJw + b2xpY3kiOiJpbW1lZGlhdGUiLCJ0b3RhbF90aW1lb3V0IjozNjAwLjAsImNv + bm5lY3RfdGltZW91dCI6NjAuMCwic29ja19jb25uZWN0X3RpbWVvdXQiOjYw + LjAsInNvY2tfcmVhZF90aW1lb3V0IjozNjAwLjAsImhlYWRlcnMiOm51bGws + InJhdGVfbGltaXQiOjAsImhpZGRlbl9maWVsZHMiOlt7Im5hbWUiOiJjbGll + bnRfa2V5IiwiaXNfc2V0IjpmYWxzZX0seyJuYW1lIjoicHJveHlfdXNlcm5h + bWUiLCJpc19zZXQiOmZhbHNlfSx7Im5hbWUiOiJwcm94eV9wYXNzd29yZCIs + ImlzX3NldCI6ZmFsc2V9LHsibmFtZSI6InVzZXJuYW1lIiwiaXNfc2V0Ijpm + YWxzZX0seyJuYW1lIjoicGFzc3dvcmQiLCJpc19zZXQiOmZhbHNlfV19 + recorded_at: Fri, 28 Jun 2024 19:01:12 GMT +- request: + method: post + uri: https://centos9-katello-devel.manicotto.example.com/pulp/api/v3/repositories/file/file/ + body: + encoding: UTF-8 + base64_string: | + eyJuYW1lIjoiRGVmYXVsdF9Pcmdhbml6YXRpb24tQ2FiaW5ldC1NeV9GaWxl + cyJ9 + headers: + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/3.49.12/ruby + Accept: + - application/json + Authorization: + - Basic Og== + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + response: + status: + code: 201 + message: Created + headers: + Date: + - Fri, 28 Jun 2024 19:01:12 GMT + Server: + - gunicorn + Content-Type: + - application/json + Location: + - "/pulp/api/v3/repositories/file/file/01906039-1842-7299-a6b2-409b8f71b24b/" + Vary: + - Accept,Cookie + Allow: + - GET, POST, HEAD, OPTIONS + X-Frame-Options: + - DENY + Content-Length: + - '566' + X-Content-Type-Options: + - nosniff + Referrer-Policy: + - same-origin + Cross-Origin-Opener-Policy: + - same-origin + Correlation-Id: + - 9826e2ac41eb478181e5d0f87d57d93b + Access-Control-Expose-Headers: + - Correlation-ID + Via: + - 1.1 centos9-katello-devel.manicotto.example.com + body: + encoding: UTF-8 + base64_string: | + eyJwdWxwX2hyZWYiOiIvcHVscC9hcGkvdjMvcmVwb3NpdG9yaWVzL2ZpbGUv + ZmlsZS8wMTkwNjAzOS0xODQyLTcyOTktYTZiMi00MDliOGY3MWIyNGIvIiwi + cHVscF9jcmVhdGVkIjoiMjAyNC0wNi0yOFQxOTowMToxMi44OTkyMDhaIiwi + cHVscF9sYXN0X3VwZGF0ZWQiOiIyMDI0LTA2LTI4VDE5OjAxOjEyLjkwNTAz + N1oiLCJ2ZXJzaW9uc19ocmVmIjoiL3B1bHAvYXBpL3YzL3JlcG9zaXRvcmll + cy9maWxlL2ZpbGUvMDE5MDYwMzktMTg0Mi03Mjk5LWE2YjItNDA5YjhmNzFi + MjRiL3ZlcnNpb25zLyIsInB1bHBfbGFiZWxzIjp7fSwibGF0ZXN0X3ZlcnNp + b25faHJlZiI6Ii9wdWxwL2FwaS92My9yZXBvc2l0b3JpZXMvZmlsZS9maWxl + LzAxOTA2MDM5LTE4NDItNzI5OS1hNmIyLTQwOWI4ZjcxYjI0Yi92ZXJzaW9u + cy8wLyIsIm5hbWUiOiJEZWZhdWx0X09yZ2FuaXphdGlvbi1DYWJpbmV0LU15 + X0ZpbGVzIiwiZGVzY3JpcHRpb24iOm51bGwsInJldGFpbl9yZXBvX3ZlcnNp + b25zIjpudWxsLCJyZW1vdGUiOm51bGwsImF1dG9wdWJsaXNoIjpmYWxzZSwi + bWFuaWZlc3QiOiJQVUxQX01BTklGRVNUIn0= + recorded_at: Fri, 28 Jun 2024 19:01:12 GMT +- request: + method: post + uri: https://centos9-katello-devel.manicotto.example.com/pulp/api/v3/publications/file/file/ + body: + encoding: UTF-8 + base64_string: | + eyJyZXBvc2l0b3J5X3ZlcnNpb24iOiIvcHVscC9hcGkvdjMvcmVwb3NpdG9y + aWVzL2ZpbGUvZmlsZS8wMTkwNjAzOS0xODQyLTcyOTktYTZiMi00MDliOGY3 + MWIyNGIvdmVyc2lvbnMvMC8iLCJtYW5pZmVzdCI6IlBVTFBfTUFOSUZFU1Qi + fQ== + headers: + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/3.49.12/ruby + Accept: + - application/json + Authorization: + - Basic Og== + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + response: + status: + code: 202 + message: Accepted + headers: + Date: + - Fri, 28 Jun 2024 19:01:13 GMT + Server: + - gunicorn + Content-Type: + - application/json + Vary: + - Accept,Cookie + Allow: + - GET, POST, HEAD, OPTIONS + X-Frame-Options: + - DENY + Content-Length: + - '67' + X-Content-Type-Options: + - nosniff + Referrer-Policy: + - same-origin + Cross-Origin-Opener-Policy: + - same-origin + Correlation-Id: + - 5edfada6122b4a81ba5043d0aa6ff108 + Access-Control-Expose-Headers: + - Correlation-ID + Via: + - 1.1 centos9-katello-devel.manicotto.example.com + body: + encoding: UTF-8 + base64_string: | + eyJ0YXNrIjoiL3B1bHAvYXBpL3YzL3Rhc2tzLzAxOTA2MDM5LTE5NzctNzFi + ZC04M2I3LWJiNWU2NjMyOGI0Ni8ifQ== + recorded_at: Fri, 28 Jun 2024 19:01:13 GMT +- request: + method: get + uri: https://centos9-katello-devel.manicotto.example.com/pulp/api/v3/tasks/01906039-1977-71bd-83b7-bb5e66328b46/ + body: + encoding: US-ASCII + base64_string: '' + headers: + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/3.49.12/ruby + Accept: + - application/json + Authorization: + - Basic Og== + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + response: + status: + code: 200 + message: OK + headers: + Date: + - Fri, 28 Jun 2024 19:01:13 GMT + Server: + - gunicorn + Content-Type: + - application/json + Vary: + - Accept,Cookie + Allow: + - GET, PATCH, DELETE, HEAD, OPTIONS + X-Frame-Options: + - DENY + Content-Length: + - '891' + X-Content-Type-Options: + - nosniff + Referrer-Policy: + - same-origin + Cross-Origin-Opener-Policy: + - same-origin + Correlation-Id: + - d34c298728454d7fa83dd8e9be744cbd + Access-Control-Expose-Headers: + - Correlation-ID + Via: + - 1.1 centos9-katello-devel.manicotto.example.com + body: + encoding: UTF-8 + base64_string: | + eyJwdWxwX2hyZWYiOiIvcHVscC9hcGkvdjMvdGFza3MvMDE5MDYwMzktMTk3 + Ny03MWJkLTgzYjctYmI1ZTY2MzI4YjQ2LyIsInB1bHBfY3JlYXRlZCI6IjIw + MjQtMDYtMjhUMTk6MDE6MTMuMjA3NDk4WiIsInB1bHBfbGFzdF91cGRhdGVk + IjoiMjAyNC0wNi0yOFQxOTowMToxMy4yMDc1MTBaIiwic3RhdGUiOiJjb21w + bGV0ZWQiLCJuYW1lIjoicHVscF9maWxlLmFwcC50YXNrcy5wdWJsaXNoaW5n + LnB1Ymxpc2giLCJsb2dnaW5nX2NpZCI6IjVlZGZhZGE2MTIyYjRhODFiYTUw + NDNkMGFhNmZmMTA4IiwiY3JlYXRlZF9ieSI6Ii9wdWxwL2FwaS92My91c2Vy + cy8xLyIsInVuYmxvY2tlZF9hdCI6IjIwMjQtMDYtMjhUMTk6MDE6MTMuMjE4 + NjE3WiIsInN0YXJ0ZWRfYXQiOiIyMDI0LTA2LTI4VDE5OjAxOjEzLjI1MzA4 + NVoiLCJmaW5pc2hlZF9hdCI6IjIwMjQtMDYtMjhUMTk6MDE6MTMuMzI1NzEw + WiIsImVycm9yIjpudWxsLCJ3b3JrZXIiOiIvcHVscC9hcGkvdjMvd29ya2Vy + cy8wMTkwNGJjMC1lOTZiLTcwZDYtYTc3Ny1kMmQ3MDg3ZWZlNmIvIiwicGFy + ZW50X3Rhc2siOm51bGwsImNoaWxkX3Rhc2tzIjpbXSwidGFza19ncm91cCI6 + bnVsbCwicHJvZ3Jlc3NfcmVwb3J0cyI6W10sImNyZWF0ZWRfcmVzb3VyY2Vz + IjpbIi9wdWxwL2FwaS92My9wdWJsaWNhdGlvbnMvZmlsZS9maWxlLzAxOTA2 + MDM5LTE5YjQtN2EzOS1hYzE2LTA3OWZkNTA1MDgxZS8iXSwicmVzZXJ2ZWRf + cmVzb3VyY2VzX3JlY29yZCI6WyJzaGFyZWQ6L3B1bHAvYXBpL3YzL3JlcG9z + aXRvcmllcy9maWxlL2ZpbGUvMDE5MDYwMzktMTg0Mi03Mjk5LWE2YjItNDA5 + YjhmNzFiMjRiLyIsInNoYXJlZDovcHVscC9hcGkvdjMvZG9tYWlucy8wMThm + ZjQyYS01ZDM5LTc5ZGUtOTA2Zi00ZmE3NTgyYTkwM2EvIl19 + recorded_at: Fri, 28 Jun 2024 19:01:13 GMT +- request: + method: get + uri: https://centos9-katello-devel.manicotto.example.com/pulp/api/v3/distributions/file/file/?base_path=Default_Organization/library/My_Files + body: + encoding: US-ASCII + base64_string: '' + headers: + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/3.49.12/ruby + Accept: + - application/json + Authorization: + - Basic Og== + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + response: + status: + code: 200 + message: OK + headers: + Date: + - Fri, 28 Jun 2024 19:01:13 GMT + Server: + - gunicorn + Content-Type: + - application/json + Vary: + - Accept,Cookie + Allow: + - GET, POST, HEAD, OPTIONS + X-Frame-Options: + - DENY + Content-Length: + - '52' + X-Content-Type-Options: + - nosniff + Referrer-Policy: + - same-origin + Cross-Origin-Opener-Policy: + - same-origin + Correlation-Id: + - b421f67e01834e2b947a4dc7c180c934 + Access-Control-Expose-Headers: + - Correlation-ID + Via: + - 1.1 centos9-katello-devel.manicotto.example.com + body: + encoding: UTF-8 + base64_string: | + eyJjb3VudCI6MCwibmV4dCI6bnVsbCwicHJldmlvdXMiOm51bGwsInJlc3Vs + dHMiOltdfQ== + recorded_at: Fri, 28 Jun 2024 19:01:13 GMT +- request: + method: get + uri: https://centos9-katello-devel.manicotto.example.com/pulp/api/v3/publications/file/file/01906039-19b4-7a39-ac16-079fd505081e/ + body: + encoding: US-ASCII + base64_string: '' + headers: + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/3.49.12/ruby + Accept: + - application/json + Authorization: + - Basic Og== + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + response: + status: + code: 200 + message: OK + headers: + Date: + - Fri, 28 Jun 2024 19:01:13 GMT + Server: + - gunicorn + Content-Type: + - application/json + Vary: + - Accept,Cookie + Allow: + - GET, DELETE, HEAD, OPTIONS + X-Frame-Options: + - DENY + Content-Length: + - '427' + X-Content-Type-Options: + - nosniff + Referrer-Policy: + - same-origin + Cross-Origin-Opener-Policy: + - same-origin + Correlation-Id: + - 5622e08405f44ec89dce67071892c764 + Access-Control-Expose-Headers: + - Correlation-ID + Via: + - 1.1 centos9-katello-devel.manicotto.example.com + body: + encoding: UTF-8 + base64_string: | + eyJwdWxwX2hyZWYiOiIvcHVscC9hcGkvdjMvcHVibGljYXRpb25zL2ZpbGUv + ZmlsZS8wMTkwNjAzOS0xOWI0LTdhMzktYWMxNi0wNzlmZDUwNTA4MWUvIiwi + cHVscF9jcmVhdGVkIjoiMjAyNC0wNi0yOFQxOTowMToxMy4yNjk3MDJaIiwi + cHVscF9sYXN0X3VwZGF0ZWQiOiIyMDI0LTA2LTI4VDE5OjAxOjEzLjMxOTAx + NVoiLCJyZXBvc2l0b3J5X3ZlcnNpb24iOiIvcHVscC9hcGkvdjMvcmVwb3Np + dG9yaWVzL2ZpbGUvZmlsZS8wMTkwNjAzOS0xODQyLTcyOTktYTZiMi00MDli + OGY3MWIyNGIvdmVyc2lvbnMvMC8iLCJyZXBvc2l0b3J5IjoiL3B1bHAvYXBp + L3YzL3JlcG9zaXRvcmllcy9maWxlL2ZpbGUvMDE5MDYwMzktMTg0Mi03Mjk5 + LWE2YjItNDA5YjhmNzFiMjRiLyIsImRpc3RyaWJ1dGlvbnMiOltdLCJtYW5p + ZmVzdCI6IlBVTFBfTUFOSUZFU1QifQ== + recorded_at: Fri, 28 Jun 2024 19:01:13 GMT +- request: + method: post + uri: https://centos9-katello-devel.manicotto.example.com/pulp/api/v3/distributions/file/file/ + body: + encoding: UTF-8 + base64_string: | + eyJiYXNlX3BhdGgiOiJEZWZhdWx0X09yZ2FuaXphdGlvbi9saWJyYXJ5L015 + X0ZpbGVzIiwiY29udGVudF9ndWFyZCI6bnVsbCwibmFtZSI6IkRlZmF1bHRf + T3JnYW5pemF0aW9uLUNhYmluZXQtTXlfRmlsZXMiLCJwdWJsaWNhdGlvbiI6 + Ii9wdWxwL2FwaS92My9wdWJsaWNhdGlvbnMvZmlsZS9maWxlLzAxOTA2MDM5 + LTE5YjQtN2EzOS1hYzE2LTA3OWZkNTA1MDgxZS8ifQ== + headers: + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/3.49.12/ruby + Accept: + - application/json + Authorization: + - Basic Og== + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + response: + status: + code: 202 + message: Accepted + headers: + Date: + - Fri, 28 Jun 2024 19:01:13 GMT + Server: + - gunicorn + Content-Type: + - application/json + Vary: + - Accept,Cookie + Allow: + - GET, POST, HEAD, OPTIONS + X-Frame-Options: + - DENY + Content-Length: + - '67' + X-Content-Type-Options: + - nosniff + Referrer-Policy: + - same-origin + Cross-Origin-Opener-Policy: + - same-origin + Correlation-Id: + - ec5a7bf6204745b0bb16a5f5b09d2344 + Access-Control-Expose-Headers: + - Correlation-ID + Via: + - 1.1 centos9-katello-devel.manicotto.example.com + body: + encoding: UTF-8 + base64_string: | + eyJ0YXNrIjoiL3B1bHAvYXBpL3YzL3Rhc2tzLzAxOTA2MDM5LTFhZDktNzEz + MS05NDdkLWRlOWNjNzU3MWZmZC8ifQ== + recorded_at: Fri, 28 Jun 2024 19:01:13 GMT +- request: + method: get + uri: https://centos9-katello-devel.manicotto.example.com/pulp/api/v3/tasks/01906039-1ad9-7131-947d-de9cc7571ffd/ + body: + encoding: US-ASCII + base64_string: '' + headers: + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/3.49.12/ruby + Accept: + - application/json + Authorization: + - Basic Og== + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + response: + status: + code: 200 + message: OK + headers: + Date: + - Fri, 28 Jun 2024 19:01:13 GMT + Server: + - gunicorn + Content-Type: + - application/json + Vary: + - Accept,Cookie + Allow: + - GET, PATCH, DELETE, HEAD, OPTIONS + X-Frame-Options: + - DENY + Content-Length: + - '834' + X-Content-Type-Options: + - nosniff + Referrer-Policy: + - same-origin + Cross-Origin-Opener-Policy: + - same-origin + Correlation-Id: + - 2a5e6bd3f2fa477bbbee09feb368af8d + Access-Control-Expose-Headers: + - Correlation-ID + Via: + - 1.1 centos9-katello-devel.manicotto.example.com + body: + encoding: UTF-8 + base64_string: | + eyJwdWxwX2hyZWYiOiIvcHVscC9hcGkvdjMvdGFza3MvMDE5MDYwMzktMWFk + OS03MTMxLTk0N2QtZGU5Y2M3NTcxZmZkLyIsInB1bHBfY3JlYXRlZCI6IjIw + MjQtMDYtMjhUMTk6MDE6MTMuNTYxOTY3WiIsInB1bHBfbGFzdF91cGRhdGVk + IjoiMjAyNC0wNi0yOFQxOTowMToxMy41NjE5ODBaIiwic3RhdGUiOiJjb21w + bGV0ZWQiLCJuYW1lIjoicHVscGNvcmUuYXBwLnRhc2tzLmJhc2UuZ2VuZXJh + bF9jcmVhdGUiLCJsb2dnaW5nX2NpZCI6ImVjNWE3YmY2MjA0NzQ1YjBiYjE2 + YTVmNWIwOWQyMzQ0IiwiY3JlYXRlZF9ieSI6Ii9wdWxwL2FwaS92My91c2Vy + cy8xLyIsInVuYmxvY2tlZF9hdCI6IjIwMjQtMDYtMjhUMTk6MDE6MTMuNTcz + MDkyWiIsInN0YXJ0ZWRfYXQiOiIyMDI0LTA2LTI4VDE5OjAxOjEzLjYwOTg1 + OFoiLCJmaW5pc2hlZF9hdCI6IjIwMjQtMDYtMjhUMTk6MDE6MTMuODMyMTc1 + WiIsImVycm9yIjpudWxsLCJ3b3JrZXIiOiIvcHVscC9hcGkvdjMvd29ya2Vy + cy8wMTkwNGJjMC1lOTZiLTcwZDYtYTc3Ny1kMmQ3MDg3ZWZlNmIvIiwicGFy + ZW50X3Rhc2siOm51bGwsImNoaWxkX3Rhc2tzIjpbXSwidGFza19ncm91cCI6 + bnVsbCwicHJvZ3Jlc3NfcmVwb3J0cyI6W10sImNyZWF0ZWRfcmVzb3VyY2Vz + IjpbIi9wdWxwL2FwaS92My9kaXN0cmlidXRpb25zL2ZpbGUvZmlsZS8wMTkw + NjAzOS0xYmQ4LTdjYjItOTA1Zi1jMGQ3NjQ4MWRlNDgvIl0sInJlc2VydmVk + X3Jlc291cmNlc19yZWNvcmQiOlsiL2FwaS92My9kaXN0cmlidXRpb25zLyIs + InNoYXJlZDovcHVscC9hcGkvdjMvZG9tYWlucy8wMThmZjQyYS01ZDM5LTc5 + ZGUtOTA2Zi00ZmE3NTgyYTkwM2EvIl19 + recorded_at: Fri, 28 Jun 2024 19:01:13 GMT +- request: + method: get + uri: https://centos9-katello-devel.manicotto.example.com/pulp/api/v3/distributions/file/file/01906039-1bd8-7cb2-905f-c0d76481de48/ + body: + encoding: US-ASCII + base64_string: '' + headers: + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/3.49.12/ruby + Accept: + - application/json + Authorization: + - Basic Og== + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + response: + status: + code: 200 + message: OK + headers: + Date: + - Fri, 28 Jun 2024 19:01:13 GMT + Server: + - gunicorn + Content-Type: + - application/json + Vary: + - Accept,Cookie + Allow: + - GET, PUT, PATCH, DELETE, HEAD, OPTIONS + X-Frame-Options: + - DENY + Content-Length: + - '562' + X-Content-Type-Options: + - nosniff + Referrer-Policy: + - same-origin + Cross-Origin-Opener-Policy: + - same-origin + Correlation-Id: + - dd5cd100af7c43ea916b569fc7640664 + Access-Control-Expose-Headers: + - Correlation-ID + Via: + - 1.1 centos9-katello-devel.manicotto.example.com + body: + encoding: UTF-8 + base64_string: | + eyJwdWxwX2hyZWYiOiIvcHVscC9hcGkvdjMvZGlzdHJpYnV0aW9ucy9maWxl + L2ZpbGUvMDE5MDYwMzktMWJkOC03Y2IyLTkwNWYtYzBkNzY0ODFkZTQ4LyIs + InB1bHBfY3JlYXRlZCI6IjIwMjQtMDYtMjhUMTk6MDE6MTMuODE3MjM4WiIs + InB1bHBfbGFzdF91cGRhdGVkIjoiMjAyNC0wNi0yOFQxOTowMToxMy44MTcy + NTRaIiwiYmFzZV9wYXRoIjoiRGVmYXVsdF9Pcmdhbml6YXRpb24vbGlicmFy + eS9NeV9GaWxlcyIsImJhc2VfdXJsIjoiaHR0cHM6Ly9jZW50b3M5LWthdGVs + bG8tZGV2ZWwubWFuaWNvdHRvLmV4YW1wbGUuY29tL3B1bHAvY29udGVudC9E + ZWZhdWx0X09yZ2FuaXphdGlvbi9saWJyYXJ5L015X0ZpbGVzLyIsImNvbnRl + bnRfZ3VhcmQiOm51bGwsImhpZGRlbiI6ZmFsc2UsInB1bHBfbGFiZWxzIjp7 + fSwibmFtZSI6IkRlZmF1bHRfT3JnYW5pemF0aW9uLUNhYmluZXQtTXlfRmls + ZXMiLCJyZXBvc2l0b3J5IjpudWxsLCJwdWJsaWNhdGlvbiI6Ii9wdWxwL2Fw + aS92My9wdWJsaWNhdGlvbnMvZmlsZS9maWxlLzAxOTA2MDM5LTE5YjQtN2Ez + OS1hYzE2LTA3OWZkNTA1MDgxZS8ifQ== + recorded_at: Fri, 28 Jun 2024 19:01:13 GMT +- request: + method: delete + uri: https://centos9-katello-devel.manicotto.example.com/pulp/api/v3/remotes/file/file/01906039-1795-781a-829b-233ab863e0db/ + body: + encoding: US-ASCII + base64_string: '' + headers: + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/3.49.12/ruby + Accept: + - application/json + Authorization: + - Basic Og== + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + response: + status: + code: 202 + message: Accepted + headers: + Date: + - Fri, 28 Jun 2024 19:01:14 GMT + Server: + - gunicorn + Content-Type: + - application/json + Vary: + - Accept,Cookie + Allow: + - GET, PUT, PATCH, DELETE, HEAD, OPTIONS + X-Frame-Options: + - DENY + Content-Length: + - '67' + X-Content-Type-Options: + - nosniff + Referrer-Policy: + - same-origin + Cross-Origin-Opener-Policy: + - same-origin + Correlation-Id: + - 3f9b22f1f1284f7997258d4dbf2eead6 + Access-Control-Expose-Headers: + - Correlation-ID + Via: + - 1.1 centos9-katello-devel.manicotto.example.com + body: + encoding: UTF-8 + base64_string: | + eyJ0YXNrIjoiL3B1bHAvYXBpL3YzL3Rhc2tzLzAxOTA2MDM5LTFkMTctN2Q2 + Ni04NGU1LWU3ZGEzNGFiZWU0NC8ifQ== + recorded_at: Fri, 28 Jun 2024 19:01:14 GMT +- request: + method: get + uri: https://centos9-katello-devel.manicotto.example.com/pulp/api/v3/tasks/01906039-1d17-7d66-84e5-e7da34abee44/ + body: + encoding: US-ASCII + base64_string: '' + headers: + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/3.49.12/ruby + Accept: + - application/json + Authorization: + - Basic Og== + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + response: + status: + code: 200 + message: OK + headers: + Date: + - Fri, 28 Jun 2024 19:01:14 GMT + Server: + - gunicorn + Content-Type: + - application/json + Vary: + - Accept,Cookie + Allow: + - GET, PATCH, DELETE, HEAD, OPTIONS + X-Frame-Options: + - DENY + Content-Length: + - '804' + X-Content-Type-Options: + - nosniff + Referrer-Policy: + - same-origin + Cross-Origin-Opener-Policy: + - same-origin + Correlation-Id: + - 7df2f47e63bc492ba48d6b403e698a13 + Access-Control-Expose-Headers: + - Correlation-ID + Via: + - 1.1 centos9-katello-devel.manicotto.example.com + body: + encoding: UTF-8 + base64_string: | + eyJwdWxwX2hyZWYiOiIvcHVscC9hcGkvdjMvdGFza3MvMDE5MDYwMzktMWQx + Ny03ZDY2LTg0ZTUtZTdkYTM0YWJlZTQ0LyIsInB1bHBfY3JlYXRlZCI6IjIw + MjQtMDYtMjhUMTk6MDE6MTQuMTM1NDcxWiIsInB1bHBfbGFzdF91cGRhdGVk + IjoiMjAyNC0wNi0yOFQxOTowMToxNC4xMzU0ODRaIiwic3RhdGUiOiJjb21w + bGV0ZWQiLCJuYW1lIjoicHVscGNvcmUuYXBwLnRhc2tzLmJhc2UuZ2VuZXJh + bF9kZWxldGUiLCJsb2dnaW5nX2NpZCI6IjNmOWIyMmYxZjEyODRmNzk5NzI1 + OGQ0ZGJmMmVlYWQ2IiwiY3JlYXRlZF9ieSI6Ii9wdWxwL2FwaS92My91c2Vy + cy8xLyIsInVuYmxvY2tlZF9hdCI6IjIwMjQtMDYtMjhUMTk6MDE6MTQuMTQ2 + MDk4WiIsInN0YXJ0ZWRfYXQiOiIyMDI0LTA2LTI4VDE5OjAxOjE0LjE4MjQy + MFoiLCJmaW5pc2hlZF9hdCI6IjIwMjQtMDYtMjhUMTk6MDE6MTQuMjIwNTUy + WiIsImVycm9yIjpudWxsLCJ3b3JrZXIiOiIvcHVscC9hcGkvdjMvd29ya2Vy + cy8wMTkwNGJjMC1lODAwLTdmNmEtOTgyYS1mYmNlNjU5MGZiYTcvIiwicGFy + ZW50X3Rhc2siOm51bGwsImNoaWxkX3Rhc2tzIjpbXSwidGFza19ncm91cCI6 + bnVsbCwicHJvZ3Jlc3NfcmVwb3J0cyI6W10sImNyZWF0ZWRfcmVzb3VyY2Vz + IjpbXSwicmVzZXJ2ZWRfcmVzb3VyY2VzX3JlY29yZCI6WyIvcHVscC9hcGkv + djMvcmVtb3Rlcy9maWxlL2ZpbGUvMDE5MDYwMzktMTc5NS03ODFhLTgyOWIt + MjMzYWI4NjNlMGRiLyIsInNoYXJlZDovcHVscC9hcGkvdjMvZG9tYWlucy8w + MThmZjQyYS01ZDM5LTc5ZGUtOTA2Zi00ZmE3NTgyYTkwM2EvIl19 + recorded_at: Fri, 28 Jun 2024 19:01:14 GMT +- request: + method: delete + uri: https://centos9-katello-devel.manicotto.example.com/pulp/api/v3/distributions/file/file/01906039-1bd8-7cb2-905f-c0d76481de48/ + body: + encoding: US-ASCII + base64_string: '' + headers: + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/3.49.12/ruby + Accept: + - application/json + Authorization: + - Basic Og== + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + response: + status: + code: 202 + message: Accepted + headers: + Date: + - Fri, 28 Jun 2024 19:01:14 GMT + Server: + - gunicorn + Content-Type: + - application/json + Vary: + - Accept,Cookie + Allow: + - GET, PUT, PATCH, DELETE, HEAD, OPTIONS + X-Frame-Options: + - DENY + Content-Length: + - '67' + X-Content-Type-Options: + - nosniff + Referrer-Policy: + - same-origin + Cross-Origin-Opener-Policy: + - same-origin + Correlation-Id: + - d096ba7f43914ba6b912c9786bbeee9d + Access-Control-Expose-Headers: + - Correlation-ID + Via: + - 1.1 centos9-katello-devel.manicotto.example.com + body: + encoding: UTF-8 + base64_string: | + eyJ0YXNrIjoiL3B1bHAvYXBpL3YzL3Rhc2tzLzAxOTA2MDM5LTFkZjAtNzYw + YS1hM2FiLTkxMzI0MzdmOGFjZi8ifQ== + recorded_at: Fri, 28 Jun 2024 19:01:14 GMT +- request: + method: delete + uri: https://centos9-katello-devel.manicotto.example.com/pulp/api/v3/repositories/file/file/01906039-1842-7299-a6b2-409b8f71b24b/ + body: + encoding: US-ASCII + base64_string: '' + headers: + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/3.49.12/ruby + Accept: + - application/json + Authorization: + - Basic Og== + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + response: + status: + code: 202 + message: Accepted + headers: + Date: + - Fri, 28 Jun 2024 19:01:14 GMT + Server: + - gunicorn + Content-Type: + - application/json + Vary: + - Accept,Cookie + Allow: + - GET, PUT, PATCH, DELETE, HEAD, OPTIONS + X-Frame-Options: + - DENY + Content-Length: + - '67' + X-Content-Type-Options: + - nosniff + Referrer-Policy: + - same-origin + Cross-Origin-Opener-Policy: + - same-origin + Correlation-Id: + - a56cbfe2ecc5413fb9c3b741c528ba85 + Access-Control-Expose-Headers: + - Correlation-ID + Via: + - 1.1 centos9-katello-devel.manicotto.example.com + body: + encoding: UTF-8 + base64_string: | + eyJ0YXNrIjoiL3B1bHAvYXBpL3YzL3Rhc2tzLzAxOTA2MDM5LTFlNTgtNzBh + OS04YzM4LWI2MzIzZjQ2NWRjZi8ifQ== + recorded_at: Fri, 28 Jun 2024 19:01:14 GMT +- request: + method: get + uri: https://centos9-katello-devel.manicotto.example.com/pulp/api/v3/tasks/01906039-1e58-70a9-8c38-b6323f465dcf/ + body: + encoding: US-ASCII + base64_string: '' + headers: + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/3.49.12/ruby + Accept: + - application/json + Authorization: + - Basic Og== + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + response: + status: + code: 200 + message: OK + headers: + Date: + - Fri, 28 Jun 2024 19:01:14 GMT + Server: + - gunicorn + Content-Type: + - application/json + Vary: + - Accept,Cookie + Allow: + - GET, PATCH, DELETE, HEAD, OPTIONS + X-Frame-Options: + - DENY + Content-Length: + - '809' + X-Content-Type-Options: + - nosniff + Referrer-Policy: + - same-origin + Cross-Origin-Opener-Policy: + - same-origin + Correlation-Id: + - 34f0f84c7dc4431eb4f98f199a9f3ed7 + Access-Control-Expose-Headers: + - Correlation-ID + Via: + - 1.1 centos9-katello-devel.manicotto.example.com + body: + encoding: UTF-8 + base64_string: | + eyJwdWxwX2hyZWYiOiIvcHVscC9hcGkvdjMvdGFza3MvMDE5MDYwMzktMWU1 + OC03MGE5LThjMzgtYjYzMjNmNDY1ZGNmLyIsInB1bHBfY3JlYXRlZCI6IjIw + MjQtMDYtMjhUMTk6MDE6MTQuNDU3MTc2WiIsInB1bHBfbGFzdF91cGRhdGVk + IjoiMjAyNC0wNi0yOFQxOTowMToxNC40NTcxOTBaIiwic3RhdGUiOiJjb21w + bGV0ZWQiLCJuYW1lIjoicHVscGNvcmUuYXBwLnRhc2tzLmJhc2UuZ2VuZXJh + bF9kZWxldGUiLCJsb2dnaW5nX2NpZCI6ImE1NmNiZmUyZWNjNTQxM2ZiOWMz + Yjc0MWM1MjhiYTg1IiwiY3JlYXRlZF9ieSI6Ii9wdWxwL2FwaS92My91c2Vy + cy8xLyIsInVuYmxvY2tlZF9hdCI6IjIwMjQtMDYtMjhUMTk6MDE6MTQuNDY4 + Mjk5WiIsInN0YXJ0ZWRfYXQiOiIyMDI0LTA2LTI4VDE5OjAxOjE0LjUwNDgz + OFoiLCJmaW5pc2hlZF9hdCI6IjIwMjQtMDYtMjhUMTk6MDE6MTQuNjMwNjA1 + WiIsImVycm9yIjpudWxsLCJ3b3JrZXIiOiIvcHVscC9hcGkvdjMvd29ya2Vy + cy8wMTkwNGJjMC1lOTZiLTcwZDYtYTc3Ny1kMmQ3MDg3ZWZlNmIvIiwicGFy + ZW50X3Rhc2siOm51bGwsImNoaWxkX3Rhc2tzIjpbXSwidGFza19ncm91cCI6 + bnVsbCwicHJvZ3Jlc3NfcmVwb3J0cyI6W10sImNyZWF0ZWRfcmVzb3VyY2Vz + IjpbXSwicmVzZXJ2ZWRfcmVzb3VyY2VzX3JlY29yZCI6WyIvcHVscC9hcGkv + djMvcmVwb3NpdG9yaWVzL2ZpbGUvZmlsZS8wMTkwNjAzOS0xODQyLTcyOTkt + YTZiMi00MDliOGY3MWIyNGIvIiwic2hhcmVkOi9wdWxwL2FwaS92My9kb21h + aW5zLzAxOGZmNDJhLTVkMzktNzlkZS05MDZmLTRmYTc1ODJhOTAzYS8iXX0= + recorded_at: Fri, 28 Jun 2024 19:01:14 GMT +recorded_with: VCR 6.2.0 diff --git a/test/models/root_repository_test.rb b/test/models/root_repository_test.rb index 0584b1bff81..5e82c48d313 100644 --- a/test/models/root_repository_test.rb +++ b/test/models/root_repository_test.rb @@ -585,6 +585,14 @@ def test_yum_retain_package_versions_count assert @root.valid? end + def test_sha1_checksum_removed + @root.checksum_type = 'sha1' + @root.save!(validate: false) + @root.save! + @root.reload + assert_nil @root.checksum_type + end + def test_docker_limit_tags @docker_root.url = "http://foo.com" @docker_root.include_tags = nil