From 0967b9579d0a19ea94c5b6b738bd2ba82d7514ca Mon Sep 17 00:00:00 2001 From: Karol Selak Travis Date: Wed, 30 Mar 2022 16:24:53 +0200 Subject: [PATCH 01/12] comments removed --- spec/support/factories/deleted_tag.rb | 6 ------ 1 file changed, 6 deletions(-) diff --git a/spec/support/factories/deleted_tag.rb b/spec/support/factories/deleted_tag.rb index 11e9558..094a1b9 100644 --- a/spec/support/factories/deleted_tag.rb +++ b/spec/support/factories/deleted_tag.rb @@ -5,12 +5,6 @@ FactoryBot.define do factory :deleted_tag do - # repository_id { 1 } - # name { 'abc' } - # last_build_id { 1 } - # exists_on_github { false } - # org_id { 1 } - # com_id { 1 } sequence(:id) { |n| n } end end \ No newline at end of file From ed1a9c5ae4dea3d9bc794935c4afb64e1ca20ee4 Mon Sep 17 00:00:00 2001 From: Karol Selak Travis Date: Wed, 30 Mar 2022 16:26:32 +0200 Subject: [PATCH 02/12] workspace.code-workspace ignored --- .gitignore | 3 ++- workspace.code-workspace | 8 -------- 2 files changed, 2 insertions(+), 9 deletions(-) delete mode 100644 workspace.code-workspace diff --git a/.gitignore b/.gitignore index ba33ae8..26ab947 100644 --- a/.gitignore +++ b/.gitignore @@ -5,4 +5,5 @@ dump/* !log/.keep !dump/.keep *.gem -.byebug_history \ No newline at end of file +.byebug_history +*.code-workspace diff --git a/workspace.code-workspace b/workspace.code-workspace deleted file mode 100644 index 876a149..0000000 --- a/workspace.code-workspace +++ /dev/null @@ -1,8 +0,0 @@ -{ - "folders": [ - { - "path": "." - } - ], - "settings": {} -} \ No newline at end of file From e25417bc1ac1ad68073617e919c3838c5acafc9f Mon Sep 17 00:00:00 2001 From: Karol Selak Travis Date: Wed, 30 Mar 2022 16:35:58 +0200 Subject: [PATCH 03/12] small refactoring in backup_spec --- spec/backup_spec.rb | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/spec/backup_spec.rb b/spec/backup_spec.rb index cbc0a71..65b0711 100644 --- a/spec/backup_spec.rb +++ b/spec/backup_spec.rb @@ -9,7 +9,7 @@ require 'byebug' describe Backup do - before(:all) do + before(:each) do BeforeTests.new.run end @@ -17,15 +17,6 @@ let!(:backup) { Backup.new(files_location: files_location, limit: 5) } describe 'run' do - after(:each) do - Organization.destroy_all - User.destroy_all - Repository.destroy_all - Build.destroy_all - Job.destroy_all - Request.destroy_all - end - let!(:unassigned_repositories) { FactoryBot.create_list(:repository_with_requests, 3) } From 31357d969db4683a4904641a29158e7ed76b6f1a Mon Sep 17 00:00:00 2001 From: Karol Selak Travis Date: Wed, 30 Mar 2022 21:10:22 +0200 Subject: [PATCH 04/12] rewinding sequences in BeforeTests --- spec/backup/remove_specified_spec.rb | 8 -------- spec/model_spec.rb | 1 - spec/support/before_tests.rb | 3 +++ 3 files changed, 3 insertions(+), 9 deletions(-) diff --git a/spec/backup/remove_specified_spec.rb b/spec/backup/remove_specified_spec.rb index db14220..13e566b 100644 --- a/spec/backup/remove_specified_spec.rb +++ b/spec/backup/remove_specified_spec.rb @@ -141,8 +141,6 @@ end let!(:repository) { - FactoryBot.rewind_sequences - db_helper.do_without_triggers do FactoryBot.create( :repository_for_removing_heavy_data, @@ -238,8 +236,6 @@ # end # let!(:user) { - # FactoryBot.rewind_sequences - # db_helper.do_without_triggers do # FactoryBot.create( # :user_with_all_dependencies, @@ -322,8 +318,6 @@ # end # let!(:organization) { - # FactoryBot.rewind_sequences - # db_helper.do_without_triggers do # FactoryBot.create( # :organization_with_all_dependencies, @@ -405,8 +399,6 @@ # end # let!(:repository) { - # FactoryBot.rewind_sequences - # db_helper.do_without_triggers do # FactoryBot.create( # :repository_with_all_dependencies, diff --git a/spec/model_spec.rb b/spec/model_spec.rb index b7d8c35..8d6f0bd 100644 --- a/spec/model_spec.rb +++ b/spec/model_spec.rb @@ -9,7 +9,6 @@ describe Model do before(:each) do BeforeTests.new.run - FactoryBot.rewind_sequences end describe 'ids_of_all_dependencies_with_filtered' do diff --git a/spec/support/before_tests.rb b/spec/support/before_tests.rb index 26f8f5f..b05c53a 100644 --- a/spec/support/before_tests.rb +++ b/spec/support/before_tests.rb @@ -1,3 +1,5 @@ +require 'factory_bot' + class BeforeTests def run config = Config.new @@ -6,6 +8,7 @@ def run helper.do_in_other_db(config.destination_db_url) do truncate_all_tables end + FactoryBot.rewind_sequences end def truncate_all_tables From 0c11ff553ead268baf998aa418c2266c5016c53e Mon Sep 17 00:00:00 2001 From: Karol Selak Travis Date: Thu, 31 Mar 2022 01:37:25 +0200 Subject: [PATCH 05/12] remove_repo_with_dependencies expected files wip --- spec/backup/remove_specified_spec.rb | 138 +++++------ .../abuse_14-26.json | 30 +-- .../{abuse_27-30.json => abuse_27-31.json} | 34 ++- .../abuse_32-34.json | 35 +++ .../abuse_9-13.json | 30 +-- .../annotation_1-19.json | 55 ----- .../annotation_20-24.json | 55 ----- .../annotation_25-29.json | 55 ----- .../annotation_30-34.json | 55 ----- .../annotation_49-53.json | 55 ----- .../annotation_54-56.json | 35 --- .../branch_14-19.json | 27 ++ .../branch_86-91.json | 23 -- .../{build_1-58.json => build_1-59.json} | 145 ++++++++--- ...{build_143-151.json => build_145-153.json} | 149 +++++++++--- .../build_153-158.json | 95 -------- .../build_155-165.json | 230 ++++++++++++++++++ .../build_166-175.json | 185 ++++++++++++++ .../{build_60-70.json => build_61-71.json} | 151 +++++++++--- .../{build_73-83.json => build_74-84.json} | 149 +++++++++--- .../{build_85-140.json => build_86-142.json} | 145 ++++++++--- .../build_config_1-2.json | 21 ++ ...{commit_228-228.json => commit_18-18.json} | 10 +- .../{commit_217-227.json => commit_7-17.json} | 54 ++-- .../cron_2-2.json | 18 ++ .../cron_3-4.json | 25 -- .../deleted_build_17-21.json | 230 ++++++++++++++++++ .../deleted_build_22-26.json | 230 ++++++++++++++++++ .../deleted_build_27-47.json | 230 ++++++++++++++++++ .../deleted_build_48-52.json | 230 ++++++++++++++++++ .../deleted_build_53-57.json | 230 ++++++++++++++++++ .../deleted_build_58-62.json | 230 ++++++++++++++++++ .../deleted_build_63-66.json | 185 ++++++++++++++ .../deleted_build_config_1-2.json | 21 ++ .../deleted_commit_14-14.json | 25 ++ .../deleted_commit_5-13.json | 105 ++++++++ .../deleted_job_15-19.json | 175 +++++++++++++ .../deleted_job_20-24.json | 175 +++++++++++++ .../deleted_job_25-29.json | 175 +++++++++++++ .../deleted_job_44-48.json | 175 +++++++++++++ .../deleted_job_49-53.json | 175 +++++++++++++ .../deleted_job_54-58.json | 175 +++++++++++++ .../deleted_job_59-60.json | 73 ++++++ .../deleted_job_config_1-2.json | 21 ++ .../deleted_pull_request_1-2.json | 43 ++++ .../deleted_request_14-26.json | 165 +++++++++++++ .../deleted_request_27-31.json | 165 +++++++++++++ .../deleted_request_32-34.json | 101 ++++++++ .../deleted_request_9-13.json | 165 +++++++++++++ .../deleted_request_config_1-2.json | 21 ++ .../deleted_request_payload_14-26.json | 45 ++++ .../deleted_request_payload_27-31.json | 45 ++++ .../deleted_request_payload_32-34.json | 29 +++ .../deleted_request_payload_9-13.json | 45 ++++ .../deleted_request_raw_config_1-2.json | 19 ++ ...leted_request_raw_configuration_14-26.json | 45 ++++ ...leted_request_raw_configuration_27-31.json | 45 ++++ ...leted_request_raw_configuration_32-36.json | 45 ++++ ...eleted_request_raw_configuration_9-13.json | 45 ++++ .../deleted_request_yaml_config_1-2.json | 21 ++ .../deleted_ssl_key_1-2.json | 25 ++ .../deleted_stage_1-2.json | 27 ++ .../deleted_tag_3-4.json | 27 ++ .../email_unsubscribe_1-2.json | 19 ++ .../{job_149-155.json => job_146-154.json} | 113 +++++---- .../job_156-162.json | 175 +++++++++++++ .../job_157-160.json | 92 ------- .../job_164-171.json | 175 +++++++++++++ .../job_172-177.json | 141 +++++++++++ .../job_2-6.json | 85 ++++--- .../{job_57-64.json => job_57-63.json} | 99 +++++--- .../{job_66-72.json => job_65-72.json} | 103 +++++--- .../job_7-56.json | 95 +++++--- .../{job_74-81.json => job_73-80.json} | 103 +++++--- .../{job_82-89.json => job_82-88.json} | 101 +++++--- .../job_90-94.json | 87 ++++--- .../{job_139-147.json => job_95-144.json} | 103 +++++--- .../job_config_1-2.json | 21 ++ .../job_version_1-19.json | 65 +++++ .../job_version_20-24.json | 65 +++++ .../job_version_25-29.json | 65 +++++ .../job_version_30-34.json | 65 +++++ .../job_version_49-53.json | 65 +++++ .../job_version_54-58.json | 65 +++++ .../job_version_59-62.json | 53 ++++ .../log_1-19.json | 75 ------ .../log_20-24.json | 75 ------ .../log_25-29.json | 75 ------ .../log_30-34.json | 75 ------ .../log_49-53.json | 75 ------ .../log_54-56.json | 47 ---- .../message_14-26.json | 35 ++- .../message_27-30.json | 49 ---- .../message_27-31.json | 75 ++++++ .../message_32-34.json | 47 ++++ .../message_9-13.json | 35 ++- .../nullified_relationships/build_10.json | 30 +-- .../nullified_relationships/build_11.json | 24 +- .../nullified_relationships/build_12.json | 22 +- .../nullified_relationships/build_13.json | 20 +- .../nullified_relationships/build_14.json | 35 +++ .../nullified_relationships/build_15.json | 35 +++ .../nullified_relationships/build_16.json | 23 ++ .../nullified_relationships/build_2.json | 18 +- .../nullified_relationships/build_3.json | 24 +- .../nullified_relationships/build_4.json | 18 +- .../nullified_relationships/build_5.json | 30 +-- .../nullified_relationships/build_6.json | 32 +-- .../nullified_relationships/build_7.json | 24 +- .../nullified_relationships/build_8.json | 16 +- .../nullified_relationships/build_9.json | 32 +-- .../permission_3-4.json | 8 +- .../pull_request_3-6.json | 22 +- .../queueable_job_1-19.json | 6 +- .../queueable_job_20-24.json | 10 +- .../queueable_job_25-29.json | 10 +- .../queueable_job_30-34.json | 10 +- .../queueable_job_49-53.json | 10 +- .../queueable_job_54-56.json | 17 -- .../queueable_job_54-58.json | 25 ++ .../queueable_job_59-62.json | 21 ++ .../repo_count_1-1.json | 17 ++ .../repository_1-1.json | 21 +- .../request_11-15.json | 86 ++++--- .../request_16-30.json | 86 ++++--- .../request_31-35.json | 165 +++++++++++++ ...{request_31-34.json => request_36-38.json} | 86 +++---- .../request_config_1-2.json | 21 ++ .../request_payload_14-26.json | 45 ++++ .../request_payload_27-31.json | 45 ++++ .../request_payload_32-34.json | 29 +++ .../request_payload_9-13.json | 45 ++++ .../request_raw_config_1-2.json | 19 ++ .../request_raw_configuration_14-26.json | 45 ++++ .../request_raw_configuration_27-31.json | 45 ++++ .../request_raw_configuration_32-36.json | 45 ++++ .../request_raw_configuration_9-13.json | 45 ++++ .../request_yaml_config_1-2.json | 21 ++ .../ssl_key_3-4.json | 25 ++ .../ssl_key_33-34.json | 21 -- .../{stage_20-32.json => stage_1-13.json} | 36 ++- .../{stage_38-50.json => stage_14-18.json} | 40 +-- .../stage_19-31.json | 60 +++++ .../{stage_33-37.json => stage_32-36.json} | 40 +-- .../{stage_51-51.json => stage_37-37.json} | 8 +- .../star_3-4.json | 8 +- .../tag_33-38.json | 12 +- 147 files changed, 8172 insertions(+), 2071 deletions(-) rename spec/support/expected_files/remove_repo_with_dependencies/{abuse_27-30.json => abuse_27-31.json} (51%) create mode 100644 spec/support/expected_files/remove_repo_with_dependencies/abuse_32-34.json delete mode 100644 spec/support/expected_files/remove_repo_with_dependencies/annotation_1-19.json delete mode 100644 spec/support/expected_files/remove_repo_with_dependencies/annotation_20-24.json delete mode 100644 spec/support/expected_files/remove_repo_with_dependencies/annotation_25-29.json delete mode 100644 spec/support/expected_files/remove_repo_with_dependencies/annotation_30-34.json delete mode 100644 spec/support/expected_files/remove_repo_with_dependencies/annotation_49-53.json delete mode 100644 spec/support/expected_files/remove_repo_with_dependencies/annotation_54-56.json create mode 100644 spec/support/expected_files/remove_repo_with_dependencies/branch_14-19.json delete mode 100644 spec/support/expected_files/remove_repo_with_dependencies/branch_86-91.json rename spec/support/expected_files/remove_repo_with_dependencies/{build_1-58.json => build_1-59.json} (53%) rename spec/support/expected_files/remove_repo_with_dependencies/{build_143-151.json => build_145-153.json} (53%) delete mode 100644 spec/support/expected_files/remove_repo_with_dependencies/build_153-158.json create mode 100644 spec/support/expected_files/remove_repo_with_dependencies/build_155-165.json create mode 100644 spec/support/expected_files/remove_repo_with_dependencies/build_166-175.json rename spec/support/expected_files/remove_repo_with_dependencies/{build_60-70.json => build_61-71.json} (52%) rename spec/support/expected_files/remove_repo_with_dependencies/{build_73-83.json => build_74-84.json} (52%) rename spec/support/expected_files/remove_repo_with_dependencies/{build_85-140.json => build_86-142.json} (53%) create mode 100644 spec/support/expected_files/remove_repo_with_dependencies/build_config_1-2.json rename spec/support/expected_files/remove_repo_with_dependencies/{commit_228-228.json => commit_18-18.json} (68%) rename spec/support/expected_files/remove_repo_with_dependencies/{commit_217-227.json => commit_7-17.json} (63%) create mode 100644 spec/support/expected_files/remove_repo_with_dependencies/cron_2-2.json delete mode 100644 spec/support/expected_files/remove_repo_with_dependencies/cron_3-4.json create mode 100644 spec/support/expected_files/remove_repo_with_dependencies/deleted_build_17-21.json create mode 100644 spec/support/expected_files/remove_repo_with_dependencies/deleted_build_22-26.json create mode 100644 spec/support/expected_files/remove_repo_with_dependencies/deleted_build_27-47.json create mode 100644 spec/support/expected_files/remove_repo_with_dependencies/deleted_build_48-52.json create mode 100644 spec/support/expected_files/remove_repo_with_dependencies/deleted_build_53-57.json create mode 100644 spec/support/expected_files/remove_repo_with_dependencies/deleted_build_58-62.json create mode 100644 spec/support/expected_files/remove_repo_with_dependencies/deleted_build_63-66.json create mode 100644 spec/support/expected_files/remove_repo_with_dependencies/deleted_build_config_1-2.json create mode 100644 spec/support/expected_files/remove_repo_with_dependencies/deleted_commit_14-14.json create mode 100644 spec/support/expected_files/remove_repo_with_dependencies/deleted_commit_5-13.json create mode 100644 spec/support/expected_files/remove_repo_with_dependencies/deleted_job_15-19.json create mode 100644 spec/support/expected_files/remove_repo_with_dependencies/deleted_job_20-24.json create mode 100644 spec/support/expected_files/remove_repo_with_dependencies/deleted_job_25-29.json create mode 100644 spec/support/expected_files/remove_repo_with_dependencies/deleted_job_44-48.json create mode 100644 spec/support/expected_files/remove_repo_with_dependencies/deleted_job_49-53.json create mode 100644 spec/support/expected_files/remove_repo_with_dependencies/deleted_job_54-58.json create mode 100644 spec/support/expected_files/remove_repo_with_dependencies/deleted_job_59-60.json create mode 100644 spec/support/expected_files/remove_repo_with_dependencies/deleted_job_config_1-2.json create mode 100644 spec/support/expected_files/remove_repo_with_dependencies/deleted_pull_request_1-2.json create mode 100644 spec/support/expected_files/remove_repo_with_dependencies/deleted_request_14-26.json create mode 100644 spec/support/expected_files/remove_repo_with_dependencies/deleted_request_27-31.json create mode 100644 spec/support/expected_files/remove_repo_with_dependencies/deleted_request_32-34.json create mode 100644 spec/support/expected_files/remove_repo_with_dependencies/deleted_request_9-13.json create mode 100644 spec/support/expected_files/remove_repo_with_dependencies/deleted_request_config_1-2.json create mode 100644 spec/support/expected_files/remove_repo_with_dependencies/deleted_request_payload_14-26.json create mode 100644 spec/support/expected_files/remove_repo_with_dependencies/deleted_request_payload_27-31.json create mode 100644 spec/support/expected_files/remove_repo_with_dependencies/deleted_request_payload_32-34.json create mode 100644 spec/support/expected_files/remove_repo_with_dependencies/deleted_request_payload_9-13.json create mode 100644 spec/support/expected_files/remove_repo_with_dependencies/deleted_request_raw_config_1-2.json create mode 100644 spec/support/expected_files/remove_repo_with_dependencies/deleted_request_raw_configuration_14-26.json create mode 100644 spec/support/expected_files/remove_repo_with_dependencies/deleted_request_raw_configuration_27-31.json create mode 100644 spec/support/expected_files/remove_repo_with_dependencies/deleted_request_raw_configuration_32-36.json create mode 100644 spec/support/expected_files/remove_repo_with_dependencies/deleted_request_raw_configuration_9-13.json create mode 100644 spec/support/expected_files/remove_repo_with_dependencies/deleted_request_yaml_config_1-2.json create mode 100644 spec/support/expected_files/remove_repo_with_dependencies/deleted_ssl_key_1-2.json create mode 100644 spec/support/expected_files/remove_repo_with_dependencies/deleted_stage_1-2.json create mode 100644 spec/support/expected_files/remove_repo_with_dependencies/deleted_tag_3-4.json create mode 100644 spec/support/expected_files/remove_repo_with_dependencies/email_unsubscribe_1-2.json rename spec/support/expected_files/remove_repo_with_dependencies/{job_149-155.json => job_146-154.json} (64%) create mode 100644 spec/support/expected_files/remove_repo_with_dependencies/job_156-162.json delete mode 100644 spec/support/expected_files/remove_repo_with_dependencies/job_157-160.json create mode 100644 spec/support/expected_files/remove_repo_with_dependencies/job_164-171.json create mode 100644 spec/support/expected_files/remove_repo_with_dependencies/job_172-177.json rename spec/support/expected_files/remove_repo_with_dependencies/{job_57-64.json => job_57-63.json} (64%) rename spec/support/expected_files/remove_repo_with_dependencies/{job_66-72.json => job_65-72.json} (65%) rename spec/support/expected_files/remove_repo_with_dependencies/{job_74-81.json => job_73-80.json} (65%) rename spec/support/expected_files/remove_repo_with_dependencies/{job_82-89.json => job_82-88.json} (66%) rename spec/support/expected_files/remove_repo_with_dependencies/{job_139-147.json => job_95-144.json} (66%) create mode 100644 spec/support/expected_files/remove_repo_with_dependencies/job_config_1-2.json create mode 100644 spec/support/expected_files/remove_repo_with_dependencies/job_version_1-19.json create mode 100644 spec/support/expected_files/remove_repo_with_dependencies/job_version_20-24.json create mode 100644 spec/support/expected_files/remove_repo_with_dependencies/job_version_25-29.json create mode 100644 spec/support/expected_files/remove_repo_with_dependencies/job_version_30-34.json create mode 100644 spec/support/expected_files/remove_repo_with_dependencies/job_version_49-53.json create mode 100644 spec/support/expected_files/remove_repo_with_dependencies/job_version_54-58.json create mode 100644 spec/support/expected_files/remove_repo_with_dependencies/job_version_59-62.json delete mode 100644 spec/support/expected_files/remove_repo_with_dependencies/log_1-19.json delete mode 100644 spec/support/expected_files/remove_repo_with_dependencies/log_20-24.json delete mode 100644 spec/support/expected_files/remove_repo_with_dependencies/log_25-29.json delete mode 100644 spec/support/expected_files/remove_repo_with_dependencies/log_30-34.json delete mode 100644 spec/support/expected_files/remove_repo_with_dependencies/log_49-53.json delete mode 100644 spec/support/expected_files/remove_repo_with_dependencies/log_54-56.json delete mode 100644 spec/support/expected_files/remove_repo_with_dependencies/message_27-30.json create mode 100644 spec/support/expected_files/remove_repo_with_dependencies/message_27-31.json create mode 100644 spec/support/expected_files/remove_repo_with_dependencies/message_32-34.json create mode 100644 spec/support/expected_files/remove_repo_with_dependencies/nullified_relationships/build_14.json create mode 100644 spec/support/expected_files/remove_repo_with_dependencies/nullified_relationships/build_15.json create mode 100644 spec/support/expected_files/remove_repo_with_dependencies/nullified_relationships/build_16.json delete mode 100644 spec/support/expected_files/remove_repo_with_dependencies/queueable_job_54-56.json create mode 100644 spec/support/expected_files/remove_repo_with_dependencies/queueable_job_54-58.json create mode 100644 spec/support/expected_files/remove_repo_with_dependencies/queueable_job_59-62.json create mode 100644 spec/support/expected_files/remove_repo_with_dependencies/repo_count_1-1.json create mode 100644 spec/support/expected_files/remove_repo_with_dependencies/request_31-35.json rename spec/support/expected_files/remove_repo_with_dependencies/{request_31-34.json => request_36-38.json} (54%) create mode 100644 spec/support/expected_files/remove_repo_with_dependencies/request_config_1-2.json create mode 100644 spec/support/expected_files/remove_repo_with_dependencies/request_payload_14-26.json create mode 100644 spec/support/expected_files/remove_repo_with_dependencies/request_payload_27-31.json create mode 100644 spec/support/expected_files/remove_repo_with_dependencies/request_payload_32-34.json create mode 100644 spec/support/expected_files/remove_repo_with_dependencies/request_payload_9-13.json create mode 100644 spec/support/expected_files/remove_repo_with_dependencies/request_raw_config_1-2.json create mode 100644 spec/support/expected_files/remove_repo_with_dependencies/request_raw_configuration_14-26.json create mode 100644 spec/support/expected_files/remove_repo_with_dependencies/request_raw_configuration_27-31.json create mode 100644 spec/support/expected_files/remove_repo_with_dependencies/request_raw_configuration_32-36.json create mode 100644 spec/support/expected_files/remove_repo_with_dependencies/request_raw_configuration_9-13.json create mode 100644 spec/support/expected_files/remove_repo_with_dependencies/request_yaml_config_1-2.json create mode 100644 spec/support/expected_files/remove_repo_with_dependencies/ssl_key_3-4.json delete mode 100644 spec/support/expected_files/remove_repo_with_dependencies/ssl_key_33-34.json rename spec/support/expected_files/remove_repo_with_dependencies/{stage_20-32.json => stage_1-13.json} (58%) rename spec/support/expected_files/remove_repo_with_dependencies/{stage_38-50.json => stage_14-18.json} (50%) create mode 100644 spec/support/expected_files/remove_repo_with_dependencies/stage_19-31.json rename spec/support/expected_files/remove_repo_with_dependencies/{stage_33-37.json => stage_32-36.json} (56%) rename spec/support/expected_files/remove_repo_with_dependencies/{stage_51-51.json => stage_37-37.json} (57%) diff --git a/spec/backup/remove_specified_spec.rb b/spec/backup/remove_specified_spec.rb index 13e566b..c3de20f 100644 --- a/spec/backup/remove_specified_spec.rb +++ b/spec/backup/remove_specified_spec.rb @@ -393,84 +393,84 @@ # end # end - # describe 'remove_repo_with_dependencies' do - # before(:each) do - # BeforeTests.new.run - # end - - # let!(:repository) { - # db_helper.do_without_triggers do - # FactoryBot.create( - # :repository_with_all_dependencies, - # created_at: datetime, - # updated_at: datetime - # ) - # end - # } + describe 'remove_repo_with_dependencies' do + before(:each) do + BeforeTests.new.run + end - # shared_context 'not saving files' do - # it 'does not save files' do - # expect_any_instance_of(File).not_to receive(:write) - # remove_specified.remove_repo_with_dependencies(repository.id) - # end - # end + let!(:repository) { + db_helper.do_without_triggers do + FactoryBot.create( + :repository_with_all_dependencies, + created_at: datetime, + updated_at: datetime + ) + end + } - # shared_context 'removing repository with dependencies' do - # it 'removes repository with all its dependencies with proper exceptions' do - # dependency_tree = repository.dependency_tree - # remove_specified.remove_repo_with_dependencies(repository.id) - # expect(dependency_tree.status_tree_condensed).to eql(ExpectedDependencyTrees.remove_repo_with_dependencies) - # end + shared_context 'not saving files' do + it 'does not save files' do + expect_any_instance_of(File).not_to receive(:write) + remove_specified.remove_repo_with_dependencies(repository.id) + end + end - # it 'removes intended number of rows from the database' do - # expect { - # remove_specified.remove_repo_with_dependencies(repository.id) - # }.to change { Model.sum_of_subclasses_rows }.by(-239) - # end + shared_context 'removing repository with dependencies' do + it 'removes repository with all its dependencies with proper exceptions' do + dependency_tree = repository.dependency_tree + remove_specified.remove_repo_with_dependencies(repository.id) + expect(dependency_tree.status_tree_condensed).to eql(ExpectedDependencyTrees.remove_repo_with_dependencies) + end - # it 'nullifies orphaned builds dependencies' do - # expect( - # nullifies_all_orphaned_builds_dependencies? do - # remove_specified.remove_repo_with_dependencies(repository.id) - # end - # ).to eql(true) - # end - # end + it 'removes intended number of rows from the database' do + expect { + remove_specified.remove_repo_with_dependencies(repository.id) + }.to change { Model.sum_of_subclasses_rows }.by(-239) + end - # it_behaves_like 'removing repository with dependencies' + it 'nullifies orphaned builds dependencies' do + expect( + nullifies_all_orphaned_builds_dependencies? do + remove_specified.remove_repo_with_dependencies(repository.id) + end + ).to eql(true) + end + end - # context 'when if_backup config is set to true' do - # it 'saves removed data to files in proper format' do - # expect_method_calls_on( - # File, :write, - # get_expected_files('remove_repo_with_dependencies', datetime), - # allow_instances: true, - # arguments_to_check: :first - # ) do - # remove_specified.remove_repo_with_dependencies(repository.id) - # end - # end - # end + context 'when if_backup config is set to true' do + it 'saves removed data to files in proper format' do + expect_method_calls_on( + File, :write, + get_expected_files('remove_repo_with_dependencies', datetime), + allow_instances: true, + arguments_to_check: :first + ) do + remove_specified.remove_repo_with_dependencies(repository.id) + end + end + + it_behaves_like 'removing repository with dependencies' + end - # context 'when if_backup config is set to false' do - # let!(:config) { Config.new(files_location: files_location, limit: 5, if_backup: false) } - # let!(:remove_specified) { Backup::RemoveSpecified.new(config, DryRunReporter.new) } + context 'when if_backup config is set to false' do + let!(:config) { Config.new(files_location: files_location, limit: 5, if_backup: false) } + let!(:remove_specified) { Backup::RemoveSpecified.new(config, DryRunReporter.new) } - # it_behaves_like 'not saving files' - # it_behaves_like 'removing repository with dependencies' - # end + it_behaves_like 'not saving files' + it_behaves_like 'removing repository with dependencies' + end - # context 'when dry_run config is set to true' do - # let!(:config) { Config.new(files_location: files_location, limit: 5, dry_run: true) } - # let!(:remove_specified) { Backup::RemoveSpecified.new(config, DryRunReporter.new) } + context 'when dry_run config is set to true' do + let!(:config) { Config.new(files_location: files_location, limit: 5, dry_run: true) } + let!(:remove_specified) { Backup::RemoveSpecified.new(config, DryRunReporter.new) } - # it_behaves_like 'not saving files' + it_behaves_like 'not saving files' - # it 'does not remove entries from db' do - # expect { - # remove_specified.remove_repo_with_dependencies(repository.id) - # }.not_to change { Model.sum_of_subclasses_rows } - # end - # end - # end + it 'does not remove entries from db' do + expect { + remove_specified.remove_repo_with_dependencies(repository.id) + }.not_to change { Model.sum_of_subclasses_rows } + end + end + end end diff --git a/spec/support/expected_files/remove_repo_with_dependencies/abuse_14-26.json b/spec/support/expected_files/remove_repo_with_dependencies/abuse_14-26.json index ec93c33..6f61d3a 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/abuse_14-26.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/abuse_14-26.json @@ -3,53 +3,53 @@ "data": [ { "id": 14, - "owner_id": null, "owner_type": null, + "owner_id": null, "request_id": 15, "level": 14, "reason": "some text", - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC" + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC" }, { "id": 15, - "owner_id": null, "owner_type": null, + "owner_id": null, "request_id": 17, "level": 15, "reason": "some text", - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC" + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC" }, { "id": 16, - "owner_id": null, "owner_type": null, + "owner_id": null, "request_id": 17, "level": 16, "reason": "some text", - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC" + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC" }, { "id": 25, - "owner_id": null, "owner_type": null, + "owner_id": null, "request_id": 29, "level": 25, "reason": "some text", - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC" + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC" }, { "id": 26, - "owner_id": null, "owner_type": null, + "owner_id": null, "request_id": 29, "level": 26, "reason": "some text", - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC" + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC" } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/abuse_27-30.json b/spec/support/expected_files/remove_repo_with_dependencies/abuse_27-31.json similarity index 51% rename from spec/support/expected_files/remove_repo_with_dependencies/abuse_27-30.json rename to spec/support/expected_files/remove_repo_with_dependencies/abuse_27-31.json index b5c7a3f..10e17d4 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/abuse_27-30.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/abuse_27-31.json @@ -3,43 +3,53 @@ "data": [ { "id": 27, - "owner_id": null, "owner_type": null, + "owner_id": null, "request_id": 31, "level": 27, "reason": "some text", - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC" + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC" }, { "id": 28, - "owner_id": null, "owner_type": null, + "owner_id": null, "request_id": 31, "level": 28, "reason": "some text", - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC" + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC" }, { "id": 29, - "owner_id": null, "owner_type": null, + "owner_id": null, "request_id": 33, "level": 29, "reason": "some text", - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC" + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC" }, { "id": 30, - "owner_id": null, "owner_type": null, + "owner_id": null, "request_id": 33, "level": 30, "reason": "some text", - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC" + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC" + }, + { + "id": 31, + "owner_type": null, + "owner_id": null, + "request_id": 35, + "level": 31, + "reason": "some text", + "created_at": "2022-03-30 23:31:18 UTC", + "updated_at": "2022-03-30 23:31:18 UTC" } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/abuse_32-34.json b/spec/support/expected_files/remove_repo_with_dependencies/abuse_32-34.json new file mode 100644 index 0000000..ba3ce2e --- /dev/null +++ b/spec/support/expected_files/remove_repo_with_dependencies/abuse_32-34.json @@ -0,0 +1,35 @@ +{ + "table_name": "abuses", + "data": [ + { + "id": 32, + "owner_type": null, + "owner_id": null, + "request_id": 35, + "level": 32, + "reason": "some text", + "created_at": "2022-03-30 23:31:18 UTC", + "updated_at": "2022-03-30 23:31:18 UTC" + }, + { + "id": 33, + "owner_type": null, + "owner_id": null, + "request_id": 37, + "level": 33, + "reason": "some text", + "created_at": "2022-03-30 23:31:19 UTC", + "updated_at": "2022-03-30 23:31:19 UTC" + }, + { + "id": 34, + "owner_type": null, + "owner_id": null, + "request_id": 37, + "level": 34, + "reason": "some text", + "created_at": "2022-03-30 23:31:19 UTC", + "updated_at": "2022-03-30 23:31:19 UTC" + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/abuse_9-13.json b/spec/support/expected_files/remove_repo_with_dependencies/abuse_9-13.json index a6b9b4b..dd9f0f2 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/abuse_9-13.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/abuse_9-13.json @@ -3,53 +3,53 @@ "data": [ { "id": 9, - "owner_id": null, "owner_type": null, + "owner_id": null, "request_id": 11, "level": 9, "reason": "some text", - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC" + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC" }, { "id": 10, - "owner_id": null, "owner_type": null, + "owner_id": null, "request_id": 11, "level": 10, "reason": "some text", - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC" + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC" }, { "id": 11, - "owner_id": null, "owner_type": null, + "owner_id": null, "request_id": 13, "level": 11, "reason": "some text", - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC" + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC" }, { "id": 12, - "owner_id": null, "owner_type": null, + "owner_id": null, "request_id": 13, "level": 12, "reason": "some text", - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC" + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC" }, { "id": 13, - "owner_id": null, "owner_type": null, + "owner_id": null, "request_id": 15, "level": 13, "reason": "some text", - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC" + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC" } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/annotation_1-19.json b/spec/support/expected_files/remove_repo_with_dependencies/annotation_1-19.json deleted file mode 100644 index 8e87d96..0000000 --- a/spec/support/expected_files/remove_repo_with_dependencies/annotation_1-19.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "table_name": "annotations", - "data": [ - { - "id": 1, - "job_id": 6, - "url": null, - "description": "some text", - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", - "annotation_provider_id": 0, - "status": null - }, - { - "id": 2, - "job_id": 6, - "url": null, - "description": "some text", - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", - "annotation_provider_id": 0, - "status": null - }, - { - "id": 17, - "job_id": 54, - "url": null, - "description": "some text", - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", - "annotation_provider_id": 0, - "status": null - }, - { - "id": 18, - "job_id": 54, - "url": null, - "description": "some text", - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", - "annotation_provider_id": 0, - "status": null - }, - { - "id": 19, - "job_id": 56, - "url": null, - "description": "some text", - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", - "annotation_provider_id": 0, - "status": null - } - ] -} \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/annotation_20-24.json b/spec/support/expected_files/remove_repo_with_dependencies/annotation_20-24.json deleted file mode 100644 index 5203a65..0000000 --- a/spec/support/expected_files/remove_repo_with_dependencies/annotation_20-24.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "table_name": "annotations", - "data": [ - { - "id": 20, - "job_id": 56, - "url": null, - "description": "some text", - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", - "annotation_provider_id": 0, - "status": null - }, - { - "id": 21, - "job_id": 61, - "url": null, - "description": "some text", - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", - "annotation_provider_id": 0, - "status": null - }, - { - "id": 22, - "job_id": 61, - "url": null, - "description": "some text", - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", - "annotation_provider_id": 0, - "status": null - }, - { - "id": 23, - "job_id": 66, - "url": null, - "description": "some text", - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", - "annotation_provider_id": 0, - "status": null - }, - { - "id": 24, - "job_id": 66, - "url": null, - "description": "some text", - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", - "annotation_provider_id": 0, - "status": null - } - ] -} \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/annotation_25-29.json b/spec/support/expected_files/remove_repo_with_dependencies/annotation_25-29.json deleted file mode 100644 index 7d073ad..0000000 --- a/spec/support/expected_files/remove_repo_with_dependencies/annotation_25-29.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "table_name": "annotations", - "data": [ - { - "id": 25, - "job_id": 71, - "url": null, - "description": "some text", - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", - "annotation_provider_id": 0, - "status": null - }, - { - "id": 26, - "job_id": 71, - "url": null, - "description": "some text", - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", - "annotation_provider_id": 0, - "status": null - }, - { - "id": 27, - "job_id": 76, - "url": null, - "description": "some text", - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", - "annotation_provider_id": 0, - "status": null - }, - { - "id": 28, - "job_id": 76, - "url": null, - "description": "some text", - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", - "annotation_provider_id": 0, - "status": null - }, - { - "id": 29, - "job_id": 81, - "url": null, - "description": "some text", - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", - "annotation_provider_id": 0, - "status": null - } - ] -} \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/annotation_30-34.json b/spec/support/expected_files/remove_repo_with_dependencies/annotation_30-34.json deleted file mode 100644 index daa05fb..0000000 --- a/spec/support/expected_files/remove_repo_with_dependencies/annotation_30-34.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "table_name": "annotations", - "data": [ - { - "id": 30, - "job_id": 81, - "url": null, - "description": "some text", - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", - "annotation_provider_id": 0, - "status": null - }, - { - "id": 31, - "job_id": 86, - "url": null, - "description": "some text", - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", - "annotation_provider_id": 0, - "status": null - }, - { - "id": 32, - "job_id": 86, - "url": null, - "description": "some text", - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", - "annotation_provider_id": 0, - "status": null - }, - { - "id": 33, - "job_id": 93, - "url": null, - "description": "some text", - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", - "annotation_provider_id": 0, - "status": null - }, - { - "id": 34, - "job_id": 93, - "url": null, - "description": "some text", - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", - "annotation_provider_id": 0, - "status": null - } - ] -} \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/annotation_49-53.json b/spec/support/expected_files/remove_repo_with_dependencies/annotation_49-53.json deleted file mode 100644 index fb579c8..0000000 --- a/spec/support/expected_files/remove_repo_with_dependencies/annotation_49-53.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "table_name": "annotations", - "data": [ - { - "id": 49, - "job_id": 141, - "url": null, - "description": "some text", - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", - "annotation_provider_id": 0, - "status": null - }, - { - "id": 50, - "job_id": 141, - "url": null, - "description": "some text", - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", - "annotation_provider_id": 0, - "status": null - }, - { - "id": 51, - "job_id": 149, - "url": null, - "description": "some text", - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", - "annotation_provider_id": 0, - "status": null - }, - { - "id": 52, - "job_id": 149, - "url": null, - "description": "some text", - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", - "annotation_provider_id": 0, - "status": null - }, - { - "id": 53, - "job_id": 154, - "url": null, - "description": "some text", - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", - "annotation_provider_id": 0, - "status": null - } - ] -} \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/annotation_54-56.json b/spec/support/expected_files/remove_repo_with_dependencies/annotation_54-56.json deleted file mode 100644 index ae39964..0000000 --- a/spec/support/expected_files/remove_repo_with_dependencies/annotation_54-56.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "table_name": "annotations", - "data": [ - { - "id": 54, - "job_id": 154, - "url": null, - "description": "some text", - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", - "annotation_provider_id": 0, - "status": null - }, - { - "id": 55, - "job_id": 159, - "url": null, - "description": "some text", - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", - "annotation_provider_id": 0, - "status": null - }, - { - "id": 56, - "job_id": 159, - "url": null, - "description": "some text", - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", - "annotation_provider_id": 0, - "status": null - } - ] -} \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/branch_14-19.json b/spec/support/expected_files/remove_repo_with_dependencies/branch_14-19.json new file mode 100644 index 0000000..b6ccc0b --- /dev/null +++ b/spec/support/expected_files/remove_repo_with_dependencies/branch_14-19.json @@ -0,0 +1,27 @@ +{ + "table_name": "branches", + "data": [ + { + "id": 14, + "repository_id": 1, + "last_build_id": null, + "name": "branch_14", + "exists_on_github": true, + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "org_id": null, + "com_id": null + }, + { + "id": 19, + "repository_id": 1, + "last_build_id": null, + "name": "branch_19", + "exists_on_github": true, + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "org_id": null, + "com_id": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/branch_86-91.json b/spec/support/expected_files/remove_repo_with_dependencies/branch_86-91.json deleted file mode 100644 index 5bf0da8..0000000 --- a/spec/support/expected_files/remove_repo_with_dependencies/branch_86-91.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "table_name": "branches", - "data": [ - { - "id": 86, - "repository_id": 1, - "last_build_id": null, - "name": "branch_14", - "exists_on_github": true, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC" - }, - { - "id": 91, - "repository_id": 1, - "last_build_id": null, - "name": "branch_19", - "exists_on_github": true, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC" - } - ] -} \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/build_1-58.json b/spec/support/expected_files/remove_repo_with_dependencies/build_1-59.json similarity index 53% rename from spec/support/expected_files/remove_repo_with_dependencies/build_1-58.json rename to spec/support/expected_files/remove_repo_with_dependencies/build_1-59.json index 72a5b10..7dfde1e 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/build_1-58.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/build_1-59.json @@ -7,20 +7,30 @@ "number": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", - "config": null, + "log": "", + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, "commit_id": null, "request_id": null, "state": null, "duration": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "event_type": null, "previous_state": null, "pull_request_title": null, "pull_request_number": null, - "branch": null, "canceled_at": null, "cached_matrix_ids": null, "received_at": null, @@ -28,29 +38,44 @@ "pull_request_id": null, "branch_id": null, "tag_id": null, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null }, { - "id": 50, + "id": 51, "repository_id": 1, "number": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", - "config": null, + "log": "", + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, "commit_id": null, "request_id": null, "state": null, "duration": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "event_type": null, "previous_state": null, "pull_request_title": null, "pull_request_number": null, - "branch": null, "canceled_at": null, "cached_matrix_ids": null, "received_at": null, @@ -58,29 +83,44 @@ "pull_request_id": null, "branch_id": null, "tag_id": null, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null }, { - "id": 51, + "id": 52, "repository_id": null, "number": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", - "config": null, + "log": "", + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, "commit_id": null, "request_id": 11, "state": null, "duration": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "event_type": null, "previous_state": null, "pull_request_title": null, "pull_request_number": null, - "branch": null, "canceled_at": null, "cached_matrix_ids": null, "received_at": null, @@ -88,29 +128,44 @@ "pull_request_id": null, "branch_id": null, "tag_id": null, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null }, { - "id": 53, + "id": 54, "repository_id": null, "number": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", - "config": null, + "log": "", + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, "commit_id": null, "request_id": 11, "state": null, "duration": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "event_type": null, "previous_state": null, "pull_request_title": null, "pull_request_number": null, - "branch": null, "canceled_at": null, "cached_matrix_ids": null, "received_at": null, @@ -118,38 +173,58 @@ "pull_request_id": null, "branch_id": null, "tag_id": null, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null }, { - "id": 58, + "id": 59, "repository_id": null, "number": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", - "config": null, + "log": "", + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, "commit_id": null, "request_id": null, "state": null, "duration": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "event_type": null, "previous_state": null, "pull_request_title": null, "pull_request_number": null, - "branch": null, "canceled_at": null, "cached_matrix_ids": null, "received_at": null, "private": null, "pull_request_id": null, - "branch_id": 86, + "branch_id": 14, "tag_id": null, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/build_143-151.json b/spec/support/expected_files/remove_repo_with_dependencies/build_145-153.json similarity index 53% rename from spec/support/expected_files/remove_repo_with_dependencies/build_143-151.json rename to spec/support/expected_files/remove_repo_with_dependencies/build_145-153.json index c500e64..5ab6a92 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/build_143-151.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/build_145-153.json @@ -2,25 +2,35 @@ "table_name": "builds", "data": [ { - "id": 143, + "id": 145, "repository_id": null, "number": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", - "config": null, + "log": "", + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, "commit_id": null, "request_id": null, "state": null, "duration": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "event_type": null, "previous_state": null, "pull_request_title": null, "pull_request_number": null, - "branch": null, "canceled_at": null, "cached_matrix_ids": null, "received_at": null, @@ -28,29 +38,44 @@ "pull_request_id": null, "branch_id": null, "tag_id": 33, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null }, { - "id": 145, + "id": 147, "repository_id": null, "number": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", - "config": null, + "log": "", + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, "commit_id": null, "request_id": null, "state": null, "duration": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "event_type": null, "previous_state": null, "pull_request_title": null, "pull_request_number": null, - "branch": null, "canceled_at": null, "cached_matrix_ids": null, "received_at": null, @@ -58,29 +83,44 @@ "pull_request_id": null, "branch_id": null, "tag_id": 33, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null }, { - "id": 146, + "id": 148, "repository_id": null, "number": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", - "config": null, - "commit_id": 227, + "log": "", + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": 17, "request_id": null, "state": null, "duration": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "event_type": null, "previous_state": null, "pull_request_title": null, "pull_request_number": null, - "branch": null, "canceled_at": null, "cached_matrix_ids": null, "received_at": null, @@ -88,29 +128,44 @@ "pull_request_id": null, "branch_id": null, "tag_id": null, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null }, { - "id": 148, + "id": 150, "repository_id": null, "number": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", - "config": null, - "commit_id": 227, + "log": "", + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": 17, "request_id": null, "state": null, "duration": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "event_type": null, "previous_state": null, "pull_request_title": null, "pull_request_number": null, - "branch": null, "canceled_at": null, "cached_matrix_ids": null, "received_at": null, @@ -118,29 +173,44 @@ "pull_request_id": null, "branch_id": null, "tag_id": null, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null }, { - "id": 151, + "id": 153, "repository_id": null, "number": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", - "config": null, + "log": "", + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, "commit_id": null, "request_id": 31, "state": null, "duration": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "event_type": null, "previous_state": null, "pull_request_title": null, "pull_request_number": null, - "branch": null, "canceled_at": null, "cached_matrix_ids": null, "received_at": null, @@ -148,8 +218,13 @@ "pull_request_id": null, "branch_id": null, "tag_id": null, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/build_153-158.json b/spec/support/expected_files/remove_repo_with_dependencies/build_153-158.json deleted file mode 100644 index cab82c0..0000000 --- a/spec/support/expected_files/remove_repo_with_dependencies/build_153-158.json +++ /dev/null @@ -1,95 +0,0 @@ -{ - "table_name": "builds", - "data": [ - { - "id": 153, - "repository_id": null, - "number": null, - "started_at": null, - "finished_at": null, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", - "config": null, - "commit_id": null, - "request_id": 31, - "state": null, - "duration": null, - "owner_id": null, - "owner_type": null, - "event_type": null, - "previous_state": null, - "pull_request_title": null, - "pull_request_number": null, - "branch": null, - "canceled_at": null, - "cached_matrix_ids": null, - "received_at": null, - "private": null, - "pull_request_id": null, - "branch_id": null, - "tag_id": null, - "sender_id": null, - "sender_type": null - }, - { - "id": 156, - "repository_id": null, - "number": null, - "started_at": null, - "finished_at": null, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", - "config": null, - "commit_id": null, - "request_id": 33, - "state": null, - "duration": null, - "owner_id": null, - "owner_type": null, - "event_type": null, - "previous_state": null, - "pull_request_title": null, - "pull_request_number": null, - "branch": null, - "canceled_at": null, - "cached_matrix_ids": null, - "received_at": null, - "private": null, - "pull_request_id": null, - "branch_id": null, - "tag_id": null, - "sender_id": null, - "sender_type": null - }, - { - "id": 158, - "repository_id": null, - "number": null, - "started_at": null, - "finished_at": null, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", - "config": null, - "commit_id": null, - "request_id": 33, - "state": null, - "duration": null, - "owner_id": null, - "owner_type": null, - "event_type": null, - "previous_state": null, - "pull_request_title": null, - "pull_request_number": null, - "branch": null, - "canceled_at": null, - "cached_matrix_ids": null, - "received_at": null, - "private": null, - "pull_request_id": null, - "branch_id": null, - "tag_id": null, - "sender_id": null, - "sender_type": null - } - ] -} \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/build_155-165.json b/spec/support/expected_files/remove_repo_with_dependencies/build_155-165.json new file mode 100644 index 0000000..7358cbd --- /dev/null +++ b/spec/support/expected_files/remove_repo_with_dependencies/build_155-165.json @@ -0,0 +1,230 @@ +{ + "table_name": "builds", + "data": [ + { + "id": 155, + "repository_id": null, + "number": null, + "started_at": null, + "finished_at": null, + "log": "", + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": null, + "request_id": 31, + "state": null, + "duration": null, + "owner_type": null, + "owner_id": null, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null + }, + { + "id": 158, + "repository_id": null, + "number": null, + "started_at": null, + "finished_at": null, + "log": "", + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": null, + "request_id": 33, + "state": null, + "duration": null, + "owner_type": null, + "owner_id": null, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null + }, + { + "id": 160, + "repository_id": null, + "number": null, + "started_at": null, + "finished_at": null, + "log": "", + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": null, + "request_id": 33, + "state": null, + "duration": null, + "owner_type": null, + "owner_id": null, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null + }, + { + "id": 163, + "repository_id": null, + "number": null, + "started_at": null, + "finished_at": null, + "log": "", + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2022-03-30 23:31:18 UTC", + "updated_at": "2022-03-30 23:31:18 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": null, + "request_id": null, + "state": null, + "duration": null, + "owner_type": null, + "owner_id": null, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": 1, + "restarted_at": null, + "unique_number": null + }, + { + "id": 165, + "repository_id": null, + "number": null, + "started_at": null, + "finished_at": null, + "log": "", + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2022-03-30 23:31:18 UTC", + "updated_at": "2022-03-30 23:31:18 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": null, + "request_id": null, + "state": null, + "duration": null, + "owner_type": null, + "owner_id": null, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": 1, + "restarted_at": null, + "unique_number": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/build_166-175.json b/spec/support/expected_files/remove_repo_with_dependencies/build_166-175.json new file mode 100644 index 0000000..e1cb89b --- /dev/null +++ b/spec/support/expected_files/remove_repo_with_dependencies/build_166-175.json @@ -0,0 +1,185 @@ +{ + "table_name": "builds", + "data": [ + { + "id": 166, + "repository_id": null, + "number": null, + "started_at": null, + "finished_at": null, + "log": "", + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2022-03-30 23:31:18 UTC", + "updated_at": "2022-03-30 23:31:18 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": null, + "request_id": 35, + "state": null, + "duration": null, + "owner_type": null, + "owner_id": null, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null + }, + { + "id": 168, + "repository_id": null, + "number": null, + "started_at": null, + "finished_at": null, + "log": "", + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2022-03-30 23:31:18 UTC", + "updated_at": "2022-03-30 23:31:18 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": null, + "request_id": 35, + "state": null, + "duration": null, + "owner_type": null, + "owner_id": null, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null + }, + { + "id": 173, + "repository_id": null, + "number": null, + "started_at": null, + "finished_at": null, + "log": "", + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2022-03-30 23:31:19 UTC", + "updated_at": "2022-03-30 23:31:19 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": null, + "request_id": 37, + "state": null, + "duration": null, + "owner_type": null, + "owner_id": null, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null + }, + { + "id": 175, + "repository_id": null, + "number": null, + "started_at": null, + "finished_at": null, + "log": "", + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2022-03-30 23:31:19 UTC", + "updated_at": "2022-03-30 23:31:19 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": null, + "request_id": 37, + "state": null, + "duration": null, + "owner_type": null, + "owner_id": null, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/build_60-70.json b/spec/support/expected_files/remove_repo_with_dependencies/build_61-71.json similarity index 52% rename from spec/support/expected_files/remove_repo_with_dependencies/build_60-70.json rename to spec/support/expected_files/remove_repo_with_dependencies/build_61-71.json index 1caca11..ce7334e 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/build_60-70.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/build_61-71.json @@ -2,55 +2,80 @@ "table_name": "builds", "data": [ { - "id": 60, + "id": 61, "repository_id": null, "number": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", - "config": null, + "log": "", + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, "commit_id": null, "request_id": null, "state": null, "duration": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "event_type": null, "previous_state": null, "pull_request_title": null, "pull_request_number": null, - "branch": null, "canceled_at": null, "cached_matrix_ids": null, "received_at": null, "private": null, "pull_request_id": null, - "branch_id": 86, + "branch_id": 14, "tag_id": null, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null }, { - "id": 63, + "id": 64, "repository_id": null, "number": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", - "config": null, - "commit_id": 217, + "log": "", + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": 7, "request_id": null, "state": null, "duration": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "event_type": null, "previous_state": null, "pull_request_title": null, "pull_request_number": null, - "branch": null, "canceled_at": null, "cached_matrix_ids": null, "received_at": null, @@ -58,29 +83,44 @@ "pull_request_id": null, "branch_id": null, "tag_id": null, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null }, { - "id": 65, + "id": 66, "repository_id": null, "number": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", - "config": null, - "commit_id": 217, + "log": "", + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": 7, "request_id": null, "state": null, "duration": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "event_type": null, "previous_state": null, "pull_request_title": null, "pull_request_number": null, - "branch": null, "canceled_at": null, "cached_matrix_ids": null, "received_at": null, @@ -88,29 +128,44 @@ "pull_request_id": null, "branch_id": null, "tag_id": null, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null }, { - "id": 68, + "id": 69, "repository_id": null, "number": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", - "config": null, + "log": "", + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, "commit_id": null, "request_id": 13, "state": null, "duration": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "event_type": null, "previous_state": null, "pull_request_title": null, "pull_request_number": null, - "branch": null, "canceled_at": null, "cached_matrix_ids": null, "received_at": null, @@ -118,29 +173,44 @@ "pull_request_id": null, "branch_id": null, "tag_id": null, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null }, { - "id": 70, + "id": 71, "repository_id": null, "number": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", - "config": null, + "log": "", + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, "commit_id": null, "request_id": 13, "state": null, "duration": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "event_type": null, "previous_state": null, "pull_request_title": null, "pull_request_number": null, - "branch": null, "canceled_at": null, "cached_matrix_ids": null, "received_at": null, @@ -148,8 +218,13 @@ "pull_request_id": null, "branch_id": null, "tag_id": null, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/build_73-83.json b/spec/support/expected_files/remove_repo_with_dependencies/build_74-84.json similarity index 52% rename from spec/support/expected_files/remove_repo_with_dependencies/build_73-83.json rename to spec/support/expected_files/remove_repo_with_dependencies/build_74-84.json index 61d3d0e..2438050 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/build_73-83.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/build_74-84.json @@ -2,25 +2,35 @@ "table_name": "builds", "data": [ { - "id": 73, + "id": 74, "repository_id": null, "number": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", - "config": null, + "log": "", + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, "commit_id": null, "request_id": 15, "state": null, "duration": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "event_type": null, "previous_state": null, "pull_request_title": null, "pull_request_number": null, - "branch": null, "canceled_at": null, "cached_matrix_ids": null, "received_at": null, @@ -28,29 +38,44 @@ "pull_request_id": null, "branch_id": null, "tag_id": null, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null }, { - "id": 75, + "id": 76, "repository_id": null, "number": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", - "config": null, + "log": "", + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, "commit_id": null, "request_id": 15, "state": null, "duration": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "event_type": null, "previous_state": null, "pull_request_title": null, "pull_request_number": null, - "branch": null, "canceled_at": null, "cached_matrix_ids": null, "received_at": null, @@ -58,29 +83,44 @@ "pull_request_id": null, "branch_id": null, "tag_id": null, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null }, { - "id": 78, + "id": 79, "repository_id": null, "number": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", - "config": null, - "commit_id": 219, + "log": "", + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": 9, "request_id": null, "state": null, "duration": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "event_type": null, "previous_state": null, "pull_request_title": null, "pull_request_number": null, - "branch": null, "canceled_at": null, "cached_matrix_ids": null, "received_at": null, @@ -88,29 +128,44 @@ "pull_request_id": null, "branch_id": null, "tag_id": null, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null }, { - "id": 80, + "id": 81, "repository_id": null, "number": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", - "config": null, - "commit_id": 219, + "log": "", + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": 9, "request_id": null, "state": null, "duration": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "event_type": null, "previous_state": null, "pull_request_title": null, "pull_request_number": null, - "branch": null, "canceled_at": null, "cached_matrix_ids": null, "received_at": null, @@ -118,29 +173,44 @@ "pull_request_id": null, "branch_id": null, "tag_id": null, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null }, { - "id": 83, + "id": 84, "repository_id": null, "number": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", - "config": null, + "log": "", + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, "commit_id": null, "request_id": 17, "state": null, "duration": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "event_type": null, "previous_state": null, "pull_request_title": null, "pull_request_number": null, - "branch": null, "canceled_at": null, "cached_matrix_ids": null, "received_at": null, @@ -148,8 +218,13 @@ "pull_request_id": null, "branch_id": null, "tag_id": null, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/build_85-140.json b/spec/support/expected_files/remove_repo_with_dependencies/build_86-142.json similarity index 53% rename from spec/support/expected_files/remove_repo_with_dependencies/build_85-140.json rename to spec/support/expected_files/remove_repo_with_dependencies/build_86-142.json index 53302bf..8f5cb1a 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/build_85-140.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/build_86-142.json @@ -2,25 +2,35 @@ "table_name": "builds", "data": [ { - "id": 85, + "id": 86, "repository_id": null, "number": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", - "config": null, + "log": "", + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, "commit_id": null, "request_id": 17, "state": null, "duration": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "event_type": null, "previous_state": null, "pull_request_title": null, "pull_request_number": null, - "branch": null, "canceled_at": null, "cached_matrix_ids": null, "received_at": null, @@ -28,29 +38,44 @@ "pull_request_id": null, "branch_id": null, "tag_id": null, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null }, { - "id": 88, + "id": 89, "repository_id": null, "number": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", - "config": null, + "log": "", + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, "commit_id": null, "request_id": null, "state": null, "duration": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "event_type": null, "previous_state": null, "pull_request_title": null, "pull_request_number": null, - "branch": null, "canceled_at": null, "cached_matrix_ids": null, "received_at": null, @@ -58,29 +83,44 @@ "pull_request_id": 3, "branch_id": null, "tag_id": null, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null }, { - "id": 137, + "id": 139, "repository_id": null, "number": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", - "config": null, + "log": "", + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, "commit_id": null, "request_id": null, "state": null, "duration": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "event_type": null, "previous_state": null, "pull_request_title": null, "pull_request_number": null, - "branch": null, "canceled_at": null, "cached_matrix_ids": null, "received_at": null, @@ -88,29 +128,44 @@ "pull_request_id": 3, "branch_id": null, "tag_id": null, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null }, { - "id": 138, + "id": 140, "repository_id": null, "number": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", - "config": null, + "log": "", + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, "commit_id": null, "request_id": 29, "state": null, "duration": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "event_type": null, "previous_state": null, "pull_request_title": null, "pull_request_number": null, - "branch": null, "canceled_at": null, "cached_matrix_ids": null, "received_at": null, @@ -118,29 +173,44 @@ "pull_request_id": null, "branch_id": null, "tag_id": null, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null }, { - "id": 140, + "id": 142, "repository_id": null, "number": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", - "config": null, + "log": "", + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, "commit_id": null, "request_id": 29, "state": null, "duration": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "event_type": null, "previous_state": null, "pull_request_title": null, "pull_request_number": null, - "branch": null, "canceled_at": null, "cached_matrix_ids": null, "received_at": null, @@ -148,8 +218,13 @@ "pull_request_id": null, "branch_id": null, "tag_id": null, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/build_config_1-2.json b/spec/support/expected_files/remove_repo_with_dependencies/build_config_1-2.json new file mode 100644 index 0000000..d314a1a --- /dev/null +++ b/spec/support/expected_files/remove_repo_with_dependencies/build_config_1-2.json @@ -0,0 +1,21 @@ +{ + "table_name": "build_configs", + "data": [ + { + "id": 1, + "repository_id": 1, + "key": "some_test_key", + "org_id": null, + "com_id": null, + "config": null + }, + { + "id": 2, + "repository_id": 1, + "key": "some_test_key", + "org_id": null, + "com_id": null, + "config": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/commit_228-228.json b/spec/support/expected_files/remove_repo_with_dependencies/commit_18-18.json similarity index 68% rename from spec/support/expected_files/remove_repo_with_dependencies/commit_228-228.json rename to spec/support/expected_files/remove_repo_with_dependencies/commit_18-18.json index 5361dc6..6a4828c 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/commit_228-228.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/commit_18-18.json @@ -2,7 +2,7 @@ "table_name": "commits", "data": [ { - "id": 228, + "id": 18, "repository_id": null, "commit": null, "ref": null, @@ -14,10 +14,12 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", "branch_id": null, - "tag_id": 33 + "tag_id": 33, + "org_id": null, + "com_id": null } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/commit_217-227.json b/spec/support/expected_files/remove_repo_with_dependencies/commit_7-17.json similarity index 63% rename from spec/support/expected_files/remove_repo_with_dependencies/commit_217-227.json rename to spec/support/expected_files/remove_repo_with_dependencies/commit_7-17.json index 0459d3d..9cbb01e 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/commit_217-227.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/commit_7-17.json @@ -2,7 +2,7 @@ "table_name": "commits", "data": [ { - "id": 217, + "id": 7, "repository_id": null, "commit": null, "ref": null, @@ -14,13 +14,15 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", - "branch_id": 86, - "tag_id": null + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "branch_id": 14, + "tag_id": null, + "org_id": null, + "com_id": null }, { - "id": 218, + "id": 8, "repository_id": null, "commit": null, "ref": null, @@ -32,13 +34,15 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", - "branch_id": 86, - "tag_id": null + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "branch_id": 14, + "tag_id": null, + "org_id": null, + "com_id": null }, { - "id": 219, + "id": 9, "repository_id": 1, "commit": null, "ref": null, @@ -50,13 +54,15 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", "branch_id": null, - "tag_id": null + "tag_id": null, + "org_id": null, + "com_id": null }, { - "id": 220, + "id": 10, "repository_id": 1, "commit": null, "ref": null, @@ -68,13 +74,15 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", "branch_id": null, - "tag_id": null + "tag_id": null, + "org_id": null, + "com_id": null }, { - "id": 227, + "id": 17, "repository_id": null, "commit": null, "ref": null, @@ -86,10 +94,12 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", "branch_id": null, - "tag_id": 33 + "tag_id": 33, + "org_id": null, + "com_id": null } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/cron_2-2.json b/spec/support/expected_files/remove_repo_with_dependencies/cron_2-2.json new file mode 100644 index 0000000..59ee14a --- /dev/null +++ b/spec/support/expected_files/remove_repo_with_dependencies/cron_2-2.json @@ -0,0 +1,18 @@ +{ + "table_name": "crons", + "data": [ + { + "id": 2, + "branch_id": 14, + "interval": "test", + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "next_run": null, + "last_run": null, + "dont_run_if_recent_build_exists": false, + "org_id": null, + "com_id": null, + "active": true + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/cron_3-4.json b/spec/support/expected_files/remove_repo_with_dependencies/cron_3-4.json deleted file mode 100644 index cd9d56d..0000000 --- a/spec/support/expected_files/remove_repo_with_dependencies/cron_3-4.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "table_name": "crons", - "data": [ - { - "id": 3, - "branch_id": 86, - "interval": "test", - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", - "next_run": null, - "last_run": null, - "dont_run_if_recent_build_exists": false - }, - { - "id": 4, - "branch_id": 86, - "interval": "test", - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", - "next_run": null, - "last_run": null, - "dont_run_if_recent_build_exists": false - } - ] -} \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/deleted_build_17-21.json b/spec/support/expected_files/remove_repo_with_dependencies/deleted_build_17-21.json new file mode 100644 index 0000000..ba3aaad --- /dev/null +++ b/spec/support/expected_files/remove_repo_with_dependencies/deleted_build_17-21.json @@ -0,0 +1,230 @@ +{ + "table_name": "deleted_builds", + "data": [ + { + "id": 17, + "repository_id": null, + "number": null, + "started_at": null, + "finished_at": null, + "log": null, + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": null, + "request_id": 11, + "state": null, + "duration": null, + "owner_type": null, + "owner_id": null, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null + }, + { + "id": 18, + "repository_id": null, + "number": null, + "started_at": null, + "finished_at": null, + "log": null, + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": null, + "request_id": 11, + "state": null, + "duration": null, + "owner_type": null, + "owner_id": null, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null + }, + { + "id": 19, + "repository_id": null, + "number": null, + "started_at": null, + "finished_at": null, + "log": null, + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": null, + "request_id": null, + "state": null, + "duration": null, + "owner_type": null, + "owner_id": null, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": null, + "branch_id": 14, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null + }, + { + "id": 20, + "repository_id": null, + "number": null, + "started_at": null, + "finished_at": null, + "log": null, + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": null, + "request_id": null, + "state": null, + "duration": null, + "owner_type": null, + "owner_id": null, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": null, + "branch_id": 14, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null + }, + { + "id": 21, + "repository_id": null, + "number": null, + "started_at": null, + "finished_at": null, + "log": null, + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": null, + "request_id": 13, + "state": null, + "duration": null, + "owner_type": null, + "owner_id": null, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/deleted_build_22-26.json b/spec/support/expected_files/remove_repo_with_dependencies/deleted_build_22-26.json new file mode 100644 index 0000000..cd7c12b --- /dev/null +++ b/spec/support/expected_files/remove_repo_with_dependencies/deleted_build_22-26.json @@ -0,0 +1,230 @@ +{ + "table_name": "deleted_builds", + "data": [ + { + "id": 22, + "repository_id": null, + "number": null, + "started_at": null, + "finished_at": null, + "log": null, + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": null, + "request_id": 13, + "state": null, + "duration": null, + "owner_type": null, + "owner_id": null, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null + }, + { + "id": 23, + "repository_id": null, + "number": null, + "started_at": null, + "finished_at": null, + "log": null, + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": 7, + "request_id": null, + "state": null, + "duration": null, + "owner_type": null, + "owner_id": null, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null + }, + { + "id": 24, + "repository_id": null, + "number": null, + "started_at": null, + "finished_at": null, + "log": null, + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": 7, + "request_id": null, + "state": null, + "duration": null, + "owner_type": null, + "owner_id": null, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null + }, + { + "id": 25, + "repository_id": null, + "number": null, + "started_at": null, + "finished_at": null, + "log": null, + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": null, + "request_id": 15, + "state": null, + "duration": null, + "owner_type": null, + "owner_id": null, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null + }, + { + "id": 26, + "repository_id": null, + "number": null, + "started_at": null, + "finished_at": null, + "log": null, + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": null, + "request_id": 15, + "state": null, + "duration": null, + "owner_type": null, + "owner_id": null, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/deleted_build_27-47.json b/spec/support/expected_files/remove_repo_with_dependencies/deleted_build_27-47.json new file mode 100644 index 0000000..2a4f953 --- /dev/null +++ b/spec/support/expected_files/remove_repo_with_dependencies/deleted_build_27-47.json @@ -0,0 +1,230 @@ +{ + "table_name": "deleted_builds", + "data": [ + { + "id": 27, + "repository_id": null, + "number": null, + "started_at": null, + "finished_at": null, + "log": null, + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": null, + "request_id": 17, + "state": null, + "duration": null, + "owner_type": null, + "owner_id": null, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null + }, + { + "id": 28, + "repository_id": null, + "number": null, + "started_at": null, + "finished_at": null, + "log": null, + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": null, + "request_id": 17, + "state": null, + "duration": null, + "owner_type": null, + "owner_id": null, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null + }, + { + "id": 29, + "repository_id": null, + "number": null, + "started_at": null, + "finished_at": null, + "log": null, + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": 9, + "request_id": null, + "state": null, + "duration": null, + "owner_type": null, + "owner_id": null, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null + }, + { + "id": 30, + "repository_id": null, + "number": null, + "started_at": null, + "finished_at": null, + "log": null, + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": 9, + "request_id": null, + "state": null, + "duration": null, + "owner_type": null, + "owner_id": null, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null + }, + { + "id": 47, + "repository_id": null, + "number": null, + "started_at": null, + "finished_at": null, + "log": null, + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": null, + "request_id": 29, + "state": null, + "duration": null, + "owner_type": null, + "owner_id": null, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/deleted_build_48-52.json b/spec/support/expected_files/remove_repo_with_dependencies/deleted_build_48-52.json new file mode 100644 index 0000000..5d510c9 --- /dev/null +++ b/spec/support/expected_files/remove_repo_with_dependencies/deleted_build_48-52.json @@ -0,0 +1,230 @@ +{ + "table_name": "deleted_builds", + "data": [ + { + "id": 48, + "repository_id": null, + "number": null, + "started_at": null, + "finished_at": null, + "log": null, + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": null, + "request_id": 29, + "state": null, + "duration": null, + "owner_type": null, + "owner_id": null, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null + }, + { + "id": 49, + "repository_id": null, + "number": null, + "started_at": null, + "finished_at": null, + "log": null, + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": null, + "request_id": null, + "state": null, + "duration": null, + "owner_type": null, + "owner_id": null, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": 3, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null + }, + { + "id": 50, + "repository_id": null, + "number": null, + "started_at": null, + "finished_at": null, + "log": null, + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": null, + "request_id": null, + "state": null, + "duration": null, + "owner_type": null, + "owner_id": null, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": 3, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null + }, + { + "id": 51, + "repository_id": null, + "number": null, + "started_at": null, + "finished_at": null, + "log": null, + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": null, + "request_id": 31, + "state": null, + "duration": null, + "owner_type": null, + "owner_id": null, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null + }, + { + "id": 52, + "repository_id": null, + "number": null, + "started_at": null, + "finished_at": null, + "log": null, + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": null, + "request_id": 31, + "state": null, + "duration": null, + "owner_type": null, + "owner_id": null, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/deleted_build_53-57.json b/spec/support/expected_files/remove_repo_with_dependencies/deleted_build_53-57.json new file mode 100644 index 0000000..12bafa1 --- /dev/null +++ b/spec/support/expected_files/remove_repo_with_dependencies/deleted_build_53-57.json @@ -0,0 +1,230 @@ +{ + "table_name": "deleted_builds", + "data": [ + { + "id": 53, + "repository_id": null, + "number": null, + "started_at": null, + "finished_at": null, + "log": null, + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": 17, + "request_id": null, + "state": null, + "duration": null, + "owner_type": null, + "owner_id": null, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null + }, + { + "id": 54, + "repository_id": null, + "number": null, + "started_at": null, + "finished_at": null, + "log": null, + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": 17, + "request_id": null, + "state": null, + "duration": null, + "owner_type": null, + "owner_id": null, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null + }, + { + "id": 55, + "repository_id": null, + "number": null, + "started_at": null, + "finished_at": null, + "log": null, + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": null, + "request_id": 33, + "state": null, + "duration": null, + "owner_type": null, + "owner_id": null, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null + }, + { + "id": 56, + "repository_id": null, + "number": null, + "started_at": null, + "finished_at": null, + "log": null, + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": null, + "request_id": 33, + "state": null, + "duration": null, + "owner_type": null, + "owner_id": null, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null + }, + { + "id": 57, + "repository_id": null, + "number": null, + "started_at": null, + "finished_at": null, + "log": null, + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": null, + "request_id": null, + "state": null, + "duration": null, + "owner_type": null, + "owner_id": null, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": 33, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/deleted_build_58-62.json b/spec/support/expected_files/remove_repo_with_dependencies/deleted_build_58-62.json new file mode 100644 index 0000000..ab4a76d --- /dev/null +++ b/spec/support/expected_files/remove_repo_with_dependencies/deleted_build_58-62.json @@ -0,0 +1,230 @@ +{ + "table_name": "deleted_builds", + "data": [ + { + "id": 58, + "repository_id": null, + "number": null, + "started_at": null, + "finished_at": null, + "log": null, + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": null, + "request_id": null, + "state": null, + "duration": null, + "owner_type": null, + "owner_id": null, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": 33, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null + }, + { + "id": 59, + "repository_id": null, + "number": null, + "started_at": null, + "finished_at": null, + "log": null, + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2022-03-30 23:31:18 UTC", + "updated_at": "2022-03-30 23:31:18 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": null, + "request_id": null, + "state": null, + "duration": null, + "owner_type": null, + "owner_id": null, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": 1, + "restarted_at": null, + "unique_number": null + }, + { + "id": 60, + "repository_id": null, + "number": null, + "started_at": null, + "finished_at": null, + "log": null, + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2022-03-30 23:31:18 UTC", + "updated_at": "2022-03-30 23:31:18 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": null, + "request_id": null, + "state": null, + "duration": null, + "owner_type": null, + "owner_id": null, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": 1, + "restarted_at": null, + "unique_number": null + }, + { + "id": 61, + "repository_id": null, + "number": null, + "started_at": null, + "finished_at": null, + "log": null, + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2022-03-30 23:31:18 UTC", + "updated_at": "2022-03-30 23:31:18 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": null, + "request_id": 35, + "state": null, + "duration": null, + "owner_type": null, + "owner_id": null, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null + }, + { + "id": 62, + "repository_id": null, + "number": null, + "started_at": null, + "finished_at": null, + "log": null, + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2022-03-30 23:31:18 UTC", + "updated_at": "2022-03-30 23:31:18 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": null, + "request_id": 35, + "state": null, + "duration": null, + "owner_type": null, + "owner_id": null, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/deleted_build_63-66.json b/spec/support/expected_files/remove_repo_with_dependencies/deleted_build_63-66.json new file mode 100644 index 0000000..c90d220 --- /dev/null +++ b/spec/support/expected_files/remove_repo_with_dependencies/deleted_build_63-66.json @@ -0,0 +1,185 @@ +{ + "table_name": "deleted_builds", + "data": [ + { + "id": 63, + "repository_id": null, + "number": null, + "started_at": null, + "finished_at": null, + "log": null, + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2022-03-30 23:31:19 UTC", + "updated_at": "2022-03-30 23:31:19 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": null, + "request_id": 37, + "state": null, + "duration": null, + "owner_type": null, + "owner_id": null, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null + }, + { + "id": 64, + "repository_id": null, + "number": null, + "started_at": null, + "finished_at": null, + "log": null, + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2022-03-30 23:31:19 UTC", + "updated_at": "2022-03-30 23:31:19 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": null, + "request_id": 37, + "state": null, + "duration": null, + "owner_type": null, + "owner_id": null, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null + }, + { + "id": 65, + "repository_id": 1, + "number": null, + "started_at": null, + "finished_at": null, + "log": null, + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": null, + "request_id": null, + "state": null, + "duration": null, + "owner_type": null, + "owner_id": null, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null + }, + { + "id": 66, + "repository_id": 1, + "number": null, + "started_at": null, + "finished_at": null, + "log": null, + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": null, + "request_id": null, + "state": null, + "duration": null, + "owner_type": null, + "owner_id": null, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/deleted_build_config_1-2.json b/spec/support/expected_files/remove_repo_with_dependencies/deleted_build_config_1-2.json new file mode 100644 index 0000000..6e20cc6 --- /dev/null +++ b/spec/support/expected_files/remove_repo_with_dependencies/deleted_build_config_1-2.json @@ -0,0 +1,21 @@ +{ + "table_name": "deleted_build_configs", + "data": [ + { + "id": 1, + "repository_id": 1, + "key": "some_test_key", + "org_id": null, + "com_id": null, + "config": null + }, + { + "id": 2, + "repository_id": 1, + "key": "some_test_key", + "org_id": null, + "com_id": null, + "config": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/deleted_commit_14-14.json b/spec/support/expected_files/remove_repo_with_dependencies/deleted_commit_14-14.json new file mode 100644 index 0000000..3714df3 --- /dev/null +++ b/spec/support/expected_files/remove_repo_with_dependencies/deleted_commit_14-14.json @@ -0,0 +1,25 @@ +{ + "table_name": "deleted_commits", + "data": [ + { + "id": 14, + "repository_id": 1, + "commit": null, + "ref": null, + "branch": null, + "message": null, + "compare_url": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "branch_id": null, + "tag_id": null, + "org_id": null, + "com_id": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/deleted_commit_5-13.json b/spec/support/expected_files/remove_repo_with_dependencies/deleted_commit_5-13.json new file mode 100644 index 0000000..6f26149 --- /dev/null +++ b/spec/support/expected_files/remove_repo_with_dependencies/deleted_commit_5-13.json @@ -0,0 +1,105 @@ +{ + "table_name": "deleted_commits", + "data": [ + { + "id": 5, + "repository_id": null, + "commit": null, + "ref": null, + "branch": null, + "message": null, + "compare_url": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "branch_id": 14, + "tag_id": null, + "org_id": null, + "com_id": null + }, + { + "id": 6, + "repository_id": null, + "commit": null, + "ref": null, + "branch": null, + "message": null, + "compare_url": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "branch_id": 14, + "tag_id": null, + "org_id": null, + "com_id": null + }, + { + "id": 11, + "repository_id": null, + "commit": null, + "ref": null, + "branch": null, + "message": null, + "compare_url": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "branch_id": null, + "tag_id": 33, + "org_id": null, + "com_id": null + }, + { + "id": 12, + "repository_id": null, + "commit": null, + "ref": null, + "branch": null, + "message": null, + "compare_url": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "branch_id": null, + "tag_id": 33, + "org_id": null, + "com_id": null + }, + { + "id": 13, + "repository_id": 1, + "commit": null, + "ref": null, + "branch": null, + "message": null, + "compare_url": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "branch_id": null, + "tag_id": null, + "org_id": null, + "com_id": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/deleted_job_15-19.json b/spec/support/expected_files/remove_repo_with_dependencies/deleted_job_15-19.json new file mode 100644 index 0000000..51b24a4 --- /dev/null +++ b/spec/support/expected_files/remove_repo_with_dependencies/deleted_job_15-19.json @@ -0,0 +1,175 @@ +{ + "table_name": "deleted_jobs", + "data": [ + { + "id": 15, + "repository_id": null, + "commit_id": null, + "source_type": "Build", + "source_id": 1, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": null, + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "tags": null, + "allow_failure": null, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + }, + { + "id": 16, + "repository_id": null, + "commit_id": null, + "source_type": "Request", + "source_id": 11, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": null, + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "tags": null, + "allow_failure": null, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + }, + { + "id": 17, + "repository_id": null, + "commit_id": null, + "source_type": "Request", + "source_id": 11, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": null, + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "tags": null, + "allow_failure": null, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + }, + { + "id": 18, + "repository_id": null, + "commit_id": null, + "source_type": "Branch", + "source_id": 14, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": null, + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "tags": null, + "allow_failure": null, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + }, + { + "id": 19, + "repository_id": null, + "commit_id": null, + "source_type": "Branch", + "source_id": 14, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": null, + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "tags": null, + "allow_failure": null, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/deleted_job_20-24.json b/spec/support/expected_files/remove_repo_with_dependencies/deleted_job_20-24.json new file mode 100644 index 0000000..054eb0c --- /dev/null +++ b/spec/support/expected_files/remove_repo_with_dependencies/deleted_job_20-24.json @@ -0,0 +1,175 @@ +{ + "table_name": "deleted_jobs", + "data": [ + { + "id": 20, + "repository_id": null, + "commit_id": null, + "source_type": "Request", + "source_id": 13, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": null, + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "tags": null, + "allow_failure": null, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + }, + { + "id": 21, + "repository_id": null, + "commit_id": null, + "source_type": "Request", + "source_id": 13, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": null, + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "tags": null, + "allow_failure": null, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + }, + { + "id": 22, + "repository_id": null, + "commit_id": 7, + "source_type": null, + "source_id": null, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": null, + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "tags": null, + "allow_failure": null, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + }, + { + "id": 23, + "repository_id": null, + "commit_id": 7, + "source_type": null, + "source_id": null, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": null, + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "tags": null, + "allow_failure": null, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + }, + { + "id": 24, + "repository_id": null, + "commit_id": null, + "source_type": "Request", + "source_id": 15, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": null, + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "tags": null, + "allow_failure": null, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/deleted_job_25-29.json b/spec/support/expected_files/remove_repo_with_dependencies/deleted_job_25-29.json new file mode 100644 index 0000000..294120d --- /dev/null +++ b/spec/support/expected_files/remove_repo_with_dependencies/deleted_job_25-29.json @@ -0,0 +1,175 @@ +{ + "table_name": "deleted_jobs", + "data": [ + { + "id": 25, + "repository_id": null, + "commit_id": null, + "source_type": "Request", + "source_id": 15, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": null, + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "tags": null, + "allow_failure": null, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + }, + { + "id": 26, + "repository_id": null, + "commit_id": null, + "source_type": "Request", + "source_id": 17, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": null, + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "tags": null, + "allow_failure": null, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + }, + { + "id": 27, + "repository_id": null, + "commit_id": null, + "source_type": "Request", + "source_id": 17, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": null, + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "tags": null, + "allow_failure": null, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + }, + { + "id": 28, + "repository_id": null, + "commit_id": 9, + "source_type": null, + "source_id": null, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": null, + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "tags": null, + "allow_failure": null, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + }, + { + "id": 29, + "repository_id": null, + "commit_id": 9, + "source_type": null, + "source_id": null, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": null, + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "tags": null, + "allow_failure": null, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/deleted_job_44-48.json b/spec/support/expected_files/remove_repo_with_dependencies/deleted_job_44-48.json new file mode 100644 index 0000000..96fc69e --- /dev/null +++ b/spec/support/expected_files/remove_repo_with_dependencies/deleted_job_44-48.json @@ -0,0 +1,175 @@ +{ + "table_name": "deleted_jobs", + "data": [ + { + "id": 44, + "repository_id": null, + "commit_id": null, + "source_type": "Build", + "source_id": 89, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": null, + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "tags": null, + "allow_failure": null, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + }, + { + "id": 45, + "repository_id": null, + "commit_id": null, + "source_type": "Request", + "source_id": 29, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": null, + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "tags": null, + "allow_failure": null, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + }, + { + "id": 46, + "repository_id": null, + "commit_id": null, + "source_type": "Request", + "source_id": 29, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": null, + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "tags": null, + "allow_failure": null, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + }, + { + "id": 47, + "repository_id": null, + "commit_id": null, + "source_type": "Request", + "source_id": 31, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": null, + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "tags": null, + "allow_failure": null, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + }, + { + "id": 48, + "repository_id": null, + "commit_id": null, + "source_type": "Request", + "source_id": 31, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": null, + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "tags": null, + "allow_failure": null, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/deleted_job_49-53.json b/spec/support/expected_files/remove_repo_with_dependencies/deleted_job_49-53.json new file mode 100644 index 0000000..c41db80 --- /dev/null +++ b/spec/support/expected_files/remove_repo_with_dependencies/deleted_job_49-53.json @@ -0,0 +1,175 @@ +{ + "table_name": "deleted_jobs", + "data": [ + { + "id": 49, + "repository_id": null, + "commit_id": 17, + "source_type": null, + "source_id": null, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": null, + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "tags": null, + "allow_failure": null, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + }, + { + "id": 50, + "repository_id": null, + "commit_id": 17, + "source_type": null, + "source_id": null, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": null, + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "tags": null, + "allow_failure": null, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + }, + { + "id": 51, + "repository_id": null, + "commit_id": null, + "source_type": "Request", + "source_id": 33, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": null, + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "tags": null, + "allow_failure": null, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + }, + { + "id": 52, + "repository_id": null, + "commit_id": null, + "source_type": "Request", + "source_id": 33, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": null, + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "tags": null, + "allow_failure": null, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + }, + { + "id": 53, + "repository_id": null, + "commit_id": null, + "source_type": "Request", + "source_id": 35, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": null, + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2022-03-30 23:31:18 UTC", + "updated_at": "2022-03-30 23:31:18 UTC", + "tags": null, + "allow_failure": null, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/deleted_job_54-58.json b/spec/support/expected_files/remove_repo_with_dependencies/deleted_job_54-58.json new file mode 100644 index 0000000..5da7e66 --- /dev/null +++ b/spec/support/expected_files/remove_repo_with_dependencies/deleted_job_54-58.json @@ -0,0 +1,175 @@ +{ + "table_name": "deleted_jobs", + "data": [ + { + "id": 54, + "repository_id": null, + "commit_id": null, + "source_type": "Request", + "source_id": 35, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": null, + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2022-03-30 23:31:18 UTC", + "updated_at": "2022-03-30 23:31:18 UTC", + "tags": null, + "allow_failure": null, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + }, + { + "id": 55, + "repository_id": null, + "commit_id": null, + "source_type": null, + "source_id": null, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": null, + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2022-03-30 23:31:19 UTC", + "updated_at": "2022-03-30 23:31:19 UTC", + "tags": null, + "allow_failure": null, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": 1, + "restarted_at": null, + "priority": null + }, + { + "id": 56, + "repository_id": null, + "commit_id": null, + "source_type": null, + "source_id": null, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": null, + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2022-03-30 23:31:19 UTC", + "updated_at": "2022-03-30 23:31:19 UTC", + "tags": null, + "allow_failure": null, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": 1, + "restarted_at": null, + "priority": null + }, + { + "id": 57, + "repository_id": null, + "commit_id": null, + "source_type": "Request", + "source_id": 37, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": null, + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2022-03-30 23:31:19 UTC", + "updated_at": "2022-03-30 23:31:19 UTC", + "tags": null, + "allow_failure": null, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + }, + { + "id": 58, + "repository_id": null, + "commit_id": null, + "source_type": "Request", + "source_id": 37, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": null, + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2022-03-30 23:31:19 UTC", + "updated_at": "2022-03-30 23:31:19 UTC", + "tags": null, + "allow_failure": null, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/deleted_job_59-60.json b/spec/support/expected_files/remove_repo_with_dependencies/deleted_job_59-60.json new file mode 100644 index 0000000..322ed33 --- /dev/null +++ b/spec/support/expected_files/remove_repo_with_dependencies/deleted_job_59-60.json @@ -0,0 +1,73 @@ +{ + "table_name": "deleted_jobs", + "data": [ + { + "id": 59, + "repository_id": 1, + "commit_id": null, + "source_type": null, + "source_id": null, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": null, + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "tags": null, + "allow_failure": null, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + }, + { + "id": 60, + "repository_id": 1, + "commit_id": null, + "source_type": null, + "source_id": null, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": null, + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "tags": null, + "allow_failure": null, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/deleted_job_config_1-2.json b/spec/support/expected_files/remove_repo_with_dependencies/deleted_job_config_1-2.json new file mode 100644 index 0000000..49f6d54 --- /dev/null +++ b/spec/support/expected_files/remove_repo_with_dependencies/deleted_job_config_1-2.json @@ -0,0 +1,21 @@ +{ + "table_name": "deleted_job_configs", + "data": [ + { + "id": 1, + "repository_id": 1, + "key": "some_test_key", + "org_id": null, + "com_id": null, + "config": null + }, + { + "id": 2, + "repository_id": 1, + "key": "some_test_key", + "org_id": null, + "com_id": null, + "config": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/deleted_pull_request_1-2.json b/spec/support/expected_files/remove_repo_with_dependencies/deleted_pull_request_1-2.json new file mode 100644 index 0000000..e2e4fd7 --- /dev/null +++ b/spec/support/expected_files/remove_repo_with_dependencies/deleted_pull_request_1-2.json @@ -0,0 +1,43 @@ +{ + "table_name": "deleted_pull_requests", + "data": [ + { + "id": 1, + "repository_id": 1, + "number": null, + "title": null, + "state": null, + "head_repo_github_id": null, + "head_repo_slug": null, + "head_ref": null, + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "org_id": null, + "com_id": null, + "mergeable_state": null, + "head_repo_vcs_id": null, + "base_repo_slug": null, + "base_repo_vcs_id": null, + "base_ref": null + }, + { + "id": 2, + "repository_id": 1, + "number": null, + "title": null, + "state": null, + "head_repo_github_id": null, + "head_repo_slug": null, + "head_ref": null, + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "org_id": null, + "com_id": null, + "mergeable_state": null, + "head_repo_vcs_id": null, + "base_repo_slug": null, + "base_repo_vcs_id": null, + "base_ref": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/deleted_request_14-26.json b/spec/support/expected_files/remove_repo_with_dependencies/deleted_request_14-26.json new file mode 100644 index 0000000..d6c0ae1 --- /dev/null +++ b/spec/support/expected_files/remove_repo_with_dependencies/deleted_request_14-26.json @@ -0,0 +1,165 @@ +{ + "table_name": "deleted_requests", + "data": [ + { + "id": 14, + "repository_id": null, + "commit_id": 9, + "state": null, + "source": null, + "token": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "event_type": null, + "comments_url": null, + "base_commit": null, + "head_commit": null, + "owner_type": null, + "owner_id": null, + "result": null, + "message": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "yaml_config_id": null, + "github_guid": null, + "pull_request_mergeable": null + }, + { + "id": 23, + "repository_id": null, + "commit_id": null, + "state": null, + "source": null, + "token": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "event_type": null, + "comments_url": null, + "base_commit": null, + "head_commit": null, + "owner_type": null, + "owner_id": null, + "result": null, + "message": null, + "private": null, + "pull_request_id": 3, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "yaml_config_id": null, + "github_guid": null, + "pull_request_mergeable": null + }, + { + "id": 24, + "repository_id": null, + "commit_id": null, + "state": null, + "source": null, + "token": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "event_type": null, + "comments_url": null, + "base_commit": null, + "head_commit": null, + "owner_type": null, + "owner_id": null, + "result": null, + "message": null, + "private": null, + "pull_request_id": 3, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "yaml_config_id": null, + "github_guid": null, + "pull_request_mergeable": null + }, + { + "id": 25, + "repository_id": null, + "commit_id": 17, + "state": null, + "source": null, + "token": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "event_type": null, + "comments_url": null, + "base_commit": null, + "head_commit": null, + "owner_type": null, + "owner_id": null, + "result": null, + "message": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "yaml_config_id": null, + "github_guid": null, + "pull_request_mergeable": null + }, + { + "id": 26, + "repository_id": null, + "commit_id": 17, + "state": null, + "source": null, + "token": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "event_type": null, + "comments_url": null, + "base_commit": null, + "head_commit": null, + "owner_type": null, + "owner_id": null, + "result": null, + "message": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "yaml_config_id": null, + "github_guid": null, + "pull_request_mergeable": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/deleted_request_27-31.json b/spec/support/expected_files/remove_repo_with_dependencies/deleted_request_27-31.json new file mode 100644 index 0000000..c1057c9 --- /dev/null +++ b/spec/support/expected_files/remove_repo_with_dependencies/deleted_request_27-31.json @@ -0,0 +1,165 @@ +{ + "table_name": "deleted_requests", + "data": [ + { + "id": 27, + "repository_id": null, + "commit_id": null, + "state": null, + "source": null, + "token": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "event_type": null, + "comments_url": null, + "base_commit": null, + "head_commit": null, + "owner_type": null, + "owner_id": null, + "result": null, + "message": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": 33, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "yaml_config_id": null, + "github_guid": null, + "pull_request_mergeable": null + }, + { + "id": 28, + "repository_id": null, + "commit_id": null, + "state": null, + "source": null, + "token": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "event_type": null, + "comments_url": null, + "base_commit": null, + "head_commit": null, + "owner_type": null, + "owner_id": null, + "result": null, + "message": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": 33, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "yaml_config_id": null, + "github_guid": null, + "pull_request_mergeable": null + }, + { + "id": 29, + "repository_id": null, + "commit_id": null, + "state": null, + "source": null, + "token": null, + "started_at": null, + "finished_at": null, + "created_at": "2022-03-30 23:31:19 UTC", + "updated_at": "2022-03-30 23:31:19 UTC", + "event_type": null, + "comments_url": null, + "base_commit": null, + "head_commit": null, + "owner_type": null, + "owner_id": null, + "result": null, + "message": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": 1, + "yaml_config_id": null, + "github_guid": null, + "pull_request_mergeable": null + }, + { + "id": 30, + "repository_id": null, + "commit_id": null, + "state": null, + "source": null, + "token": null, + "started_at": null, + "finished_at": null, + "created_at": "2022-03-30 23:31:19 UTC", + "updated_at": "2022-03-30 23:31:19 UTC", + "event_type": null, + "comments_url": null, + "base_commit": null, + "head_commit": null, + "owner_type": null, + "owner_id": null, + "result": null, + "message": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": 1, + "yaml_config_id": null, + "github_guid": null, + "pull_request_mergeable": null + }, + { + "id": 31, + "repository_id": null, + "commit_id": null, + "state": null, + "source": null, + "token": null, + "started_at": null, + "finished_at": null, + "created_at": "2022-03-30 23:31:19 UTC", + "updated_at": "2022-03-30 23:31:19 UTC", + "event_type": null, + "comments_url": null, + "base_commit": null, + "head_commit": null, + "owner_type": null, + "owner_id": null, + "result": null, + "message": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "yaml_config_id": 1, + "github_guid": null, + "pull_request_mergeable": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/deleted_request_32-34.json b/spec/support/expected_files/remove_repo_with_dependencies/deleted_request_32-34.json new file mode 100644 index 0000000..199d24e --- /dev/null +++ b/spec/support/expected_files/remove_repo_with_dependencies/deleted_request_32-34.json @@ -0,0 +1,101 @@ +{ + "table_name": "deleted_requests", + "data": [ + { + "id": 32, + "repository_id": null, + "commit_id": null, + "state": null, + "source": null, + "token": null, + "started_at": null, + "finished_at": null, + "created_at": "2022-03-30 23:31:19 UTC", + "updated_at": "2022-03-30 23:31:19 UTC", + "event_type": null, + "comments_url": null, + "base_commit": null, + "head_commit": null, + "owner_type": null, + "owner_id": null, + "result": null, + "message": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "yaml_config_id": 1, + "github_guid": null, + "pull_request_mergeable": null + }, + { + "id": 33, + "repository_id": 1, + "commit_id": null, + "state": null, + "source": null, + "token": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "event_type": null, + "comments_url": null, + "base_commit": null, + "head_commit": null, + "owner_type": null, + "owner_id": null, + "result": null, + "message": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "yaml_config_id": null, + "github_guid": null, + "pull_request_mergeable": null + }, + { + "id": 34, + "repository_id": 1, + "commit_id": null, + "state": null, + "source": null, + "token": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "event_type": null, + "comments_url": null, + "base_commit": null, + "head_commit": null, + "owner_type": null, + "owner_id": null, + "result": null, + "message": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "yaml_config_id": null, + "github_guid": null, + "pull_request_mergeable": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/deleted_request_9-13.json b/spec/support/expected_files/remove_repo_with_dependencies/deleted_request_9-13.json new file mode 100644 index 0000000..8f203f4 --- /dev/null +++ b/spec/support/expected_files/remove_repo_with_dependencies/deleted_request_9-13.json @@ -0,0 +1,165 @@ +{ + "table_name": "deleted_requests", + "data": [ + { + "id": 9, + "repository_id": null, + "commit_id": 7, + "state": null, + "source": null, + "token": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "event_type": null, + "comments_url": null, + "base_commit": null, + "head_commit": null, + "owner_type": null, + "owner_id": null, + "result": null, + "message": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "yaml_config_id": null, + "github_guid": null, + "pull_request_mergeable": null + }, + { + "id": 10, + "repository_id": null, + "commit_id": 7, + "state": null, + "source": null, + "token": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "event_type": null, + "comments_url": null, + "base_commit": null, + "head_commit": null, + "owner_type": null, + "owner_id": null, + "result": null, + "message": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "yaml_config_id": null, + "github_guid": null, + "pull_request_mergeable": null + }, + { + "id": 11, + "repository_id": null, + "commit_id": null, + "state": null, + "source": null, + "token": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "event_type": null, + "comments_url": null, + "base_commit": null, + "head_commit": null, + "owner_type": null, + "owner_id": null, + "result": null, + "message": null, + "private": null, + "pull_request_id": null, + "branch_id": 14, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "yaml_config_id": null, + "github_guid": null, + "pull_request_mergeable": null + }, + { + "id": 12, + "repository_id": null, + "commit_id": null, + "state": null, + "source": null, + "token": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "event_type": null, + "comments_url": null, + "base_commit": null, + "head_commit": null, + "owner_type": null, + "owner_id": null, + "result": null, + "message": null, + "private": null, + "pull_request_id": null, + "branch_id": 14, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "yaml_config_id": null, + "github_guid": null, + "pull_request_mergeable": null + }, + { + "id": 13, + "repository_id": null, + "commit_id": 9, + "state": null, + "source": null, + "token": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "event_type": null, + "comments_url": null, + "base_commit": null, + "head_commit": null, + "owner_type": null, + "owner_id": null, + "result": null, + "message": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "yaml_config_id": null, + "github_guid": null, + "pull_request_mergeable": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/deleted_request_config_1-2.json b/spec/support/expected_files/remove_repo_with_dependencies/deleted_request_config_1-2.json new file mode 100644 index 0000000..f441c10 --- /dev/null +++ b/spec/support/expected_files/remove_repo_with_dependencies/deleted_request_config_1-2.json @@ -0,0 +1,21 @@ +{ + "table_name": "deleted_request_configs", + "data": [ + { + "id": 1, + "repository_id": 1, + "key": "some_test_key", + "org_id": null, + "com_id": null, + "config": null + }, + { + "id": 2, + "repository_id": 1, + "key": "some_test_key", + "org_id": null, + "com_id": null, + "config": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/deleted_request_payload_14-26.json b/spec/support/expected_files/remove_repo_with_dependencies/deleted_request_payload_14-26.json new file mode 100644 index 0000000..c86b331 --- /dev/null +++ b/spec/support/expected_files/remove_repo_with_dependencies/deleted_request_payload_14-26.json @@ -0,0 +1,45 @@ +{ + "table_name": "deleted_request_payloads", + "data": [ + { + "id": 14, + "request_id": 15, + "payload": null, + "archived": null, + "created_at": "2021-08-30 23:31:15 UTC", + "org_id": null + }, + { + "id": 15, + "request_id": 17, + "payload": null, + "archived": null, + "created_at": "2021-08-30 23:31:15 UTC", + "org_id": null + }, + { + "id": 16, + "request_id": 17, + "payload": null, + "archived": null, + "created_at": "2021-08-30 23:31:15 UTC", + "org_id": null + }, + { + "id": 25, + "request_id": 29, + "payload": null, + "archived": null, + "created_at": "2021-08-30 23:31:15 UTC", + "org_id": null + }, + { + "id": 26, + "request_id": 29, + "payload": null, + "archived": null, + "created_at": "2021-08-30 23:31:15 UTC", + "org_id": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/deleted_request_payload_27-31.json b/spec/support/expected_files/remove_repo_with_dependencies/deleted_request_payload_27-31.json new file mode 100644 index 0000000..f469acf --- /dev/null +++ b/spec/support/expected_files/remove_repo_with_dependencies/deleted_request_payload_27-31.json @@ -0,0 +1,45 @@ +{ + "table_name": "deleted_request_payloads", + "data": [ + { + "id": 27, + "request_id": 31, + "payload": null, + "archived": null, + "created_at": "2021-08-30 23:31:15 UTC", + "org_id": null + }, + { + "id": 28, + "request_id": 31, + "payload": null, + "archived": null, + "created_at": "2021-08-30 23:31:15 UTC", + "org_id": null + }, + { + "id": 29, + "request_id": 33, + "payload": null, + "archived": null, + "created_at": "2021-08-30 23:31:15 UTC", + "org_id": null + }, + { + "id": 30, + "request_id": 33, + "payload": null, + "archived": null, + "created_at": "2021-08-30 23:31:15 UTC", + "org_id": null + }, + { + "id": 31, + "request_id": 35, + "payload": null, + "archived": null, + "created_at": "2022-03-30 23:31:18 UTC", + "org_id": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/deleted_request_payload_32-34.json b/spec/support/expected_files/remove_repo_with_dependencies/deleted_request_payload_32-34.json new file mode 100644 index 0000000..becf9be --- /dev/null +++ b/spec/support/expected_files/remove_repo_with_dependencies/deleted_request_payload_32-34.json @@ -0,0 +1,29 @@ +{ + "table_name": "deleted_request_payloads", + "data": [ + { + "id": 32, + "request_id": 35, + "payload": null, + "archived": null, + "created_at": "2022-03-30 23:31:18 UTC", + "org_id": null + }, + { + "id": 33, + "request_id": 37, + "payload": null, + "archived": null, + "created_at": "2022-03-30 23:31:19 UTC", + "org_id": null + }, + { + "id": 34, + "request_id": 37, + "payload": null, + "archived": null, + "created_at": "2022-03-30 23:31:19 UTC", + "org_id": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/deleted_request_payload_9-13.json b/spec/support/expected_files/remove_repo_with_dependencies/deleted_request_payload_9-13.json new file mode 100644 index 0000000..f3829b4 --- /dev/null +++ b/spec/support/expected_files/remove_repo_with_dependencies/deleted_request_payload_9-13.json @@ -0,0 +1,45 @@ +{ + "table_name": "deleted_request_payloads", + "data": [ + { + "id": 9, + "request_id": 11, + "payload": null, + "archived": null, + "created_at": "2021-08-30 23:31:15 UTC", + "org_id": null + }, + { + "id": 10, + "request_id": 11, + "payload": null, + "archived": null, + "created_at": "2021-08-30 23:31:15 UTC", + "org_id": null + }, + { + "id": 11, + "request_id": 13, + "payload": null, + "archived": null, + "created_at": "2021-08-30 23:31:15 UTC", + "org_id": null + }, + { + "id": 12, + "request_id": 13, + "payload": null, + "archived": null, + "created_at": "2021-08-30 23:31:15 UTC", + "org_id": null + }, + { + "id": 13, + "request_id": 15, + "payload": null, + "archived": null, + "created_at": "2021-08-30 23:31:15 UTC", + "org_id": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/deleted_request_raw_config_1-2.json b/spec/support/expected_files/remove_repo_with_dependencies/deleted_request_raw_config_1-2.json new file mode 100644 index 0000000..410650c --- /dev/null +++ b/spec/support/expected_files/remove_repo_with_dependencies/deleted_request_raw_config_1-2.json @@ -0,0 +1,19 @@ +{ + "table_name": "deleted_request_raw_configs", + "data": [ + { + "id": 1, + "config": null, + "repository_id": 1, + "key": "some_test_key", + "org_id": null + }, + { + "id": 2, + "config": null, + "repository_id": 1, + "key": "some_test_key", + "org_id": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/deleted_request_raw_configuration_14-26.json b/spec/support/expected_files/remove_repo_with_dependencies/deleted_request_raw_configuration_14-26.json new file mode 100644 index 0000000..564a58f --- /dev/null +++ b/spec/support/expected_files/remove_repo_with_dependencies/deleted_request_raw_configuration_14-26.json @@ -0,0 +1,45 @@ +{ + "table_name": "deleted_request_raw_configurations", + "data": [ + { + "id": 14, + "request_id": 15, + "request_raw_config_id": null, + "source": null, + "org_id": null, + "merge_mode": null + }, + { + "id": 15, + "request_id": 17, + "request_raw_config_id": null, + "source": null, + "org_id": null, + "merge_mode": null + }, + { + "id": 16, + "request_id": 17, + "request_raw_config_id": null, + "source": null, + "org_id": null, + "merge_mode": null + }, + { + "id": 25, + "request_id": 29, + "request_raw_config_id": null, + "source": null, + "org_id": null, + "merge_mode": null + }, + { + "id": 26, + "request_id": 29, + "request_raw_config_id": null, + "source": null, + "org_id": null, + "merge_mode": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/deleted_request_raw_configuration_27-31.json b/spec/support/expected_files/remove_repo_with_dependencies/deleted_request_raw_configuration_27-31.json new file mode 100644 index 0000000..8a2c909 --- /dev/null +++ b/spec/support/expected_files/remove_repo_with_dependencies/deleted_request_raw_configuration_27-31.json @@ -0,0 +1,45 @@ +{ + "table_name": "deleted_request_raw_configurations", + "data": [ + { + "id": 27, + "request_id": 31, + "request_raw_config_id": null, + "source": null, + "org_id": null, + "merge_mode": null + }, + { + "id": 28, + "request_id": 31, + "request_raw_config_id": null, + "source": null, + "org_id": null, + "merge_mode": null + }, + { + "id": 29, + "request_id": 33, + "request_raw_config_id": null, + "source": null, + "org_id": null, + "merge_mode": null + }, + { + "id": 30, + "request_id": 33, + "request_raw_config_id": null, + "source": null, + "org_id": null, + "merge_mode": null + }, + { + "id": 31, + "request_id": 35, + "request_raw_config_id": null, + "source": null, + "org_id": null, + "merge_mode": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/deleted_request_raw_configuration_32-36.json b/spec/support/expected_files/remove_repo_with_dependencies/deleted_request_raw_configuration_32-36.json new file mode 100644 index 0000000..cbf91f2 --- /dev/null +++ b/spec/support/expected_files/remove_repo_with_dependencies/deleted_request_raw_configuration_32-36.json @@ -0,0 +1,45 @@ +{ + "table_name": "deleted_request_raw_configurations", + "data": [ + { + "id": 32, + "request_id": 35, + "request_raw_config_id": null, + "source": null, + "org_id": null, + "merge_mode": null + }, + { + "id": 33, + "request_id": null, + "request_raw_config_id": 1, + "source": null, + "org_id": null, + "merge_mode": null + }, + { + "id": 34, + "request_id": null, + "request_raw_config_id": 1, + "source": null, + "org_id": null, + "merge_mode": null + }, + { + "id": 35, + "request_id": 37, + "request_raw_config_id": null, + "source": null, + "org_id": null, + "merge_mode": null + }, + { + "id": 36, + "request_id": 37, + "request_raw_config_id": null, + "source": null, + "org_id": null, + "merge_mode": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/deleted_request_raw_configuration_9-13.json b/spec/support/expected_files/remove_repo_with_dependencies/deleted_request_raw_configuration_9-13.json new file mode 100644 index 0000000..d0c3e3a --- /dev/null +++ b/spec/support/expected_files/remove_repo_with_dependencies/deleted_request_raw_configuration_9-13.json @@ -0,0 +1,45 @@ +{ + "table_name": "deleted_request_raw_configurations", + "data": [ + { + "id": 9, + "request_id": 11, + "request_raw_config_id": null, + "source": null, + "org_id": null, + "merge_mode": null + }, + { + "id": 10, + "request_id": 11, + "request_raw_config_id": null, + "source": null, + "org_id": null, + "merge_mode": null + }, + { + "id": 11, + "request_id": 13, + "request_raw_config_id": null, + "source": null, + "org_id": null, + "merge_mode": null + }, + { + "id": 12, + "request_id": 13, + "request_raw_config_id": null, + "source": null, + "org_id": null, + "merge_mode": null + }, + { + "id": 13, + "request_id": 15, + "request_raw_config_id": null, + "source": null, + "org_id": null, + "merge_mode": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/deleted_request_yaml_config_1-2.json b/spec/support/expected_files/remove_repo_with_dependencies/deleted_request_yaml_config_1-2.json new file mode 100644 index 0000000..c35bead --- /dev/null +++ b/spec/support/expected_files/remove_repo_with_dependencies/deleted_request_yaml_config_1-2.json @@ -0,0 +1,21 @@ +{ + "table_name": "deleted_request_yaml_configs", + "data": [ + { + "id": 1, + "yaml": null, + "repository_id": 1, + "key": "some_test_key", + "org_id": null, + "com_id": null + }, + { + "id": 2, + "yaml": null, + "repository_id": 1, + "key": "some_test_key", + "org_id": null, + "com_id": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/deleted_ssl_key_1-2.json b/spec/support/expected_files/remove_repo_with_dependencies/deleted_ssl_key_1-2.json new file mode 100644 index 0000000..aeb78ad --- /dev/null +++ b/spec/support/expected_files/remove_repo_with_dependencies/deleted_ssl_key_1-2.json @@ -0,0 +1,25 @@ +{ + "table_name": "deleted_ssl_keys", + "data": [ + { + "id": 1, + "repository_id": 1, + "public_key": null, + "private_key": null, + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "org_id": null, + "com_id": null + }, + { + "id": 2, + "repository_id": 1, + "public_key": null, + "private_key": null, + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "org_id": null, + "com_id": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/deleted_stage_1-2.json b/spec/support/expected_files/remove_repo_with_dependencies/deleted_stage_1-2.json new file mode 100644 index 0000000..4c459fd --- /dev/null +++ b/spec/support/expected_files/remove_repo_with_dependencies/deleted_stage_1-2.json @@ -0,0 +1,27 @@ +{ + "table_name": "deleted_stages", + "data": [ + { + "id": 1, + "build_id": 1, + "number": null, + "name": null, + "state": null, + "started_at": null, + "finished_at": null, + "org_id": null, + "com_id": null + }, + { + "id": 2, + "build_id": 89, + "number": null, + "name": null, + "state": null, + "started_at": null, + "finished_at": null, + "org_id": null, + "com_id": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/deleted_tag_3-4.json b/spec/support/expected_files/remove_repo_with_dependencies/deleted_tag_3-4.json new file mode 100644 index 0000000..6d2528a --- /dev/null +++ b/spec/support/expected_files/remove_repo_with_dependencies/deleted_tag_3-4.json @@ -0,0 +1,27 @@ +{ + "table_name": "deleted_tags", + "data": [ + { + "id": 3, + "repository_id": 1, + "name": null, + "last_build_id": null, + "exists_on_github": null, + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "org_id": null, + "com_id": null + }, + { + "id": 4, + "repository_id": 1, + "name": null, + "last_build_id": null, + "exists_on_github": null, + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "org_id": null, + "com_id": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/email_unsubscribe_1-2.json b/spec/support/expected_files/remove_repo_with_dependencies/email_unsubscribe_1-2.json new file mode 100644 index 0000000..82908aa --- /dev/null +++ b/spec/support/expected_files/remove_repo_with_dependencies/email_unsubscribe_1-2.json @@ -0,0 +1,19 @@ +{ + "table_name": "email_unsubscribes", + "data": [ + { + "id": 1, + "user_id": null, + "repository_id": 1, + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC" + }, + { + "id": 2, + "user_id": null, + "repository_id": 1, + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC" + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/job_149-155.json b/spec/support/expected_files/remove_repo_with_dependencies/job_146-154.json similarity index 64% rename from spec/support/expected_files/remove_repo_with_dependencies/job_149-155.json rename to spec/support/expected_files/remove_repo_with_dependencies/job_146-154.json index 6483592..2a4fc64 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/job_149-155.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/job_146-154.json @@ -2,25 +2,25 @@ "table_name": "jobs", "data": [ { - "id": 149, + "id": 146, "repository_id": null, - "commit_id": 227, - "source_id": null, - "source_type": null, + "commit_id": null, + "source_type": "Build", + "source_id": 145, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -28,28 +28,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { - "id": 150, + "id": 149, "repository_id": null, - "commit_id": 227, - "source_id": null, - "source_type": null, + "commit_id": null, + "source_type": "Build", + "source_id": 148, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -57,28 +62,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { - "id": 152, + "id": 151, "repository_id": null, - "commit_id": null, - "source_id": 151, - "source_type": "Build", + "commit_id": 17, + "source_type": null, + "source_id": null, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -86,28 +96,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { - "id": 154, + "id": 152, "repository_id": null, - "commit_id": null, - "source_id": 31, - "source_type": "Request", + "commit_id": 17, + "source_type": null, + "source_id": null, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -115,28 +130,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { - "id": 155, + "id": 154, "repository_id": null, "commit_id": null, - "source_id": 31, - "source_type": "Request", + "source_type": "Build", + "source_id": 153, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -144,7 +164,12 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/job_156-162.json b/spec/support/expected_files/remove_repo_with_dependencies/job_156-162.json new file mode 100644 index 0000000..ee2593c --- /dev/null +++ b/spec/support/expected_files/remove_repo_with_dependencies/job_156-162.json @@ -0,0 +1,175 @@ +{ + "table_name": "jobs", + "data": [ + { + "id": 156, + "repository_id": null, + "commit_id": null, + "source_type": "Request", + "source_id": 31, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": "", + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "tags": null, + "allow_failure": false, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + }, + { + "id": 157, + "repository_id": null, + "commit_id": null, + "source_type": "Request", + "source_id": 31, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": "", + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "tags": null, + "allow_failure": false, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + }, + { + "id": 159, + "repository_id": null, + "commit_id": null, + "source_type": "Build", + "source_id": 158, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": "", + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "tags": null, + "allow_failure": false, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + }, + { + "id": 161, + "repository_id": null, + "commit_id": null, + "source_type": "Request", + "source_id": 33, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": "", + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "tags": null, + "allow_failure": false, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + }, + { + "id": 162, + "repository_id": null, + "commit_id": null, + "source_type": "Request", + "source_id": 33, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": "", + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "tags": null, + "allow_failure": false, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/job_157-160.json b/spec/support/expected_files/remove_repo_with_dependencies/job_157-160.json deleted file mode 100644 index f720a86..0000000 --- a/spec/support/expected_files/remove_repo_with_dependencies/job_157-160.json +++ /dev/null @@ -1,92 +0,0 @@ -{ - "table_name": "jobs", - "data": [ - { - "id": 157, - "repository_id": null, - "commit_id": null, - "source_id": 156, - "source_type": "Build", - "queue": null, - "type": null, - "state": null, - "number": null, - "config": null, - "worker": null, - "started_at": null, - "finished_at": null, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", - "tags": null, - "allow_failure": false, - "owner_id": null, - "owner_type": null, - "result": null, - "queued_at": null, - "canceled_at": null, - "received_at": null, - "debug_options": null, - "private": null, - "stage_number": null, - "stage_id": null - }, - { - "id": 159, - "repository_id": null, - "commit_id": null, - "source_id": 33, - "source_type": "Request", - "queue": null, - "type": null, - "state": null, - "number": null, - "config": null, - "worker": null, - "started_at": null, - "finished_at": null, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", - "tags": null, - "allow_failure": false, - "owner_id": null, - "owner_type": null, - "result": null, - "queued_at": null, - "canceled_at": null, - "received_at": null, - "debug_options": null, - "private": null, - "stage_number": null, - "stage_id": null - }, - { - "id": 160, - "repository_id": null, - "commit_id": null, - "source_id": 33, - "source_type": "Request", - "queue": null, - "type": null, - "state": null, - "number": null, - "config": null, - "worker": null, - "started_at": null, - "finished_at": null, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", - "tags": null, - "allow_failure": false, - "owner_id": null, - "owner_type": null, - "result": null, - "queued_at": null, - "canceled_at": null, - "received_at": null, - "debug_options": null, - "private": null, - "stage_number": null, - "stage_id": null - } - ] -} \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/job_164-171.json b/spec/support/expected_files/remove_repo_with_dependencies/job_164-171.json new file mode 100644 index 0000000..0aeba3d --- /dev/null +++ b/spec/support/expected_files/remove_repo_with_dependencies/job_164-171.json @@ -0,0 +1,175 @@ +{ + "table_name": "jobs", + "data": [ + { + "id": 164, + "repository_id": null, + "commit_id": null, + "source_type": "Build", + "source_id": 163, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": "", + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2022-03-30 23:31:18 UTC", + "updated_at": "2022-03-30 23:31:18 UTC", + "tags": null, + "allow_failure": false, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + }, + { + "id": 167, + "repository_id": null, + "commit_id": null, + "source_type": "Build", + "source_id": 166, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": "", + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2022-03-30 23:31:18 UTC", + "updated_at": "2022-03-30 23:31:18 UTC", + "tags": null, + "allow_failure": false, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + }, + { + "id": 169, + "repository_id": null, + "commit_id": null, + "source_type": "Request", + "source_id": 35, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": "", + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2022-03-30 23:31:18 UTC", + "updated_at": "2022-03-30 23:31:18 UTC", + "tags": null, + "allow_failure": false, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + }, + { + "id": 170, + "repository_id": null, + "commit_id": null, + "source_type": "Request", + "source_id": 35, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": "", + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2022-03-30 23:31:18 UTC", + "updated_at": "2022-03-30 23:31:18 UTC", + "tags": null, + "allow_failure": false, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + }, + { + "id": 171, + "repository_id": null, + "commit_id": null, + "source_type": null, + "source_id": null, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": "", + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2022-03-30 23:31:19 UTC", + "updated_at": "2022-03-30 23:31:19 UTC", + "tags": null, + "allow_failure": false, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": 1, + "restarted_at": null, + "priority": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/job_172-177.json b/spec/support/expected_files/remove_repo_with_dependencies/job_172-177.json new file mode 100644 index 0000000..1715e24 --- /dev/null +++ b/spec/support/expected_files/remove_repo_with_dependencies/job_172-177.json @@ -0,0 +1,141 @@ +{ + "table_name": "jobs", + "data": [ + { + "id": 172, + "repository_id": null, + "commit_id": null, + "source_type": null, + "source_id": null, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": "", + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2022-03-30 23:31:19 UTC", + "updated_at": "2022-03-30 23:31:19 UTC", + "tags": null, + "allow_failure": false, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": 1, + "restarted_at": null, + "priority": null + }, + { + "id": 174, + "repository_id": null, + "commit_id": null, + "source_type": "Build", + "source_id": 173, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": "", + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2022-03-30 23:31:19 UTC", + "updated_at": "2022-03-30 23:31:19 UTC", + "tags": null, + "allow_failure": false, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + }, + { + "id": 176, + "repository_id": null, + "commit_id": null, + "source_type": "Request", + "source_id": 37, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": "", + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2022-03-30 23:31:19 UTC", + "updated_at": "2022-03-30 23:31:19 UTC", + "tags": null, + "allow_failure": false, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + }, + { + "id": 177, + "repository_id": null, + "commit_id": null, + "source_type": "Request", + "source_id": 37, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": "", + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2022-03-30 23:31:19 UTC", + "updated_at": "2022-03-30 23:31:19 UTC", + "tags": null, + "allow_failure": false, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/job_2-6.json b/spec/support/expected_files/remove_repo_with_dependencies/job_2-6.json index 65484a3..f22f7c7 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/job_2-6.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/job_2-6.json @@ -5,22 +5,22 @@ "id": 2, "repository_id": null, "commit_id": null, - "source_id": null, "source_type": null, + "source_id": null, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -28,28 +28,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": 20 + "stage_id": 1, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { "id": 3, "repository_id": null, "commit_id": null, - "source_id": null, "source_type": null, + "source_id": null, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -57,28 +62,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": 20 + "stage_id": 1, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { "id": 4, "repository_id": null, "commit_id": null, - "source_id": null, "source_type": null, + "source_id": null, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -86,28 +96,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": 21 + "stage_id": 2, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { "id": 5, "repository_id": null, "commit_id": null, - "source_id": null, "source_type": null, + "source_id": null, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -115,28 +130,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": 21 + "stage_id": 2, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { "id": 6, "repository_id": null, "commit_id": null, - "source_id": 1, "source_type": "Build", + "source_id": 1, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -144,7 +164,12 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/job_57-64.json b/spec/support/expected_files/remove_repo_with_dependencies/job_57-63.json similarity index 64% rename from spec/support/expected_files/remove_repo_with_dependencies/job_57-64.json rename to spec/support/expected_files/remove_repo_with_dependencies/job_57-63.json index 30ea7dd..344dc95 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/job_57-64.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/job_57-63.json @@ -5,22 +5,22 @@ "id": 57, "repository_id": 1, "commit_id": null, - "source_id": null, "source_type": null, + "source_id": null, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -28,28 +28,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { - "id": 59, - "repository_id": null, + "id": 58, + "repository_id": 1, "commit_id": null, - "source_id": 58, - "source_type": "Build", + "source_type": null, + "source_id": null, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -57,28 +62,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { - "id": 61, + "id": 60, "repository_id": null, "commit_id": null, - "source_id": 86, - "source_type": "Branch", + "source_type": "Build", + "source_id": 59, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -86,28 +96,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { "id": 62, "repository_id": null, "commit_id": null, - "source_id": 86, "source_type": "Branch", + "source_id": 14, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -115,28 +130,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { - "id": 64, + "id": 63, "repository_id": null, "commit_id": null, - "source_id": 63, - "source_type": "Build", + "source_type": "Branch", + "source_id": 14, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -144,7 +164,12 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/job_66-72.json b/spec/support/expected_files/remove_repo_with_dependencies/job_65-72.json similarity index 65% rename from spec/support/expected_files/remove_repo_with_dependencies/job_66-72.json rename to spec/support/expected_files/remove_repo_with_dependencies/job_65-72.json index 62a52eb..826e410 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/job_66-72.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/job_65-72.json @@ -2,25 +2,25 @@ "table_name": "jobs", "data": [ { - "id": 66, + "id": 65, "repository_id": null, - "commit_id": 217, - "source_id": null, - "source_type": null, + "commit_id": null, + "source_type": "Build", + "source_id": 64, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -28,28 +28,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { "id": 67, "repository_id": null, - "commit_id": 217, - "source_id": null, + "commit_id": 7, "source_type": null, + "source_id": null, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -57,28 +62,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { - "id": 69, + "id": 68, "repository_id": null, - "commit_id": null, - "source_id": 68, - "source_type": "Build", + "commit_id": 7, + "source_type": null, + "source_id": null, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -86,28 +96,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { - "id": 71, + "id": 70, "repository_id": null, "commit_id": null, - "source_id": 13, - "source_type": "Request", + "source_type": "Build", + "source_id": 69, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -115,28 +130,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { "id": 72, "repository_id": null, "commit_id": null, - "source_id": 13, "source_type": "Request", + "source_id": 13, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -144,7 +164,12 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/job_7-56.json b/spec/support/expected_files/remove_repo_with_dependencies/job_7-56.json index c57ce12..f166245 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/job_7-56.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/job_7-56.json @@ -5,22 +5,22 @@ "id": 7, "repository_id": null, "commit_id": null, - "source_id": 1, "source_type": "Build", + "source_id": 1, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -28,28 +28,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { - "id": 52, + "id": 8, "repository_id": null, "commit_id": null, - "source_id": 51, "source_type": "Build", + "source_id": 1, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -57,28 +62,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { - "id": 54, + "id": 53, "repository_id": null, "commit_id": null, - "source_id": 11, - "source_type": "Request", + "source_type": "Build", + "source_id": 52, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -86,28 +96,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { "id": 55, "repository_id": null, "commit_id": null, - "source_id": 11, "source_type": "Request", + "source_id": 11, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -115,28 +130,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { "id": 56, - "repository_id": 1, + "repository_id": null, "commit_id": null, - "source_id": null, - "source_type": null, + "source_type": "Request", + "source_id": 11, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -144,7 +164,12 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/job_74-81.json b/spec/support/expected_files/remove_repo_with_dependencies/job_73-80.json similarity index 65% rename from spec/support/expected_files/remove_repo_with_dependencies/job_74-81.json rename to spec/support/expected_files/remove_repo_with_dependencies/job_73-80.json index bb7faf9..1b819bf 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/job_74-81.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/job_73-80.json @@ -2,25 +2,25 @@ "table_name": "jobs", "data": [ { - "id": 74, + "id": 73, "repository_id": null, "commit_id": null, - "source_id": 73, - "source_type": "Build", + "source_type": "Request", + "source_id": 13, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -28,28 +28,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { - "id": 76, + "id": 75, "repository_id": null, "commit_id": null, - "source_id": 15, - "source_type": "Request", + "source_type": "Build", + "source_id": 74, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -57,28 +62,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { "id": 77, "repository_id": null, "commit_id": null, - "source_id": 15, "source_type": "Request", + "source_id": 15, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -86,28 +96,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { - "id": 79, + "id": 78, "repository_id": null, "commit_id": null, - "source_id": 78, - "source_type": "Build", + "source_type": "Request", + "source_id": 15, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -115,28 +130,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { - "id": 81, + "id": 80, "repository_id": null, - "commit_id": 219, - "source_id": null, - "source_type": null, + "commit_id": null, + "source_type": "Build", + "source_id": 79, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -144,7 +164,12 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/job_82-89.json b/spec/support/expected_files/remove_repo_with_dependencies/job_82-88.json similarity index 66% rename from spec/support/expected_files/remove_repo_with_dependencies/job_82-89.json rename to spec/support/expected_files/remove_repo_with_dependencies/job_82-88.json index c473843..cdd95e2 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/job_82-89.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/job_82-88.json @@ -4,23 +4,23 @@ { "id": 82, "repository_id": null, - "commit_id": 219, - "source_id": null, + "commit_id": 9, "source_type": null, + "source_id": null, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -28,28 +28,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { - "id": 84, + "id": 83, "repository_id": null, - "commit_id": null, - "source_id": 83, - "source_type": "Build", + "commit_id": 9, + "source_type": null, + "source_id": null, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -57,28 +62,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { - "id": 86, + "id": 85, "repository_id": null, "commit_id": null, - "source_id": 17, - "source_type": "Request", + "source_type": "Build", + "source_id": 84, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -86,28 +96,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { "id": 87, "repository_id": null, "commit_id": null, - "source_id": 17, "source_type": "Request", + "source_id": 17, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -115,28 +130,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { - "id": 89, + "id": 88, "repository_id": null, "commit_id": null, - "source_id": null, - "source_type": null, + "source_type": "Request", + "source_id": 17, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -144,7 +164,12 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": 37 + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/job_90-94.json b/spec/support/expected_files/remove_repo_with_dependencies/job_90-94.json index b10ae33..b1d7a2f 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/job_90-94.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/job_90-94.json @@ -5,22 +5,22 @@ "id": 90, "repository_id": null, "commit_id": null, - "source_id": null, "source_type": null, + "source_id": null, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -28,28 +28,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": 37 + "stage_id": 19, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { "id": 91, "repository_id": null, "commit_id": null, - "source_id": null, "source_type": null, + "source_id": null, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -57,28 +62,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": 38 + "stage_id": 19, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { "id": 92, "repository_id": null, "commit_id": null, - "source_id": null, "source_type": null, + "source_id": null, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -86,28 +96,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": 38 + "stage_id": 20, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { "id": 93, "repository_id": null, "commit_id": null, - "source_id": 88, - "source_type": "Build", + "source_type": null, + "source_id": null, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -115,28 +130,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": 20, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { "id": 94, "repository_id": null, "commit_id": null, - "source_id": 88, "source_type": "Build", + "source_id": 89, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -144,7 +164,12 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/job_139-147.json b/spec/support/expected_files/remove_repo_with_dependencies/job_95-144.json similarity index 66% rename from spec/support/expected_files/remove_repo_with_dependencies/job_139-147.json rename to spec/support/expected_files/remove_repo_with_dependencies/job_95-144.json index 3a5e23e..aca5304 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/job_139-147.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/job_95-144.json @@ -2,25 +2,25 @@ "table_name": "jobs", "data": [ { - "id": 139, + "id": 95, "repository_id": null, "commit_id": null, - "source_id": 138, "source_type": "Build", + "source_id": 89, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -28,28 +28,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { - "id": 141, + "id": 96, "repository_id": null, "commit_id": null, - "source_id": 29, - "source_type": "Request", + "source_type": "Build", + "source_id": 89, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -57,28 +62,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { - "id": 142, + "id": 141, "repository_id": null, "commit_id": null, - "source_id": 29, - "source_type": "Request", + "source_type": "Build", + "source_id": 140, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -86,28 +96,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { - "id": 144, + "id": 143, "repository_id": null, "commit_id": null, - "source_id": 143, - "source_type": "Build", + "source_type": "Request", + "source_id": 29, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -115,28 +130,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { - "id": 147, + "id": 144, "repository_id": null, "commit_id": null, - "source_id": 146, - "source_type": "Build", + "source_type": "Request", + "source_id": 29, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -144,7 +164,12 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/job_config_1-2.json b/spec/support/expected_files/remove_repo_with_dependencies/job_config_1-2.json new file mode 100644 index 0000000..381267e --- /dev/null +++ b/spec/support/expected_files/remove_repo_with_dependencies/job_config_1-2.json @@ -0,0 +1,21 @@ +{ + "table_name": "job_configs", + "data": [ + { + "id": 1, + "repository_id": 1, + "key": "some_test_key", + "org_id": null, + "com_id": null, + "config": null + }, + { + "id": 2, + "repository_id": 1, + "key": "some_test_key", + "org_id": null, + "com_id": null, + "config": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/job_version_1-19.json b/spec/support/expected_files/remove_repo_with_dependencies/job_version_1-19.json new file mode 100644 index 0000000..3e98b70 --- /dev/null +++ b/spec/support/expected_files/remove_repo_with_dependencies/job_version_1-19.json @@ -0,0 +1,65 @@ +{ + "table_name": "job_versions", + "data": [ + { + "id": 1, + "job_id": 6, + "number": null, + "state": null, + "created_at": "2021-08-30 23:31:15 UTC", + "queued_at": null, + "received_at": null, + "started_at": null, + "finished_at": null, + "restarted_at": null + }, + { + "id": 2, + "job_id": 6, + "number": null, + "state": null, + "created_at": "2021-08-30 23:31:15 UTC", + "queued_at": null, + "received_at": null, + "started_at": null, + "finished_at": null, + "restarted_at": null + }, + { + "id": 17, + "job_id": 55, + "number": null, + "state": null, + "created_at": "2021-08-30 23:31:15 UTC", + "queued_at": null, + "received_at": null, + "started_at": null, + "finished_at": null, + "restarted_at": null + }, + { + "id": 18, + "job_id": 55, + "number": null, + "state": null, + "created_at": "2021-08-30 23:31:15 UTC", + "queued_at": null, + "received_at": null, + "started_at": null, + "finished_at": null, + "restarted_at": null + }, + { + "id": 19, + "job_id": 57, + "number": null, + "state": null, + "created_at": "2021-08-30 23:31:15 UTC", + "queued_at": null, + "received_at": null, + "started_at": null, + "finished_at": null, + "restarted_at": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/job_version_20-24.json b/spec/support/expected_files/remove_repo_with_dependencies/job_version_20-24.json new file mode 100644 index 0000000..3ffd948 --- /dev/null +++ b/spec/support/expected_files/remove_repo_with_dependencies/job_version_20-24.json @@ -0,0 +1,65 @@ +{ + "table_name": "job_versions", + "data": [ + { + "id": 20, + "job_id": 57, + "number": null, + "state": null, + "created_at": "2021-08-30 23:31:15 UTC", + "queued_at": null, + "received_at": null, + "started_at": null, + "finished_at": null, + "restarted_at": null + }, + { + "id": 21, + "job_id": 62, + "number": null, + "state": null, + "created_at": "2021-08-30 23:31:15 UTC", + "queued_at": null, + "received_at": null, + "started_at": null, + "finished_at": null, + "restarted_at": null + }, + { + "id": 22, + "job_id": 62, + "number": null, + "state": null, + "created_at": "2021-08-30 23:31:15 UTC", + "queued_at": null, + "received_at": null, + "started_at": null, + "finished_at": null, + "restarted_at": null + }, + { + "id": 23, + "job_id": 67, + "number": null, + "state": null, + "created_at": "2021-08-30 23:31:15 UTC", + "queued_at": null, + "received_at": null, + "started_at": null, + "finished_at": null, + "restarted_at": null + }, + { + "id": 24, + "job_id": 67, + "number": null, + "state": null, + "created_at": "2021-08-30 23:31:15 UTC", + "queued_at": null, + "received_at": null, + "started_at": null, + "finished_at": null, + "restarted_at": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/job_version_25-29.json b/spec/support/expected_files/remove_repo_with_dependencies/job_version_25-29.json new file mode 100644 index 0000000..fdb3ac0 --- /dev/null +++ b/spec/support/expected_files/remove_repo_with_dependencies/job_version_25-29.json @@ -0,0 +1,65 @@ +{ + "table_name": "job_versions", + "data": [ + { + "id": 25, + "job_id": 72, + "number": null, + "state": null, + "created_at": "2021-08-30 23:31:15 UTC", + "queued_at": null, + "received_at": null, + "started_at": null, + "finished_at": null, + "restarted_at": null + }, + { + "id": 26, + "job_id": 72, + "number": null, + "state": null, + "created_at": "2021-08-30 23:31:15 UTC", + "queued_at": null, + "received_at": null, + "started_at": null, + "finished_at": null, + "restarted_at": null + }, + { + "id": 27, + "job_id": 77, + "number": null, + "state": null, + "created_at": "2021-08-30 23:31:15 UTC", + "queued_at": null, + "received_at": null, + "started_at": null, + "finished_at": null, + "restarted_at": null + }, + { + "id": 28, + "job_id": 77, + "number": null, + "state": null, + "created_at": "2021-08-30 23:31:15 UTC", + "queued_at": null, + "received_at": null, + "started_at": null, + "finished_at": null, + "restarted_at": null + }, + { + "id": 29, + "job_id": 82, + "number": null, + "state": null, + "created_at": "2021-08-30 23:31:15 UTC", + "queued_at": null, + "received_at": null, + "started_at": null, + "finished_at": null, + "restarted_at": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/job_version_30-34.json b/spec/support/expected_files/remove_repo_with_dependencies/job_version_30-34.json new file mode 100644 index 0000000..e744c18 --- /dev/null +++ b/spec/support/expected_files/remove_repo_with_dependencies/job_version_30-34.json @@ -0,0 +1,65 @@ +{ + "table_name": "job_versions", + "data": [ + { + "id": 30, + "job_id": 82, + "number": null, + "state": null, + "created_at": "2021-08-30 23:31:15 UTC", + "queued_at": null, + "received_at": null, + "started_at": null, + "finished_at": null, + "restarted_at": null + }, + { + "id": 31, + "job_id": 87, + "number": null, + "state": null, + "created_at": "2021-08-30 23:31:15 UTC", + "queued_at": null, + "received_at": null, + "started_at": null, + "finished_at": null, + "restarted_at": null + }, + { + "id": 32, + "job_id": 87, + "number": null, + "state": null, + "created_at": "2021-08-30 23:31:15 UTC", + "queued_at": null, + "received_at": null, + "started_at": null, + "finished_at": null, + "restarted_at": null + }, + { + "id": 33, + "job_id": 94, + "number": null, + "state": null, + "created_at": "2021-08-30 23:31:15 UTC", + "queued_at": null, + "received_at": null, + "started_at": null, + "finished_at": null, + "restarted_at": null + }, + { + "id": 34, + "job_id": 94, + "number": null, + "state": null, + "created_at": "2021-08-30 23:31:15 UTC", + "queued_at": null, + "received_at": null, + "started_at": null, + "finished_at": null, + "restarted_at": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/job_version_49-53.json b/spec/support/expected_files/remove_repo_with_dependencies/job_version_49-53.json new file mode 100644 index 0000000..785d6a3 --- /dev/null +++ b/spec/support/expected_files/remove_repo_with_dependencies/job_version_49-53.json @@ -0,0 +1,65 @@ +{ + "table_name": "job_versions", + "data": [ + { + "id": 49, + "job_id": 143, + "number": null, + "state": null, + "created_at": "2021-08-30 23:31:15 UTC", + "queued_at": null, + "received_at": null, + "started_at": null, + "finished_at": null, + "restarted_at": null + }, + { + "id": 50, + "job_id": 143, + "number": null, + "state": null, + "created_at": "2021-08-30 23:31:15 UTC", + "queued_at": null, + "received_at": null, + "started_at": null, + "finished_at": null, + "restarted_at": null + }, + { + "id": 51, + "job_id": 151, + "number": null, + "state": null, + "created_at": "2021-08-30 23:31:15 UTC", + "queued_at": null, + "received_at": null, + "started_at": null, + "finished_at": null, + "restarted_at": null + }, + { + "id": 52, + "job_id": 151, + "number": null, + "state": null, + "created_at": "2021-08-30 23:31:15 UTC", + "queued_at": null, + "received_at": null, + "started_at": null, + "finished_at": null, + "restarted_at": null + }, + { + "id": 53, + "job_id": 156, + "number": null, + "state": null, + "created_at": "2021-08-30 23:31:15 UTC", + "queued_at": null, + "received_at": null, + "started_at": null, + "finished_at": null, + "restarted_at": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/job_version_54-58.json b/spec/support/expected_files/remove_repo_with_dependencies/job_version_54-58.json new file mode 100644 index 0000000..d1f7253 --- /dev/null +++ b/spec/support/expected_files/remove_repo_with_dependencies/job_version_54-58.json @@ -0,0 +1,65 @@ +{ + "table_name": "job_versions", + "data": [ + { + "id": 54, + "job_id": 156, + "number": null, + "state": null, + "created_at": "2021-08-30 23:31:15 UTC", + "queued_at": null, + "received_at": null, + "started_at": null, + "finished_at": null, + "restarted_at": null + }, + { + "id": 55, + "job_id": 161, + "number": null, + "state": null, + "created_at": "2021-08-30 23:31:15 UTC", + "queued_at": null, + "received_at": null, + "started_at": null, + "finished_at": null, + "restarted_at": null + }, + { + "id": 56, + "job_id": 161, + "number": null, + "state": null, + "created_at": "2021-08-30 23:31:15 UTC", + "queued_at": null, + "received_at": null, + "started_at": null, + "finished_at": null, + "restarted_at": null + }, + { + "id": 57, + "job_id": 169, + "number": null, + "state": null, + "created_at": "2022-03-30 23:31:18 UTC", + "queued_at": null, + "received_at": null, + "started_at": null, + "finished_at": null, + "restarted_at": null + }, + { + "id": 58, + "job_id": 169, + "number": null, + "state": null, + "created_at": "2022-03-30 23:31:18 UTC", + "queued_at": null, + "received_at": null, + "started_at": null, + "finished_at": null, + "restarted_at": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/job_version_59-62.json b/spec/support/expected_files/remove_repo_with_dependencies/job_version_59-62.json new file mode 100644 index 0000000..5c27fd5 --- /dev/null +++ b/spec/support/expected_files/remove_repo_with_dependencies/job_version_59-62.json @@ -0,0 +1,53 @@ +{ + "table_name": "job_versions", + "data": [ + { + "id": 59, + "job_id": 171, + "number": null, + "state": null, + "created_at": "2022-03-30 23:31:19 UTC", + "queued_at": null, + "received_at": null, + "started_at": null, + "finished_at": null, + "restarted_at": null + }, + { + "id": 60, + "job_id": 171, + "number": null, + "state": null, + "created_at": "2022-03-30 23:31:19 UTC", + "queued_at": null, + "received_at": null, + "started_at": null, + "finished_at": null, + "restarted_at": null + }, + { + "id": 61, + "job_id": 176, + "number": null, + "state": null, + "created_at": "2022-03-30 23:31:19 UTC", + "queued_at": null, + "received_at": null, + "started_at": null, + "finished_at": null, + "restarted_at": null + }, + { + "id": 62, + "job_id": 176, + "number": null, + "state": null, + "created_at": "2022-03-30 23:31:19 UTC", + "queued_at": null, + "received_at": null, + "started_at": null, + "finished_at": null, + "restarted_at": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/log_1-19.json b/spec/support/expected_files/remove_repo_with_dependencies/log_1-19.json deleted file mode 100644 index 5c383ae..0000000 --- a/spec/support/expected_files/remove_repo_with_dependencies/log_1-19.json +++ /dev/null @@ -1,75 +0,0 @@ -{ - "table_name": "logs", - "data": [ - { - "id": 1, - "job_id": 6, - "content": "some log content", - "removed_by": 1, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", - "aggregated_at": null, - "archived_at": null, - "purged_at": null, - "removed_at": null, - "archiving": false, - "archive_verified": true - }, - { - "id": 2, - "job_id": 6, - "content": "some log content", - "removed_by": 1, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", - "aggregated_at": null, - "archived_at": null, - "purged_at": null, - "removed_at": null, - "archiving": false, - "archive_verified": true - }, - { - "id": 17, - "job_id": 54, - "content": "some log content", - "removed_by": 1, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", - "aggregated_at": null, - "archived_at": null, - "purged_at": null, - "removed_at": null, - "archiving": false, - "archive_verified": true - }, - { - "id": 18, - "job_id": 54, - "content": "some log content", - "removed_by": 1, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", - "aggregated_at": null, - "archived_at": null, - "purged_at": null, - "removed_at": null, - "archiving": false, - "archive_verified": true - }, - { - "id": 19, - "job_id": 56, - "content": "some log content", - "removed_by": 1, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", - "aggregated_at": null, - "archived_at": null, - "purged_at": null, - "removed_at": null, - "archiving": false, - "archive_verified": true - } - ] -} \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/log_20-24.json b/spec/support/expected_files/remove_repo_with_dependencies/log_20-24.json deleted file mode 100644 index 6a630c5..0000000 --- a/spec/support/expected_files/remove_repo_with_dependencies/log_20-24.json +++ /dev/null @@ -1,75 +0,0 @@ -{ - "table_name": "logs", - "data": [ - { - "id": 20, - "job_id": 56, - "content": "some log content", - "removed_by": 1, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", - "aggregated_at": null, - "archived_at": null, - "purged_at": null, - "removed_at": null, - "archiving": false, - "archive_verified": true - }, - { - "id": 21, - "job_id": 61, - "content": "some log content", - "removed_by": 1, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", - "aggregated_at": null, - "archived_at": null, - "purged_at": null, - "removed_at": null, - "archiving": false, - "archive_verified": true - }, - { - "id": 22, - "job_id": 61, - "content": "some log content", - "removed_by": 1, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", - "aggregated_at": null, - "archived_at": null, - "purged_at": null, - "removed_at": null, - "archiving": false, - "archive_verified": true - }, - { - "id": 23, - "job_id": 66, - "content": "some log content", - "removed_by": 1, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", - "aggregated_at": null, - "archived_at": null, - "purged_at": null, - "removed_at": null, - "archiving": false, - "archive_verified": true - }, - { - "id": 24, - "job_id": 66, - "content": "some log content", - "removed_by": 1, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", - "aggregated_at": null, - "archived_at": null, - "purged_at": null, - "removed_at": null, - "archiving": false, - "archive_verified": true - } - ] -} \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/log_25-29.json b/spec/support/expected_files/remove_repo_with_dependencies/log_25-29.json deleted file mode 100644 index a62db92..0000000 --- a/spec/support/expected_files/remove_repo_with_dependencies/log_25-29.json +++ /dev/null @@ -1,75 +0,0 @@ -{ - "table_name": "logs", - "data": [ - { - "id": 25, - "job_id": 71, - "content": "some log content", - "removed_by": 1, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", - "aggregated_at": null, - "archived_at": null, - "purged_at": null, - "removed_at": null, - "archiving": false, - "archive_verified": true - }, - { - "id": 26, - "job_id": 71, - "content": "some log content", - "removed_by": 1, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", - "aggregated_at": null, - "archived_at": null, - "purged_at": null, - "removed_at": null, - "archiving": false, - "archive_verified": true - }, - { - "id": 27, - "job_id": 76, - "content": "some log content", - "removed_by": 1, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", - "aggregated_at": null, - "archived_at": null, - "purged_at": null, - "removed_at": null, - "archiving": false, - "archive_verified": true - }, - { - "id": 28, - "job_id": 76, - "content": "some log content", - "removed_by": 1, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", - "aggregated_at": null, - "archived_at": null, - "purged_at": null, - "removed_at": null, - "archiving": false, - "archive_verified": true - }, - { - "id": 29, - "job_id": 81, - "content": "some log content", - "removed_by": 1, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", - "aggregated_at": null, - "archived_at": null, - "purged_at": null, - "removed_at": null, - "archiving": false, - "archive_verified": true - } - ] -} \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/log_30-34.json b/spec/support/expected_files/remove_repo_with_dependencies/log_30-34.json deleted file mode 100644 index 4bc8d2d..0000000 --- a/spec/support/expected_files/remove_repo_with_dependencies/log_30-34.json +++ /dev/null @@ -1,75 +0,0 @@ -{ - "table_name": "logs", - "data": [ - { - "id": 30, - "job_id": 81, - "content": "some log content", - "removed_by": 1, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", - "aggregated_at": null, - "archived_at": null, - "purged_at": null, - "removed_at": null, - "archiving": false, - "archive_verified": true - }, - { - "id": 31, - "job_id": 86, - "content": "some log content", - "removed_by": 1, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", - "aggregated_at": null, - "archived_at": null, - "purged_at": null, - "removed_at": null, - "archiving": false, - "archive_verified": true - }, - { - "id": 32, - "job_id": 86, - "content": "some log content", - "removed_by": 1, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", - "aggregated_at": null, - "archived_at": null, - "purged_at": null, - "removed_at": null, - "archiving": false, - "archive_verified": true - }, - { - "id": 33, - "job_id": 93, - "content": "some log content", - "removed_by": 1, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", - "aggregated_at": null, - "archived_at": null, - "purged_at": null, - "removed_at": null, - "archiving": false, - "archive_verified": true - }, - { - "id": 34, - "job_id": 93, - "content": "some log content", - "removed_by": 1, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", - "aggregated_at": null, - "archived_at": null, - "purged_at": null, - "removed_at": null, - "archiving": false, - "archive_verified": true - } - ] -} \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/log_49-53.json b/spec/support/expected_files/remove_repo_with_dependencies/log_49-53.json deleted file mode 100644 index 897a624..0000000 --- a/spec/support/expected_files/remove_repo_with_dependencies/log_49-53.json +++ /dev/null @@ -1,75 +0,0 @@ -{ - "table_name": "logs", - "data": [ - { - "id": 49, - "job_id": 141, - "content": "some log content", - "removed_by": 1, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", - "aggregated_at": null, - "archived_at": null, - "purged_at": null, - "removed_at": null, - "archiving": false, - "archive_verified": true - }, - { - "id": 50, - "job_id": 141, - "content": "some log content", - "removed_by": 1, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", - "aggregated_at": null, - "archived_at": null, - "purged_at": null, - "removed_at": null, - "archiving": false, - "archive_verified": true - }, - { - "id": 51, - "job_id": 149, - "content": "some log content", - "removed_by": 1, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", - "aggregated_at": null, - "archived_at": null, - "purged_at": null, - "removed_at": null, - "archiving": false, - "archive_verified": true - }, - { - "id": 52, - "job_id": 149, - "content": "some log content", - "removed_by": 1, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", - "aggregated_at": null, - "archived_at": null, - "purged_at": null, - "removed_at": null, - "archiving": false, - "archive_verified": true - }, - { - "id": 53, - "job_id": 154, - "content": "some log content", - "removed_by": 1, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", - "aggregated_at": null, - "archived_at": null, - "purged_at": null, - "removed_at": null, - "archiving": false, - "archive_verified": true - } - ] -} \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/log_54-56.json b/spec/support/expected_files/remove_repo_with_dependencies/log_54-56.json deleted file mode 100644 index d607b61..0000000 --- a/spec/support/expected_files/remove_repo_with_dependencies/log_54-56.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "table_name": "logs", - "data": [ - { - "id": 54, - "job_id": 154, - "content": "some log content", - "removed_by": 1, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", - "aggregated_at": null, - "archived_at": null, - "purged_at": null, - "removed_at": null, - "archiving": false, - "archive_verified": true - }, - { - "id": 55, - "job_id": 159, - "content": "some log content", - "removed_by": 1, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", - "aggregated_at": null, - "archived_at": null, - "purged_at": null, - "removed_at": null, - "archiving": false, - "archive_verified": true - }, - { - "id": 56, - "job_id": 159, - "content": "some log content", - "removed_by": 1, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", - "aggregated_at": null, - "archived_at": null, - "purged_at": null, - "removed_at": null, - "archiving": false, - "archive_verified": true - } - ] -} \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/message_14-26.json b/spec/support/expected_files/remove_repo_with_dependencies/message_14-26.json index e9efb63..14b81e4 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/message_14-26.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/message_14-26.json @@ -9,8 +9,11 @@ "key": null, "code": null, "args": null, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC" + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "type": null, + "src": null, + "line": null }, { "id": 15, @@ -20,8 +23,11 @@ "key": null, "code": null, "args": null, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC" + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "type": null, + "src": null, + "line": null }, { "id": 16, @@ -31,8 +37,11 @@ "key": null, "code": null, "args": null, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC" + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "type": null, + "src": null, + "line": null }, { "id": 25, @@ -42,8 +51,11 @@ "key": null, "code": null, "args": null, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC" + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "type": null, + "src": null, + "line": null }, { "id": 26, @@ -53,8 +65,11 @@ "key": null, "code": null, "args": null, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC" + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "type": null, + "src": null, + "line": null } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/message_27-30.json b/spec/support/expected_files/remove_repo_with_dependencies/message_27-30.json deleted file mode 100644 index 048d614..0000000 --- a/spec/support/expected_files/remove_repo_with_dependencies/message_27-30.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "table_name": "messages", - "data": [ - { - "id": 27, - "subject_id": 31, - "subject_type": "Request", - "level": null, - "key": null, - "code": null, - "args": null, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC" - }, - { - "id": 28, - "subject_id": 31, - "subject_type": "Request", - "level": null, - "key": null, - "code": null, - "args": null, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC" - }, - { - "id": 29, - "subject_id": 33, - "subject_type": "Request", - "level": null, - "key": null, - "code": null, - "args": null, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC" - }, - { - "id": 30, - "subject_id": 33, - "subject_type": "Request", - "level": null, - "key": null, - "code": null, - "args": null, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC" - } - ] -} \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/message_27-31.json b/spec/support/expected_files/remove_repo_with_dependencies/message_27-31.json new file mode 100644 index 0000000..624fc7e --- /dev/null +++ b/spec/support/expected_files/remove_repo_with_dependencies/message_27-31.json @@ -0,0 +1,75 @@ +{ + "table_name": "messages", + "data": [ + { + "id": 27, + "subject_id": 31, + "subject_type": "Request", + "level": null, + "key": null, + "code": null, + "args": null, + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "type": null, + "src": null, + "line": null + }, + { + "id": 28, + "subject_id": 31, + "subject_type": "Request", + "level": null, + "key": null, + "code": null, + "args": null, + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "type": null, + "src": null, + "line": null + }, + { + "id": 29, + "subject_id": 33, + "subject_type": "Request", + "level": null, + "key": null, + "code": null, + "args": null, + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "type": null, + "src": null, + "line": null + }, + { + "id": 30, + "subject_id": 33, + "subject_type": "Request", + "level": null, + "key": null, + "code": null, + "args": null, + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "type": null, + "src": null, + "line": null + }, + { + "id": 31, + "subject_id": 35, + "subject_type": "Request", + "level": null, + "key": null, + "code": null, + "args": null, + "created_at": "2022-03-30 23:31:18 UTC", + "updated_at": "2022-03-30 23:31:18 UTC", + "type": null, + "src": null, + "line": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/message_32-34.json b/spec/support/expected_files/remove_repo_with_dependencies/message_32-34.json new file mode 100644 index 0000000..3111494 --- /dev/null +++ b/spec/support/expected_files/remove_repo_with_dependencies/message_32-34.json @@ -0,0 +1,47 @@ +{ + "table_name": "messages", + "data": [ + { + "id": 32, + "subject_id": 35, + "subject_type": "Request", + "level": null, + "key": null, + "code": null, + "args": null, + "created_at": "2022-03-30 23:31:18 UTC", + "updated_at": "2022-03-30 23:31:18 UTC", + "type": null, + "src": null, + "line": null + }, + { + "id": 33, + "subject_id": 37, + "subject_type": "Request", + "level": null, + "key": null, + "code": null, + "args": null, + "created_at": "2022-03-30 23:31:19 UTC", + "updated_at": "2022-03-30 23:31:19 UTC", + "type": null, + "src": null, + "line": null + }, + { + "id": 34, + "subject_id": 37, + "subject_type": "Request", + "level": null, + "key": null, + "code": null, + "args": null, + "created_at": "2022-03-30 23:31:19 UTC", + "updated_at": "2022-03-30 23:31:19 UTC", + "type": null, + "src": null, + "line": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/message_9-13.json b/spec/support/expected_files/remove_repo_with_dependencies/message_9-13.json index 543c734..d6f4ecb 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/message_9-13.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/message_9-13.json @@ -9,8 +9,11 @@ "key": null, "code": null, "args": null, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC" + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "type": null, + "src": null, + "line": null }, { "id": 10, @@ -20,8 +23,11 @@ "key": null, "code": null, "args": null, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC" + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "type": null, + "src": null, + "line": null }, { "id": 11, @@ -31,8 +37,11 @@ "key": null, "code": null, "args": null, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC" + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "type": null, + "src": null, + "line": null }, { "id": 12, @@ -42,8 +51,11 @@ "key": null, "code": null, "args": null, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC" + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "type": null, + "src": null, + "line": null }, { "id": 13, @@ -53,8 +65,11 @@ "key": null, "code": null, "args": null, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC" + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "type": null, + "src": null, + "line": null } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/nullified_relationships/build_10.json b/spec/support/expected_files/remove_repo_with_dependencies/nullified_relationships/build_10.json index 101c4f1..22c945b 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/nullified_relationships/build_10.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/nullified_relationships/build_10.json @@ -2,34 +2,34 @@ "table_name": "builds", "nullified_relationships": [ { - "related_table": "repositories", - "foreign_key": "last_build_id", - "parent_id": 138, - "related_id": 56 - }, - { - "related_table": "tags", + "related_table": "branches", "foreign_key": "last_build_id", - "parent_id": 138, - "related_id": 32 + "parent_id": 140, + "related_id": 34 }, { "related_table": "branches", "foreign_key": "last_build_id", - "parent_id": 138, - "related_id": 106 + "parent_id": 89, + "related_id": 31 }, { "related_table": "repositories", "foreign_key": "current_build_id", - "parent_id": 143, - "related_id": 59 + "parent_id": 140, + "related_id": 57 }, { "related_table": "repositories", "foreign_key": "last_build_id", - "parent_id": 143, - "related_id": 58 + "parent_id": 140, + "related_id": 56 + }, + { + "related_table": "tags", + "foreign_key": "last_build_id", + "parent_id": 140, + "related_id": 32 } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/nullified_relationships/build_11.json b/spec/support/expected_files/remove_repo_with_dependencies/nullified_relationships/build_11.json index b3dbda1..c3ea315 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/nullified_relationships/build_11.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/nullified_relationships/build_11.json @@ -2,34 +2,34 @@ "table_name": "builds", "nullified_relationships": [ { - "related_table": "tags", + "related_table": "branches", "foreign_key": "last_build_id", - "parent_id": 143, - "related_id": 34 + "parent_id": 145, + "related_id": 35 }, { - "related_table": "branches", - "foreign_key": "last_build_id", - "parent_id": 143, - "related_id": 107 + "related_table": "repositories", + "foreign_key": "current_build_id", + "parent_id": 145, + "related_id": 59 }, { "related_table": "repositories", "foreign_key": "current_build_id", - "parent_id": 146, + "parent_id": 148, "related_id": 61 }, { "related_table": "repositories", "foreign_key": "last_build_id", - "parent_id": 146, - "related_id": 60 + "parent_id": 145, + "related_id": 58 }, { "related_table": "tags", "foreign_key": "last_build_id", - "parent_id": 146, - "related_id": 35 + "parent_id": 145, + "related_id": 34 } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/nullified_relationships/build_12.json b/spec/support/expected_files/remove_repo_with_dependencies/nullified_relationships/build_12.json index b73dca0..32ef1f9 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/nullified_relationships/build_12.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/nullified_relationships/build_12.json @@ -4,32 +4,32 @@ { "related_table": "branches", "foreign_key": "last_build_id", - "parent_id": 146, - "related_id": 108 + "parent_id": 148, + "related_id": 36 }, { "related_table": "repositories", "foreign_key": "current_build_id", - "parent_id": 151, + "parent_id": 153, "related_id": 63 }, { "related_table": "repositories", "foreign_key": "last_build_id", - "parent_id": 151, - "related_id": 62 + "parent_id": 148, + "related_id": 60 }, { - "related_table": "tags", + "related_table": "repositories", "foreign_key": "last_build_id", - "parent_id": 151, - "related_id": 36 + "parent_id": 153, + "related_id": 62 }, { - "related_table": "branches", + "related_table": "tags", "foreign_key": "last_build_id", - "parent_id": 151, - "related_id": 109 + "parent_id": 148, + "related_id": 35 } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/nullified_relationships/build_13.json b/spec/support/expected_files/remove_repo_with_dependencies/nullified_relationships/build_13.json index 4dd99bc..ab750d0 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/nullified_relationships/build_13.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/nullified_relationships/build_13.json @@ -1,29 +1,35 @@ { "table_name": "builds", "nullified_relationships": [ + { + "related_table": "branches", + "foreign_key": "last_build_id", + "parent_id": 153, + "related_id": 37 + }, { "related_table": "repositories", "foreign_key": "current_build_id", - "parent_id": 156, + "parent_id": 158, "related_id": 65 }, { "related_table": "repositories", "foreign_key": "last_build_id", - "parent_id": 156, + "parent_id": 158, "related_id": 64 }, { "related_table": "tags", "foreign_key": "last_build_id", - "parent_id": 156, - "related_id": 37 + "parent_id": 153, + "related_id": 36 }, { - "related_table": "branches", + "related_table": "tags", "foreign_key": "last_build_id", - "parent_id": 156, - "related_id": 110 + "parent_id": 158, + "related_id": 37 } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/nullified_relationships/build_14.json b/spec/support/expected_files/remove_repo_with_dependencies/nullified_relationships/build_14.json new file mode 100644 index 0000000..8ca7a1a --- /dev/null +++ b/spec/support/expected_files/remove_repo_with_dependencies/nullified_relationships/build_14.json @@ -0,0 +1,35 @@ +{ + "table_name": "builds", + "nullified_relationships": [ + { + "related_table": "branches", + "foreign_key": "last_build_id", + "parent_id": 158, + "related_id": 38 + }, + { + "related_table": "branches", + "foreign_key": "last_build_id", + "parent_id": 163, + "related_id": 39 + }, + { + "related_table": "repositories", + "foreign_key": "current_build_id", + "parent_id": 163, + "related_id": 67 + }, + { + "related_table": "repositories", + "foreign_key": "last_build_id", + "parent_id": 163, + "related_id": 66 + }, + { + "related_table": "tags", + "foreign_key": "last_build_id", + "parent_id": 163, + "related_id": 39 + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/nullified_relationships/build_15.json b/spec/support/expected_files/remove_repo_with_dependencies/nullified_relationships/build_15.json new file mode 100644 index 0000000..d190613 --- /dev/null +++ b/spec/support/expected_files/remove_repo_with_dependencies/nullified_relationships/build_15.json @@ -0,0 +1,35 @@ +{ + "table_name": "builds", + "nullified_relationships": [ + { + "related_table": "branches", + "foreign_key": "last_build_id", + "parent_id": 166, + "related_id": 40 + }, + { + "related_table": "repositories", + "foreign_key": "current_build_id", + "parent_id": 166, + "related_id": 69 + }, + { + "related_table": "repositories", + "foreign_key": "current_build_id", + "parent_id": 173, + "related_id": 71 + }, + { + "related_table": "repositories", + "foreign_key": "last_build_id", + "parent_id": 166, + "related_id": 68 + }, + { + "related_table": "tags", + "foreign_key": "last_build_id", + "parent_id": 166, + "related_id": 40 + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/nullified_relationships/build_16.json b/spec/support/expected_files/remove_repo_with_dependencies/nullified_relationships/build_16.json new file mode 100644 index 0000000..6064491 --- /dev/null +++ b/spec/support/expected_files/remove_repo_with_dependencies/nullified_relationships/build_16.json @@ -0,0 +1,23 @@ +{ + "table_name": "builds", + "nullified_relationships": [ + { + "related_table": "branches", + "foreign_key": "last_build_id", + "parent_id": 173, + "related_id": 41 + }, + { + "related_table": "repositories", + "foreign_key": "last_build_id", + "parent_id": 173, + "related_id": 70 + }, + { + "related_table": "tags", + "foreign_key": "last_build_id", + "parent_id": 173, + "related_id": 41 + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/nullified_relationships/build_2.json b/spec/support/expected_files/remove_repo_with_dependencies/nullified_relationships/build_2.json index be7794f..25141a6 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/nullified_relationships/build_2.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/nullified_relationships/build_2.json @@ -2,34 +2,34 @@ "table_name": "builds", "nullified_relationships": [ { - "related_table": "tags", + "related_table": "branches", "foreign_key": "last_build_id", "parent_id": 1, - "related_id": 6 + "related_id": 10 }, { "related_table": "branches", "foreign_key": "last_build_id", "parent_id": 1, - "related_id": 77 + "related_id": 5 }, { - "related_table": "branches", + "related_table": "deleted_tags", "foreign_key": "last_build_id", "parent_id": 1, - "related_id": 82 + "related_id": 1 }, { "related_table": "repositories", "foreign_key": "current_build_id", - "parent_id": 51, + "parent_id": 52, "related_id": 23 }, { - "related_table": "repositories", + "related_table": "tags", "foreign_key": "last_build_id", - "parent_id": 51, - "related_id": 22 + "parent_id": 1, + "related_id": 6 } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/nullified_relationships/build_3.json b/spec/support/expected_files/remove_repo_with_dependencies/nullified_relationships/build_3.json index 9187a39..38e8b28 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/nullified_relationships/build_3.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/nullified_relationships/build_3.json @@ -1,35 +1,35 @@ { "table_name": "builds", "nullified_relationships": [ - { - "related_table": "tags", - "foreign_key": "last_build_id", - "parent_id": 51, - "related_id": 13 - }, { "related_table": "branches", "foreign_key": "last_build_id", - "parent_id": 51, - "related_id": 85 + "parent_id": 52, + "related_id": 13 }, { "related_table": "repositories", "foreign_key": "current_build_id", - "parent_id": 58, + "parent_id": 59, "related_id": 25 }, { "related_table": "repositories", "foreign_key": "last_build_id", - "parent_id": 58, + "parent_id": 52, + "related_id": 22 + }, + { + "related_table": "repositories", + "foreign_key": "last_build_id", + "parent_id": 59, "related_id": 24 }, { "related_table": "tags", "foreign_key": "last_build_id", - "parent_id": 58, - "related_id": 14 + "parent_id": 52, + "related_id": 13 } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/nullified_relationships/build_4.json b/spec/support/expected_files/remove_repo_with_dependencies/nullified_relationships/build_4.json index 0369249..5d98c71 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/nullified_relationships/build_4.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/nullified_relationships/build_4.json @@ -4,32 +4,32 @@ { "related_table": "branches", "foreign_key": "last_build_id", - "parent_id": 58, - "related_id": 87 + "parent_id": 59, + "related_id": 15 }, { "related_table": "repositories", "foreign_key": "current_build_id", - "parent_id": 63, + "parent_id": 64, "related_id": 27 }, { "related_table": "repositories", "foreign_key": "last_build_id", - "parent_id": 63, + "parent_id": 64, "related_id": 26 }, { "related_table": "tags", "foreign_key": "last_build_id", - "parent_id": 63, - "related_id": 15 + "parent_id": 59, + "related_id": 14 }, { - "related_table": "branches", + "related_table": "tags", "foreign_key": "last_build_id", - "parent_id": 63, - "related_id": 88 + "parent_id": 64, + "related_id": 15 } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/nullified_relationships/build_5.json b/spec/support/expected_files/remove_repo_with_dependencies/nullified_relationships/build_5.json index c056257..2ed1f7b 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/nullified_relationships/build_5.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/nullified_relationships/build_5.json @@ -1,35 +1,35 @@ { "table_name": "builds", "nullified_relationships": [ + { + "related_table": "branches", + "foreign_key": "last_build_id", + "parent_id": 64, + "related_id": 16 + }, + { + "related_table": "branches", + "foreign_key": "last_build_id", + "parent_id": 69, + "related_id": 17 + }, { "related_table": "repositories", "foreign_key": "current_build_id", - "parent_id": 68, + "parent_id": 69, "related_id": 29 }, { "related_table": "repositories", "foreign_key": "last_build_id", - "parent_id": 68, + "parent_id": 69, "related_id": 28 }, { "related_table": "tags", "foreign_key": "last_build_id", - "parent_id": 68, + "parent_id": 69, "related_id": 16 - }, - { - "related_table": "branches", - "foreign_key": "last_build_id", - "parent_id": 68, - "related_id": 89 - }, - { - "related_table": "repositories", - "foreign_key": "current_build_id", - "parent_id": 73, - "related_id": 31 } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/nullified_relationships/build_6.json b/spec/support/expected_files/remove_repo_with_dependencies/nullified_relationships/build_6.json index 2b3a562..9475ffd 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/nullified_relationships/build_6.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/nullified_relationships/build_6.json @@ -2,34 +2,34 @@ "table_name": "builds", "nullified_relationships": [ { - "related_table": "repositories", - "foreign_key": "last_build_id", - "parent_id": 73, - "related_id": 30 - }, - { - "related_table": "tags", + "related_table": "branches", "foreign_key": "last_build_id", - "parent_id": 73, - "related_id": 17 + "parent_id": 74, + "related_id": 18 }, { - "related_table": "branches", - "foreign_key": "last_build_id", - "parent_id": 73, - "related_id": 90 + "related_table": "repositories", + "foreign_key": "current_build_id", + "parent_id": 74, + "related_id": 31 }, { "related_table": "repositories", "foreign_key": "current_build_id", - "parent_id": 78, + "parent_id": 79, "related_id": 33 }, { "related_table": "repositories", "foreign_key": "last_build_id", - "parent_id": 78, - "related_id": 32 + "parent_id": 74, + "related_id": 30 + }, + { + "related_table": "tags", + "foreign_key": "last_build_id", + "parent_id": 74, + "related_id": 17 } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/nullified_relationships/build_7.json b/spec/support/expected_files/remove_repo_with_dependencies/nullified_relationships/build_7.json index dda4205..1a6e1c1 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/nullified_relationships/build_7.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/nullified_relationships/build_7.json @@ -1,35 +1,35 @@ { "table_name": "builds", "nullified_relationships": [ - { - "related_table": "tags", - "foreign_key": "last_build_id", - "parent_id": 78, - "related_id": 18 - }, { "related_table": "branches", "foreign_key": "last_build_id", - "parent_id": 78, - "related_id": 92 + "parent_id": 79, + "related_id": 20 }, { "related_table": "repositories", "foreign_key": "current_build_id", - "parent_id": 83, + "parent_id": 84, "related_id": 35 }, { "related_table": "repositories", "foreign_key": "last_build_id", - "parent_id": 83, + "parent_id": 79, + "related_id": 32 + }, + { + "related_table": "repositories", + "foreign_key": "last_build_id", + "parent_id": 84, "related_id": 34 }, { "related_table": "tags", "foreign_key": "last_build_id", - "parent_id": 83, - "related_id": 19 + "parent_id": 79, + "related_id": 18 } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/nullified_relationships/build_8.json b/spec/support/expected_files/remove_repo_with_dependencies/nullified_relationships/build_8.json index 33d14e6..f7185d8 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/nullified_relationships/build_8.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/nullified_relationships/build_8.json @@ -4,32 +4,32 @@ { "related_table": "branches", "foreign_key": "last_build_id", - "parent_id": 83, - "related_id": 93 + "parent_id": 84, + "related_id": 21 }, { "related_table": "repositories", "foreign_key": "current_build_id", - "parent_id": 88, + "parent_id": 89, "related_id": 54 }, { "related_table": "repositories", "foreign_key": "current_build_id", - "parent_id": 88, + "parent_id": 89, "related_id": 55 }, { "related_table": "repositories", "foreign_key": "last_build_id", - "parent_id": 88, + "parent_id": 89, "related_id": 52 }, { - "related_table": "repositories", + "related_table": "tags", "foreign_key": "last_build_id", - "parent_id": 88, - "related_id": 53 + "parent_id": 84, + "related_id": 19 } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/nullified_relationships/build_9.json b/spec/support/expected_files/remove_repo_with_dependencies/nullified_relationships/build_9.json index 2cff1ec..0559dd2 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/nullified_relationships/build_9.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/nullified_relationships/build_9.json @@ -2,34 +2,34 @@ "table_name": "builds", "nullified_relationships": [ { - "related_table": "tags", + "related_table": "branches", "foreign_key": "last_build_id", - "parent_id": 88, - "related_id": 20 + "parent_id": 89, + "related_id": 26 }, { - "related_table": "tags", + "related_table": "deleted_tags", "foreign_key": "last_build_id", - "parent_id": 88, - "related_id": 25 + "parent_id": 89, + "related_id": 2 }, { - "related_table": "branches", + "related_table": "repositories", "foreign_key": "last_build_id", - "parent_id": 88, - "related_id": 98 + "parent_id": 89, + "related_id": 53 }, { - "related_table": "branches", + "related_table": "tags", "foreign_key": "last_build_id", - "parent_id": 88, - "related_id": 103 + "parent_id": 89, + "related_id": 20 }, { - "related_table": "repositories", - "foreign_key": "current_build_id", - "parent_id": 138, - "related_id": 57 + "related_table": "tags", + "foreign_key": "last_build_id", + "parent_id": 89, + "related_id": 25 } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/permission_3-4.json b/spec/support/expected_files/remove_repo_with_dependencies/permission_3-4.json index 56c2d35..52eb838 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/permission_3-4.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/permission_3-4.json @@ -7,7 +7,9 @@ "repository_id": 1, "admin": false, "push": false, - "pull": false + "pull": false, + "org_id": null, + "com_id": null }, { "id": 4, @@ -15,7 +17,9 @@ "repository_id": 1, "admin": false, "push": false, - "pull": false + "pull": false, + "org_id": null, + "com_id": null } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/pull_request_3-6.json b/spec/support/expected_files/remove_repo_with_dependencies/pull_request_3-6.json index 7a6a2c5..02cbd3a 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/pull_request_3-6.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/pull_request_3-6.json @@ -10,8 +10,15 @@ "head_repo_github_id": null, "head_repo_slug": null, "head_ref": null, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC" + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "org_id": null, + "com_id": null, + "mergeable_state": null, + "head_repo_vcs_id": null, + "base_repo_slug": null, + "base_repo_vcs_id": null, + "base_ref": null }, { "id": 6, @@ -22,8 +29,15 @@ "head_repo_github_id": null, "head_repo_slug": null, "head_ref": null, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC" + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "org_id": null, + "com_id": null, + "mergeable_state": null, + "head_repo_vcs_id": null, + "base_repo_slug": null, + "base_repo_vcs_id": null, + "base_ref": null } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/queueable_job_1-19.json b/spec/support/expected_files/remove_repo_with_dependencies/queueable_job_1-19.json index 858cbb5..4e7316c 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/queueable_job_1-19.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/queueable_job_1-19.json @@ -11,15 +11,15 @@ }, { "id": 17, - "job_id": 54 + "job_id": 55 }, { "id": 18, - "job_id": 54 + "job_id": 55 }, { "id": 19, - "job_id": 56 + "job_id": 57 } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/queueable_job_20-24.json b/spec/support/expected_files/remove_repo_with_dependencies/queueable_job_20-24.json index 5274e58..ed9d9e2 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/queueable_job_20-24.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/queueable_job_20-24.json @@ -3,23 +3,23 @@ "data": [ { "id": 20, - "job_id": 56 + "job_id": 57 }, { "id": 21, - "job_id": 61 + "job_id": 62 }, { "id": 22, - "job_id": 61 + "job_id": 62 }, { "id": 23, - "job_id": 66 + "job_id": 67 }, { "id": 24, - "job_id": 66 + "job_id": 67 } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/queueable_job_25-29.json b/spec/support/expected_files/remove_repo_with_dependencies/queueable_job_25-29.json index 1fc2d88..af6eea8 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/queueable_job_25-29.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/queueable_job_25-29.json @@ -3,23 +3,23 @@ "data": [ { "id": 25, - "job_id": 71 + "job_id": 72 }, { "id": 26, - "job_id": 71 + "job_id": 72 }, { "id": 27, - "job_id": 76 + "job_id": 77 }, { "id": 28, - "job_id": 76 + "job_id": 77 }, { "id": 29, - "job_id": 81 + "job_id": 82 } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/queueable_job_30-34.json b/spec/support/expected_files/remove_repo_with_dependencies/queueable_job_30-34.json index 38ef88d..a73a124 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/queueable_job_30-34.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/queueable_job_30-34.json @@ -3,23 +3,23 @@ "data": [ { "id": 30, - "job_id": 81 + "job_id": 82 }, { "id": 31, - "job_id": 86 + "job_id": 87 }, { "id": 32, - "job_id": 86 + "job_id": 87 }, { "id": 33, - "job_id": 93 + "job_id": 94 }, { "id": 34, - "job_id": 93 + "job_id": 94 } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/queueable_job_49-53.json b/spec/support/expected_files/remove_repo_with_dependencies/queueable_job_49-53.json index 98c6643..2a5b437 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/queueable_job_49-53.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/queueable_job_49-53.json @@ -3,23 +3,23 @@ "data": [ { "id": 49, - "job_id": 141 + "job_id": 143 }, { "id": 50, - "job_id": 141 + "job_id": 143 }, { "id": 51, - "job_id": 149 + "job_id": 151 }, { "id": 52, - "job_id": 149 + "job_id": 151 }, { "id": 53, - "job_id": 154 + "job_id": 156 } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/queueable_job_54-56.json b/spec/support/expected_files/remove_repo_with_dependencies/queueable_job_54-56.json deleted file mode 100644 index dcd0d35..0000000 --- a/spec/support/expected_files/remove_repo_with_dependencies/queueable_job_54-56.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "table_name": "queueable_jobs", - "data": [ - { - "id": 54, - "job_id": 154 - }, - { - "id": 55, - "job_id": 159 - }, - { - "id": 56, - "job_id": 159 - } - ] -} \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/queueable_job_54-58.json b/spec/support/expected_files/remove_repo_with_dependencies/queueable_job_54-58.json new file mode 100644 index 0000000..318b4b8 --- /dev/null +++ b/spec/support/expected_files/remove_repo_with_dependencies/queueable_job_54-58.json @@ -0,0 +1,25 @@ +{ + "table_name": "queueable_jobs", + "data": [ + { + "id": 54, + "job_id": 156 + }, + { + "id": 55, + "job_id": 161 + }, + { + "id": 56, + "job_id": 161 + }, + { + "id": 57, + "job_id": 169 + }, + { + "id": 58, + "job_id": 169 + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/queueable_job_59-62.json b/spec/support/expected_files/remove_repo_with_dependencies/queueable_job_59-62.json new file mode 100644 index 0000000..85f4ecc --- /dev/null +++ b/spec/support/expected_files/remove_repo_with_dependencies/queueable_job_59-62.json @@ -0,0 +1,21 @@ +{ + "table_name": "queueable_jobs", + "data": [ + { + "id": 59, + "job_id": 171 + }, + { + "id": 60, + "job_id": 171 + }, + { + "id": 61, + "job_id": 176 + }, + { + "id": 62, + "job_id": 176 + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/repo_count_1-1.json b/spec/support/expected_files/remove_repo_with_dependencies/repo_count_1-1.json new file mode 100644 index 0000000..31fee31 --- /dev/null +++ b/spec/support/expected_files/remove_repo_with_dependencies/repo_count_1-1.json @@ -0,0 +1,17 @@ +{ + "table_name": "repo_counts", + "data": [ + { + "repository_id": 1, + "requests": null, + "commits": null, + "branches": null, + "pull_requests": null, + "tags": null, + "builds": null, + "stages": null, + "jobs": null, + "range": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/repository_1-1.json b/spec/support/expected_files/remove_repo_with_dependencies/repository_1-1.json index ce544de..37790ca 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/repository_1-1.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/repository_1-1.json @@ -5,8 +5,8 @@ "id": 1, "name": null, "url": null, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", "last_build_id": null, "last_build_number": null, "last_build_started_at": null, @@ -16,8 +16,8 @@ "active": null, "description": null, "last_build_duration": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "private": false, "last_build_state": null, "github_id": null, @@ -26,7 +26,20 @@ "settings": null, "next_build_number": null, "invalidated_at": null, - "current_build_id": null + "current_build_id": null, + "org_id": null, + "com_id": null, + "migrating": null, + "migrated_at": null, + "active_on_org": null, + "managed_by_installation_at": null, + "migration_status": null, + "history_migration_status": null, + "vcs_type": "GithubRepository", + "vcs_id": null, + "fork": null, + "vcs_slug": null, + "vcs_source_host": null } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/request_11-15.json b/spec/support/expected_files/remove_repo_with_dependencies/request_11-15.json index 22d2548..3416ce3 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/request_11-15.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/request_11-15.json @@ -7,27 +7,31 @@ "commit_id": null, "state": null, "source": null, - "payload": null, "token": null, - "config": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", "event_type": null, "comments_url": null, "base_commit": null, "head_commit": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "message": null, "private": null, "pull_request_id": null, "branch_id": null, "tag_id": null, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": null, + "yaml_config_id": null, + "github_guid": null, + "pull_request_mergeable": null }, { "id": 12, @@ -35,83 +39,95 @@ "commit_id": null, "state": null, "source": null, - "payload": null, "token": null, - "config": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", "event_type": null, "comments_url": null, "base_commit": null, "head_commit": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "message": null, "private": null, "pull_request_id": null, "branch_id": null, "tag_id": null, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": null, + "yaml_config_id": null, + "github_guid": null, + "pull_request_mergeable": null }, { "id": 13, "repository_id": null, - "commit_id": 217, + "commit_id": 7, "state": null, "source": null, - "payload": null, "token": null, - "config": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", "event_type": null, "comments_url": null, "base_commit": null, "head_commit": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "message": null, "private": null, "pull_request_id": null, "branch_id": null, "tag_id": null, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": null, + "yaml_config_id": null, + "github_guid": null, + "pull_request_mergeable": null }, { "id": 14, "repository_id": null, - "commit_id": 217, + "commit_id": 7, "state": null, "source": null, - "payload": null, "token": null, - "config": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", "event_type": null, "comments_url": null, "base_commit": null, "head_commit": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "message": null, "private": null, "pull_request_id": null, "branch_id": null, "tag_id": null, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": null, + "yaml_config_id": null, + "github_guid": null, + "pull_request_mergeable": null }, { "id": 15, @@ -119,27 +135,31 @@ "commit_id": null, "state": null, "source": null, - "payload": null, "token": null, - "config": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", "event_type": null, "comments_url": null, "base_commit": null, "head_commit": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "message": null, "private": null, "pull_request_id": null, - "branch_id": 86, + "branch_id": 14, "tag_id": null, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": null, + "yaml_config_id": null, + "github_guid": null, + "pull_request_mergeable": null } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/request_16-30.json b/spec/support/expected_files/remove_repo_with_dependencies/request_16-30.json index 6822b21..0f98ba2 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/request_16-30.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/request_16-30.json @@ -7,83 +7,95 @@ "commit_id": null, "state": null, "source": null, - "payload": null, "token": null, - "config": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", "event_type": null, "comments_url": null, "base_commit": null, "head_commit": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "message": null, "private": null, "pull_request_id": null, - "branch_id": 86, + "branch_id": 14, "tag_id": null, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": null, + "yaml_config_id": null, + "github_guid": null, + "pull_request_mergeable": null }, { "id": 17, "repository_id": null, - "commit_id": 219, + "commit_id": 9, "state": null, "source": null, - "payload": null, "token": null, - "config": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", "event_type": null, "comments_url": null, "base_commit": null, "head_commit": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "message": null, "private": null, "pull_request_id": null, "branch_id": null, "tag_id": null, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": null, + "yaml_config_id": null, + "github_guid": null, + "pull_request_mergeable": null }, { "id": 18, "repository_id": null, - "commit_id": 219, + "commit_id": 9, "state": null, "source": null, - "payload": null, "token": null, - "config": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", "event_type": null, "comments_url": null, "base_commit": null, "head_commit": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "message": null, "private": null, "pull_request_id": null, "branch_id": null, "tag_id": null, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": null, + "yaml_config_id": null, + "github_guid": null, + "pull_request_mergeable": null }, { "id": 29, @@ -91,27 +103,31 @@ "commit_id": null, "state": null, "source": null, - "payload": null, "token": null, - "config": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", "event_type": null, "comments_url": null, "base_commit": null, "head_commit": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "message": null, "private": null, "pull_request_id": 3, "branch_id": null, "tag_id": null, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": null, + "yaml_config_id": null, + "github_guid": null, + "pull_request_mergeable": null }, { "id": 30, @@ -119,27 +135,31 @@ "commit_id": null, "state": null, "source": null, - "payload": null, "token": null, - "config": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", "event_type": null, "comments_url": null, "base_commit": null, "head_commit": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "message": null, "private": null, "pull_request_id": 3, "branch_id": null, "tag_id": null, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": null, + "yaml_config_id": null, + "github_guid": null, + "pull_request_mergeable": null } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/request_31-35.json b/spec/support/expected_files/remove_repo_with_dependencies/request_31-35.json new file mode 100644 index 0000000..1baf2f7 --- /dev/null +++ b/spec/support/expected_files/remove_repo_with_dependencies/request_31-35.json @@ -0,0 +1,165 @@ +{ + "table_name": "requests", + "data": [ + { + "id": 31, + "repository_id": null, + "commit_id": 17, + "state": null, + "source": null, + "token": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "event_type": null, + "comments_url": null, + "base_commit": null, + "head_commit": null, + "owner_type": null, + "owner_id": null, + "result": null, + "message": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "yaml_config_id": null, + "github_guid": null, + "pull_request_mergeable": null + }, + { + "id": 32, + "repository_id": null, + "commit_id": 17, + "state": null, + "source": null, + "token": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "event_type": null, + "comments_url": null, + "base_commit": null, + "head_commit": null, + "owner_type": null, + "owner_id": null, + "result": null, + "message": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "yaml_config_id": null, + "github_guid": null, + "pull_request_mergeable": null + }, + { + "id": 33, + "repository_id": null, + "commit_id": null, + "state": null, + "source": null, + "token": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "event_type": null, + "comments_url": null, + "base_commit": null, + "head_commit": null, + "owner_type": null, + "owner_id": null, + "result": null, + "message": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": 33, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "yaml_config_id": null, + "github_guid": null, + "pull_request_mergeable": null + }, + { + "id": 34, + "repository_id": null, + "commit_id": null, + "state": null, + "source": null, + "token": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "event_type": null, + "comments_url": null, + "base_commit": null, + "head_commit": null, + "owner_type": null, + "owner_id": null, + "result": null, + "message": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": 33, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "yaml_config_id": null, + "github_guid": null, + "pull_request_mergeable": null + }, + { + "id": 35, + "repository_id": null, + "commit_id": null, + "state": null, + "source": null, + "token": null, + "started_at": null, + "finished_at": null, + "created_at": "2022-03-30 23:31:18 UTC", + "updated_at": "2022-03-30 23:31:18 UTC", + "event_type": null, + "comments_url": null, + "base_commit": null, + "head_commit": null, + "owner_type": null, + "owner_id": null, + "result": null, + "message": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": 1, + "yaml_config_id": null, + "github_guid": null, + "pull_request_mergeable": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/request_31-34.json b/spec/support/expected_files/remove_repo_with_dependencies/request_36-38.json similarity index 54% rename from spec/support/expected_files/remove_repo_with_dependencies/request_31-34.json rename to spec/support/expected_files/remove_repo_with_dependencies/request_36-38.json index 486e755..6c5b9c7 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/request_31-34.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/request_36-38.json @@ -2,116 +2,100 @@ "table_name": "requests", "data": [ { - "id": 31, + "id": 36, "repository_id": null, - "commit_id": 227, + "commit_id": null, "state": null, "source": null, - "payload": null, "token": null, - "config": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", + "created_at": "2022-03-30 23:31:18 UTC", + "updated_at": "2022-03-30 23:31:18 UTC", "event_type": null, "comments_url": null, "base_commit": null, "head_commit": null, - "owner_id": null, "owner_type": null, - "result": null, - "message": null, - "private": null, - "pull_request_id": null, - "branch_id": null, - "tag_id": null, - "sender_id": null, - "sender_type": null - }, - { - "id": 32, - "repository_id": null, - "commit_id": 227, - "state": null, - "source": null, - "payload": null, - "token": null, - "config": null, - "started_at": null, - "finished_at": null, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", - "event_type": null, - "comments_url": null, - "base_commit": null, - "head_commit": null, "owner_id": null, - "owner_type": null, "result": null, "message": null, "private": null, "pull_request_id": null, "branch_id": null, "tag_id": null, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": 1, + "yaml_config_id": null, + "github_guid": null, + "pull_request_mergeable": null }, { - "id": 33, + "id": 37, "repository_id": null, "commit_id": null, "state": null, "source": null, - "payload": null, "token": null, - "config": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", + "created_at": "2022-03-30 23:31:19 UTC", + "updated_at": "2022-03-30 23:31:19 UTC", "event_type": null, "comments_url": null, "base_commit": null, "head_commit": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "message": null, "private": null, "pull_request_id": null, "branch_id": null, - "tag_id": 33, + "tag_id": null, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": null, + "yaml_config_id": 1, + "github_guid": null, + "pull_request_mergeable": null }, { - "id": 34, + "id": 38, "repository_id": null, "commit_id": null, "state": null, "source": null, - "payload": null, "token": null, - "config": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC", + "created_at": "2022-03-30 23:31:19 UTC", + "updated_at": "2022-03-30 23:31:19 UTC", "event_type": null, "comments_url": null, "base_commit": null, "head_commit": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "message": null, "private": null, "pull_request_id": null, "branch_id": null, - "tag_id": 33, + "tag_id": null, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": null, + "yaml_config_id": 1, + "github_guid": null, + "pull_request_mergeable": null } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/request_config_1-2.json b/spec/support/expected_files/remove_repo_with_dependencies/request_config_1-2.json new file mode 100644 index 0000000..3721f6a --- /dev/null +++ b/spec/support/expected_files/remove_repo_with_dependencies/request_config_1-2.json @@ -0,0 +1,21 @@ +{ + "table_name": "request_configs", + "data": [ + { + "id": 1, + "repository_id": 1, + "key": "some_test_key", + "org_id": null, + "com_id": null, + "config": null + }, + { + "id": 2, + "repository_id": 1, + "key": "some_test_key", + "org_id": null, + "com_id": null, + "config": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/request_payload_14-26.json b/spec/support/expected_files/remove_repo_with_dependencies/request_payload_14-26.json new file mode 100644 index 0000000..1163b64 --- /dev/null +++ b/spec/support/expected_files/remove_repo_with_dependencies/request_payload_14-26.json @@ -0,0 +1,45 @@ +{ + "table_name": "request_payloads", + "data": [ + { + "id": 14, + "request_id": 15, + "payload": null, + "archived": false, + "created_at": "2021-08-30 23:31:15 UTC", + "org_id": null + }, + { + "id": 15, + "request_id": 17, + "payload": null, + "archived": false, + "created_at": "2021-08-30 23:31:15 UTC", + "org_id": null + }, + { + "id": 16, + "request_id": 17, + "payload": null, + "archived": false, + "created_at": "2021-08-30 23:31:15 UTC", + "org_id": null + }, + { + "id": 25, + "request_id": 29, + "payload": null, + "archived": false, + "created_at": "2021-08-30 23:31:15 UTC", + "org_id": null + }, + { + "id": 26, + "request_id": 29, + "payload": null, + "archived": false, + "created_at": "2021-08-30 23:31:15 UTC", + "org_id": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/request_payload_27-31.json b/spec/support/expected_files/remove_repo_with_dependencies/request_payload_27-31.json new file mode 100644 index 0000000..bd8d548 --- /dev/null +++ b/spec/support/expected_files/remove_repo_with_dependencies/request_payload_27-31.json @@ -0,0 +1,45 @@ +{ + "table_name": "request_payloads", + "data": [ + { + "id": 27, + "request_id": 31, + "payload": null, + "archived": false, + "created_at": "2021-08-30 23:31:15 UTC", + "org_id": null + }, + { + "id": 28, + "request_id": 31, + "payload": null, + "archived": false, + "created_at": "2021-08-30 23:31:15 UTC", + "org_id": null + }, + { + "id": 29, + "request_id": 33, + "payload": null, + "archived": false, + "created_at": "2021-08-30 23:31:15 UTC", + "org_id": null + }, + { + "id": 30, + "request_id": 33, + "payload": null, + "archived": false, + "created_at": "2021-08-30 23:31:15 UTC", + "org_id": null + }, + { + "id": 31, + "request_id": 35, + "payload": null, + "archived": false, + "created_at": "2022-03-30 23:31:18 UTC", + "org_id": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/request_payload_32-34.json b/spec/support/expected_files/remove_repo_with_dependencies/request_payload_32-34.json new file mode 100644 index 0000000..99d9cc4 --- /dev/null +++ b/spec/support/expected_files/remove_repo_with_dependencies/request_payload_32-34.json @@ -0,0 +1,29 @@ +{ + "table_name": "request_payloads", + "data": [ + { + "id": 32, + "request_id": 35, + "payload": null, + "archived": false, + "created_at": "2022-03-30 23:31:18 UTC", + "org_id": null + }, + { + "id": 33, + "request_id": 37, + "payload": null, + "archived": false, + "created_at": "2022-03-30 23:31:19 UTC", + "org_id": null + }, + { + "id": 34, + "request_id": 37, + "payload": null, + "archived": false, + "created_at": "2022-03-30 23:31:19 UTC", + "org_id": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/request_payload_9-13.json b/spec/support/expected_files/remove_repo_with_dependencies/request_payload_9-13.json new file mode 100644 index 0000000..1f746c7 --- /dev/null +++ b/spec/support/expected_files/remove_repo_with_dependencies/request_payload_9-13.json @@ -0,0 +1,45 @@ +{ + "table_name": "request_payloads", + "data": [ + { + "id": 9, + "request_id": 11, + "payload": null, + "archived": false, + "created_at": "2021-08-30 23:31:15 UTC", + "org_id": null + }, + { + "id": 10, + "request_id": 11, + "payload": null, + "archived": false, + "created_at": "2021-08-30 23:31:15 UTC", + "org_id": null + }, + { + "id": 11, + "request_id": 13, + "payload": null, + "archived": false, + "created_at": "2021-08-30 23:31:15 UTC", + "org_id": null + }, + { + "id": 12, + "request_id": 13, + "payload": null, + "archived": false, + "created_at": "2021-08-30 23:31:15 UTC", + "org_id": null + }, + { + "id": 13, + "request_id": 15, + "payload": null, + "archived": false, + "created_at": "2021-08-30 23:31:15 UTC", + "org_id": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/request_raw_config_1-2.json b/spec/support/expected_files/remove_repo_with_dependencies/request_raw_config_1-2.json new file mode 100644 index 0000000..c72323d --- /dev/null +++ b/spec/support/expected_files/remove_repo_with_dependencies/request_raw_config_1-2.json @@ -0,0 +1,19 @@ +{ + "table_name": "request_raw_configs", + "data": [ + { + "id": 1, + "config": null, + "repository_id": 1, + "key": "some_test_key", + "org_id": null + }, + { + "id": 2, + "config": null, + "repository_id": 1, + "key": "some_test_key", + "org_id": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/request_raw_configuration_14-26.json b/spec/support/expected_files/remove_repo_with_dependencies/request_raw_configuration_14-26.json new file mode 100644 index 0000000..9590ef0 --- /dev/null +++ b/spec/support/expected_files/remove_repo_with_dependencies/request_raw_configuration_14-26.json @@ -0,0 +1,45 @@ +{ + "table_name": "request_raw_configurations", + "data": [ + { + "id": 14, + "request_id": 15, + "request_raw_config_id": null, + "source": null, + "org_id": null, + "merge_mode": null + }, + { + "id": 15, + "request_id": 17, + "request_raw_config_id": null, + "source": null, + "org_id": null, + "merge_mode": null + }, + { + "id": 16, + "request_id": 17, + "request_raw_config_id": null, + "source": null, + "org_id": null, + "merge_mode": null + }, + { + "id": 25, + "request_id": 29, + "request_raw_config_id": null, + "source": null, + "org_id": null, + "merge_mode": null + }, + { + "id": 26, + "request_id": 29, + "request_raw_config_id": null, + "source": null, + "org_id": null, + "merge_mode": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/request_raw_configuration_27-31.json b/spec/support/expected_files/remove_repo_with_dependencies/request_raw_configuration_27-31.json new file mode 100644 index 0000000..46d82ef --- /dev/null +++ b/spec/support/expected_files/remove_repo_with_dependencies/request_raw_configuration_27-31.json @@ -0,0 +1,45 @@ +{ + "table_name": "request_raw_configurations", + "data": [ + { + "id": 27, + "request_id": 31, + "request_raw_config_id": null, + "source": null, + "org_id": null, + "merge_mode": null + }, + { + "id": 28, + "request_id": 31, + "request_raw_config_id": null, + "source": null, + "org_id": null, + "merge_mode": null + }, + { + "id": 29, + "request_id": 33, + "request_raw_config_id": null, + "source": null, + "org_id": null, + "merge_mode": null + }, + { + "id": 30, + "request_id": 33, + "request_raw_config_id": null, + "source": null, + "org_id": null, + "merge_mode": null + }, + { + "id": 31, + "request_id": 35, + "request_raw_config_id": null, + "source": null, + "org_id": null, + "merge_mode": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/request_raw_configuration_32-36.json b/spec/support/expected_files/remove_repo_with_dependencies/request_raw_configuration_32-36.json new file mode 100644 index 0000000..fe9accd --- /dev/null +++ b/spec/support/expected_files/remove_repo_with_dependencies/request_raw_configuration_32-36.json @@ -0,0 +1,45 @@ +{ + "table_name": "request_raw_configurations", + "data": [ + { + "id": 32, + "request_id": 35, + "request_raw_config_id": null, + "source": null, + "org_id": null, + "merge_mode": null + }, + { + "id": 33, + "request_id": null, + "request_raw_config_id": 1, + "source": null, + "org_id": null, + "merge_mode": null + }, + { + "id": 34, + "request_id": null, + "request_raw_config_id": 1, + "source": null, + "org_id": null, + "merge_mode": null + }, + { + "id": 35, + "request_id": 37, + "request_raw_config_id": null, + "source": null, + "org_id": null, + "merge_mode": null + }, + { + "id": 36, + "request_id": 37, + "request_raw_config_id": null, + "source": null, + "org_id": null, + "merge_mode": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/request_raw_configuration_9-13.json b/spec/support/expected_files/remove_repo_with_dependencies/request_raw_configuration_9-13.json new file mode 100644 index 0000000..613d490 --- /dev/null +++ b/spec/support/expected_files/remove_repo_with_dependencies/request_raw_configuration_9-13.json @@ -0,0 +1,45 @@ +{ + "table_name": "request_raw_configurations", + "data": [ + { + "id": 9, + "request_id": 11, + "request_raw_config_id": null, + "source": null, + "org_id": null, + "merge_mode": null + }, + { + "id": 10, + "request_id": 11, + "request_raw_config_id": null, + "source": null, + "org_id": null, + "merge_mode": null + }, + { + "id": 11, + "request_id": 13, + "request_raw_config_id": null, + "source": null, + "org_id": null, + "merge_mode": null + }, + { + "id": 12, + "request_id": 13, + "request_raw_config_id": null, + "source": null, + "org_id": null, + "merge_mode": null + }, + { + "id": 13, + "request_id": 15, + "request_raw_config_id": null, + "source": null, + "org_id": null, + "merge_mode": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/request_yaml_config_1-2.json b/spec/support/expected_files/remove_repo_with_dependencies/request_yaml_config_1-2.json new file mode 100644 index 0000000..568e31b --- /dev/null +++ b/spec/support/expected_files/remove_repo_with_dependencies/request_yaml_config_1-2.json @@ -0,0 +1,21 @@ +{ + "table_name": "request_yaml_configs", + "data": [ + { + "id": 1, + "yaml": null, + "repository_id": 1, + "key": "some_test_key", + "org_id": null, + "com_id": null + }, + { + "id": 2, + "yaml": null, + "repository_id": 1, + "key": "some_test_key", + "org_id": null, + "com_id": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/ssl_key_3-4.json b/spec/support/expected_files/remove_repo_with_dependencies/ssl_key_3-4.json new file mode 100644 index 0000000..ef6c765 --- /dev/null +++ b/spec/support/expected_files/remove_repo_with_dependencies/ssl_key_3-4.json @@ -0,0 +1,25 @@ +{ + "table_name": "ssl_keys", + "data": [ + { + "id": 3, + "repository_id": 1, + "public_key": null, + "private_key": null, + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "org_id": null, + "com_id": null + }, + { + "id": 4, + "repository_id": 1, + "public_key": null, + "private_key": null, + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "org_id": null, + "com_id": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/ssl_key_33-34.json b/spec/support/expected_files/remove_repo_with_dependencies/ssl_key_33-34.json deleted file mode 100644 index 2261aac..0000000 --- a/spec/support/expected_files/remove_repo_with_dependencies/ssl_key_33-34.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "table_name": "ssl_keys", - "data": [ - { - "id": 33, - "repository_id": 1, - "public_key": null, - "private_key": null, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC" - }, - { - "id": 34, - "repository_id": 1, - "public_key": null, - "private_key": null, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC" - } - ] -} \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/stage_20-32.json b/spec/support/expected_files/remove_repo_with_dependencies/stage_1-13.json similarity index 58% rename from spec/support/expected_files/remove_repo_with_dependencies/stage_20-32.json rename to spec/support/expected_files/remove_repo_with_dependencies/stage_1-13.json index 91fcb2e..ccba356 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/stage_20-32.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/stage_1-13.json @@ -2,49 +2,59 @@ "table_name": "stages", "data": [ { - "id": 20, + "id": 1, "build_id": 1, "number": null, "name": null, "state": null, "started_at": null, - "finished_at": null + "finished_at": null, + "org_id": null, + "com_id": null }, { - "id": 21, + "id": 2, "build_id": 1, "number": null, "name": null, "state": null, "started_at": null, - "finished_at": null + "finished_at": null, + "org_id": null, + "com_id": null }, { - "id": 30, - "build_id": 51, + "id": 3, + "build_id": 1, "number": null, "name": null, "state": null, "started_at": null, - "finished_at": null + "finished_at": null, + "org_id": null, + "com_id": null }, { - "id": 31, - "build_id": 58, + "id": 12, + "build_id": 52, "number": null, "name": null, "state": null, "started_at": null, - "finished_at": null + "finished_at": null, + "org_id": null, + "com_id": null }, { - "id": 32, - "build_id": 63, + "id": 13, + "build_id": 59, "number": null, "name": null, "state": null, "started_at": null, - "finished_at": null + "finished_at": null, + "org_id": null, + "com_id": null } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/stage_38-50.json b/spec/support/expected_files/remove_repo_with_dependencies/stage_14-18.json similarity index 50% rename from spec/support/expected_files/remove_repo_with_dependencies/stage_38-50.json rename to spec/support/expected_files/remove_repo_with_dependencies/stage_14-18.json index 40a0031..56d9de4 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/stage_38-50.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/stage_14-18.json @@ -2,49 +2,59 @@ "table_name": "stages", "data": [ { - "id": 38, - "build_id": 88, + "id": 14, + "build_id": 64, "number": null, "name": null, "state": null, "started_at": null, - "finished_at": null + "finished_at": null, + "org_id": null, + "com_id": null }, { - "id": 47, - "build_id": 138, + "id": 15, + "build_id": 69, "number": null, "name": null, "state": null, "started_at": null, - "finished_at": null + "finished_at": null, + "org_id": null, + "com_id": null }, { - "id": 48, - "build_id": 143, + "id": 16, + "build_id": 74, "number": null, "name": null, "state": null, "started_at": null, - "finished_at": null + "finished_at": null, + "org_id": null, + "com_id": null }, { - "id": 49, - "build_id": 146, + "id": 17, + "build_id": 79, "number": null, "name": null, "state": null, "started_at": null, - "finished_at": null + "finished_at": null, + "org_id": null, + "com_id": null }, { - "id": 50, - "build_id": 151, + "id": 18, + "build_id": 84, "number": null, "name": null, "state": null, "started_at": null, - "finished_at": null + "finished_at": null, + "org_id": null, + "com_id": null } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/stage_19-31.json b/spec/support/expected_files/remove_repo_with_dependencies/stage_19-31.json new file mode 100644 index 0000000..1983714 --- /dev/null +++ b/spec/support/expected_files/remove_repo_with_dependencies/stage_19-31.json @@ -0,0 +1,60 @@ +{ + "table_name": "stages", + "data": [ + { + "id": 19, + "build_id": 89, + "number": null, + "name": null, + "state": null, + "started_at": null, + "finished_at": null, + "org_id": null, + "com_id": null + }, + { + "id": 20, + "build_id": 89, + "number": null, + "name": null, + "state": null, + "started_at": null, + "finished_at": null, + "org_id": null, + "com_id": null + }, + { + "id": 21, + "build_id": 89, + "number": null, + "name": null, + "state": null, + "started_at": null, + "finished_at": null, + "org_id": null, + "com_id": null + }, + { + "id": 30, + "build_id": 140, + "number": null, + "name": null, + "state": null, + "started_at": null, + "finished_at": null, + "org_id": null, + "com_id": null + }, + { + "id": 31, + "build_id": 145, + "number": null, + "name": null, + "state": null, + "started_at": null, + "finished_at": null, + "org_id": null, + "com_id": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/stage_33-37.json b/spec/support/expected_files/remove_repo_with_dependencies/stage_32-36.json similarity index 56% rename from spec/support/expected_files/remove_repo_with_dependencies/stage_33-37.json rename to spec/support/expected_files/remove_repo_with_dependencies/stage_32-36.json index 4b99471..f6c6757 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/stage_33-37.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/stage_32-36.json @@ -2,49 +2,59 @@ "table_name": "stages", "data": [ { - "id": 33, - "build_id": 68, + "id": 32, + "build_id": 148, "number": null, "name": null, "state": null, "started_at": null, - "finished_at": null + "finished_at": null, + "org_id": null, + "com_id": null }, { - "id": 34, - "build_id": 73, + "id": 33, + "build_id": 153, "number": null, "name": null, "state": null, "started_at": null, - "finished_at": null + "finished_at": null, + "org_id": null, + "com_id": null }, { - "id": 35, - "build_id": 78, + "id": 34, + "build_id": 158, "number": null, "name": null, "state": null, "started_at": null, - "finished_at": null + "finished_at": null, + "org_id": null, + "com_id": null }, { - "id": 36, - "build_id": 83, + "id": 35, + "build_id": 163, "number": null, "name": null, "state": null, "started_at": null, - "finished_at": null + "finished_at": null, + "org_id": null, + "com_id": null }, { - "id": 37, - "build_id": 88, + "id": 36, + "build_id": 166, "number": null, "name": null, "state": null, "started_at": null, - "finished_at": null + "finished_at": null, + "org_id": null, + "com_id": null } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/stage_51-51.json b/spec/support/expected_files/remove_repo_with_dependencies/stage_37-37.json similarity index 57% rename from spec/support/expected_files/remove_repo_with_dependencies/stage_51-51.json rename to spec/support/expected_files/remove_repo_with_dependencies/stage_37-37.json index e540575..1fa0db9 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/stage_51-51.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/stage_37-37.json @@ -2,13 +2,15 @@ "table_name": "stages", "data": [ { - "id": 51, - "build_id": 156, + "id": 37, + "build_id": 173, "number": null, "name": null, "state": null, "started_at": null, - "finished_at": null + "finished_at": null, + "org_id": null, + "com_id": null } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/star_3-4.json b/spec/support/expected_files/remove_repo_with_dependencies/star_3-4.json index 5b4cb04..e4413fd 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/star_3-4.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/star_3-4.json @@ -5,15 +5,15 @@ "id": 3, "repository_id": 1, "user_id": null, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC" + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC" }, { "id": 4, "repository_id": 1, "user_id": null, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC" + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC" } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/tag_33-38.json b/spec/support/expected_files/remove_repo_with_dependencies/tag_33-38.json index 226824f..2c042b2 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/tag_33-38.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/tag_33-38.json @@ -7,8 +7,10 @@ "name": null, "last_build_id": null, "exists_on_github": null, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC" + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "org_id": null, + "com_id": null }, { "id": 38, @@ -16,8 +18,10 @@ "name": null, "last_build_id": null, "exists_on_github": null, - "created_at": "2021-04-11 22:05:24 UTC", - "updated_at": "2021-04-11 22:05:24 UTC" + "created_at": "2021-08-30 23:31:15 UTC", + "updated_at": "2021-08-30 23:31:15 UTC", + "org_id": null, + "com_id": null } ] } \ No newline at end of file From 5555069712b9e76e35236fdbce8b4630426c83ec Mon Sep 17 00:00:00 2001 From: Karol Selak Travis Date: Thu, 31 Mar 2022 10:33:18 +0200 Subject: [PATCH 06/12] wip --- spec/backup/remove_specified_spec.rb | 326 +- .../remove_org_with_dependencies.rb | 4071 ++++++++++------ .../remove_repo_with_dependencies.rb | 2279 +++++---- .../remove_user_with_dependencies.rb | 4089 ++++++++++------- .../abuse_14-26.json | 30 +- .../{abuse_27-47.json => abuse_27-31.json} | 36 +- .../abuse_32-52.json | 55 + .../abuse_48-52.json | 55 - .../abuse_53-56.json | 45 + .../abuse_9-13.json | 30 +- .../annotation_1-19.json | 55 - .../annotation_20-24.json | 55 - .../annotation_25-29.json | 55 - .../annotation_30-34.json | 55 - .../annotation_49-53.json | 55 - .../annotation_54-58.json | 55 - .../annotation_73-91.json | 55 - .../annotation_92-94.json | 35 - .../branch_14-19.json | 27 + .../branch_86-91.json | 23 - .../broadcast_1-2.json | 12 +- .../{build_1-58.json => build_1-59.json} | 145 +- ...{build_143-151.json => build_145-153.json} | 149 +- .../build_155-165.json} | 149 +- .../build_166-178.json | 230 + .../build_228-282.json} | 159 +- .../build_268-268.json | 35 - .../build_285-287.json | 95 + .../build_61-71.json} | 151 +- .../{build_73-83.json => build_74-84.json} | 149 +- .../{build_85-140.json => build_86-142.json} | 145 +- .../build_config_1-2.json | 21 + .../commit_18-18.json} | 10 +- .../commit_7-17.json} | 54 +- .../cron_2-2.json | 18 + .../cron_3-4.json | 25 - .../deleted_build_100-102.json | 140 + .../deleted_build_17-21.json | 230 + .../deleted_build_22-26.json | 230 + .../deleted_build_27-47.json | 230 + .../deleted_build_48-52.json | 230 + .../deleted_build_53-57.json | 230 + .../deleted_build_58-62.json | 230 + .../deleted_build_63-99.json | 230 + .../deleted_build_config_1-2.json | 21 + .../deleted_commit_14-14.json | 25 + .../deleted_commit_5-13.json | 105 + .../deleted_job_15-19.json | 175 + .../deleted_job_20-24.json | 175 + .../deleted_job_25-29.json | 175 + .../deleted_job_44-48.json | 175 + .../deleted_job_49-53.json | 175 + .../deleted_job_54-58.json | 175 + .../deleted_job_59-91.json | 175 + ...ob_270-272.json => deleted_job_92-94.json} | 73 +- .../deleted_job_config_1-2.json | 21 + .../deleted_pull_request_1-2.json | 43 + .../deleted_request_14-26.json | 165 + .../deleted_request_27-31.json | 165 + ..._56-58.json => deleted_request_32-34.json} | 66 +- .../deleted_request_9-13.json | 165 + .../deleted_request_config_1-2.json | 21 + .../deleted_request_payload_14-26.json | 45 + .../deleted_request_payload_27-31.json | 45 + .../deleted_request_payload_32-52.json | 45 + .../deleted_request_payload_53-54.json | 21 + .../deleted_request_payload_9-13.json | 45 + .../deleted_request_raw_config_1-2.json | 19 + ...leted_request_raw_configuration_14-26.json | 45 + ...leted_request_raw_configuration_27-31.json | 45 + ...leted_request_raw_configuration_32-36.json | 45 + ...leted_request_raw_configuration_53-56.json | 37 + ...eleted_request_raw_configuration_9-13.json | 45 + .../deleted_request_yaml_config_1-2.json | 21 + .../deleted_ssl_key_1-2.json | 25 + .../deleted_stage_1-4.json | 49 + .../deleted_tag_3-4.json | 27 + .../email_unsubscribe_1-2.json | 19 + .../invoice_1-4.json | 16 +- .../{job_149-155.json => job_146-154.json} | 113 +- .../job_156-162.json} | 101 +- .../job_164-171.json | 175 + .../{job_157-163.json => job_172-179.json} | 101 +- .../job_180-184.json} | 99 +- .../job_185-233.json} | 101 +- .../remove_org_with_dependencies/job_2-6.json | 85 +- .../job_234-283.json | 175 + .../job_284-290.json | 175 + .../job_291-291.json | 39 + .../job_57-63.json} | 99 +- .../{job_66-72.json => job_65-72.json} | 103 +- .../job_7-56.json | 95 +- .../{job_74-81.json => job_73-80.json} | 103 +- .../job_82-88.json} | 101 +- .../job_90-94.json | 87 +- .../job_95-144.json} | 103 +- .../job_config_1-2.json | 21 + .../job_version_1-19.json | 65 + .../job_version_20-24.json | 65 + .../job_version_25-29.json | 65 + .../job_version_30-34.json | 65 + .../job_version_49-53.json | 65 + .../job_version_54-58.json | 65 + .../job_version_59-63.json | 65 + .../job_version_64-96.json | 65 + .../job_version_97-100.json | 53 + .../log_1-19.json | 75 - .../log_20-24.json | 75 - .../log_25-29.json | 75 - .../log_30-34.json | 75 - .../log_49-53.json | 75 - .../log_54-58.json | 75 - .../log_73-91.json | 75 - .../log_92-94.json | 47 - .../message_14-26.json | 35 +- .../message_27-31.json} | 39 +- .../message_32-52.json | 75 + .../message_48-50.json | 38 - .../message_53-54.json | 33 + .../message_9-13.json | 35 +- .../nullified_relationships/build_10.json | 30 +- .../nullified_relationships/build_11.json | 24 +- .../nullified_relationships/build_12.json | 22 +- .../nullified_relationships/build_13.json | 26 +- .../nullified_relationships/build_14.json | 30 +- .../nullified_relationships/build_15.json | 28 +- .../nullified_relationships/build_16.json | 34 +- .../nullified_relationships/build_17.json | 32 +- .../nullified_relationships/build_18.json | 30 +- .../nullified_relationships/build_19.json | 35 + .../nullified_relationships/build_2.json | 18 +- .../nullified_relationships/build_20.json | 35 + .../nullified_relationships/build_21.json | 29 + .../nullified_relationships/build_3.json | 24 +- .../nullified_relationships/build_4.json | 18 +- .../nullified_relationships/build_5.json | 30 +- .../nullified_relationships/build_6.json | 32 +- .../nullified_relationships/build_7.json | 24 +- .../nullified_relationships/build_8.json | 16 +- .../nullified_relationships/build_9.json | 32 +- .../organization_1-1.json | 15 +- .../owner_group_1-2.json | 12 +- .../permission_3-4.json | 8 +- .../pull_request_3-6.json | 22 +- .../queueable_job_1-19.json | 6 +- .../queueable_job_20-24.json | 10 +- .../queueable_job_25-29.json | 10 +- .../queueable_job_30-34.json | 10 +- .../queueable_job_49-53.json | 10 +- .../queueable_job_54-58.json | 10 +- .../queueable_job_59-63.json | 25 + .../queueable_job_64-96.json | 25 + .../queueable_job_73-91.json | 25 - .../queueable_job_92-94.json | 17 - .../queueable_job_97-100.json | 21 + .../repo_count_1-1.json | 17 + ...ository_1-66.json => repository_1-72.json} | 46 +- .../request_11-15.json | 86 +- .../request_16-30.json | 86 +- .../request_31-35.json} | 88 +- .../request_36-60.json | 165 + .../request_61-62.json | 69 + .../request_config_1-2.json | 21 + .../request_payload_14-26.json | 45 + .../request_payload_27-31.json | 45 + .../request_payload_32-52.json | 45 + .../request_payload_53-54.json | 21 + .../request_payload_9-13.json | 45 + .../request_raw_config_1-2.json | 19 + .../request_raw_configuration_14-26.json | 45 + .../request_raw_configuration_27-31.json | 45 + .../request_raw_configuration_32-36.json | 45 + .../request_raw_configuration_53-56.json | 37 + .../request_raw_configuration_9-13.json | 45 + .../request_yaml_config_1-2.json | 21 + .../ssl_key_3-4.json | 25 + .../ssl_key_33-34.json | 21 - .../stage_1-13.json} | 36 +- .../stage_14-18.json | 60 + .../stage_19-31.json | 60 + .../stage_32-36.json} | 40 +- .../{stage_38-50.json => stage_37-49.json} | 40 +- .../{stage_51-63.json => stage_50-61.json} | 41 +- .../stage_72-73.json | 23 - .../star_3-4.json | 8 +- .../subscription_1-2.json | 12 +- .../tag_33-38.json | 12 +- .../trial_1-2.json | 12 +- .../trial_allowance_1-5.json | 20 +- .../trial_allowance_6-6.json | 4 +- .../abuse_14-26.json | 20 +- .../abuse_27-31.json | 20 +- .../abuse_32-34.json | 12 +- .../abuse_9-13.json | 20 +- .../branch_14-19.json | 8 +- .../build_1-59.json | 20 +- .../build_145-153.json | 20 +- .../build_155-165.json | 20 +- .../build_166-175.json | 16 +- .../build_61-71.json | 20 +- .../build_74-84.json | 20 +- .../build_86-142.json | 20 +- .../commit_18-18.json | 4 +- .../commit_7-17.json | 20 +- .../cron_2-2.json | 4 +- .../deleted_build_17-21.json | 20 +- .../deleted_build_22-26.json | 20 +- .../deleted_build_27-47.json | 20 +- .../deleted_build_48-52.json | 20 +- .../deleted_build_53-57.json | 20 +- .../deleted_build_58-62.json | 20 +- .../deleted_build_63-66.json | 16 +- .../deleted_commit_14-14.json | 4 +- .../deleted_commit_5-13.json | 20 +- .../deleted_job_15-19.json | 20 +- .../deleted_job_20-24.json | 20 +- .../deleted_job_25-29.json | 20 +- .../deleted_job_44-48.json | 20 +- .../deleted_job_49-53.json | 20 +- .../deleted_job_54-58.json | 20 +- .../deleted_job_59-60.json | 8 +- .../deleted_pull_request_1-2.json | 8 +- .../deleted_request_14-26.json | 20 +- .../deleted_request_27-31.json | 24 +- .../deleted_request_32-34.json | 16 +- .../deleted_request_9-13.json | 20 +- .../deleted_request_payload_14-26.json | 10 +- .../deleted_request_payload_27-31.json | 10 +- .../deleted_request_payload_32-34.json | 6 +- .../deleted_request_payload_9-13.json | 10 +- .../deleted_ssl_key_1-2.json | 8 +- .../deleted_tag_3-4.json | 8 +- .../email_unsubscribe_1-2.json | 8 +- .../job_146-154.json | 20 +- .../job_156-162.json | 20 +- .../job_164-171.json | 20 +- .../job_172-177.json | 16 +- .../job_2-6.json | 20 +- .../job_57-63.json | 20 +- .../job_65-72.json | 20 +- .../job_7-56.json | 20 +- .../job_73-80.json | 20 +- .../job_82-88.json | 20 +- .../job_90-94.json | 20 +- .../job_95-144.json | 20 +- .../job_version_1-19.json | 10 +- .../job_version_20-24.json | 10 +- .../job_version_25-29.json | 10 +- .../job_version_30-34.json | 10 +- .../job_version_49-53.json | 10 +- .../job_version_54-58.json | 10 +- .../job_version_59-62.json | 8 +- .../message_14-26.json | 20 +- .../message_27-31.json | 20 +- .../message_32-34.json | 12 +- .../message_9-13.json | 20 +- .../pull_request_3-6.json | 8 +- .../repository_1-1.json | 4 +- .../request_11-15.json | 20 +- .../request_16-30.json | 20 +- .../request_31-35.json | 20 +- .../request_36-38.json | 20 +- .../request_payload_14-26.json | 10 +- .../request_payload_27-31.json | 10 +- .../request_payload_32-34.json | 6 +- .../request_payload_9-13.json | 10 +- .../ssl_key_3-4.json | 8 +- .../star_3-4.json | 8 +- .../tag_33-38.json | 8 +- .../abuse_14-26.json | 30 +- .../{abuse_27-47.json => abuse_27-31.json} | 36 +- .../abuse_32-52.json | 55 + .../abuse_48-52.json | 55 - .../abuse_53-56.json | 45 + .../abuse_9-13.json | 30 +- .../annotation_1-19.json | 55 - .../annotation_20-24.json | 55 - .../annotation_25-29.json | 55 - .../annotation_30-34.json | 55 - .../annotation_49-53.json | 55 - .../annotation_54-58.json | 55 - .../annotation_73-91.json | 55 - .../annotation_92-94.json | 35 - .../branch_14-19.json | 27 + .../branch_86-91.json | 23 - .../broadcast_1-2.json | 12 +- .../{build_1-58.json => build_1-59.json} | 145 +- ...{build_143-151.json => build_145-153.json} | 149 +- .../build_155-165.json} | 149 +- .../build_166-178.json | 230 + .../build_228-282.json} | 157 +- .../build_268-268.json | 35 - .../build_285-287.json | 95 + .../build_61-71.json} | 151 +- .../{build_73-83.json => build_74-84.json} | 149 +- .../{build_85-140.json => build_86-142.json} | 145 +- .../build_config_1-2.json | 21 + .../commit_18-18.json} | 10 +- .../commit_7-17.json} | 54 +- .../cron_2-2.json | 18 + .../cron_3-4.json | 25 - .../deleted_build_100-102.json | 140 + .../deleted_build_17-21.json | 230 + .../deleted_build_22-26.json | 230 + .../deleted_build_27-47.json | 230 + .../deleted_build_48-52.json | 230 + .../deleted_build_53-57.json | 230 + .../deleted_build_58-62.json | 230 + .../deleted_build_63-99.json | 230 + .../deleted_build_config_1-2.json | 21 + .../deleted_commit_14-14.json | 25 + .../deleted_commit_5-13.json | 105 + .../deleted_job_15-19.json | 175 + .../deleted_job_20-24.json | 175 + .../deleted_job_25-29.json | 175 + .../deleted_job_44-48.json | 175 + .../deleted_job_49-53.json | 175 + .../deleted_job_54-58.json | 175 + .../deleted_job_59-91.json | 175 + ...ob_270-272.json => deleted_job_92-94.json} | 73 +- .../deleted_job_config_1-2.json | 21 + .../deleted_pull_request_1-2.json | 43 + .../deleted_request_14-26.json | 165 + .../deleted_request_27-31.json | 165 + ..._56-58.json => deleted_request_32-34.json} | 66 +- .../deleted_request_9-13.json | 165 + .../deleted_request_config_1-2.json | 21 + .../deleted_request_payload_14-26.json | 45 + .../deleted_request_payload_27-31.json | 45 + .../deleted_request_payload_32-52.json | 45 + .../deleted_request_payload_53-54.json | 21 + .../deleted_request_payload_9-13.json | 45 + .../deleted_request_raw_config_1-2.json | 19 + ...leted_request_raw_configuration_14-26.json | 45 + ...leted_request_raw_configuration_27-31.json | 45 + ...leted_request_raw_configuration_32-36.json | 45 + ...leted_request_raw_configuration_53-56.json | 37 + ...eleted_request_raw_configuration_9-13.json | 45 + .../deleted_request_yaml_config_1-2.json | 21 + .../deleted_ssl_key_1-2.json | 25 + .../deleted_stage_1-4.json | 49 + .../deleted_tag_3-4.json | 27 + .../email_1-2.json | 19 + .../email_9-10.json | 19 - .../email_unsubscribe_1-2.json | 19 + .../invoice_1-4.json | 16 +- .../{job_149-155.json => job_146-154.json} | 113 +- .../job_156-162.json} | 101 +- .../job_164-171.json | 175 + .../{job_157-163.json => job_172-179.json} | 101 +- .../job_180-184.json} | 95 +- .../job_185-233.json} | 101 +- .../job_2-6.json | 85 +- .../job_234-283.json | 175 + .../job_284-290.json | 175 + .../job_291-291.json | 39 + .../job_57-63.json} | 99 +- .../{job_66-72.json => job_65-72.json} | 103 +- .../job_7-56.json | 95 +- .../{job_74-81.json => job_73-80.json} | 103 +- .../job_82-88.json} | 101 +- .../job_90-94.json | 87 +- .../job_95-144.json} | 103 +- .../job_config_1-2.json | 21 + .../job_version_1-19.json | 65 + .../job_version_20-24.json | 65 + .../job_version_25-29.json | 65 + .../job_version_30-34.json | 65 + .../job_version_49-53.json | 65 + .../job_version_54-58.json | 65 + .../job_version_59-63.json | 65 + .../job_version_64-96.json | 65 + .../job_version_97-100.json | 53 + .../log_1-19.json | 75 - .../log_20-24.json | 75 - .../log_25-29.json | 75 - .../log_30-34.json | 75 - .../log_49-53.json | 75 - .../log_54-58.json | 75 - .../log_73-91.json | 75 - .../log_92-94.json | 47 - .../membership_1-2.json | 4 +- .../message_14-26.json | 35 +- .../message_27-31.json} | 39 +- .../message_32-52.json | 75 + .../message_48-50.json | 38 - .../message_53-54.json | 33 + .../message_9-13.json | 35 +- .../nullified_relationships/build_10.json | 30 +- .../nullified_relationships/build_11.json | 24 +- .../nullified_relationships/build_12.json | 22 +- .../nullified_relationships/build_13.json | 26 +- .../nullified_relationships/build_14.json | 30 +- .../nullified_relationships/build_15.json | 28 +- .../nullified_relationships/build_16.json | 34 +- .../nullified_relationships/build_17.json | 32 +- .../nullified_relationships/build_18.json | 30 +- .../nullified_relationships/build_19.json | 35 + .../nullified_relationships/build_2.json | 18 +- .../nullified_relationships/build_20.json | 35 + .../nullified_relationships/build_21.json | 29 + .../nullified_relationships/build_3.json | 24 +- .../nullified_relationships/build_4.json | 18 +- .../nullified_relationships/build_5.json | 30 +- .../nullified_relationships/build_6.json | 32 +- .../nullified_relationships/build_7.json | 24 +- .../nullified_relationships/build_8.json | 16 +- .../nullified_relationships/build_9.json | 32 +- .../owner_group_1-2.json | 12 +- .../permission_1-6.json | 20 +- .../pull_request_3-6.json | 22 +- .../queueable_job_1-19.json | 6 +- .../queueable_job_20-24.json | 10 +- .../queueable_job_25-29.json | 10 +- .../queueable_job_30-34.json | 10 +- .../queueable_job_49-53.json | 10 +- .../queueable_job_54-58.json | 10 +- .../queueable_job_59-63.json | 25 + .../queueable_job_64-96.json | 25 + .../queueable_job_73-91.json | 25 - .../queueable_job_92-94.json | 17 - .../queueable_job_97-100.json | 21 + .../repo_count_1-1.json | 17 + ...ository_1-66.json => repository_1-72.json} | 46 +- .../request_11-15.json | 86 +- .../request_16-30.json | 86 +- .../request_31-35.json} | 88 +- .../request_36-60.json | 165 + .../request_61-62.json | 69 + .../request_config_1-2.json | 21 + .../request_payload_14-26.json | 45 + .../request_payload_27-31.json | 45 + .../request_payload_32-52.json | 45 + .../request_payload_53-54.json | 21 + .../request_payload_9-13.json | 45 + .../request_raw_config_1-2.json | 19 + .../request_raw_configuration_14-26.json | 45 + .../request_raw_configuration_27-31.json | 45 + .../request_raw_configuration_32-36.json | 45 + .../request_raw_configuration_53-56.json | 37 + .../request_raw_configuration_9-13.json | 45 + .../request_yaml_config_1-2.json | 21 + .../ssl_key_3-4.json | 25 + .../ssl_key_33-34.json | 21 - .../stage_1-13.json} | 36 +- .../stage_14-18.json | 60 + .../stage_19-31.json | 60 + .../stage_32-36.json} | 40 +- .../{stage_38-50.json => stage_37-49.json} | 40 +- .../{stage_51-63.json => stage_50-61.json} | 41 +- .../stage_72-73.json | 23 - .../star_1-6.json | 20 +- .../subscription_1-2.json | 12 +- .../tag_33-38.json | 12 +- .../token_1-2.json | 19 + .../token_9-10.json | 19 - .../trial_1-2.json | 12 +- .../trial_allowance_1-5.json | 22 +- .../trial_allowance_6-6.json | 6 +- .../{user_9-9.json => user_1-1.json} | 17 +- .../user_beta_feature_1-2.json | 4 +- spec/support/factories/build_config.rb | 17 +- spec/support/factories/job_config.rb | 17 +- spec/support/factories/repository.rb | 8 +- spec/support/factories/request_config.rb | 15 +- spec/support/factories/request_yaml_config.rb | 15 +- 466 files changed, 26613 insertions(+), 9956 deletions(-) rename spec/support/expected_files/remove_org_with_dependencies/{abuse_27-47.json => abuse_27-31.json} (58%) create mode 100644 spec/support/expected_files/remove_org_with_dependencies/abuse_32-52.json delete mode 100644 spec/support/expected_files/remove_org_with_dependencies/abuse_48-52.json create mode 100644 spec/support/expected_files/remove_org_with_dependencies/abuse_53-56.json delete mode 100644 spec/support/expected_files/remove_org_with_dependencies/annotation_1-19.json delete mode 100644 spec/support/expected_files/remove_org_with_dependencies/annotation_20-24.json delete mode 100644 spec/support/expected_files/remove_org_with_dependencies/annotation_25-29.json delete mode 100644 spec/support/expected_files/remove_org_with_dependencies/annotation_30-34.json delete mode 100644 spec/support/expected_files/remove_org_with_dependencies/annotation_49-53.json delete mode 100644 spec/support/expected_files/remove_org_with_dependencies/annotation_54-58.json delete mode 100644 spec/support/expected_files/remove_org_with_dependencies/annotation_73-91.json delete mode 100644 spec/support/expected_files/remove_org_with_dependencies/annotation_92-94.json create mode 100644 spec/support/expected_files/remove_org_with_dependencies/branch_14-19.json delete mode 100644 spec/support/expected_files/remove_org_with_dependencies/branch_86-91.json rename spec/support/expected_files/remove_org_with_dependencies/{build_1-58.json => build_1-59.json} (53%) rename spec/support/expected_files/remove_org_with_dependencies/{build_143-151.json => build_145-153.json} (53%) rename spec/support/expected_files/{remove_user_with_dependencies/build_153-210.json => remove_org_with_dependencies/build_155-165.json} (52%) create mode 100644 spec/support/expected_files/remove_org_with_dependencies/build_166-178.json rename spec/support/expected_files/{remove_user_with_dependencies/build_211-266.json => remove_org_with_dependencies/build_228-282.json} (50%) delete mode 100644 spec/support/expected_files/remove_org_with_dependencies/build_268-268.json create mode 100644 spec/support/expected_files/remove_org_with_dependencies/build_285-287.json rename spec/support/expected_files/{remove_user_with_dependencies/build_60-70.json => remove_org_with_dependencies/build_61-71.json} (52%) rename spec/support/expected_files/remove_org_with_dependencies/{build_73-83.json => build_74-84.json} (52%) rename spec/support/expected_files/remove_org_with_dependencies/{build_85-140.json => build_86-142.json} (53%) create mode 100644 spec/support/expected_files/remove_org_with_dependencies/build_config_1-2.json rename spec/support/expected_files/{remove_user_with_dependencies/commit_228-228.json => remove_org_with_dependencies/commit_18-18.json} (68%) rename spec/support/expected_files/{remove_user_with_dependencies/commit_217-227.json => remove_org_with_dependencies/commit_7-17.json} (63%) create mode 100644 spec/support/expected_files/remove_org_with_dependencies/cron_2-2.json delete mode 100644 spec/support/expected_files/remove_org_with_dependencies/cron_3-4.json create mode 100644 spec/support/expected_files/remove_org_with_dependencies/deleted_build_100-102.json create mode 100644 spec/support/expected_files/remove_org_with_dependencies/deleted_build_17-21.json create mode 100644 spec/support/expected_files/remove_org_with_dependencies/deleted_build_22-26.json create mode 100644 spec/support/expected_files/remove_org_with_dependencies/deleted_build_27-47.json create mode 100644 spec/support/expected_files/remove_org_with_dependencies/deleted_build_48-52.json create mode 100644 spec/support/expected_files/remove_org_with_dependencies/deleted_build_53-57.json create mode 100644 spec/support/expected_files/remove_org_with_dependencies/deleted_build_58-62.json create mode 100644 spec/support/expected_files/remove_org_with_dependencies/deleted_build_63-99.json create mode 100644 spec/support/expected_files/remove_org_with_dependencies/deleted_build_config_1-2.json create mode 100644 spec/support/expected_files/remove_org_with_dependencies/deleted_commit_14-14.json create mode 100644 spec/support/expected_files/remove_org_with_dependencies/deleted_commit_5-13.json create mode 100644 spec/support/expected_files/remove_org_with_dependencies/deleted_job_15-19.json create mode 100644 spec/support/expected_files/remove_org_with_dependencies/deleted_job_20-24.json create mode 100644 spec/support/expected_files/remove_org_with_dependencies/deleted_job_25-29.json create mode 100644 spec/support/expected_files/remove_org_with_dependencies/deleted_job_44-48.json create mode 100644 spec/support/expected_files/remove_org_with_dependencies/deleted_job_49-53.json create mode 100644 spec/support/expected_files/remove_org_with_dependencies/deleted_job_54-58.json create mode 100644 spec/support/expected_files/remove_org_with_dependencies/deleted_job_59-91.json rename spec/support/expected_files/remove_org_with_dependencies/{job_270-272.json => deleted_job_92-94.json} (54%) create mode 100644 spec/support/expected_files/remove_org_with_dependencies/deleted_job_config_1-2.json create mode 100644 spec/support/expected_files/remove_org_with_dependencies/deleted_pull_request_1-2.json create mode 100644 spec/support/expected_files/remove_org_with_dependencies/deleted_request_14-26.json create mode 100644 spec/support/expected_files/remove_org_with_dependencies/deleted_request_27-31.json rename spec/support/expected_files/remove_org_with_dependencies/{request_56-58.json => deleted_request_32-34.json} (55%) create mode 100644 spec/support/expected_files/remove_org_with_dependencies/deleted_request_9-13.json create mode 100644 spec/support/expected_files/remove_org_with_dependencies/deleted_request_config_1-2.json create mode 100644 spec/support/expected_files/remove_org_with_dependencies/deleted_request_payload_14-26.json create mode 100644 spec/support/expected_files/remove_org_with_dependencies/deleted_request_payload_27-31.json create mode 100644 spec/support/expected_files/remove_org_with_dependencies/deleted_request_payload_32-52.json create mode 100644 spec/support/expected_files/remove_org_with_dependencies/deleted_request_payload_53-54.json create mode 100644 spec/support/expected_files/remove_org_with_dependencies/deleted_request_payload_9-13.json create mode 100644 spec/support/expected_files/remove_org_with_dependencies/deleted_request_raw_config_1-2.json create mode 100644 spec/support/expected_files/remove_org_with_dependencies/deleted_request_raw_configuration_14-26.json create mode 100644 spec/support/expected_files/remove_org_with_dependencies/deleted_request_raw_configuration_27-31.json create mode 100644 spec/support/expected_files/remove_org_with_dependencies/deleted_request_raw_configuration_32-36.json create mode 100644 spec/support/expected_files/remove_org_with_dependencies/deleted_request_raw_configuration_53-56.json create mode 100644 spec/support/expected_files/remove_org_with_dependencies/deleted_request_raw_configuration_9-13.json create mode 100644 spec/support/expected_files/remove_org_with_dependencies/deleted_request_yaml_config_1-2.json create mode 100644 spec/support/expected_files/remove_org_with_dependencies/deleted_ssl_key_1-2.json create mode 100644 spec/support/expected_files/remove_org_with_dependencies/deleted_stage_1-4.json create mode 100644 spec/support/expected_files/remove_org_with_dependencies/deleted_tag_3-4.json create mode 100644 spec/support/expected_files/remove_org_with_dependencies/email_unsubscribe_1-2.json rename spec/support/expected_files/remove_org_with_dependencies/{job_149-155.json => job_146-154.json} (64%) rename spec/support/expected_files/{remove_user_with_dependencies/job_262-269.json => remove_org_with_dependencies/job_156-162.json} (64%) create mode 100644 spec/support/expected_files/remove_org_with_dependencies/job_164-171.json rename spec/support/expected_files/remove_org_with_dependencies/{job_157-163.json => job_172-179.json} (66%) rename spec/support/expected_files/{remove_user_with_dependencies/job_164-212.json => remove_org_with_dependencies/job_180-184.json} (66%) rename spec/support/expected_files/{remove_user_with_dependencies/job_213-217.json => remove_org_with_dependencies/job_185-233.json} (65%) create mode 100644 spec/support/expected_files/remove_org_with_dependencies/job_234-283.json create mode 100644 spec/support/expected_files/remove_org_with_dependencies/job_284-290.json create mode 100644 spec/support/expected_files/remove_org_with_dependencies/job_291-291.json rename spec/support/expected_files/{remove_user_with_dependencies/job_57-64.json => remove_org_with_dependencies/job_57-63.json} (64%) rename spec/support/expected_files/remove_org_with_dependencies/{job_66-72.json => job_65-72.json} (65%) rename spec/support/expected_files/remove_org_with_dependencies/{job_74-81.json => job_73-80.json} (65%) rename spec/support/expected_files/{remove_user_with_dependencies/job_82-89.json => remove_org_with_dependencies/job_82-88.json} (66%) rename spec/support/expected_files/{remove_user_with_dependencies/job_139-147.json => remove_org_with_dependencies/job_95-144.json} (66%) create mode 100644 spec/support/expected_files/remove_org_with_dependencies/job_config_1-2.json create mode 100644 spec/support/expected_files/remove_org_with_dependencies/job_version_1-19.json create mode 100644 spec/support/expected_files/remove_org_with_dependencies/job_version_20-24.json create mode 100644 spec/support/expected_files/remove_org_with_dependencies/job_version_25-29.json create mode 100644 spec/support/expected_files/remove_org_with_dependencies/job_version_30-34.json create mode 100644 spec/support/expected_files/remove_org_with_dependencies/job_version_49-53.json create mode 100644 spec/support/expected_files/remove_org_with_dependencies/job_version_54-58.json create mode 100644 spec/support/expected_files/remove_org_with_dependencies/job_version_59-63.json create mode 100644 spec/support/expected_files/remove_org_with_dependencies/job_version_64-96.json create mode 100644 spec/support/expected_files/remove_org_with_dependencies/job_version_97-100.json delete mode 100644 spec/support/expected_files/remove_org_with_dependencies/log_1-19.json delete mode 100644 spec/support/expected_files/remove_org_with_dependencies/log_20-24.json delete mode 100644 spec/support/expected_files/remove_org_with_dependencies/log_25-29.json delete mode 100644 spec/support/expected_files/remove_org_with_dependencies/log_30-34.json delete mode 100644 spec/support/expected_files/remove_org_with_dependencies/log_49-53.json delete mode 100644 spec/support/expected_files/remove_org_with_dependencies/log_54-58.json delete mode 100644 spec/support/expected_files/remove_org_with_dependencies/log_73-91.json delete mode 100644 spec/support/expected_files/remove_org_with_dependencies/log_92-94.json rename spec/support/expected_files/{remove_user_with_dependencies/message_27-47.json => remove_org_with_dependencies/message_27-31.json} (51%) create mode 100644 spec/support/expected_files/remove_org_with_dependencies/message_32-52.json delete mode 100644 spec/support/expected_files/remove_org_with_dependencies/message_48-50.json create mode 100644 spec/support/expected_files/remove_org_with_dependencies/message_53-54.json create mode 100644 spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_19.json create mode 100644 spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_20.json create mode 100644 spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_21.json create mode 100644 spec/support/expected_files/remove_org_with_dependencies/queueable_job_59-63.json create mode 100644 spec/support/expected_files/remove_org_with_dependencies/queueable_job_64-96.json delete mode 100644 spec/support/expected_files/remove_org_with_dependencies/queueable_job_73-91.json delete mode 100644 spec/support/expected_files/remove_org_with_dependencies/queueable_job_92-94.json create mode 100644 spec/support/expected_files/remove_org_with_dependencies/queueable_job_97-100.json create mode 100644 spec/support/expected_files/remove_org_with_dependencies/repo_count_1-1.json rename spec/support/expected_files/remove_org_with_dependencies/{repository_1-66.json => repository_1-72.json} (54%) rename spec/support/expected_files/{remove_user_with_dependencies/request_31-55.json => remove_org_with_dependencies/request_31-35.json} (63%) create mode 100644 spec/support/expected_files/remove_org_with_dependencies/request_36-60.json create mode 100644 spec/support/expected_files/remove_org_with_dependencies/request_61-62.json create mode 100644 spec/support/expected_files/remove_org_with_dependencies/request_config_1-2.json create mode 100644 spec/support/expected_files/remove_org_with_dependencies/request_payload_14-26.json create mode 100644 spec/support/expected_files/remove_org_with_dependencies/request_payload_27-31.json create mode 100644 spec/support/expected_files/remove_org_with_dependencies/request_payload_32-52.json create mode 100644 spec/support/expected_files/remove_org_with_dependencies/request_payload_53-54.json create mode 100644 spec/support/expected_files/remove_org_with_dependencies/request_payload_9-13.json create mode 100644 spec/support/expected_files/remove_org_with_dependencies/request_raw_config_1-2.json create mode 100644 spec/support/expected_files/remove_org_with_dependencies/request_raw_configuration_14-26.json create mode 100644 spec/support/expected_files/remove_org_with_dependencies/request_raw_configuration_27-31.json create mode 100644 spec/support/expected_files/remove_org_with_dependencies/request_raw_configuration_32-36.json create mode 100644 spec/support/expected_files/remove_org_with_dependencies/request_raw_configuration_53-56.json create mode 100644 spec/support/expected_files/remove_org_with_dependencies/request_raw_configuration_9-13.json create mode 100644 spec/support/expected_files/remove_org_with_dependencies/request_yaml_config_1-2.json create mode 100644 spec/support/expected_files/remove_org_with_dependencies/ssl_key_3-4.json delete mode 100644 spec/support/expected_files/remove_org_with_dependencies/ssl_key_33-34.json rename spec/support/expected_files/{remove_user_with_dependencies/stage_20-32.json => remove_org_with_dependencies/stage_1-13.json} (58%) create mode 100644 spec/support/expected_files/remove_org_with_dependencies/stage_14-18.json create mode 100644 spec/support/expected_files/remove_org_with_dependencies/stage_19-31.json rename spec/support/expected_files/{remove_user_with_dependencies/stage_33-37.json => remove_org_with_dependencies/stage_32-36.json} (56%) rename spec/support/expected_files/remove_org_with_dependencies/{stage_38-50.json => stage_37-49.json} (53%) rename spec/support/expected_files/remove_org_with_dependencies/{stage_51-63.json => stage_50-61.json} (52%) delete mode 100644 spec/support/expected_files/remove_org_with_dependencies/stage_72-73.json rename spec/support/expected_files/remove_user_with_dependencies/{abuse_27-47.json => abuse_27-31.json} (58%) create mode 100644 spec/support/expected_files/remove_user_with_dependencies/abuse_32-52.json delete mode 100644 spec/support/expected_files/remove_user_with_dependencies/abuse_48-52.json create mode 100644 spec/support/expected_files/remove_user_with_dependencies/abuse_53-56.json delete mode 100644 spec/support/expected_files/remove_user_with_dependencies/annotation_1-19.json delete mode 100644 spec/support/expected_files/remove_user_with_dependencies/annotation_20-24.json delete mode 100644 spec/support/expected_files/remove_user_with_dependencies/annotation_25-29.json delete mode 100644 spec/support/expected_files/remove_user_with_dependencies/annotation_30-34.json delete mode 100644 spec/support/expected_files/remove_user_with_dependencies/annotation_49-53.json delete mode 100644 spec/support/expected_files/remove_user_with_dependencies/annotation_54-58.json delete mode 100644 spec/support/expected_files/remove_user_with_dependencies/annotation_73-91.json delete mode 100644 spec/support/expected_files/remove_user_with_dependencies/annotation_92-94.json create mode 100644 spec/support/expected_files/remove_user_with_dependencies/branch_14-19.json delete mode 100644 spec/support/expected_files/remove_user_with_dependencies/branch_86-91.json rename spec/support/expected_files/remove_user_with_dependencies/{build_1-58.json => build_1-59.json} (53%) rename spec/support/expected_files/remove_user_with_dependencies/{build_143-151.json => build_145-153.json} (53%) rename spec/support/expected_files/{remove_org_with_dependencies/build_153-210.json => remove_user_with_dependencies/build_155-165.json} (52%) create mode 100644 spec/support/expected_files/remove_user_with_dependencies/build_166-178.json rename spec/support/expected_files/{remove_org_with_dependencies/build_211-266.json => remove_user_with_dependencies/build_228-282.json} (51%) delete mode 100644 spec/support/expected_files/remove_user_with_dependencies/build_268-268.json create mode 100644 spec/support/expected_files/remove_user_with_dependencies/build_285-287.json rename spec/support/expected_files/{remove_org_with_dependencies/build_60-70.json => remove_user_with_dependencies/build_61-71.json} (52%) rename spec/support/expected_files/remove_user_with_dependencies/{build_73-83.json => build_74-84.json} (52%) rename spec/support/expected_files/remove_user_with_dependencies/{build_85-140.json => build_86-142.json} (53%) create mode 100644 spec/support/expected_files/remove_user_with_dependencies/build_config_1-2.json rename spec/support/expected_files/{remove_org_with_dependencies/commit_228-228.json => remove_user_with_dependencies/commit_18-18.json} (68%) rename spec/support/expected_files/{remove_org_with_dependencies/commit_217-227.json => remove_user_with_dependencies/commit_7-17.json} (63%) create mode 100644 spec/support/expected_files/remove_user_with_dependencies/cron_2-2.json delete mode 100644 spec/support/expected_files/remove_user_with_dependencies/cron_3-4.json create mode 100644 spec/support/expected_files/remove_user_with_dependencies/deleted_build_100-102.json create mode 100644 spec/support/expected_files/remove_user_with_dependencies/deleted_build_17-21.json create mode 100644 spec/support/expected_files/remove_user_with_dependencies/deleted_build_22-26.json create mode 100644 spec/support/expected_files/remove_user_with_dependencies/deleted_build_27-47.json create mode 100644 spec/support/expected_files/remove_user_with_dependencies/deleted_build_48-52.json create mode 100644 spec/support/expected_files/remove_user_with_dependencies/deleted_build_53-57.json create mode 100644 spec/support/expected_files/remove_user_with_dependencies/deleted_build_58-62.json create mode 100644 spec/support/expected_files/remove_user_with_dependencies/deleted_build_63-99.json create mode 100644 spec/support/expected_files/remove_user_with_dependencies/deleted_build_config_1-2.json create mode 100644 spec/support/expected_files/remove_user_with_dependencies/deleted_commit_14-14.json create mode 100644 spec/support/expected_files/remove_user_with_dependencies/deleted_commit_5-13.json create mode 100644 spec/support/expected_files/remove_user_with_dependencies/deleted_job_15-19.json create mode 100644 spec/support/expected_files/remove_user_with_dependencies/deleted_job_20-24.json create mode 100644 spec/support/expected_files/remove_user_with_dependencies/deleted_job_25-29.json create mode 100644 spec/support/expected_files/remove_user_with_dependencies/deleted_job_44-48.json create mode 100644 spec/support/expected_files/remove_user_with_dependencies/deleted_job_49-53.json create mode 100644 spec/support/expected_files/remove_user_with_dependencies/deleted_job_54-58.json create mode 100644 spec/support/expected_files/remove_user_with_dependencies/deleted_job_59-91.json rename spec/support/expected_files/remove_user_with_dependencies/{job_270-272.json => deleted_job_92-94.json} (54%) create mode 100644 spec/support/expected_files/remove_user_with_dependencies/deleted_job_config_1-2.json create mode 100644 spec/support/expected_files/remove_user_with_dependencies/deleted_pull_request_1-2.json create mode 100644 spec/support/expected_files/remove_user_with_dependencies/deleted_request_14-26.json create mode 100644 spec/support/expected_files/remove_user_with_dependencies/deleted_request_27-31.json rename spec/support/expected_files/remove_user_with_dependencies/{request_56-58.json => deleted_request_32-34.json} (55%) create mode 100644 spec/support/expected_files/remove_user_with_dependencies/deleted_request_9-13.json create mode 100644 spec/support/expected_files/remove_user_with_dependencies/deleted_request_config_1-2.json create mode 100644 spec/support/expected_files/remove_user_with_dependencies/deleted_request_payload_14-26.json create mode 100644 spec/support/expected_files/remove_user_with_dependencies/deleted_request_payload_27-31.json create mode 100644 spec/support/expected_files/remove_user_with_dependencies/deleted_request_payload_32-52.json create mode 100644 spec/support/expected_files/remove_user_with_dependencies/deleted_request_payload_53-54.json create mode 100644 spec/support/expected_files/remove_user_with_dependencies/deleted_request_payload_9-13.json create mode 100644 spec/support/expected_files/remove_user_with_dependencies/deleted_request_raw_config_1-2.json create mode 100644 spec/support/expected_files/remove_user_with_dependencies/deleted_request_raw_configuration_14-26.json create mode 100644 spec/support/expected_files/remove_user_with_dependencies/deleted_request_raw_configuration_27-31.json create mode 100644 spec/support/expected_files/remove_user_with_dependencies/deleted_request_raw_configuration_32-36.json create mode 100644 spec/support/expected_files/remove_user_with_dependencies/deleted_request_raw_configuration_53-56.json create mode 100644 spec/support/expected_files/remove_user_with_dependencies/deleted_request_raw_configuration_9-13.json create mode 100644 spec/support/expected_files/remove_user_with_dependencies/deleted_request_yaml_config_1-2.json create mode 100644 spec/support/expected_files/remove_user_with_dependencies/deleted_ssl_key_1-2.json create mode 100644 spec/support/expected_files/remove_user_with_dependencies/deleted_stage_1-4.json create mode 100644 spec/support/expected_files/remove_user_with_dependencies/deleted_tag_3-4.json create mode 100644 spec/support/expected_files/remove_user_with_dependencies/email_1-2.json delete mode 100644 spec/support/expected_files/remove_user_with_dependencies/email_9-10.json create mode 100644 spec/support/expected_files/remove_user_with_dependencies/email_unsubscribe_1-2.json rename spec/support/expected_files/remove_user_with_dependencies/{job_149-155.json => job_146-154.json} (64%) rename spec/support/expected_files/{remove_org_with_dependencies/job_262-269.json => remove_user_with_dependencies/job_156-162.json} (64%) create mode 100644 spec/support/expected_files/remove_user_with_dependencies/job_164-171.json rename spec/support/expected_files/remove_user_with_dependencies/{job_157-163.json => job_172-179.json} (66%) rename spec/support/expected_files/{remove_org_with_dependencies/job_213-217.json => remove_user_with_dependencies/job_180-184.json} (66%) rename spec/support/expected_files/{remove_org_with_dependencies/job_164-212.json => remove_user_with_dependencies/job_185-233.json} (65%) create mode 100644 spec/support/expected_files/remove_user_with_dependencies/job_234-283.json create mode 100644 spec/support/expected_files/remove_user_with_dependencies/job_284-290.json create mode 100644 spec/support/expected_files/remove_user_with_dependencies/job_291-291.json rename spec/support/expected_files/{remove_org_with_dependencies/job_57-64.json => remove_user_with_dependencies/job_57-63.json} (64%) rename spec/support/expected_files/remove_user_with_dependencies/{job_66-72.json => job_65-72.json} (65%) rename spec/support/expected_files/remove_user_with_dependencies/{job_74-81.json => job_73-80.json} (65%) rename spec/support/expected_files/{remove_org_with_dependencies/job_82-89.json => remove_user_with_dependencies/job_82-88.json} (66%) rename spec/support/expected_files/{remove_org_with_dependencies/job_139-147.json => remove_user_with_dependencies/job_95-144.json} (66%) create mode 100644 spec/support/expected_files/remove_user_with_dependencies/job_config_1-2.json create mode 100644 spec/support/expected_files/remove_user_with_dependencies/job_version_1-19.json create mode 100644 spec/support/expected_files/remove_user_with_dependencies/job_version_20-24.json create mode 100644 spec/support/expected_files/remove_user_with_dependencies/job_version_25-29.json create mode 100644 spec/support/expected_files/remove_user_with_dependencies/job_version_30-34.json create mode 100644 spec/support/expected_files/remove_user_with_dependencies/job_version_49-53.json create mode 100644 spec/support/expected_files/remove_user_with_dependencies/job_version_54-58.json create mode 100644 spec/support/expected_files/remove_user_with_dependencies/job_version_59-63.json create mode 100644 spec/support/expected_files/remove_user_with_dependencies/job_version_64-96.json create mode 100644 spec/support/expected_files/remove_user_with_dependencies/job_version_97-100.json delete mode 100644 spec/support/expected_files/remove_user_with_dependencies/log_1-19.json delete mode 100644 spec/support/expected_files/remove_user_with_dependencies/log_20-24.json delete mode 100644 spec/support/expected_files/remove_user_with_dependencies/log_25-29.json delete mode 100644 spec/support/expected_files/remove_user_with_dependencies/log_30-34.json delete mode 100644 spec/support/expected_files/remove_user_with_dependencies/log_49-53.json delete mode 100644 spec/support/expected_files/remove_user_with_dependencies/log_54-58.json delete mode 100644 spec/support/expected_files/remove_user_with_dependencies/log_73-91.json delete mode 100644 spec/support/expected_files/remove_user_with_dependencies/log_92-94.json rename spec/support/expected_files/{remove_org_with_dependencies/message_27-47.json => remove_user_with_dependencies/message_27-31.json} (51%) create mode 100644 spec/support/expected_files/remove_user_with_dependencies/message_32-52.json delete mode 100644 spec/support/expected_files/remove_user_with_dependencies/message_48-50.json create mode 100644 spec/support/expected_files/remove_user_with_dependencies/message_53-54.json create mode 100644 spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_19.json create mode 100644 spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_20.json create mode 100644 spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_21.json create mode 100644 spec/support/expected_files/remove_user_with_dependencies/queueable_job_59-63.json create mode 100644 spec/support/expected_files/remove_user_with_dependencies/queueable_job_64-96.json delete mode 100644 spec/support/expected_files/remove_user_with_dependencies/queueable_job_73-91.json delete mode 100644 spec/support/expected_files/remove_user_with_dependencies/queueable_job_92-94.json create mode 100644 spec/support/expected_files/remove_user_with_dependencies/queueable_job_97-100.json create mode 100644 spec/support/expected_files/remove_user_with_dependencies/repo_count_1-1.json rename spec/support/expected_files/remove_user_with_dependencies/{repository_1-66.json => repository_1-72.json} (52%) rename spec/support/expected_files/{remove_org_with_dependencies/request_31-55.json => remove_user_with_dependencies/request_31-35.json} (63%) create mode 100644 spec/support/expected_files/remove_user_with_dependencies/request_36-60.json create mode 100644 spec/support/expected_files/remove_user_with_dependencies/request_61-62.json create mode 100644 spec/support/expected_files/remove_user_with_dependencies/request_config_1-2.json create mode 100644 spec/support/expected_files/remove_user_with_dependencies/request_payload_14-26.json create mode 100644 spec/support/expected_files/remove_user_with_dependencies/request_payload_27-31.json create mode 100644 spec/support/expected_files/remove_user_with_dependencies/request_payload_32-52.json create mode 100644 spec/support/expected_files/remove_user_with_dependencies/request_payload_53-54.json create mode 100644 spec/support/expected_files/remove_user_with_dependencies/request_payload_9-13.json create mode 100644 spec/support/expected_files/remove_user_with_dependencies/request_raw_config_1-2.json create mode 100644 spec/support/expected_files/remove_user_with_dependencies/request_raw_configuration_14-26.json create mode 100644 spec/support/expected_files/remove_user_with_dependencies/request_raw_configuration_27-31.json create mode 100644 spec/support/expected_files/remove_user_with_dependencies/request_raw_configuration_32-36.json create mode 100644 spec/support/expected_files/remove_user_with_dependencies/request_raw_configuration_53-56.json create mode 100644 spec/support/expected_files/remove_user_with_dependencies/request_raw_configuration_9-13.json create mode 100644 spec/support/expected_files/remove_user_with_dependencies/request_yaml_config_1-2.json create mode 100644 spec/support/expected_files/remove_user_with_dependencies/ssl_key_3-4.json delete mode 100644 spec/support/expected_files/remove_user_with_dependencies/ssl_key_33-34.json rename spec/support/expected_files/{remove_org_with_dependencies/stage_20-32.json => remove_user_with_dependencies/stage_1-13.json} (58%) create mode 100644 spec/support/expected_files/remove_user_with_dependencies/stage_14-18.json create mode 100644 spec/support/expected_files/remove_user_with_dependencies/stage_19-31.json rename spec/support/expected_files/{remove_org_with_dependencies/stage_33-37.json => remove_user_with_dependencies/stage_32-36.json} (56%) rename spec/support/expected_files/remove_user_with_dependencies/{stage_38-50.json => stage_37-49.json} (53%) rename spec/support/expected_files/remove_user_with_dependencies/{stage_51-63.json => stage_50-61.json} (52%) delete mode 100644 spec/support/expected_files/remove_user_with_dependencies/stage_72-73.json create mode 100644 spec/support/expected_files/remove_user_with_dependencies/token_1-2.json delete mode 100644 spec/support/expected_files/remove_user_with_dependencies/token_9-10.json rename spec/support/expected_files/remove_user_with_dependencies/{user_9-9.json => user_1-1.json} (56%) diff --git a/spec/backup/remove_specified_spec.rb b/spec/backup/remove_specified_spec.rb index c3de20f..a6c73b0 100644 --- a/spec/backup/remove_specified_spec.rb +++ b/spec/backup/remove_specified_spec.rb @@ -230,168 +230,168 @@ end end - # describe 'remove_user_with_dependencies' do - # before(:each) do - # BeforeTests.new.run - # end - - # let!(:user) { - # db_helper.do_without_triggers do - # FactoryBot.create( - # :user_with_all_dependencies, - # created_at: datetime, - # updated_at: datetime - # ) - # end - # } - - # shared_context 'not saving files' do - # it 'does not save files' do - # expect_any_instance_of(File).not_to receive(:write) - # remove_specified.remove_user_with_dependencies(user.id) - # end - # end - - # shared_context 'removing user with dependencies' do - # it 'removes user with all its dependencies with proper exceptions' do - # dependency_tree = user.dependency_tree - # remove_specified.remove_user_with_dependencies(user.id) - # expect(dependency_tree.status_tree_condensed).to eql(ExpectedDependencyTrees.remove_user_with_dependencies) - # end - - # it 'removes intended number of rows from the database' do - # expect { - # remove_specified.remove_user_with_dependencies(user.id) - # }.to change { Model.sum_of_subclasses_rows }.by(-349) - # end - - # it 'nullifies orphaned builds dependencies' do - # expect( - # nullifies_all_orphaned_builds_dependencies? do - # remove_specified.remove_user_with_dependencies(user.id) - # end - # ).to eql(true) - # end - # end - - # it_behaves_like 'removing user with dependencies' - - # context 'when if_backup config is set to true' do - # it 'saves removed data to files in proper format' do - # expect_method_calls_on( - # File, :write, - # get_expected_files('remove_user_with_dependencies', datetime), - # allow_instances: true, - # arguments_to_check: :first - # ) do - # remove_specified.remove_user_with_dependencies(user.id) - # end - # end - # end - - # context 'when if_backup config is set to false' do - # let!(:config) { Config.new(files_location: files_location, limit: 5, if_backup: false) } - # let!(:remove_specified) { Backup::RemoveSpecified.new(config, DryRunReporter.new) } - - # it_behaves_like 'not saving files' - # it_behaves_like 'removing user with dependencies' - # end - - - # context 'when dry_run config is set to true' do - # let!(:config) { Config.new(files_location: files_location, limit: 5, dry_run: true) } - # let!(:remove_specified) { Backup::RemoveSpecified.new(config, DryRunReporter.new) } - - # it_behaves_like 'not saving files' - - # it 'does not remove entries from db' do - # expect { - # remove_specified.remove_user_with_dependencies(user.id) - # }.not_to change { Model.sum_of_subclasses_rows } - # end - # end - # end - - # describe 'remove_org_with_dependencies' do - # before(:each) do - # BeforeTests.new.run - # end - - # let!(:organization) { - # db_helper.do_without_triggers do - # FactoryBot.create( - # :organization_with_all_dependencies, - # created_at: datetime, - # updated_at: datetime - # ) - # end - # } - - # shared_context 'not saving files' do - # it 'does not save files' do - # expect_any_instance_of(File).not_to receive(:write) - # remove_specified.remove_org_with_dependencies(organization.id) - # end - # end - - # shared_context 'removing organization with dependencies' do - # it 'removes organization with all its dependencies with proper exceptions' do - # dependency_tree = organization.dependency_tree - # remove_specified.remove_org_with_dependencies(organization.id) - # expect(dependency_tree.status_tree_condensed).to eql(ExpectedDependencyTrees.remove_org_with_dependencies) - # end - - # it 'removes intended number of rows from the database' do - # expect { - # remove_specified.remove_org_with_dependencies(organization.id) - # }.to change { Model.sum_of_subclasses_rows }.by(-339) - # end - - # it 'nullifies orphaned builds dependencies' do - # expect( - # nullifies_all_orphaned_builds_dependencies? do - # remove_specified.remove_org_with_dependencies(organization.id) - # end - # ).to eql(true) - # end - # end - - # it_behaves_like 'removing organization with dependencies' - - # context 'when if_backup config is set to true' do - # it 'saves removed data to files in proper format' do - # expect_method_calls_on( - # File, :write, - # get_expected_files('remove_org_with_dependencies', datetime), - # allow_instances: true, - # arguments_to_check: :first - # ) do - # remove_specified.remove_org_with_dependencies(organization.id) - # end - # end - # end - - # context 'when if_backup config is set to false' do - # let!(:config) { Config.new(files_location: files_location, limit: 5, if_backup: false) } - # let!(:remove_specified) { Backup::RemoveSpecified.new(config, DryRunReporter.new) } - - # it_behaves_like 'not saving files' - # it_behaves_like 'removing organization with dependencies' - # end - - # context 'when dry_run config is set to true' do - # let!(:config) { Config.new(files_location: files_location, limit: 5, dry_run: true) } - # let!(:remove_specified) { Backup::RemoveSpecified.new(config, DryRunReporter.new) } - - # it_behaves_like 'not saving files' - - # it 'does not remove entries from db' do - # expect { - # remove_specified.remove_org_with_dependencies(organization.id) - # }.not_to change { Model.sum_of_subclasses_rows } - # end - # end - # end + describe 'remove_user_with_dependencies' do + before(:each) do + BeforeTests.new.run + end + + let!(:user) { + db_helper.do_without_triggers do + FactoryBot.create( + :user_with_all_dependencies, + created_at: datetime, + updated_at: datetime + ) + end + } + + shared_context 'not saving files' do + it 'does not save files' do + expect_any_instance_of(File).not_to receive(:write) + remove_specified.remove_user_with_dependencies(user.id) + end + end + + shared_context 'removing user with dependencies' do + it 'removes user with all its dependencies with proper exceptions' do + dependency_tree = user.dependency_tree + remove_specified.remove_user_with_dependencies(user.id) + expect(dependency_tree.status_tree_condensed).to eql(ExpectedDependencyTrees.remove_user_with_dependencies) + end + + it 'removes intended number of rows from the database' do + expect { + remove_specified.remove_user_with_dependencies(user.id) + }.to change { Model.sum_of_subclasses_rows }.by(-586) + end + + it 'nullifies orphaned builds dependencies' do + expect( + nullifies_all_orphaned_builds_dependencies? do + remove_specified.remove_user_with_dependencies(user.id) + end + ).to eql(true) + end + end + + it_behaves_like 'removing user with dependencies' + + context 'when if_backup config is set to true' do + it 'saves removed data to files in proper format' do + expect_method_calls_on( + File, :write, + get_expected_files('remove_user_with_dependencies', datetime), + allow_instances: true, + arguments_to_check: :first + ) do + remove_specified.remove_user_with_dependencies(user.id) + end + end + end + + context 'when if_backup config is set to false' do + let!(:config) { Config.new(files_location: files_location, limit: 5, if_backup: false) } + let!(:remove_specified) { Backup::RemoveSpecified.new(config, DryRunReporter.new) } + + it_behaves_like 'not saving files' + it_behaves_like 'removing user with dependencies' + end + + + context 'when dry_run config is set to true' do + let!(:config) { Config.new(files_location: files_location, limit: 5, dry_run: true) } + let!(:remove_specified) { Backup::RemoveSpecified.new(config, DryRunReporter.new) } + + it_behaves_like 'not saving files' + + it 'does not remove entries from db' do + expect { + remove_specified.remove_user_with_dependencies(user.id) + }.not_to change { Model.sum_of_subclasses_rows } + end + end + end + + describe 'remove_org_with_dependencies' do + before(:each) do + BeforeTests.new.run + end + + let!(:organization) { + db_helper.do_without_triggers do + FactoryBot.create( + :organization_with_all_dependencies, + created_at: datetime, + updated_at: datetime + ) + end + } + + shared_context 'not saving files' do + it 'does not save files' do + expect_any_instance_of(File).not_to receive(:write) + remove_specified.remove_org_with_dependencies(organization.id) + end + end + + shared_context 'removing organization with dependencies' do + it 'removes organization with all its dependencies with proper exceptions' do + dependency_tree = organization.dependency_tree + remove_specified.remove_org_with_dependencies(organization.id) + expect(dependency_tree.status_tree_condensed).to eql(ExpectedDependencyTrees.remove_org_with_dependencies) + end + + it 'removes intended number of rows from the database' do + expect { + remove_specified.remove_org_with_dependencies(organization.id) + }.to change { Model.sum_of_subclasses_rows }.by(-576) + end + + it 'nullifies orphaned builds dependencies' do + expect( + nullifies_all_orphaned_builds_dependencies? do + remove_specified.remove_org_with_dependencies(organization.id) + end + ).to eql(true) + end + end + + it_behaves_like 'removing organization with dependencies' + + context 'when if_backup config is set to true' do + it 'saves removed data to files in proper format' do + expect_method_calls_on( + File, :write, + get_expected_files('remove_org_with_dependencies', datetime), + allow_instances: true, + arguments_to_check: :first + ) do + remove_specified.remove_org_with_dependencies(organization.id) + end + end + end + + context 'when if_backup config is set to false' do + let!(:config) { Config.new(files_location: files_location, limit: 5, if_backup: false) } + let!(:remove_specified) { Backup::RemoveSpecified.new(config, DryRunReporter.new) } + + it_behaves_like 'not saving files' + it_behaves_like 'removing organization with dependencies' + end + + context 'when dry_run config is set to true' do + let!(:config) { Config.new(files_location: files_location, limit: 5, dry_run: true) } + let!(:remove_specified) { Backup::RemoveSpecified.new(config, DryRunReporter.new) } + + it_behaves_like 'not saving files' + + it 'does not remove entries from db' do + expect { + remove_specified.remove_org_with_dependencies(organization.id) + }.not_to change { Model.sum_of_subclasses_rows } + end + end + end describe 'remove_repo_with_dependencies' do before(:each) do @@ -425,7 +425,7 @@ it 'removes intended number of rows from the database' do expect { remove_specified.remove_repo_with_dependencies(repository.id) - }.to change { Model.sum_of_subclasses_rows }.by(-239) + }.to change { Model.sum_of_subclasses_rows }.by(-452) end it 'nullifies orphaned builds dependencies' do diff --git a/spec/support/expected_dependency_trees/remove_org_with_dependencies.rb b/spec/support/expected_dependency_trees/remove_org_with_dependencies.rb index 4fa5f39..f3b432e 100644 --- a/spec/support/expected_dependency_trees/remove_org_with_dependencies.rb +++ b/spec/support/expected_dependency_trees/remove_org_with_dependencies.rb @@ -1,2808 +1,3827 @@ class ExpectedDependencyTrees def self.remove_org_with_dependencies { - _: "id 1, removed", - build: [ + "_": "id 1, removed", + "build": [ { - _: "id 161, removed", - job: [ + "_": "id 178, removed", + "job": [ { - _: "id 166, removed", - log: [ - "id 57, removed", - "id 58, removed" - ], - annotation: [ - "id 57, removed", - "id 58, removed" - ], - queueable_job: [ - "id 57, removed", - "id 58, removed" + "_": "id 183, removed", + "queueable_job": [ + "id 63, removed", + "id 64, removed" + ], + "job_version": [ + "id 63, removed", + "id 64, removed" ] }, - "id 167, removed" + "id 184, removed", + "id 185, removed" ], - repository: [ + "repository": [ { - _: "id 85, present", - build: [ - "id 208, present" + "_": "id 91, present", + "build": [ + "id 226, present" ], - request: [ - "id 44, present" + "request": [ + "id 48, present" ], - job: [ - "id 209, present" + "job": [ + "id 227, present" ], - branch: [ - "id 122, present" + "branch": [ + "id 53, present" ], - ssl_key: [ - "id 38, present" + "ssl_key": [ + "id 8, present" ], - commit: [ - "id 234, present" + "commit": [ + "id 24, present" ], - permission: [ + "permission": [ "id 8, present" ], - star: [ + "star": [ "id 8, present" ], - pull_request: [ + "pull_request": [ "id 8, present" ], - tag: [ - "id 50, present" + "tag": [ + "id 53, present" ] }, - "id 86, present", + "id 92, present", { - _: "id 83, present", - build: [ - "id 206, present" + "_": "id 89, present", + "build": [ + "id 224, present" ], - request: [ - "id 43, present" + "request": [ + "id 47, present" ], - job: [ - "id 207, present" + "job": [ + "id 225, present" ], - branch: [ - "id 121, present" + "branch": [ + "id 52, present" ], - ssl_key: [ - "id 37, present" + "ssl_key": [ + "id 7, present" ], - commit: [ - "id 233, present" + "commit": [ + "id 23, present" ], - permission: [ + "permission": [ "id 7, present" ], - star: [ + "star": [ "id 7, present" ], - pull_request: [ + "pull_request": [ "id 7, present" ], - tag: [ - "id 49, present" + "tag": [ + "id 52, present" ] }, - "id 84, present" + "id 90, present" ], - tag: [ + "tag": [ { - _: "id 39, present", - build: [ + "_": "id 42, present", + "build": [ { - _: "id 168, present", - job: [ - "id 169, present" + "_": "id 186, present", + "job": [ + "id 187, present" ], - repository: [ - "id 68, present", - "id 67, present" + "repository": [ + "id 74, present", + "id 73, present" ], - tag: [ - "id 40, present" + "tag": [ + "id 43, present" ], - branch: [ - "id 111, present" + "branch": [ + "id 42, present" ], - stage: [ - "id 54, present" + "stage": [ + "id 41, present" ] }, - "id 170, present" + "id 188, present" ], - commit: [ + "commit": [ { - _: "id 229, present", - build: [ + "_": "id 19, present", + "build": [ { - _: "id 171, present", - job: [ - "id 172, present" + "_": "id 189, present", + "job": [ + "id 190, present" ], - repository: [ - "id 70, present", - "id 69, present" + "repository": [ + "id 76, present", + "id 75, present" ], - tag: [ - "id 41, present" + "tag": [ + "id 44, present" ], - branch: [ - "id 112, present" + "branch": [ + "id 43, present" ], - stage: [ - "id 55, present" + "stage": [ + "id 42, present" ] }, - "id 173, present" + "id 191, present" ], - job: [ + "job": [ { - _: "id 174, present", - log: [ - "id 59, present", - "id 60, present" - ], - annotation: [ - "id 59, present", - "id 60, present" - ], - queueable_job: [ - "id 59, present", - "id 60, present" + "_": "id 192, present", + "queueable_job": [ + "id 65, present", + "id 66, present" + ], + "job_version": [ + "id 65, present", + "id 66, present" ] }, - "id 175, present" + "id 193, present" ], - request: [ + "request": [ { - _: "id 35, present", - abuse: [ - "id 31, present", - "id 32, present" + "_": "id 39, present", + "abuse": [ + "id 35, present", + "id 36, present" ], - message: [ - "id 31, present", - "id 32, present" + "message": [ + "id 35, present", + "id 36, present" ], - job: [ + "job": [ { - _: "id 179, present", - log: [ - "id 61, present", - "id 62, present" - ], - annotation: [ - "id 61, present", - "id 62, present" - ], - queueable_job: [ - "id 61, present", - "id 62, present" + "_": "id 197, present", + "queueable_job": [ + "id 67, present", + "id 68, present" + ], + "job_version": [ + "id 67, present", + "id 68, present" ] }, - "id 180, present" + "id 198, present" ], - build: [ + "build": [ { - _: "id 176, present", - job: [ - "id 177, present" + "_": "id 194, present", + "job": [ + "id 195, present" ], - repository: [ - "id 72, present", - "id 71, present" + "repository": [ + "id 78, present", + "id 77, present" ], - tag: [ - "id 42, present" + "tag": [ + "id 45, present" ], - branch: [ - "id 113, present" + "branch": [ + "id 44, present" ], - stage: [ - "id 56, present" + "stage": [ + "id 43, present" ] }, - "id 178, present" + "id 196, present" + ], + "request_payload": [ + "id 35, present", + "id 36, present" + ], + "request_raw_configuration": [ + "id 37, present", + "id 38, present" + ], + "deleted_job": [ + "id 61, present", + "id 62, present" + ], + "deleted_build": [ + "id 67, present", + "id 68, present" + ], + "deleted_request_payload": [ + "id 35, present", + "id 36, present" + ], + "deleted_request_raw_configuration": [ + "id 37, present", + "id 38, present" ] }, + "id 40, present" + ], + "deleted_build": [ + "id 69, present", + "id 70, present" + ], + "deleted_job": [ + "id 63, present", + "id 64, present" + ], + "deleted_request": [ + "id 35, present", "id 36, present" ] }, - "id 230, present" + "id 20, present" ], - request: [ + "request": [ { - _: "id 37, present", - abuse: [ - "id 33, present", - "id 34, present" + "_": "id 41, present", + "abuse": [ + "id 37, present", + "id 38, present" ], - message: [ - "id 33, present", - "id 34, present" + "message": [ + "id 37, present", + "id 38, present" ], - job: [ + "job": [ { - _: "id 184, present", - log: [ - "id 63, present", - "id 64, present" - ], - annotation: [ - "id 63, present", - "id 64, present" - ], - queueable_job: [ - "id 63, present", - "id 64, present" + "_": "id 202, present", + "queueable_job": [ + "id 69, present", + "id 70, present" + ], + "job_version": [ + "id 69, present", + "id 70, present" ] }, - "id 185, present" + "id 203, present" ], - build: [ + "build": [ { - _: "id 181, present", - job: [ - "id 182, present" + "_": "id 199, present", + "job": [ + "id 200, present" ], - repository: [ - "id 74, present", - "id 73, present" + "repository": [ + "id 80, present", + "id 79, present" ], - tag: [ - "id 43, present" + "tag": [ + "id 46, present" ], - branch: [ - "id 114, present" + "branch": [ + "id 45, present" ], - stage: [ - "id 57, present" + "stage": [ + "id 44, present" ] }, - "id 183, present" + "id 201, present" + ], + "request_payload": [ + "id 37, present", + "id 38, present" + ], + "request_raw_configuration": [ + "id 39, present", + "id 40, present" + ], + "deleted_job": [ + "id 65, present", + "id 66, present" + ], + "deleted_build": [ + "id 71, present", + "id 72, present" + ], + "deleted_request_payload": [ + "id 37, present", + "id 38, present" + ], + "deleted_request_raw_configuration": [ + "id 39, present", + "id 40, present" ] }, + "id 42, present" + ], + "deleted_build": [ + "id 73, present", + "id 74, present" + ], + "deleted_commit": [ + "id 15, present", + "id 16, present" + ], + "deleted_request": [ + "id 37, present", "id 38, present" ] }, - "id 44, present" + "id 47, present" ], - branch: [ + "branch": [ { - _: "id 115, present", - build: [ + "_": "id 46, present", + "build": [ { - _: "id 186, present", - job: [ - "id 187, present" + "_": "id 204, present", + "job": [ + "id 205, present" ], - repository: [ - "id 76, present", - "id 75, present" + "repository": [ + "id 82, present", + "id 81, present" ], - tag: [ - "id 45, present" + "tag": [ + "id 48, present" ], - branch: [ - "id 116, present" + "branch": [ + "id 47, present" ], - stage: [ - "id 58, present" + "stage": [ + "id 45, present" ] }, - "id 188, present" + "id 206, present" ], - commit: [ + "commit": [ { - _: "id 231, present", - build: [ + "_": "id 21, present", + "build": [ { - _: "id 191, present", - job: [ - "id 192, present" + "_": "id 209, present", + "job": [ + "id 210, present" ], - repository: [ - "id 78, present", - "id 77, present" + "repository": [ + "id 84, present", + "id 83, present" ], - tag: [ - "id 46, present" + "tag": [ + "id 49, present" ], - branch: [ - "id 117, present" + "branch": [ + "id 48, present" ], - stage: [ - "id 59, present" + "stage": [ + "id 46, present" ] }, - "id 193, present" + "id 211, present" ], - job: [ + "job": [ { - _: "id 194, present", - log: [ - "id 67, present", - "id 68, present" - ], - annotation: [ - "id 67, present", - "id 68, present" - ], - queueable_job: [ - "id 67, present", - "id 68, present" + "_": "id 212, present", + "queueable_job": [ + "id 73, present", + "id 74, present" + ], + "job_version": [ + "id 73, present", + "id 74, present" ] }, - "id 195, present" + "id 213, present" ], - request: [ + "request": [ { - _: "id 39, present", - abuse: [ - "id 35, present", - "id 36, present" + "_": "id 43, present", + "abuse": [ + "id 39, present", + "id 40, present" ], - message: [ - "id 35, present", - "id 36, present" + "message": [ + "id 39, present", + "id 40, present" ], - job: [ + "job": [ { - _: "id 199, present", - log: [ - "id 69, present", - "id 70, present" - ], - annotation: [ - "id 69, present", - "id 70, present" - ], - queueable_job: [ - "id 69, present", - "id 70, present" + "_": "id 217, present", + "queueable_job": [ + "id 75, present", + "id 76, present" + ], + "job_version": [ + "id 75, present", + "id 76, present" ] }, - "id 200, present" + "id 218, present" ], - build: [ + "build": [ { - _: "id 196, present", - job: [ - "id 197, present" + "_": "id 214, present", + "job": [ + "id 215, present" ], - repository: [ - "id 80, present", - "id 79, present" + "repository": [ + "id 86, present", + "id 85, present" ], - tag: [ - "id 47, present" + "tag": [ + "id 50, present" ], - branch: [ - "id 118, present" + "branch": [ + "id 49, present" ], - stage: [ - "id 60, present" + "stage": [ + "id 47, present" ] }, - "id 198, present" + "id 216, present" + ], + "request_payload": [ + "id 39, present", + "id 40, present" + ], + "request_raw_configuration": [ + "id 41, present", + "id 42, present" + ], + "deleted_job": [ + "id 69, present", + "id 70, present" + ], + "deleted_build": [ + "id 77, present", + "id 78, present" + ], + "deleted_request_payload": [ + "id 39, present", + "id 40, present" + ], + "deleted_request_raw_configuration": [ + "id 41, present", + "id 42, present" ] }, + "id 44, present" + ], + "deleted_build": [ + "id 79, present", + "id 80, present" + ], + "deleted_job": [ + "id 71, present", + "id 72, present" + ], + "deleted_request": [ + "id 39, present", "id 40, present" ] }, - "id 232, present" + "id 22, present" ], - cron: [ - "id 7, present", - "id 8, present" + "cron": [ + "id 4, present" ], - job: [ + "job": [ { - _: "id 189, present", - log: [ - "id 65, present", - "id 66, present" + "_": "id 207, present", + "queueable_job": [ + "id 71, present", + "id 72, present" ], - annotation: [ - "id 65, present", - "id 66, present" - ], - queueable_job: [ - "id 65, present", - "id 66, present" + "job_version": [ + "id 71, present", + "id 72, present" ] }, - "id 190, present" + "id 208, present" ], - request: [ + "request": [ { - _: "id 41, present", - abuse: [ - "id 37, present", - "id 38, present" + "_": "id 45, present", + "abuse": [ + "id 41, present", + "id 42, present" ], - message: [ - "id 37, present", - "id 38, present" + "message": [ + "id 41, present", + "id 42, present" ], - job: [ + "job": [ { - _: "id 204, present", - log: [ - "id 71, present", - "id 72, present" - ], - annotation: [ - "id 71, present", - "id 72, present" - ], - queueable_job: [ - "id 71, present", - "id 72, present" + "_": "id 222, present", + "queueable_job": [ + "id 77, present", + "id 78, present" + ], + "job_version": [ + "id 77, present", + "id 78, present" ] }, - "id 205, present" + "id 223, present" ], - build: [ + "build": [ { - _: "id 201, present", - job: [ - "id 202, present" + "_": "id 219, present", + "job": [ + "id 220, present" ], - repository: [ - "id 82, present", - "id 81, present" + "repository": [ + "id 88, present", + "id 87, present" ], - tag: [ - "id 48, present" + "tag": [ + "id 51, present" ], - branch: [ - "id 119, present" + "branch": [ + "id 50, present" ], - stage: [ - "id 61, present" + "stage": [ + "id 48, present" ] }, - "id 203, present" + "id 221, present" + ], + "request_payload": [ + "id 41, present", + "id 42, present" + ], + "request_raw_configuration": [ + "id 43, present", + "id 44, present" + ], + "deleted_job": [ + "id 73, present", + "id 74, present" + ], + "deleted_build": [ + "id 81, present", + "id 82, present" + ], + "deleted_request_payload": [ + "id 41, present", + "id 42, present" + ], + "deleted_request_raw_configuration": [ + "id 43, present", + "id 44, present" ] }, + "id 46, present" + ], + "deleted_build": [ + "id 75, present", + "id 76, present" + ], + "deleted_commit": [ + "id 17, present", + "id 18, present" + ], + "deleted_job": [ + "id 67, present", + "id 68, present" + ], + "deleted_request": [ + "id 41, present", "id 42, present" ] }, - "id 120, present" + "id 51, present" ], - stage: [ + "stage": [ { - _: "id 52, removed", - job: [ - "id 162, removed", - "id 163, removed" + "_": "id 38, removed", + "job": [ + "id 179, removed", + "id 180, removed" ] }, { - _: "id 53, removed", - job: [ - "id 164, removed", - "id 165, removed" + "_": "id 39, removed", + "job": [ + "id 181, removed", + "id 182, removed" ] - } + }, + "id 40, removed" + ], + "deleted_job": [ + "id 75, removed" + ], + "deleted_tag": [ + "id 5, present" + ], + "deleted_stage": [ + "id 3, removed" ] }, { - _: "id 210, removed", - repository: [ + "_": "id 228, removed", + "repository": [ { - _: "id 1, removed", - build: [ + "_": "id 1, removed", + "build": [ { - _: "id 1, removed", - job: [ + "_": "id 1, removed", + "job": [ { - _: "id 6, removed", - log: [ - "id 1, removed", - "id 2, removed" - ], - annotation: [ + "_": "id 6, removed", + "queueable_job": [ "id 1, removed", "id 2, removed" ], - queueable_job: [ + "job_version": [ "id 1, removed", "id 2, removed" ] }, - "id 7, removed" + "id 7, removed", + "id 8, removed" ], - repository: [ + "repository": [ { - _: "id 20, present", - build: [ - "id 48, present" + "_": "id 20, present", + "build": [ + "id 49, present" ], - request: [ + "request": [ "id 10, present" ], - job: [ - "id 49, present" + "job": [ + "id 50, present" ], - branch: [ - "id 84, present" + "branch": [ + "id 12, present" ], - ssl_key: [ - "id 32, present" + "ssl_key": [ + "id 2, present" ], - commit: [ - "id 216, present" + "commit": [ + "id 6, present" ], - permission: [ + "permission": [ "id 2, present" ], - star: [ + "star": [ "id 2, present" ], - pull_request: [ + "pull_request": [ "id 2, present" ], - tag: [ + "tag": [ "id 12, present" ] }, "id 21, present", { - _: "id 18, present", - build: [ - "id 46, present" + "_": "id 18, present", + "build": [ + "id 47, present" ], - request: [ + "request": [ "id 9, present" ], - job: [ - "id 47, present" + "job": [ + "id 48, present" ], - branch: [ - "id 83, present" + "branch": [ + "id 11, present" ], - ssl_key: [ - "id 31, present" + "ssl_key": [ + "id 1, present" ], - commit: [ - "id 215, present" + "commit": [ + "id 5, present" ], - permission: [ + "permission": [ "id 1, present" ], - star: [ + "star": [ "id 1, present" ], - pull_request: [ + "pull_request": [ "id 1, present" ], - tag: [ + "tag": [ "id 11, present" ] }, "id 19, present" ], - tag: [ + "tag": [ { - _: "id 1, present", - build: [ + "_": "id 1, present", + "build": [ { - _: "id 8, present", - job: [ - "id 9, present" + "_": "id 9, present", + "job": [ + "id 10, present" ], - repository: [ + "repository": [ "id 3, present", "id 2, present" ], - tag: [ + "tag": [ "id 2, present" ], - branch: [ - "id 73, present" + "branch": [ + "id 1, present" ], - stage: [ - "id 22, present" + "stage": [ + "id 4, present" ] }, - "id 10, present" + "id 11, present" ], - commit: [ + "commit": [ { - _: "id 211, present", - build: [ + "_": "id 1, present", + "build": [ { - _: "id 11, present", - job: [ - "id 12, present" + "_": "id 12, present", + "job": [ + "id 13, present" ], - repository: [ + "repository": [ "id 5, present", "id 4, present" ], - tag: [ + "tag": [ "id 3, present" ], - branch: [ - "id 74, present" + "branch": [ + "id 2, present" ], - stage: [ - "id 23, present" + "stage": [ + "id 5, present" ] }, - "id 13, present" + "id 14, present" ], - job: [ + "job": [ { - _: "id 14, present", - log: [ - "id 3, present", - "id 4, present" - ], - annotation: [ + "_": "id 15, present", + "queueable_job": [ "id 3, present", "id 4, present" ], - queueable_job: [ + "job_version": [ "id 3, present", "id 4, present" ] }, - "id 15, present" + "id 16, present" ], - request: [ + "request": [ { - _: "id 1, present", - abuse: [ + "_": "id 1, present", + "abuse": [ "id 1, present", "id 2, present" ], - message: [ + "message": [ "id 1, present", "id 2, present" ], - job: [ + "job": [ { - _: "id 19, present", - log: [ - "id 5, present", - "id 6, present" - ], - annotation: [ + "_": "id 20, present", + "queueable_job": [ "id 5, present", "id 6, present" ], - queueable_job: [ + "job_version": [ "id 5, present", "id 6, present" ] }, - "id 20, present" + "id 21, present" ], - build: [ + "build": [ { - _: "id 16, present", - job: [ - "id 17, present" + "_": "id 17, present", + "job": [ + "id 18, present" ], - repository: [ + "repository": [ "id 7, present", "id 6, present" ], - tag: [ + "tag": [ "id 4, present" ], - branch: [ - "id 75, present" + "branch": [ + "id 3, present" ], - stage: [ - "id 24, present" + "stage": [ + "id 6, present" ] }, - "id 18, present" + "id 19, present" + ], + "request_payload": [ + "id 1, present", + "id 2, present" + ], + "request_raw_configuration": [ + "id 1, present", + "id 2, present" + ], + "deleted_job": [ + "id 1, present", + "id 2, present" + ], + "deleted_build": [ + "id 1, present", + "id 2, present" + ], + "deleted_request_payload": [ + "id 1, present", + "id 2, present" + ], + "deleted_request_raw_configuration": [ + "id 1, present", + "id 2, present" ] }, "id 2, present" + ], + "deleted_build": [ + "id 3, present", + "id 4, present" + ], + "deleted_job": [ + "id 3, present", + "id 4, present" + ], + "deleted_request": [ + "id 1, present", + "id 2, present" ] }, - "id 212, present" + "id 2, present" ], - request: [ + "request": [ { - _: "id 3, present", - abuse: [ + "_": "id 3, present", + "abuse": [ "id 3, present", "id 4, present" ], - message: [ + "message": [ "id 3, present", "id 4, present" ], - job: [ + "job": [ { - _: "id 24, present", - log: [ - "id 7, present", - "id 8, present" - ], - annotation: [ + "_": "id 25, present", + "queueable_job": [ "id 7, present", "id 8, present" ], - queueable_job: [ + "job_version": [ "id 7, present", "id 8, present" ] }, - "id 25, present" + "id 26, present" ], - build: [ + "build": [ { - _: "id 21, present", - job: [ - "id 22, present" + "_": "id 22, present", + "job": [ + "id 23, present" ], - repository: [ + "repository": [ "id 9, present", "id 8, present" ], - tag: [ + "tag": [ "id 5, present" ], - branch: [ - "id 76, present" + "branch": [ + "id 4, present" ], - stage: [ - "id 25, present" + "stage": [ + "id 7, present" ] }, - "id 23, present" + "id 24, present" + ], + "request_payload": [ + "id 3, present", + "id 4, present" + ], + "request_raw_configuration": [ + "id 3, present", + "id 4, present" + ], + "deleted_job": [ + "id 5, present", + "id 6, present" + ], + "deleted_build": [ + "id 5, present", + "id 6, present" + ], + "deleted_request_payload": [ + "id 3, present", + "id 4, present" + ], + "deleted_request_raw_configuration": [ + "id 3, present", + "id 4, present" ] }, "id 4, present" + ], + "deleted_build": [ + "id 7, present", + "id 8, present" + ], + "deleted_commit": [ + "id 1, present", + "id 2, present" + ], + "deleted_request": [ + "id 3, present", + "id 4, present" ] }, "id 6, present" ], - branch: [ + "branch": [ { - _: "id 77, present", - build: [ + "_": "id 5, present", + "build": [ { - _: "id 26, present", - job: [ - "id 27, present" + "_": "id 27, present", + "job": [ + "id 28, present" ], - repository: [ + "repository": [ "id 11, present", "id 10, present" ], - tag: [ + "tag": [ "id 7, present" ], - branch: [ - "id 78, present" + "branch": [ + "id 6, present" ], - stage: [ - "id 26, present" + "stage": [ + "id 8, present" ] }, - "id 28, present" + "id 29, present" ], - commit: [ + "commit": [ { - _: "id 213, present", - build: [ + "_": "id 3, present", + "build": [ { - _: "id 31, present", - job: [ - "id 32, present" + "_": "id 32, present", + "job": [ + "id 33, present" ], - repository: [ + "repository": [ "id 13, present", "id 12, present" ], - tag: [ + "tag": [ "id 8, present" ], - branch: [ - "id 79, present" + "branch": [ + "id 7, present" ], - stage: [ - "id 27, present" + "stage": [ + "id 9, present" ] }, - "id 33, present" + "id 34, present" ], - job: [ + "job": [ { - _: "id 34, present", - log: [ - "id 11, present", - "id 12, present" - ], - annotation: [ + "_": "id 35, present", + "queueable_job": [ "id 11, present", "id 12, present" ], - queueable_job: [ + "job_version": [ "id 11, present", "id 12, present" ] }, - "id 35, present" + "id 36, present" ], - request: [ + "request": [ { - _: "id 5, present", - abuse: [ + "_": "id 5, present", + "abuse": [ "id 5, present", "id 6, present" ], - message: [ + "message": [ "id 5, present", "id 6, present" ], - job: [ + "job": [ { - _: "id 39, present", - log: [ - "id 13, present", - "id 14, present" - ], - annotation: [ + "_": "id 40, present", + "queueable_job": [ "id 13, present", "id 14, present" ], - queueable_job: [ + "job_version": [ "id 13, present", "id 14, present" ] }, - "id 40, present" + "id 41, present" ], - build: [ + "build": [ { - _: "id 36, present", - job: [ - "id 37, present" + "_": "id 37, present", + "job": [ + "id 38, present" ], - repository: [ + "repository": [ "id 15, present", "id 14, present" ], - tag: [ + "tag": [ "id 9, present" ], - branch: [ - "id 80, present" + "branch": [ + "id 8, present" ], - stage: [ - "id 28, present" + "stage": [ + "id 10, present" ] }, - "id 38, present" + "id 39, present" + ], + "request_payload": [ + "id 5, present", + "id 6, present" + ], + "request_raw_configuration": [ + "id 5, present", + "id 6, present" + ], + "deleted_job": [ + "id 9, present", + "id 10, present" + ], + "deleted_build": [ + "id 11, present", + "id 12, present" + ], + "deleted_request_payload": [ + "id 5, present", + "id 6, present" + ], + "deleted_request_raw_configuration": [ + "id 5, present", + "id 6, present" ] }, "id 6, present" + ], + "deleted_build": [ + "id 13, present", + "id 14, present" + ], + "deleted_job": [ + "id 11, present", + "id 12, present" + ], + "deleted_request": [ + "id 5, present", + "id 6, present" ] }, - "id 214, present" + "id 4, present" ], - cron: [ - "id 1, present", - "id 2, present" + "cron": [ + "id 1, present" ], - job: [ + "job": [ { - _: "id 29, present", - log: [ + "_": "id 30, present", + "queueable_job": [ "id 9, present", "id 10, present" ], - annotation: [ - "id 9, present", - "id 10, present" - ], - queueable_job: [ + "job_version": [ "id 9, present", "id 10, present" ] }, - "id 30, present" + "id 31, present" ], - request: [ + "request": [ { - _: "id 7, present", - abuse: [ + "_": "id 7, present", + "abuse": [ "id 7, present", "id 8, present" ], - message: [ + "message": [ "id 7, present", "id 8, present" ], - job: [ + "job": [ { - _: "id 44, present", - log: [ + "_": "id 45, present", + "queueable_job": [ "id 15, present", "id 16, present" ], - annotation: [ - "id 15, present", - "id 16, present" - ], - queueable_job: [ + "job_version": [ "id 15, present", "id 16, present" ] }, - "id 45, present" + "id 46, present" ], - build: [ + "build": [ { - _: "id 41, present", - job: [ - "id 42, present" + "_": "id 42, present", + "job": [ + "id 43, present" ], - repository: [ + "repository": [ "id 17, present", "id 16, present" ], - tag: [ + "tag": [ "id 10, present" ], - branch: [ - "id 81, present" + "branch": [ + "id 9, present" ], - stage: [ - "id 29, present" + "stage": [ + "id 11, present" ] }, - "id 43, present" + "id 44, present" + ], + "request_payload": [ + "id 7, present", + "id 8, present" + ], + "request_raw_configuration": [ + "id 7, present", + "id 8, present" + ], + "deleted_job": [ + "id 13, present", + "id 14, present" + ], + "deleted_build": [ + "id 15, present", + "id 16, present" + ], + "deleted_request_payload": [ + "id 7, present", + "id 8, present" + ], + "deleted_request_raw_configuration": [ + "id 7, present", + "id 8, present" ] }, "id 8, present" + ], + "deleted_build": [ + "id 9, present", + "id 10, present" + ], + "deleted_commit": [ + "id 3, present", + "id 4, present" + ], + "deleted_job": [ + "id 7, present", + "id 8, present" + ], + "deleted_request": [ + "id 7, present", + "id 8, present" ] }, - "id 82, present" + "id 10, present" ], - stage: [ + "stage": [ { - _: "id 20, removed", - job: [ + "_": "id 1, removed", + "job": [ "id 2, removed", "id 3, removed" ] }, { - _: "id 21, removed", - job: [ + "_": "id 2, removed", + "job": [ "id 4, removed", "id 5, removed" ] - } + }, + "id 3, removed" + ], + "deleted_job": [ + "id 15, removed" + ], + "deleted_tag": [ + "id 1, present" + ], + "deleted_stage": [ + "id 1, removed" ] }, - "id 50, removed" + "id 51, removed" ], - request: [ + "request": [ { - _: "id 11, removed", - abuse: [ + "_": "id 11, removed", + "abuse": [ "id 9, removed", "id 10, removed" ], - message: [ + "message": [ "id 9, removed", "id 10, removed" ], - job: [ + "job": [ { - _: "id 54, removed", - log: [ - "id 17, removed", - "id 18, removed" - ], - annotation: [ + "_": "id 55, removed", + "queueable_job": [ "id 17, removed", "id 18, removed" ], - queueable_job: [ + "job_version": [ "id 17, removed", "id 18, removed" ] }, - "id 55, removed" + "id 56, removed" ], - build: [ + "build": [ { - _: "id 51, removed", - job: [ - "id 52, removed" + "_": "id 52, removed", + "job": [ + "id 53, removed" ], - repository: [ + "repository": [ "id 23, present", "id 22, present" ], - tag: [ + "tag": [ "id 13, present" ], - branch: [ - "id 85, present" + "branch": [ + "id 13, present" ], - stage: [ - "id 30, removed" + "stage": [ + "id 12, removed" ] }, - "id 53, removed" + "id 54, removed" + ], + "request_payload": [ + "id 9, removed", + "id 10, removed" + ], + "request_raw_configuration": [ + "id 9, removed", + "id 10, removed" + ], + "deleted_job": [ + "id 16, removed", + "id 17, removed" + ], + "deleted_build": [ + "id 17, removed", + "id 18, removed" + ], + "deleted_request_payload": [ + "id 9, removed", + "id 10, removed" + ], + "deleted_request_raw_configuration": [ + "id 9, removed", + "id 10, removed" ] }, "id 12, removed" ], - job: [ + "job": [ { - _: "id 56, removed", - log: [ + "_": "id 57, removed", + "queueable_job": [ "id 19, removed", "id 20, removed" ], - annotation: [ - "id 19, removed", - "id 20, removed" - ], - queueable_job: [ + "job_version": [ "id 19, removed", "id 20, removed" ] }, - "id 57, removed" + "id 58, removed" ], - branch: [ + "branch": [ { - _: "id 86, removed", - build: [ + "_": "id 14, removed", + "build": [ { - _: "id 58, removed", - job: [ - "id 59, removed" + "_": "id 59, removed", + "job": [ + "id 60, removed" ], - repository: [ + "repository": [ "id 25, present", "id 24, present" ], - tag: [ + "tag": [ "id 14, present" ], - branch: [ - "id 87, present" + "branch": [ + "id 15, present" ], - stage: [ - "id 31, removed" + "stage": [ + "id 13, removed" ] }, - "id 60, removed" + "id 61, removed" ], - commit: [ + "commit": [ { - _: "id 217, removed", - build: [ + "_": "id 7, removed", + "build": [ { - _: "id 63, removed", - job: [ - "id 64, removed" + "_": "id 64, removed", + "job": [ + "id 65, removed" ], - repository: [ + "repository": [ "id 27, present", "id 26, present" ], - tag: [ + "tag": [ "id 15, present" ], - branch: [ - "id 88, present" + "branch": [ + "id 16, present" ], - stage: [ - "id 32, removed" + "stage": [ + "id 14, removed" ] }, - "id 65, removed" + "id 66, removed" ], - job: [ + "job": [ { - _: "id 66, removed", - log: [ + "_": "id 67, removed", + "queueable_job": [ "id 23, removed", "id 24, removed" ], - annotation: [ - "id 23, removed", - "id 24, removed" - ], - queueable_job: [ + "job_version": [ "id 23, removed", "id 24, removed" ] }, - "id 67, removed" + "id 68, removed" ], - request: [ + "request": [ { - _: "id 13, removed", - abuse: [ + "_": "id 13, removed", + "abuse": [ "id 11, removed", "id 12, removed" ], - message: [ + "message": [ "id 11, removed", "id 12, removed" ], - job: [ + "job": [ { - _: "id 71, removed", - log: [ - "id 25, removed", - "id 26, removed" - ], - annotation: [ + "_": "id 72, removed", + "queueable_job": [ "id 25, removed", "id 26, removed" ], - queueable_job: [ + "job_version": [ "id 25, removed", "id 26, removed" ] }, - "id 72, removed" + "id 73, removed" ], - build: [ + "build": [ { - _: "id 68, removed", - job: [ - "id 69, removed" + "_": "id 69, removed", + "job": [ + "id 70, removed" ], - repository: [ + "repository": [ "id 29, present", "id 28, present" ], - tag: [ + "tag": [ "id 16, present" ], - branch: [ - "id 89, present" + "branch": [ + "id 17, present" ], - stage: [ - "id 33, removed" + "stage": [ + "id 15, removed" ] }, - "id 70, removed" + "id 71, removed" + ], + "request_payload": [ + "id 11, removed", + "id 12, removed" + ], + "request_raw_configuration": [ + "id 11, removed", + "id 12, removed" + ], + "deleted_job": [ + "id 20, removed", + "id 21, removed" + ], + "deleted_build": [ + "id 21, removed", + "id 22, removed" + ], + "deleted_request_payload": [ + "id 11, removed", + "id 12, removed" + ], + "deleted_request_raw_configuration": [ + "id 11, removed", + "id 12, removed" ] }, "id 14, removed" + ], + "deleted_build": [ + "id 23, removed", + "id 24, removed" + ], + "deleted_job": [ + "id 22, removed", + "id 23, removed" + ], + "deleted_request": [ + "id 9, removed", + "id 10, removed" ] }, - "id 218, removed" + "id 8, removed" ], - cron: [ - "id 3, removed", - "id 4, removed" + "cron": [ + "id 2, removed" ], - job: [ + "job": [ { - _: "id 61, removed", - log: [ + "_": "id 62, removed", + "queueable_job": [ "id 21, removed", "id 22, removed" ], - annotation: [ - "id 21, removed", - "id 22, removed" - ], - queueable_job: [ + "job_version": [ "id 21, removed", "id 22, removed" ] }, - "id 62, removed" + "id 63, removed" ], - request: [ + "request": [ { - _: "id 15, removed", - abuse: [ + "_": "id 15, removed", + "abuse": [ "id 13, removed", "id 14, removed" ], - message: [ + "message": [ "id 13, removed", "id 14, removed" ], - job: [ + "job": [ { - _: "id 76, removed", - log: [ - "id 27, removed", - "id 28, removed" - ], - annotation: [ + "_": "id 77, removed", + "queueable_job": [ "id 27, removed", "id 28, removed" ], - queueable_job: [ + "job_version": [ "id 27, removed", "id 28, removed" ] }, - "id 77, removed" + "id 78, removed" ], - build: [ + "build": [ { - _: "id 73, removed", - job: [ - "id 74, removed" + "_": "id 74, removed", + "job": [ + "id 75, removed" ], - repository: [ + "repository": [ "id 31, present", "id 30, present" ], - tag: [ + "tag": [ "id 17, present" ], - branch: [ - "id 90, present" + "branch": [ + "id 18, present" ], - stage: [ - "id 34, removed" + "stage": [ + "id 16, removed" ] }, - "id 75, removed" + "id 76, removed" + ], + "request_payload": [ + "id 13, removed", + "id 14, removed" + ], + "request_raw_configuration": [ + "id 13, removed", + "id 14, removed" + ], + "deleted_job": [ + "id 24, removed", + "id 25, removed" + ], + "deleted_build": [ + "id 25, removed", + "id 26, removed" + ], + "deleted_request_payload": [ + "id 13, removed", + "id 14, removed" + ], + "deleted_request_raw_configuration": [ + "id 13, removed", + "id 14, removed" ] }, "id 16, removed" + ], + "deleted_build": [ + "id 19, removed", + "id 20, removed" + ], + "deleted_commit": [ + "id 5, removed", + "id 6, removed" + ], + "deleted_job": [ + "id 18, removed", + "id 19, removed" + ], + "deleted_request": [ + "id 11, removed", + "id 12, removed" ] }, - "id 91, removed" + "id 19, removed" ], - ssl_key: [ - "id 33, removed", - "id 34, removed" + "ssl_key": [ + "id 3, removed", + "id 4, removed" ], - commit: [ + "commit": [ { - _: "id 219, removed", - build: [ + "_": "id 9, removed", + "build": [ { - _: "id 78, removed", - job: [ - "id 79, removed" + "_": "id 79, removed", + "job": [ + "id 80, removed" ], - repository: [ + "repository": [ "id 33, present", "id 32, present" ], - tag: [ + "tag": [ "id 18, present" ], - branch: [ - "id 92, present" + "branch": [ + "id 20, present" ], - stage: [ - "id 35, removed" + "stage": [ + "id 17, removed" ] }, - "id 80, removed" + "id 81, removed" ], - job: [ + "job": [ { - _: "id 81, removed", - log: [ - "id 29, removed", - "id 30, removed" - ], - annotation: [ + "_": "id 82, removed", + "queueable_job": [ "id 29, removed", "id 30, removed" ], - queueable_job: [ + "job_version": [ "id 29, removed", "id 30, removed" ] }, - "id 82, removed" + "id 83, removed" ], - request: [ + "request": [ { - _: "id 17, removed", - abuse: [ + "_": "id 17, removed", + "abuse": [ "id 15, removed", "id 16, removed" ], - message: [ + "message": [ "id 15, removed", "id 16, removed" ], - job: [ + "job": [ { - _: "id 86, removed", - log: [ - "id 31, removed", - "id 32, removed" - ], - annotation: [ + "_": "id 87, removed", + "queueable_job": [ "id 31, removed", "id 32, removed" ], - queueable_job: [ + "job_version": [ "id 31, removed", "id 32, removed" ] }, - "id 87, removed" + "id 88, removed" ], - build: [ + "build": [ { - _: "id 83, removed", - job: [ - "id 84, removed" + "_": "id 84, removed", + "job": [ + "id 85, removed" ], - repository: [ + "repository": [ "id 35, present", "id 34, present" ], - tag: [ + "tag": [ "id 19, present" ], - branch: [ - "id 93, present" + "branch": [ + "id 21, present" ], - stage: [ - "id 36, removed" + "stage": [ + "id 18, removed" ] }, - "id 85, removed" + "id 86, removed" + ], + "request_payload": [ + "id 15, removed", + "id 16, removed" + ], + "request_raw_configuration": [ + "id 15, removed", + "id 16, removed" + ], + "deleted_job": [ + "id 26, removed", + "id 27, removed" + ], + "deleted_build": [ + "id 27, removed", + "id 28, removed" + ], + "deleted_request_payload": [ + "id 15, removed", + "id 16, removed" + ], + "deleted_request_raw_configuration": [ + "id 15, removed", + "id 16, removed" ] }, "id 18, removed" + ], + "deleted_build": [ + "id 29, removed", + "id 30, removed" + ], + "deleted_job": [ + "id 28, removed", + "id 29, removed" + ], + "deleted_request": [ + "id 13, removed", + "id 14, removed" ] }, - "id 220, removed" + "id 10, removed" ], - permission: [ + "permission": [ "id 3, removed", "id 4, removed" ], - star: [ + "star": [ "id 3, removed", "id 4, removed" ], - pull_request: [ + "pull_request": [ { - _: "id 3, removed", - request: [ + "_": "id 3, removed", + "request": [ { - _: "id 29, removed", - abuse: [ + "_": "id 29, removed", + "abuse": [ "id 25, removed", "id 26, removed" ], - message: [ + "message": [ "id 25, removed", "id 26, removed" ], - job: [ + "job": [ { - _: "id 141, removed", - log: [ - "id 49, removed", - "id 50, removed" - ], - annotation: [ + "_": "id 143, removed", + "queueable_job": [ "id 49, removed", "id 50, removed" ], - queueable_job: [ + "job_version": [ "id 49, removed", "id 50, removed" ] }, - "id 142, removed" + "id 144, removed" ], - build: [ + "build": [ { - _: "id 138, removed", - job: [ - "id 139, removed" + "_": "id 140, removed", + "job": [ + "id 141, removed" ], - repository: [ + "repository": [ "id 57, present", "id 56, present" ], - tag: [ + "tag": [ "id 32, present" ], - branch: [ - "id 106, present" + "branch": [ + "id 34, present" ], - stage: [ - "id 47, removed" + "stage": [ + "id 30, removed" ] }, - "id 140, removed" - ] - }, - "id 30, removed" - ], - build: [ - { - _: "id 88, removed", - job: [ - { - _: "id 93, removed", - log: [ - "id 33, removed", - "id 34, removed" - ], - annotation: [ - "id 33, removed", - "id 34, removed" + "id 142, removed" + ], + "request_payload": [ + "id 25, removed", + "id 26, removed" + ], + "request_raw_configuration": [ + "id 25, removed", + "id 26, removed" + ], + "deleted_job": [ + "id 45, removed", + "id 46, removed" + ], + "deleted_build": [ + "id 47, removed", + "id 48, removed" + ], + "deleted_request_payload": [ + "id 25, removed", + "id 26, removed" + ], + "deleted_request_raw_configuration": [ + "id 25, removed", + "id 26, removed" + ] + }, + "id 30, removed" + ], + "build": [ + { + "_": "id 89, removed", + "job": [ + { + "_": "id 94, removed", + "queueable_job": [ + "id 33, removed", + "id 34, removed" ], - queueable_job: [ + "job_version": [ "id 33, removed", "id 34, removed" ] }, - "id 94, removed" + "id 95, removed", + "id 96, removed" ], - repository: [ + "repository": [ { - _: "id 54, present", - build: [ - "id 135, present" + "_": "id 54, present", + "build": [ + "id 137, present" ], - request: [ + "request": [ "id 28, present" ], - job: [ - "id 136, present" + "job": [ + "id 138, present" ], - branch: [ - "id 105, present" + "branch": [ + "id 33, present" ], - ssl_key: [ - "id 36, present" + "ssl_key": [ + "id 6, present" ], - commit: [ - "id 226, present" + "commit": [ + "id 16, present" ], - permission: [ + "permission": [ "id 6, present" ], - star: [ + "star": [ "id 6, present" ], - pull_request: [ + "pull_request": [ "id 5, present" ], - tag: [ + "tag": [ "id 31, present" ] }, "id 55, present", { - _: "id 52, present", - build: [ - "id 133, present" + "_": "id 52, present", + "build": [ + "id 135, present" ], - request: [ + "request": [ "id 27, present" ], - job: [ - "id 134, present" + "job": [ + "id 136, present" ], - branch: [ - "id 104, present" + "branch": [ + "id 32, present" ], - ssl_key: [ - "id 35, present" + "ssl_key": [ + "id 5, present" ], - commit: [ - "id 225, present" + "commit": [ + "id 15, present" ], - permission: [ + "permission": [ "id 5, present" ], - star: [ + "star": [ "id 5, present" ], - pull_request: [ + "pull_request": [ "id 4, present" ], - tag: [ + "tag": [ "id 30, present" ] }, "id 53, present" ], - tag: [ + "tag": [ { - _: "id 20, present", - build: [ + "_": "id 20, present", + "build": [ { - _: "id 95, present", - job: [ - "id 96, present" + "_": "id 97, present", + "job": [ + "id 98, present" ], - repository: [ + "repository": [ "id 37, present", "id 36, present" ], - tag: [ + "tag": [ "id 21, present" ], - branch: [ - "id 94, present" + "branch": [ + "id 22, present" ], - stage: [ - "id 39, present" + "stage": [ + "id 22, present" ] }, - "id 97, present" + "id 99, present" ], - commit: [ + "commit": [ { - _: "id 221, present", - build: [ + "_": "id 11, present", + "build": [ { - _: "id 98, present", - job: [ - "id 99, present" + "_": "id 100, present", + "job": [ + "id 101, present" ], - repository: [ + "repository": [ "id 39, present", "id 38, present" ], - tag: [ + "tag": [ "id 22, present" ], - branch: [ - "id 95, present" + "branch": [ + "id 23, present" ], - stage: [ - "id 40, present" + "stage": [ + "id 23, present" ] }, - "id 100, present" + "id 102, present" ], - job: [ + "job": [ { - _: "id 101, present", - log: [ - "id 35, present", - "id 36, present" - ], - annotation: [ + "_": "id 103, present", + "queueable_job": [ "id 35, present", "id 36, present" ], - queueable_job: [ + "job_version": [ "id 35, present", "id 36, present" ] }, - "id 102, present" + "id 104, present" ], - request: [ + "request": [ { - _: "id 19, present", - abuse: [ + "_": "id 19, present", + "abuse": [ "id 17, present", "id 18, present" ], - message: [ + "message": [ "id 17, present", "id 18, present" ], - job: [ + "job": [ { - _: "id 106, present", - log: [ - "id 37, present", - "id 38, present" - ], - annotation: [ + "_": "id 108, present", + "queueable_job": [ "id 37, present", "id 38, present" ], - queueable_job: [ + "job_version": [ "id 37, present", "id 38, present" ] }, - "id 107, present" + "id 109, present" ], - build: [ + "build": [ { - _: "id 103, present", - job: [ - "id 104, present" + "_": "id 105, present", + "job": [ + "id 106, present" ], - repository: [ + "repository": [ "id 41, present", "id 40, present" ], - tag: [ + "tag": [ "id 23, present" ], - branch: [ - "id 96, present" + "branch": [ + "id 24, present" ], - stage: [ - "id 41, present" + "stage": [ + "id 24, present" ] }, - "id 105, present" + "id 107, present" + ], + "request_payload": [ + "id 17, present", + "id 18, present" + ], + "request_raw_configuration": [ + "id 17, present", + "id 18, present" + ], + "deleted_job": [ + "id 30, present", + "id 31, present" + ], + "deleted_build": [ + "id 31, present", + "id 32, present" + ], + "deleted_request_payload": [ + "id 17, present", + "id 18, present" + ], + "deleted_request_raw_configuration": [ + "id 17, present", + "id 18, present" ] }, "id 20, present" + ], + "deleted_build": [ + "id 33, present", + "id 34, present" + ], + "deleted_job": [ + "id 32, present", + "id 33, present" + ], + "deleted_request": [ + "id 15, present", + "id 16, present" ] }, - "id 222, present" + "id 12, present" ], - request: [ + "request": [ { - _: "id 21, present", - abuse: [ + "_": "id 21, present", + "abuse": [ "id 19, present", "id 20, present" ], - message: [ + "message": [ "id 19, present", "id 20, present" ], - job: [ + "job": [ { - _: "id 111, present", - log: [ + "_": "id 113, present", + "queueable_job": [ "id 39, present", "id 40, present" ], - annotation: [ - "id 39, present", - "id 40, present" - ], - queueable_job: [ + "job_version": [ "id 39, present", "id 40, present" ] }, - "id 112, present" + "id 114, present" ], - build: [ + "build": [ { - _: "id 108, present", - job: [ - "id 109, present" + "_": "id 110, present", + "job": [ + "id 111, present" ], - repository: [ + "repository": [ "id 43, present", "id 42, present" ], - tag: [ + "tag": [ "id 24, present" ], - branch: [ - "id 97, present" + "branch": [ + "id 25, present" ], - stage: [ - "id 42, present" + "stage": [ + "id 25, present" ] }, - "id 110, present" + "id 112, present" + ], + "request_payload": [ + "id 19, present", + "id 20, present" + ], + "request_raw_configuration": [ + "id 19, present", + "id 20, present" + ], + "deleted_job": [ + "id 34, present", + "id 35, present" + ], + "deleted_build": [ + "id 35, present", + "id 36, present" + ], + "deleted_request_payload": [ + "id 19, present", + "id 20, present" + ], + "deleted_request_raw_configuration": [ + "id 19, present", + "id 20, present" ] }, "id 22, present" + ], + "deleted_build": [ + "id 37, present", + "id 38, present" + ], + "deleted_commit": [ + "id 7, present", + "id 8, present" + ], + "deleted_request": [ + "id 17, present", + "id 18, present" ] }, "id 25, present" ], - branch: [ + "branch": [ { - _: "id 98, present", - build: [ + "_": "id 26, present", + "build": [ { - _: "id 113, present", - job: [ - "id 114, present" + "_": "id 115, present", + "job": [ + "id 116, present" ], - repository: [ + "repository": [ "id 45, present", "id 44, present" ], - tag: [ + "tag": [ "id 26, present" ], - branch: [ - "id 99, present" + "branch": [ + "id 27, present" ], - stage: [ - "id 43, present" + "stage": [ + "id 26, present" ] }, - "id 115, present" + "id 117, present" ], - commit: [ + "commit": [ { - _: "id 223, present", - build: [ + "_": "id 13, present", + "build": [ { - _: "id 118, present", - job: [ - "id 119, present" + "_": "id 120, present", + "job": [ + "id 121, present" ], - repository: [ + "repository": [ "id 47, present", "id 46, present" ], - tag: [ + "tag": [ "id 27, present" ], - branch: [ - "id 100, present" + "branch": [ + "id 28, present" ], - stage: [ - "id 44, present" + "stage": [ + "id 27, present" ] }, - "id 120, present" + "id 122, present" ], - job: [ + "job": [ { - _: "id 121, present", - log: [ - "id 43, present", - "id 44, present" - ], - annotation: [ + "_": "id 123, present", + "queueable_job": [ "id 43, present", "id 44, present" ], - queueable_job: [ + "job_version": [ "id 43, present", "id 44, present" ] }, - "id 122, present" + "id 124, present" ], - request: [ + "request": [ { - _: "id 23, present", - abuse: [ + "_": "id 23, present", + "abuse": [ "id 21, present", "id 22, present" ], - message: [ + "message": [ "id 21, present", "id 22, present" ], - job: [ + "job": [ { - _: "id 126, present", - log: [ - "id 45, present", - "id 46, present" - ], - annotation: [ + "_": "id 128, present", + "queueable_job": [ "id 45, present", "id 46, present" ], - queueable_job: [ + "job_version": [ "id 45, present", "id 46, present" ] }, - "id 127, present" + "id 129, present" ], - build: [ + "build": [ { - _: "id 123, present", - job: [ - "id 124, present" + "_": "id 125, present", + "job": [ + "id 126, present" ], - repository: [ + "repository": [ "id 49, present", "id 48, present" ], - tag: [ + "tag": [ "id 28, present" ], - branch: [ - "id 101, present" + "branch": [ + "id 29, present" ], - stage: [ - "id 45, present" + "stage": [ + "id 28, present" ] }, - "id 125, present" + "id 127, present" + ], + "request_payload": [ + "id 21, present", + "id 22, present" + ], + "request_raw_configuration": [ + "id 21, present", + "id 22, present" + ], + "deleted_job": [ + "id 38, present", + "id 39, present" + ], + "deleted_build": [ + "id 41, present", + "id 42, present" + ], + "deleted_request_payload": [ + "id 21, present", + "id 22, present" + ], + "deleted_request_raw_configuration": [ + "id 21, present", + "id 22, present" ] }, "id 24, present" + ], + "deleted_build": [ + "id 43, present", + "id 44, present" + ], + "deleted_job": [ + "id 40, present", + "id 41, present" + ], + "deleted_request": [ + "id 19, present", + "id 20, present" ] }, - "id 224, present" + "id 14, present" ], - cron: [ - "id 5, present", - "id 6, present" + "cron": [ + "id 3, present" ], - job: [ + "job": [ { - _: "id 116, present", - log: [ - "id 41, present", - "id 42, present" - ], - annotation: [ + "_": "id 118, present", + "queueable_job": [ "id 41, present", "id 42, present" ], - queueable_job: [ + "job_version": [ "id 41, present", "id 42, present" ] }, - "id 117, present" + "id 119, present" ], - request: [ + "request": [ { - _: "id 25, present", - abuse: [ + "_": "id 25, present", + "abuse": [ "id 23, present", "id 24, present" ], - message: [ + "message": [ "id 23, present", "id 24, present" ], - job: [ + "job": [ { - _: "id 131, present", - log: [ - "id 47, present", - "id 48, present" - ], - annotation: [ + "_": "id 133, present", + "queueable_job": [ "id 47, present", "id 48, present" ], - queueable_job: [ + "job_version": [ "id 47, present", "id 48, present" ] }, - "id 132, present" + "id 134, present" ], - build: [ + "build": [ { - _: "id 128, present", - job: [ - "id 129, present" + "_": "id 130, present", + "job": [ + "id 131, present" ], - repository: [ + "repository": [ "id 51, present", "id 50, present" ], - tag: [ + "tag": [ "id 29, present" ], - branch: [ - "id 102, present" + "branch": [ + "id 30, present" ], - stage: [ - "id 46, present" + "stage": [ + "id 29, present" ] }, - "id 130, present" + "id 132, present" + ], + "request_payload": [ + "id 23, present", + "id 24, present" + ], + "request_raw_configuration": [ + "id 23, present", + "id 24, present" + ], + "deleted_job": [ + "id 42, present", + "id 43, present" + ], + "deleted_build": [ + "id 45, present", + "id 46, present" + ], + "deleted_request_payload": [ + "id 23, present", + "id 24, present" + ], + "deleted_request_raw_configuration": [ + "id 23, present", + "id 24, present" ] }, "id 26, present" + ], + "deleted_build": [ + "id 39, present", + "id 40, present" + ], + "deleted_commit": [ + "id 9, present", + "id 10, present" + ], + "deleted_job": [ + "id 36, present", + "id 37, present" + ], + "deleted_request": [ + "id 21, present", + "id 22, present" ] }, - "id 103, present" + "id 31, present" ], - stage: [ + "stage": [ { - _: "id 37, removed", - job: [ - "id 89, removed", - "id 90, removed" + "_": "id 19, removed", + "job": [ + "id 90, removed", + "id 91, removed" ] }, { - _: "id 38, removed", - job: [ - "id 91, removed", - "id 92, removed" + "_": "id 20, removed", + "job": [ + "id 92, removed", + "id 93, removed" ] - } + }, + "id 21, removed" + ], + "deleted_job": [ + "id 44, removed" + ], + "deleted_tag": [ + "id 2, present" + ], + "deleted_stage": [ + "id 2, removed" ] }, - "id 137, removed" + "id 139, removed" + ], + "deleted_request": [ + "id 23, removed", + "id 24, removed" + ], + "deleted_build": [ + "id 49, removed", + "id 50, removed" ] }, "id 6, removed" ], - tag: [ + "tag": [ { - _: "id 33, removed", - build: [ + "_": "id 33, removed", + "build": [ { - _: "id 143, removed", - job: [ - "id 144, removed" + "_": "id 145, removed", + "job": [ + "id 146, removed" ], - repository: [ + "repository": [ "id 59, present", "id 58, present" ], - tag: [ + "tag": [ "id 34, present" ], - branch: [ - "id 107, present" + "branch": [ + "id 35, present" ], - stage: [ - "id 48, removed" + "stage": [ + "id 31, removed" ] }, - "id 145, removed" + "id 147, removed" ], - commit: [ + "commit": [ { - _: "id 227, removed", - build: [ + "_": "id 17, removed", + "build": [ { - _: "id 146, removed", - job: [ - "id 147, removed" + "_": "id 148, removed", + "job": [ + "id 149, removed" ], - repository: [ + "repository": [ "id 61, present", "id 60, present" ], - tag: [ + "tag": [ "id 35, present" ], - branch: [ - "id 108, present" + "branch": [ + "id 36, present" ], - stage: [ - "id 49, removed" + "stage": [ + "id 32, removed" ] }, - "id 148, removed" + "id 150, removed" ], - job: [ + "job": [ { - _: "id 149, removed", - log: [ + "_": "id 151, removed", + "queueable_job": [ "id 51, removed", "id 52, removed" ], - annotation: [ - "id 51, removed", - "id 52, removed" - ], - queueable_job: [ + "job_version": [ "id 51, removed", "id 52, removed" ] }, - "id 150, removed" + "id 152, removed" ], - request: [ + "request": [ { - _: "id 31, removed", - abuse: [ + "_": "id 31, removed", + "abuse": [ "id 27, removed", "id 28, removed" ], - message: [ + "message": [ "id 27, removed", "id 28, removed" ], - job: [ + "job": [ { - _: "id 154, removed", - log: [ + "_": "id 156, removed", + "queueable_job": [ "id 53, removed", "id 54, removed" ], - annotation: [ - "id 53, removed", - "id 54, removed" - ], - queueable_job: [ + "job_version": [ "id 53, removed", "id 54, removed" ] }, - "id 155, removed" + "id 157, removed" ], - build: [ + "build": [ { - _: "id 151, removed", - job: [ - "id 152, removed" + "_": "id 153, removed", + "job": [ + "id 154, removed" ], - repository: [ + "repository": [ "id 63, present", "id 62, present" ], - tag: [ + "tag": [ "id 36, present" ], - branch: [ - "id 109, present" + "branch": [ + "id 37, present" ], - stage: [ - "id 50, removed" + "stage": [ + "id 33, removed" ] }, - "id 153, removed" + "id 155, removed" + ], + "request_payload": [ + "id 27, removed", + "id 28, removed" + ], + "request_raw_configuration": [ + "id 27, removed", + "id 28, removed" + ], + "deleted_job": [ + "id 47, removed", + "id 48, removed" + ], + "deleted_build": [ + "id 51, removed", + "id 52, removed" + ], + "deleted_request_payload": [ + "id 27, removed", + "id 28, removed" + ], + "deleted_request_raw_configuration": [ + "id 27, removed", + "id 28, removed" ] }, "id 32, removed" + ], + "deleted_build": [ + "id 53, removed", + "id 54, removed" + ], + "deleted_job": [ + "id 49, removed", + "id 50, removed" + ], + "deleted_request": [ + "id 25, removed", + "id 26, removed" ] }, - "id 228, removed" + "id 18, removed" ], - request: [ + "request": [ { - _: "id 33, removed", - abuse: [ + "_": "id 33, removed", + "abuse": [ "id 29, removed", "id 30, removed" ], - message: [ + "message": [ "id 29, removed", "id 30, removed" ], - job: [ + "job": [ { - _: "id 159, removed", - log: [ - "id 55, removed", - "id 56, removed" - ], - annotation: [ + "_": "id 161, removed", + "queueable_job": [ "id 55, removed", "id 56, removed" ], - queueable_job: [ + "job_version": [ "id 55, removed", "id 56, removed" ] }, - "id 160, removed" + "id 162, removed" ], - build: [ + "build": [ { - _: "id 156, removed", - job: [ - "id 157, removed" + "_": "id 158, removed", + "job": [ + "id 159, removed" ], - repository: [ + "repository": [ "id 65, present", "id 64, present" ], - tag: [ + "tag": [ "id 37, present" ], - branch: [ - "id 110, present" + "branch": [ + "id 38, present" ], - stage: [ - "id 51, removed" + "stage": [ + "id 34, removed" ] }, - "id 158, removed" + "id 160, removed" + ], + "request_payload": [ + "id 29, removed", + "id 30, removed" + ], + "request_raw_configuration": [ + "id 29, removed", + "id 30, removed" + ], + "deleted_job": [ + "id 51, removed", + "id 52, removed" + ], + "deleted_build": [ + "id 55, removed", + "id 56, removed" + ], + "deleted_request_payload": [ + "id 29, removed", + "id 30, removed" + ], + "deleted_request_raw_configuration": [ + "id 29, removed", + "id 30, removed" ] }, "id 34, removed" + ], + "deleted_build": [ + "id 57, removed", + "id 58, removed" + ], + "deleted_commit": [ + "id 11, removed", + "id 12, removed" + ], + "deleted_request": [ + "id 27, removed", + "id 28, removed" ] }, "id 38, removed" - ] - } + ], + "build_config": [ + { + "_": "id 1, removed", + "build": [ + { + "_": "id 163, removed", + "job": [ + "id 164, removed" + ], + "repository": [ + "id 67, present", + "id 66, present" + ], + "tag": [ + "id 39, present" + ], + "branch": [ + "id 39, present" + ], + "stage": [ + "id 35, removed" + ] + }, + "id 165, removed" + ], + "deleted_build": [ + "id 59, removed", + "id 60, removed" + ] + }, + "id 2, removed" + ], + "email_unsubscribe": [ + "id 1, removed", + "id 2, removed" + ], + "request_config": [ + { + "_": "id 1, removed", + "request": [ + { + "_": "id 35, removed", + "abuse": [ + "id 31, removed", + "id 32, removed" + ], + "message": [ + "id 31, removed", + "id 32, removed" + ], + "job": [ + { + "_": "id 169, removed", + "queueable_job": [ + "id 57, removed", + "id 58, removed" + ], + "job_version": [ + "id 57, removed", + "id 58, removed" + ] + }, + "id 170, removed" + ], + "build": [ + { + "_": "id 166, removed", + "job": [ + "id 167, removed" + ], + "repository": [ + "id 69, present", + "id 68, present" + ], + "tag": [ + "id 40, present" + ], + "branch": [ + "id 40, present" + ], + "stage": [ + "id 36, removed" + ] + }, + "id 168, removed" + ], + "request_payload": [ + "id 31, removed", + "id 32, removed" + ], + "request_raw_configuration": [ + "id 31, removed", + "id 32, removed" + ], + "deleted_job": [ + "id 53, removed", + "id 54, removed" + ], + "deleted_build": [ + "id 61, removed", + "id 62, removed" + ], + "deleted_request_payload": [ + "id 31, removed", + "id 32, removed" + ], + "deleted_request_raw_configuration": [ + "id 31, removed", + "id 32, removed" + ] + }, + "id 36, removed", + { + "_": "id 37, removed", + "abuse": [ + "id 33, removed", + "id 34, removed" + ], + "message": [ + "id 33, removed", + "id 34, removed" + ], + "job": [ + { + "_": "id 176, removed", + "queueable_job": [ + "id 61, removed", + "id 62, removed" + ], + "job_version": [ + "id 61, removed", + "id 62, removed" + ] + }, + "id 177, removed" + ], + "build": [ + { + "_": "id 173, removed", + "job": [ + "id 174, removed" + ], + "repository": [ + "id 71, present", + "id 70, present" + ], + "tag": [ + "id 41, present" + ], + "branch": [ + "id 41, present" + ], + "stage": [ + "id 37, removed" + ] + }, + "id 175, removed" + ], + "request_payload": [ + "id 33, removed", + "id 34, removed" + ], + "request_raw_configuration": [ + "id 35, removed", + "id 36, removed" + ], + "deleted_job": [ + "id 57, removed", + "id 58, removed" + ], + "deleted_build": [ + "id 63, removed", + "id 64, removed" + ], + "deleted_request_payload": [ + "id 33, removed", + "id 34, removed" + ], + "deleted_request_raw_configuration": [ + "id 35, removed", + "id 36, removed" + ] + }, + "id 38, removed" + ], + "deleted_request": [ + "id 29, removed", + "id 30, removed", + "id 31, removed", + "id 32, removed" + ] + }, + "id 2, removed" + ], + "job_config": [ + { + "_": "id 1, removed", + "job": [ + { + "_": "id 171, removed", + "queueable_job": [ + "id 59, removed", + "id 60, removed" + ], + "job_version": [ + "id 59, removed", + "id 60, removed" + ] + }, + "id 172, removed" + ], + "deleted_job": [ + "id 55, removed", + "id 56, removed" + ] + }, + "id 2, removed" + ], + "request_raw_config": [ + { + "_": "id 1, removed", + "request_raw_configuration": [ + "id 33, removed", + "id 34, removed" + ], + "deleted_request_raw_configuration": [ + "id 33, removed", + "id 34, removed" + ] + }, + "id 2, removed" + ], + "repo_count": [ + "id 1, removed", + "id 1, removed, duplicate" + ], + "request_yaml_config": [ + "id 1, removed", + "id 2, removed" + ], + "deleted_build": [ + "id 65, removed", + "id 66, removed" + ], + "deleted_request": [ + "id 33, removed", + "id 34, removed" + ], + "deleted_job": [ + "id 59, removed", + "id 60, removed" + ], + "deleted_ssl_key": [ + "id 1, removed", + "id 2, removed" + ], + "deleted_commit": [ + "id 13, removed", + "id 14, removed" + ], + "deleted_pull_request": [ + "id 1, removed", + "id 2, removed" + ], + "deleted_tag": [ + "id 3, removed", + "id 4, removed" + ], + "deleted_build_config": [ + "id 1, removed", + "id 2, removed" + ], + "deleted_request_config": [ + "id 1, removed", + "id 2, removed" + ], + "deleted_job_config": [ + "id 1, removed", + "id 2, removed" + ], + "deleted_request_raw_config": [ + "id 1, removed", + "id 2, removed" + ], + "deleted_request_yaml_config": [ + "id 1, removed", + "id 2, removed" + ] + } ] }, { - _: "id 211, removed", - job: [ + "_": "id 229, removed", + "job": [ { - _: "id 216, removed", - log: [ - "id 73, removed", - "id 74, removed" - ], - annotation: [ - "id 73, removed", - "id 74, removed" - ], - queueable_job: [ - "id 73, removed", - "id 74, removed" + "_": "id 234, removed", + "queueable_job": [ + "id 79, removed", + "id 80, removed" + ], + "job_version": [ + "id 79, removed", + "id 80, removed" ] }, - "id 217, removed" + "id 235, removed", + "id 236, removed" ], - repository: [ + "repository": [ { - _: "id 105, present", - build: [ - "id 258, present" + "_": "id 111, present", + "build": [ + "id 277, present" ], - request: [ - "id 54, present" + "request": [ + "id 58, present" ], - job: [ - "id 259, present" + "job": [ + "id 278, present" ], - branch: [ - "id 134, present" + "branch": [ + "id 65, present" ], - ssl_key: [ - "id 40, present" + "ssl_key": [ + "id 10, present" ], - commit: [ - "id 240, present" + "commit": [ + "id 30, present" ], - permission: [ + "permission": [ "id 10, present" ], - star: [ + "star": [ "id 10, present" ], - pull_request: [ + "pull_request": [ "id 10, present" ], - tag: [ - "id 62, present" + "tag": [ + "id 65, present" ] }, - "id 106, present", + "id 112, present", { - _: "id 103, present", - build: [ - "id 256, present" + "_": "id 109, present", + "build": [ + "id 275, present" ], - request: [ - "id 53, present" + "request": [ + "id 57, present" ], - job: [ - "id 257, present" + "job": [ + "id 276, present" ], - branch: [ - "id 133, present" + "branch": [ + "id 64, present" ], - ssl_key: [ - "id 39, present" + "ssl_key": [ + "id 9, present" ], - commit: [ - "id 239, present" + "commit": [ + "id 29, present" ], - permission: [ + "permission": [ "id 9, present" ], - star: [ + "star": [ "id 9, present" ], - pull_request: [ + "pull_request": [ "id 9, present" ], - tag: [ - "id 61, present" + "tag": [ + "id 64, present" ] }, - "id 104, present" + "id 110, present" ], - tag: [ + "tag": [ { - _: "id 51, present", - build: [ + "_": "id 54, present", + "build": [ { - _: "id 218, present", - job: [ - "id 219, present" + "_": "id 237, present", + "job": [ + "id 238, present" ], - repository: [ - "id 88, present", - "id 87, present" + "repository": [ + "id 94, present", + "id 93, present" ], - tag: [ - "id 52, present" + "tag": [ + "id 55, present" ], - branch: [ - "id 123, present" + "branch": [ + "id 54, present" ], - stage: [ - "id 64, present" + "stage": [ + "id 52, present" ] }, - "id 220, present" + "id 239, present" ], - commit: [ + "commit": [ { - _: "id 235, present", - build: [ + "_": "id 25, present", + "build": [ { - _: "id 221, present", - job: [ - "id 222, present" + "_": "id 240, present", + "job": [ + "id 241, present" ], - repository: [ - "id 90, present", - "id 89, present" + "repository": [ + "id 96, present", + "id 95, present" ], - tag: [ - "id 53, present" + "tag": [ + "id 56, present" ], - branch: [ - "id 124, present" + "branch": [ + "id 55, present" ], - stage: [ - "id 65, present" + "stage": [ + "id 53, present" ] }, - "id 223, present" + "id 242, present" ], - job: [ + "job": [ { - _: "id 224, present", - log: [ - "id 75, present", - "id 76, present" - ], - annotation: [ - "id 75, present", - "id 76, present" - ], - queueable_job: [ - "id 75, present", - "id 76, present" + "_": "id 243, present", + "queueable_job": [ + "id 81, present", + "id 82, present" + ], + "job_version": [ + "id 81, present", + "id 82, present" ] }, - "id 225, present" + "id 244, present" ], - request: [ + "request": [ { - _: "id 45, present", - abuse: [ - "id 39, present", - "id 40, present" + "_": "id 49, present", + "abuse": [ + "id 43, present", + "id 44, present" ], - message: [ - "id 39, present", - "id 40, present" + "message": [ + "id 43, present", + "id 44, present" ], - job: [ + "job": [ { - _: "id 229, present", - log: [ - "id 77, present", - "id 78, present" - ], - annotation: [ - "id 77, present", - "id 78, present" - ], - queueable_job: [ - "id 77, present", - "id 78, present" + "_": "id 248, present", + "queueable_job": [ + "id 83, present", + "id 84, present" + ], + "job_version": [ + "id 83, present", + "id 84, present" ] }, - "id 230, present" + "id 249, present" ], - build: [ + "build": [ { - _: "id 226, present", - job: [ - "id 227, present" + "_": "id 245, present", + "job": [ + "id 246, present" ], - repository: [ - "id 92, present", - "id 91, present" + "repository": [ + "id 98, present", + "id 97, present" ], - tag: [ - "id 54, present" + "tag": [ + "id 57, present" ], - branch: [ - "id 125, present" + "branch": [ + "id 56, present" ], - stage: [ - "id 66, present" + "stage": [ + "id 54, present" ] }, - "id 228, present" + "id 247, present" + ], + "request_payload": [ + "id 43, present", + "id 44, present" + ], + "request_raw_configuration": [ + "id 45, present", + "id 46, present" + ], + "deleted_job": [ + "id 76, present", + "id 77, present" + ], + "deleted_build": [ + "id 83, present", + "id 84, present" + ], + "deleted_request_payload": [ + "id 43, present", + "id 44, present" + ], + "deleted_request_raw_configuration": [ + "id 45, present", + "id 46, present" ] }, - "id 46, present" + "id 50, present" + ], + "deleted_build": [ + "id 85, present", + "id 86, present" + ], + "deleted_job": [ + "id 78, present", + "id 79, present" + ], + "deleted_request": [ + "id 43, present", + "id 44, present" ] }, - "id 236, present" + "id 26, present" ], - request: [ + "request": [ { - _: "id 47, present", - abuse: [ - "id 41, present", - "id 42, present" + "_": "id 51, present", + "abuse": [ + "id 45, present", + "id 46, present" ], - message: [ - "id 41, present", - "id 42, present" + "message": [ + "id 45, present", + "id 46, present" ], - job: [ + "job": [ { - _: "id 234, present", - log: [ - "id 79, present", - "id 80, present" - ], - annotation: [ - "id 79, present", - "id 80, present" - ], - queueable_job: [ - "id 79, present", - "id 80, present" + "_": "id 253, present", + "queueable_job": [ + "id 85, present", + "id 86, present" + ], + "job_version": [ + "id 85, present", + "id 86, present" ] }, - "id 235, present" + "id 254, present" ], - build: [ + "build": [ { - _: "id 231, present", - job: [ - "id 232, present" + "_": "id 250, present", + "job": [ + "id 251, present" ], - repository: [ - "id 94, present", - "id 93, present" + "repository": [ + "id 100, present", + "id 99, present" ], - tag: [ - "id 55, present" + "tag": [ + "id 58, present" ], - branch: [ - "id 126, present" + "branch": [ + "id 57, present" ], - stage: [ - "id 67, present" + "stage": [ + "id 55, present" ] }, - "id 233, present" + "id 252, present" + ], + "request_payload": [ + "id 45, present", + "id 46, present" + ], + "request_raw_configuration": [ + "id 47, present", + "id 48, present" + ], + "deleted_job": [ + "id 80, present", + "id 81, present" + ], + "deleted_build": [ + "id 87, present", + "id 88, present" + ], + "deleted_request_payload": [ + "id 45, present", + "id 46, present" + ], + "deleted_request_raw_configuration": [ + "id 47, present", + "id 48, present" ] }, - "id 48, present" + "id 52, present" + ], + "deleted_build": [ + "id 89, present", + "id 90, present" + ], + "deleted_commit": [ + "id 19, present", + "id 20, present" + ], + "deleted_request": [ + "id 45, present", + "id 46, present" ] }, - "id 56, present" + "id 59, present" ], - branch: [ + "branch": [ { - _: "id 127, present", - build: [ + "_": "id 58, present", + "build": [ { - _: "id 236, present", - job: [ - "id 237, present" + "_": "id 255, present", + "job": [ + "id 256, present" ], - repository: [ - "id 96, present", - "id 95, present" + "repository": [ + "id 102, present", + "id 101, present" ], - tag: [ - "id 57, present" + "tag": [ + "id 60, present" ], - branch: [ - "id 128, present" + "branch": [ + "id 59, present" ], - stage: [ - "id 68, present" + "stage": [ + "id 56, present" ] }, - "id 238, present" + "id 257, present" ], - commit: [ + "commit": [ { - _: "id 237, present", - build: [ + "_": "id 27, present", + "build": [ { - _: "id 241, present", - job: [ - "id 242, present" + "_": "id 260, present", + "job": [ + "id 261, present" ], - repository: [ - "id 98, present", - "id 97, present" + "repository": [ + "id 104, present", + "id 103, present" ], - tag: [ - "id 58, present" + "tag": [ + "id 61, present" ], - branch: [ - "id 129, present" + "branch": [ + "id 60, present" ], - stage: [ - "id 69, present" + "stage": [ + "id 57, present" ] }, - "id 243, present" + "id 262, present" ], - job: [ + "job": [ { - _: "id 244, present", - log: [ - "id 83, present", - "id 84, present" - ], - annotation: [ - "id 83, present", - "id 84, present" - ], - queueable_job: [ - "id 83, present", - "id 84, present" + "_": "id 263, present", + "queueable_job": [ + "id 89, present", + "id 90, present" + ], + "job_version": [ + "id 89, present", + "id 90, present" ] }, - "id 245, present" + "id 264, present" ], - request: [ + "request": [ { - _: "id 49, present", - abuse: [ - "id 43, present", - "id 44, present" + "_": "id 53, present", + "abuse": [ + "id 47, present", + "id 48, present" ], - message: [ - "id 43, present", - "id 44, present" + "message": [ + "id 47, present", + "id 48, present" ], - job: [ + "job": [ { - _: "id 249, present", - log: [ - "id 85, present", - "id 86, present" - ], - annotation: [ - "id 85, present", - "id 86, present" - ], - queueable_job: [ - "id 85, present", - "id 86, present" + "_": "id 268, present", + "queueable_job": [ + "id 91, present", + "id 92, present" + ], + "job_version": [ + "id 91, present", + "id 92, present" ] }, - "id 250, present" + "id 269, present" ], - build: [ + "build": [ { - _: "id 246, present", - job: [ - "id 247, present" + "_": "id 265, present", + "job": [ + "id 266, present" ], - repository: [ - "id 100, present", - "id 99, present" + "repository": [ + "id 106, present", + "id 105, present" ], - tag: [ - "id 59, present" + "tag": [ + "id 62, present" ], - branch: [ - "id 130, present" + "branch": [ + "id 61, present" ], - stage: [ - "id 70, present" + "stage": [ + "id 58, present" ] }, - "id 248, present" + "id 267, present" + ], + "request_payload": [ + "id 47, present", + "id 48, present" + ], + "request_raw_configuration": [ + "id 49, present", + "id 50, present" + ], + "deleted_job": [ + "id 84, present", + "id 85, present" + ], + "deleted_build": [ + "id 93, present", + "id 94, present" + ], + "deleted_request_payload": [ + "id 47, present", + "id 48, present" + ], + "deleted_request_raw_configuration": [ + "id 49, present", + "id 50, present" ] }, - "id 50, present" + "id 54, present" + ], + "deleted_build": [ + "id 95, present", + "id 96, present" + ], + "deleted_job": [ + "id 86, present", + "id 87, present" + ], + "deleted_request": [ + "id 47, present", + "id 48, present" ] }, - "id 238, present" + "id 28, present" ], - cron: [ - "id 9, present", - "id 10, present" + "cron": [ + "id 5, present" ], - job: [ + "job": [ { - _: "id 239, present", - log: [ - "id 81, present", - "id 82, present" + "_": "id 258, present", + "queueable_job": [ + "id 87, present", + "id 88, present" ], - annotation: [ - "id 81, present", - "id 82, present" - ], - queueable_job: [ - "id 81, present", - "id 82, present" + "job_version": [ + "id 87, present", + "id 88, present" ] }, - "id 240, present" + "id 259, present" ], - request: [ + "request": [ { - _: "id 51, present", - abuse: [ - "id 45, present", - "id 46, present" + "_": "id 55, present", + "abuse": [ + "id 49, present", + "id 50, present" ], - message: [ - "id 45, present", - "id 46, present" + "message": [ + "id 49, present", + "id 50, present" ], - job: [ + "job": [ { - _: "id 254, present", - log: [ - "id 87, present", - "id 88, present" - ], - annotation: [ - "id 87, present", - "id 88, present" - ], - queueable_job: [ - "id 87, present", - "id 88, present" + "_": "id 273, present", + "queueable_job": [ + "id 93, present", + "id 94, present" + ], + "job_version": [ + "id 93, present", + "id 94, present" ] }, - "id 255, present" + "id 274, present" ], - build: [ + "build": [ { - _: "id 251, present", - job: [ - "id 252, present" + "_": "id 270, present", + "job": [ + "id 271, present" ], - repository: [ - "id 102, present", - "id 101, present" + "repository": [ + "id 108, present", + "id 107, present" ], - tag: [ - "id 60, present" + "tag": [ + "id 63, present" ], - branch: [ - "id 131, present" + "branch": [ + "id 62, present" ], - stage: [ - "id 71, present" + "stage": [ + "id 59, present" ] }, - "id 253, present" + "id 272, present" + ], + "request_payload": [ + "id 49, present", + "id 50, present" + ], + "request_raw_configuration": [ + "id 51, present", + "id 52, present" + ], + "deleted_job": [ + "id 88, present", + "id 89, present" + ], + "deleted_build": [ + "id 97, present", + "id 98, present" + ], + "deleted_request_payload": [ + "id 49, present", + "id 50, present" + ], + "deleted_request_raw_configuration": [ + "id 51, present", + "id 52, present" ] }, - "id 52, present" + "id 56, present" + ], + "deleted_build": [ + "id 91, present", + "id 92, present" + ], + "deleted_commit": [ + "id 21, present", + "id 22, present" + ], + "deleted_job": [ + "id 82, present", + "id 83, present" + ], + "deleted_request": [ + "id 49, present", + "id 50, present" ] }, - "id 132, present" + "id 63, present" ], - stage: [ + "stage": [ { - _: "id 62, removed", - job: [ - "id 212, removed", - "id 213, removed" + "_": "id 49, removed", + "job": [ + "id 230, removed", + "id 231, removed" ] }, { - _: "id 63, removed", - job: [ - "id 214, removed", - "id 215, removed" + "_": "id 50, removed", + "job": [ + "id 232, removed", + "id 233, removed" ] - } + }, + "id 51, removed" + ], + "deleted_job": [ + "id 90, removed" + ], + "deleted_tag": [ + "id 6, present" + ], + "deleted_stage": [ + "id 4, removed" ] }, { - _: "id 260, removed", - repository: [ + "_": "id 279, removed", + "repository": [ "id 1, removed, duplicate" ] } ], - repository: [ + "repository": [ "id 1, removed, duplicate", - "id 66, removed" + "id 72, removed" ], - job: [ + "job": [ { - _: "id 271, removed", - log: [ - "id 93, removed", - "id 94, removed" + "_": "id 290, removed", + "queueable_job": [ + "id 99, removed", + "id 100, removed" ], - annotation: [ - "id 93, removed", - "id 94, removed" - ], - queueable_job: [ - "id 93, removed", - "id 94, removed" + "job_version": [ + "id 99, removed", + "id 100, removed" ] }, - "id 272, removed" + "id 291, removed" ], - request: [ + "request": [ { - _: "id 57, removed", - abuse: [ - "id 49, removed", - "id 50, removed" + "_": "id 61, removed", + "abuse": [ + "id 53, removed", + "id 54, removed" ], - message: [ - "id 49, removed", - "id 50, removed" + "message": [ + "id 53, removed", + "id 54, removed" ], - job: [ + "job": [ { - _: "id 269, removed", - log: [ - "id 91, removed", - "id 92, removed" - ], - annotation: [ - "id 91, removed", - "id 92, removed" - ], - queueable_job: [ - "id 91, removed", - "id 92, removed" + "_": "id 288, removed", + "queueable_job": [ + "id 97, removed", + "id 98, removed" + ], + "job_version": [ + "id 97, removed", + "id 98, removed" ] }, - "id 270, removed" + "id 289, removed" ], - build: [ + "build": [ { - _: "id 266, removed", - job: [ - "id 267, removed" + "_": "id 285, removed", + "job": [ + "id 286, removed" ], - repository: [ - "id 110, present", - "id 109, present" + "repository": [ + "id 116, present", + "id 115, present" ], - tag: [ - "id 64, present" + "tag": [ + "id 67, present" ], - branch: [ - "id 136, present" + "branch": [ + "id 67, present" ], - stage: [ - "id 73, removed" + "stage": [ + "id 61, removed" ] }, - "id 268, removed" + "id 287, removed" + ], + "request_payload": [ + "id 53, removed", + "id 54, removed" + ], + "request_raw_configuration": [ + "id 55, removed", + "id 56, removed" + ], + "deleted_job": [ + "id 93, removed", + "id 94, removed" + ], + "deleted_build": [ + "id 101, removed", + "id 102, removed" + ], + "deleted_request_payload": [ + "id 53, removed", + "id 54, removed" + ], + "deleted_request_raw_configuration": [ + "id 55, removed", + "id 56, removed" ] }, - "id 58, removed", + "id 62, removed", { - _: "id 55, removed", - abuse: [ - "id 47, removed", - "id 48, removed" + "_": "id 59, removed", + "abuse": [ + "id 51, removed", + "id 52, removed" ], - message: [ - "id 47, removed", - "id 48, removed" + "message": [ + "id 51, removed", + "id 52, removed" ], - job: [ + "job": [ { - _: "id 264, removed", - log: [ - "id 89, removed", - "id 90, removed" - ], - annotation: [ - "id 89, removed", - "id 90, removed" - ], - queueable_job: [ - "id 89, removed", - "id 90, removed" + "_": "id 283, removed", + "queueable_job": [ + "id 95, removed", + "id 96, removed" + ], + "job_version": [ + "id 95, removed", + "id 96, removed" ] }, - "id 265, removed" + "id 284, removed" ], - build: [ + "build": [ { - _: "id 261, removed", - job: [ - "id 262, removed" + "_": "id 280, removed", + "job": [ + "id 281, removed" ], - repository: [ - "id 108, present", - "id 107, present" + "repository": [ + "id 114, present", + "id 113, present" ], - tag: [ - "id 63, present" + "tag": [ + "id 66, present" ], - branch: [ - "id 135, present" + "branch": [ + "id 66, present" ], - stage: [ - "id 72, removed" + "stage": [ + "id 60, removed" ] }, - "id 263, removed" + "id 282, removed" + ], + "request_payload": [ + "id 51, removed", + "id 52, removed" + ], + "request_raw_configuration": [ + "id 53, removed", + "id 54, removed" + ], + "deleted_job": [ + "id 91, removed", + "id 92, removed" + ], + "deleted_build": [ + "id 99, removed", + "id 100, removed" + ], + "deleted_request_payload": [ + "id 51, removed", + "id 52, removed" + ], + "deleted_request_raw_configuration": [ + "id 53, removed", + "id 54, removed" ] }, - "id 56, removed" + "id 60, removed" ], - abuse: [ - "id 51, removed", - "id 52, removed" + "abuse": [ + "id 55, removed", + "id 56, removed" ], - subscription: [ + "subscription": [ { - _: "id 1, removed", - invoice: [ + "_": "id 1, removed", + "invoice": [ "id 1, removed", "id 2, removed" ] }, { - _: "id 2, removed", - invoice: [ + "_": "id 2, removed", + "invoice": [ "id 3, removed", "id 4, removed" ] } ], - owner_group: [ + "owner_group": [ "id 1, removed", "id 2, removed" ], - trial: [ + "trial": [ { - _: "id 1, removed", - trial_allowance: [ + "_": "id 1, removed", + "trial_allowance": [ "id 1, removed", "id 2, removed" ] }, { - _: "id 2, removed", - trial_allowance: [ + "_": "id 2, removed", + "trial_allowance": [ "id 3, removed", "id 4, removed" ] } ], - trial_allowance: [ + "trial_allowance": [ "id 5, removed", "id 6, removed" ], - broadcast: [ + "broadcast": [ "id 1, removed", "id 2, removed" ], - membership: [ + "membership": [ "id 1, removed", "id 2, removed" ] diff --git a/spec/support/expected_dependency_trees/remove_repo_with_dependencies.rb b/spec/support/expected_dependency_trees/remove_repo_with_dependencies.rb index f14fe0e..a4ae77a 100644 --- a/spec/support/expected_dependency_trees/remove_repo_with_dependencies.rb +++ b/spec/support/expected_dependency_trees/remove_repo_with_dependencies.rb @@ -1,1628 +1,2359 @@ class ExpectedDependencyTrees def self.remove_repo_with_dependencies { - _: "id 1, removed", - build: [ + "_": "id 1, removed", + "build": [ { - _: "id 1, removed", - job: [ + "_": "id 1, removed", + "job": [ { - _: "id 6, removed", - log: [ + "_": "id 6, removed", + "queueable_job": [ "id 1, removed", "id 2, removed" ], - annotation: [ - "id 1, removed", - "id 2, removed" - ], - queueable_job: [ + "job_version": [ "id 1, removed", "id 2, removed" ] }, - "id 7, removed" + "id 7, removed", + "id 8, removed" ], - repository: [ + "repository": [ { - _: "id 20, present", - build: [ - "id 48, present" + "_": "id 20, present", + "build": [ + "id 49, present" ], - request: [ + "request": [ "id 10, present" ], - job: [ - "id 49, present" + "job": [ + "id 50, present" ], - branch: [ - "id 84, present" + "branch": [ + "id 12, present" ], - ssl_key: [ - "id 32, present" + "ssl_key": [ + "id 2, present" ], - commit: [ - "id 216, present" + "commit": [ + "id 6, present" ], - permission: [ + "permission": [ "id 2, present" ], - star: [ + "star": [ "id 2, present" ], - pull_request: [ + "pull_request": [ "id 2, present" ], - tag: [ + "tag": [ "id 12, present" ] }, "id 21, present", { - _: "id 18, present", - build: [ - "id 46, present" + "_": "id 18, present", + "build": [ + "id 47, present" ], - request: [ + "request": [ "id 9, present" ], - job: [ - "id 47, present" + "job": [ + "id 48, present" ], - branch: [ - "id 83, present" + "branch": [ + "id 11, present" ], - ssl_key: [ - "id 31, present" + "ssl_key": [ + "id 1, present" ], - commit: [ - "id 215, present" + "commit": [ + "id 5, present" ], - permission: [ + "permission": [ "id 1, present" ], - star: [ + "star": [ "id 1, present" ], - pull_request: [ + "pull_request": [ "id 1, present" ], - tag: [ + "tag": [ "id 11, present" ] }, "id 19, present" ], - tag: [ + "tag": [ { - _: "id 1, present", - build: [ + "_": "id 1, present", + "build": [ { - _: "id 8, present", - job: [ - "id 9, present" + "_": "id 9, present", + "job": [ + "id 10, present" ], - repository: [ + "repository": [ "id 3, present", "id 2, present" ], - tag: [ + "tag": [ "id 2, present" ], - branch: [ - "id 73, present" + "branch": [ + "id 1, present" ], - stage: [ - "id 22, present" + "stage": [ + "id 4, present" ] }, - "id 10, present" + "id 11, present" ], - commit: [ + "commit": [ { - _: "id 211, present", - build: [ + "_": "id 1, present", + "build": [ { - _: "id 11, present", - job: [ - "id 12, present" + "_": "id 12, present", + "job": [ + "id 13, present" ], - repository: [ + "repository": [ "id 5, present", "id 4, present" ], - tag: [ + "tag": [ "id 3, present" ], - branch: [ - "id 74, present" + "branch": [ + "id 2, present" ], - stage: [ - "id 23, present" + "stage": [ + "id 5, present" ] }, - "id 13, present" + "id 14, present" ], - job: [ + "job": [ { - _: "id 14, present", - log: [ + "_": "id 15, present", + "queueable_job": [ "id 3, present", "id 4, present" ], - annotation: [ - "id 3, present", - "id 4, present" - ], - queueable_job: [ + "job_version": [ "id 3, present", "id 4, present" ] }, - "id 15, present" + "id 16, present" ], - request: [ + "request": [ { - _: "id 1, present", - abuse: [ + "_": "id 1, present", + "abuse": [ "id 1, present", "id 2, present" ], - message: [ + "message": [ "id 1, present", "id 2, present" ], - job: [ + "job": [ { - _: "id 19, present", - log: [ + "_": "id 20, present", + "queueable_job": [ "id 5, present", "id 6, present" ], - annotation: [ - "id 5, present", - "id 6, present" - ], - queueable_job: [ + "job_version": [ "id 5, present", "id 6, present" ] }, - "id 20, present" + "id 21, present" ], - build: [ + "build": [ { - _: "id 16, present", - job: [ - "id 17, present" + "_": "id 17, present", + "job": [ + "id 18, present" ], - repository: [ + "repository": [ "id 7, present", "id 6, present" ], - tag: [ + "tag": [ "id 4, present" ], - branch: [ - "id 75, present" + "branch": [ + "id 3, present" ], - stage: [ - "id 24, present" + "stage": [ + "id 6, present" ] }, - "id 18, present" + "id 19, present" + ], + "request_payload": [ + "id 1, present", + "id 2, present" + ], + "request_raw_configuration": [ + "id 1, present", + "id 2, present" + ], + "deleted_job": [ + "id 1, present", + "id 2, present" + ], + "deleted_build": [ + "id 1, present", + "id 2, present" + ], + "deleted_request_payload": [ + "id 1, present", + "id 2, present" + ], + "deleted_request_raw_configuration": [ + "id 1, present", + "id 2, present" ] }, "id 2, present" + ], + "deleted_build": [ + "id 3, present", + "id 4, present" + ], + "deleted_job": [ + "id 3, present", + "id 4, present" + ], + "deleted_request": [ + "id 1, present", + "id 2, present" ] }, - "id 212, present" + "id 2, present" ], - request: [ + "request": [ { - _: "id 3, present", - abuse: [ + "_": "id 3, present", + "abuse": [ "id 3, present", "id 4, present" ], - message: [ + "message": [ "id 3, present", "id 4, present" ], - job: [ + "job": [ { - _: "id 24, present", - log: [ - "id 7, present", - "id 8, present" - ], - annotation: [ + "_": "id 25, present", + "queueable_job": [ "id 7, present", "id 8, present" ], - queueable_job: [ + "job_version": [ "id 7, present", "id 8, present" ] }, - "id 25, present" + "id 26, present" ], - build: [ + "build": [ { - _: "id 21, present", - job: [ - "id 22, present" + "_": "id 22, present", + "job": [ + "id 23, present" ], - repository: [ + "repository": [ "id 9, present", "id 8, present" ], - tag: [ + "tag": [ "id 5, present" ], - branch: [ - "id 76, present" + "branch": [ + "id 4, present" ], - stage: [ - "id 25, present" + "stage": [ + "id 7, present" ] }, - "id 23, present" + "id 24, present" + ], + "request_payload": [ + "id 3, present", + "id 4, present" + ], + "request_raw_configuration": [ + "id 3, present", + "id 4, present" + ], + "deleted_job": [ + "id 5, present", + "id 6, present" + ], + "deleted_build": [ + "id 5, present", + "id 6, present" + ], + "deleted_request_payload": [ + "id 3, present", + "id 4, present" + ], + "deleted_request_raw_configuration": [ + "id 3, present", + "id 4, present" ] }, "id 4, present" + ], + "deleted_build": [ + "id 7, present", + "id 8, present" + ], + "deleted_commit": [ + "id 1, present", + "id 2, present" + ], + "deleted_request": [ + "id 3, present", + "id 4, present" ] }, "id 6, present" ], - branch: [ + "branch": [ { - _: "id 77, present", - build: [ + "_": "id 5, present", + "build": [ { - _: "id 26, present", - job: [ - "id 27, present" + "_": "id 27, present", + "job": [ + "id 28, present" ], - repository: [ + "repository": [ "id 11, present", "id 10, present" ], - tag: [ + "tag": [ "id 7, present" ], - branch: [ - "id 78, present" + "branch": [ + "id 6, present" ], - stage: [ - "id 26, present" + "stage": [ + "id 8, present" ] }, - "id 28, present" + "id 29, present" ], - commit: [ + "commit": [ { - _: "id 213, present", - build: [ + "_": "id 3, present", + "build": [ { - _: "id 31, present", - job: [ - "id 32, present" + "_": "id 32, present", + "job": [ + "id 33, present" ], - repository: [ + "repository": [ "id 13, present", "id 12, present" ], - tag: [ + "tag": [ "id 8, present" ], - branch: [ - "id 79, present" + "branch": [ + "id 7, present" ], - stage: [ - "id 27, present" + "stage": [ + "id 9, present" ] }, - "id 33, present" + "id 34, present" ], - job: [ + "job": [ { - _: "id 34, present", - log: [ - "id 11, present", - "id 12, present" - ], - annotation: [ + "_": "id 35, present", + "queueable_job": [ "id 11, present", "id 12, present" ], - queueable_job: [ + "job_version": [ "id 11, present", "id 12, present" ] }, - "id 35, present" + "id 36, present" ], - request: [ + "request": [ { - _: "id 5, present", - abuse: [ + "_": "id 5, present", + "abuse": [ "id 5, present", "id 6, present" ], - message: [ + "message": [ "id 5, present", "id 6, present" ], - job: [ + "job": [ { - _: "id 39, present", - log: [ + "_": "id 40, present", + "queueable_job": [ "id 13, present", "id 14, present" ], - annotation: [ - "id 13, present", - "id 14, present" - ], - queueable_job: [ + "job_version": [ "id 13, present", "id 14, present" ] }, - "id 40, present" + "id 41, present" ], - build: [ + "build": [ { - _: "id 36, present", - job: [ - "id 37, present" + "_": "id 37, present", + "job": [ + "id 38, present" ], - repository: [ + "repository": [ "id 15, present", "id 14, present" ], - tag: [ + "tag": [ "id 9, present" ], - branch: [ - "id 80, present" + "branch": [ + "id 8, present" ], - stage: [ - "id 28, present" + "stage": [ + "id 10, present" ] }, - "id 38, present" + "id 39, present" + ], + "request_payload": [ + "id 5, present", + "id 6, present" + ], + "request_raw_configuration": [ + "id 5, present", + "id 6, present" + ], + "deleted_job": [ + "id 9, present", + "id 10, present" + ], + "deleted_build": [ + "id 11, present", + "id 12, present" + ], + "deleted_request_payload": [ + "id 5, present", + "id 6, present" + ], + "deleted_request_raw_configuration": [ + "id 5, present", + "id 6, present" ] }, "id 6, present" + ], + "deleted_build": [ + "id 13, present", + "id 14, present" + ], + "deleted_job": [ + "id 11, present", + "id 12, present" + ], + "deleted_request": [ + "id 5, present", + "id 6, present" ] }, - "id 214, present" + "id 4, present" ], - cron: [ - "id 1, present", - "id 2, present" + "cron": [ + "id 1, present" ], - job: [ + "job": [ { - _: "id 29, present", - log: [ - "id 9, present", - "id 10, present" - ], - annotation: [ + "_": "id 30, present", + "queueable_job": [ "id 9, present", "id 10, present" ], - queueable_job: [ + "job_version": [ "id 9, present", "id 10, present" ] }, - "id 30, present" + "id 31, present" ], - request: [ + "request": [ { - _: "id 7, present", - abuse: [ + "_": "id 7, present", + "abuse": [ "id 7, present", "id 8, present" ], - message: [ + "message": [ "id 7, present", "id 8, present" ], - job: [ + "job": [ { - _: "id 44, present", - log: [ - "id 15, present", - "id 16, present" - ], - annotation: [ + "_": "id 45, present", + "queueable_job": [ "id 15, present", "id 16, present" ], - queueable_job: [ + "job_version": [ "id 15, present", "id 16, present" ] }, - "id 45, present" + "id 46, present" ], - build: [ + "build": [ { - _: "id 41, present", - job: [ - "id 42, present" + "_": "id 42, present", + "job": [ + "id 43, present" ], - repository: [ + "repository": [ "id 17, present", "id 16, present" ], - tag: [ + "tag": [ "id 10, present" ], - branch: [ - "id 81, present" + "branch": [ + "id 9, present" ], - stage: [ - "id 29, present" + "stage": [ + "id 11, present" ] }, - "id 43, present" + "id 44, present" + ], + "request_payload": [ + "id 7, present", + "id 8, present" + ], + "request_raw_configuration": [ + "id 7, present", + "id 8, present" + ], + "deleted_job": [ + "id 13, present", + "id 14, present" + ], + "deleted_build": [ + "id 15, present", + "id 16, present" + ], + "deleted_request_payload": [ + "id 7, present", + "id 8, present" + ], + "deleted_request_raw_configuration": [ + "id 7, present", + "id 8, present" ] }, "id 8, present" + ], + "deleted_build": [ + "id 9, present", + "id 10, present" + ], + "deleted_commit": [ + "id 3, present", + "id 4, present" + ], + "deleted_job": [ + "id 7, present", + "id 8, present" + ], + "deleted_request": [ + "id 7, present", + "id 8, present" ] }, - "id 82, present" + "id 10, present" ], - stage: [ + "stage": [ { - _: "id 20, removed", - job: [ + "_": "id 1, removed", + "job": [ "id 2, removed", "id 3, removed" ] }, { - _: "id 21, removed", - job: [ + "_": "id 2, removed", + "job": [ "id 4, removed", "id 5, removed" ] - } + }, + "id 3, removed" + ], + "deleted_job": [ + "id 15, removed" + ], + "deleted_tag": [ + "id 1, present" + ], + "deleted_stage": [ + "id 1, removed" ] }, - "id 50, removed" + "id 51, removed" ], - request: [ + "request": [ { - _: "id 11, removed", - abuse: [ + "_": "id 11, removed", + "abuse": [ "id 9, removed", "id 10, removed" ], - message: [ + "message": [ "id 9, removed", "id 10, removed" ], - job: [ + "job": [ { - _: "id 54, removed", - log: [ - "id 17, removed", - "id 18, removed" - ], - annotation: [ + "_": "id 55, removed", + "queueable_job": [ "id 17, removed", "id 18, removed" ], - queueable_job: [ + "job_version": [ "id 17, removed", "id 18, removed" ] }, - "id 55, removed" + "id 56, removed" ], - build: [ + "build": [ { - _: "id 51, removed", - job: [ - "id 52, removed" + "_": "id 52, removed", + "job": [ + "id 53, removed" ], - repository: [ + "repository": [ "id 23, present", "id 22, present" ], - tag: [ + "tag": [ "id 13, present" ], - branch: [ - "id 85, present" + "branch": [ + "id 13, present" ], - stage: [ - "id 30, removed" + "stage": [ + "id 12, removed" ] }, - "id 53, removed" + "id 54, removed" + ], + "request_payload": [ + "id 9, removed", + "id 10, removed" + ], + "request_raw_configuration": [ + "id 9, removed", + "id 10, removed" + ], + "deleted_job": [ + "id 16, removed", + "id 17, removed" + ], + "deleted_build": [ + "id 17, removed", + "id 18, removed" + ], + "deleted_request_payload": [ + "id 9, removed", + "id 10, removed" + ], + "deleted_request_raw_configuration": [ + "id 9, removed", + "id 10, removed" ] }, "id 12, removed" ], - job: [ + "job": [ { - _: "id 56, removed", - log: [ - "id 19, removed", - "id 20, removed" - ], - annotation: [ + "_": "id 57, removed", + "queueable_job": [ "id 19, removed", "id 20, removed" ], - queueable_job: [ + "job_version": [ "id 19, removed", "id 20, removed" ] }, - "id 57, removed" + "id 58, removed" ], - branch: [ + "branch": [ { - _: "id 86, removed", - build: [ + "_": "id 14, removed", + "build": [ { - _: "id 58, removed", - job: [ - "id 59, removed" + "_": "id 59, removed", + "job": [ + "id 60, removed" ], - repository: [ + "repository": [ "id 25, present", "id 24, present" ], - tag: [ + "tag": [ "id 14, present" ], - branch: [ - "id 87, present" + "branch": [ + "id 15, present" ], - stage: [ - "id 31, removed" + "stage": [ + "id 13, removed" ] }, - "id 60, removed" + "id 61, removed" ], - commit: [ + "commit": [ { - _: "id 217, removed", - build: [ + "_": "id 7, removed", + "build": [ { - _: "id 63, removed", - job: [ - "id 64, removed" + "_": "id 64, removed", + "job": [ + "id 65, removed" ], - repository: [ + "repository": [ "id 27, present", "id 26, present" ], - tag: [ + "tag": [ "id 15, present" ], - branch: [ - "id 88, present" + "branch": [ + "id 16, present" ], - stage: [ - "id 32, removed" + "stage": [ + "id 14, removed" ] }, - "id 65, removed" + "id 66, removed" ], - job: [ + "job": [ { - _: "id 66, removed", - log: [ + "_": "id 67, removed", + "queueable_job": [ "id 23, removed", "id 24, removed" ], - annotation: [ - "id 23, removed", - "id 24, removed" - ], - queueable_job: [ + "job_version": [ "id 23, removed", "id 24, removed" ] }, - "id 67, removed" + "id 68, removed" ], - request: [ + "request": [ { - _: "id 13, removed", - abuse: [ + "_": "id 13, removed", + "abuse": [ "id 11, removed", "id 12, removed" ], - message: [ + "message": [ "id 11, removed", "id 12, removed" ], - job: [ + "job": [ { - _: "id 71, removed", - log: [ - "id 25, removed", - "id 26, removed" - ], - annotation: [ + "_": "id 72, removed", + "queueable_job": [ "id 25, removed", "id 26, removed" ], - queueable_job: [ + "job_version": [ "id 25, removed", "id 26, removed" ] }, - "id 72, removed" + "id 73, removed" ], - build: [ + "build": [ { - _: "id 68, removed", - job: [ - "id 69, removed" + "_": "id 69, removed", + "job": [ + "id 70, removed" ], - repository: [ + "repository": [ "id 29, present", "id 28, present" ], - tag: [ + "tag": [ "id 16, present" ], - branch: [ - "id 89, present" + "branch": [ + "id 17, present" ], - stage: [ - "id 33, removed" + "stage": [ + "id 15, removed" ] }, - "id 70, removed" + "id 71, removed" + ], + "request_payload": [ + "id 11, removed", + "id 12, removed" + ], + "request_raw_configuration": [ + "id 11, removed", + "id 12, removed" + ], + "deleted_job": [ + "id 20, removed", + "id 21, removed" + ], + "deleted_build": [ + "id 21, removed", + "id 22, removed" + ], + "deleted_request_payload": [ + "id 11, removed", + "id 12, removed" + ], + "deleted_request_raw_configuration": [ + "id 11, removed", + "id 12, removed" ] }, "id 14, removed" + ], + "deleted_build": [ + "id 23, removed", + "id 24, removed" + ], + "deleted_job": [ + "id 22, removed", + "id 23, removed" + ], + "deleted_request": [ + "id 9, removed", + "id 10, removed" ] }, - "id 218, removed" + "id 8, removed" ], - cron: [ - "id 3, removed", - "id 4, removed" + "cron": [ + "id 2, removed" ], - job: [ + "job": [ { - _: "id 61, removed", - log: [ + "_": "id 62, removed", + "queueable_job": [ "id 21, removed", "id 22, removed" ], - annotation: [ - "id 21, removed", - "id 22, removed" - ], - queueable_job: [ + "job_version": [ "id 21, removed", "id 22, removed" ] }, - "id 62, removed" + "id 63, removed" ], - request: [ + "request": [ { - _: "id 15, removed", - abuse: [ + "_": "id 15, removed", + "abuse": [ "id 13, removed", "id 14, removed" ], - message: [ + "message": [ "id 13, removed", "id 14, removed" ], - job: [ + "job": [ { - _: "id 76, removed", - log: [ - "id 27, removed", - "id 28, removed" - ], - annotation: [ + "_": "id 77, removed", + "queueable_job": [ "id 27, removed", "id 28, removed" ], - queueable_job: [ + "job_version": [ "id 27, removed", "id 28, removed" ] }, - "id 77, removed" + "id 78, removed" ], - build: [ + "build": [ { - _: "id 73, removed", - job: [ - "id 74, removed" + "_": "id 74, removed", + "job": [ + "id 75, removed" ], - repository: [ + "repository": [ "id 31, present", "id 30, present" ], - tag: [ + "tag": [ "id 17, present" ], - branch: [ - "id 90, present" + "branch": [ + "id 18, present" ], - stage: [ - "id 34, removed" + "stage": [ + "id 16, removed" ] }, - "id 75, removed" - ] - }, - "id 16, removed" - ] - }, - "id 91, removed" - ], - ssl_key: [ - "id 33, removed", - "id 34, removed" - ], - commit: [ - { - _: "id 219, removed", - build: [ - { - _: "id 78, removed", - job: [ - "id 79, removed" + "id 76, removed" ], - repository: [ - "id 33, present", - "id 32, present" + "request_payload": [ + "id 13, removed", + "id 14, removed" ], - tag: [ - "id 18, present" + "request_raw_configuration": [ + "id 13, removed", + "id 14, removed" ], - branch: [ - "id 92, present" + "deleted_job": [ + "id 24, removed", + "id 25, removed" ], - stage: [ - "id 35, removed" - ] - }, - "id 80, removed" + "deleted_build": [ + "id 25, removed", + "id 26, removed" + ], + "deleted_request_payload": [ + "id 13, removed", + "id 14, removed" + ], + "deleted_request_raw_configuration": [ + "id 13, removed", + "id 14, removed" + ] + }, + "id 16, removed" + ], + "deleted_build": [ + "id 19, removed", + "id 20, removed" + ], + "deleted_commit": [ + "id 5, removed", + "id 6, removed" ], - job: [ + "deleted_job": [ + "id 18, removed", + "id 19, removed" + ], + "deleted_request": [ + "id 11, removed", + "id 12, removed" + ] + }, + "id 19, removed" + ], + "ssl_key": [ + "id 3, removed", + "id 4, removed" + ], + "commit": [ + { + "_": "id 9, removed", + "build": [ { - _: "id 81, removed", - log: [ - "id 29, removed", - "id 30, removed" + "_": "id 79, removed", + "job": [ + "id 80, removed" + ], + "repository": [ + "id 33, present", + "id 32, present" + ], + "tag": [ + "id 18, present" ], - annotation: [ + "branch": [ + "id 20, present" + ], + "stage": [ + "id 17, removed" + ] + }, + "id 81, removed" + ], + "job": [ + { + "_": "id 82, removed", + "queueable_job": [ "id 29, removed", "id 30, removed" ], - queueable_job: [ + "job_version": [ "id 29, removed", "id 30, removed" ] }, - "id 82, removed" + "id 83, removed" ], - request: [ + "request": [ { - _: "id 17, removed", - abuse: [ + "_": "id 17, removed", + "abuse": [ "id 15, removed", "id 16, removed" ], - message: [ + "message": [ "id 15, removed", "id 16, removed" ], - job: [ + "job": [ { - _: "id 86, removed", - log: [ - "id 31, removed", - "id 32, removed" - ], - annotation: [ + "_": "id 87, removed", + "queueable_job": [ "id 31, removed", "id 32, removed" ], - queueable_job: [ + "job_version": [ "id 31, removed", "id 32, removed" ] }, - "id 87, removed" + "id 88, removed" ], - build: [ + "build": [ { - _: "id 83, removed", - job: [ - "id 84, removed" + "_": "id 84, removed", + "job": [ + "id 85, removed" ], - repository: [ + "repository": [ "id 35, present", "id 34, present" ], - tag: [ + "tag": [ "id 19, present" ], - branch: [ - "id 93, present" + "branch": [ + "id 21, present" ], - stage: [ - "id 36, removed" + "stage": [ + "id 18, removed" ] }, - "id 85, removed" + "id 86, removed" + ], + "request_payload": [ + "id 15, removed", + "id 16, removed" + ], + "request_raw_configuration": [ + "id 15, removed", + "id 16, removed" + ], + "deleted_job": [ + "id 26, removed", + "id 27, removed" + ], + "deleted_build": [ + "id 27, removed", + "id 28, removed" + ], + "deleted_request_payload": [ + "id 15, removed", + "id 16, removed" + ], + "deleted_request_raw_configuration": [ + "id 15, removed", + "id 16, removed" ] }, "id 18, removed" + ], + "deleted_build": [ + "id 29, removed", + "id 30, removed" + ], + "deleted_job": [ + "id 28, removed", + "id 29, removed" + ], + "deleted_request": [ + "id 13, removed", + "id 14, removed" ] }, - "id 220, removed" + "id 10, removed" ], - permission: [ + "permission": [ "id 3, removed", "id 4, removed" ], - star: [ + "star": [ "id 3, removed", "id 4, removed" ], - pull_request: [ + "pull_request": [ { - _: "id 3, removed", - request: [ + "_": "id 3, removed", + "request": [ { - _: "id 29, removed", - abuse: [ + "_": "id 29, removed", + "abuse": [ "id 25, removed", "id 26, removed" ], - message: [ + "message": [ "id 25, removed", "id 26, removed" ], - job: [ + "job": [ { - _: "id 141, removed", - log: [ + "_": "id 143, removed", + "queueable_job": [ "id 49, removed", "id 50, removed" ], - annotation: [ - "id 49, removed", - "id 50, removed" - ], - queueable_job: [ + "job_version": [ "id 49, removed", "id 50, removed" ] }, - "id 142, removed" + "id 144, removed" ], - build: [ + "build": [ { - _: "id 138, removed", - job: [ - "id 139, removed" + "_": "id 140, removed", + "job": [ + "id 141, removed" ], - repository: [ + "repository": [ "id 57, present", "id 56, present" ], - tag: [ + "tag": [ "id 32, present" ], - branch: [ - "id 106, present" + "branch": [ + "id 34, present" ], - stage: [ - "id 47, removed" + "stage": [ + "id 30, removed" ] }, - "id 140, removed" + "id 142, removed" + ], + "request_payload": [ + "id 25, removed", + "id 26, removed" + ], + "request_raw_configuration": [ + "id 25, removed", + "id 26, removed" + ], + "deleted_job": [ + "id 45, removed", + "id 46, removed" + ], + "deleted_build": [ + "id 47, removed", + "id 48, removed" + ], + "deleted_request_payload": [ + "id 25, removed", + "id 26, removed" + ], + "deleted_request_raw_configuration": [ + "id 25, removed", + "id 26, removed" ] }, "id 30, removed" ], - build: [ + "build": [ { - _: "id 88, removed", - job: [ + "_": "id 89, removed", + "job": [ { - _: "id 93, removed", - log: [ - "id 33, removed", - "id 34, removed" - ], - annotation: [ + "_": "id 94, removed", + "queueable_job": [ "id 33, removed", "id 34, removed" ], - queueable_job: [ + "job_version": [ "id 33, removed", "id 34, removed" ] }, - "id 94, removed" + "id 95, removed", + "id 96, removed" ], - repository: [ + "repository": [ { - _: "id 54, present", - build: [ - "id 135, present" + "_": "id 54, present", + "build": [ + "id 137, present" ], - request: [ + "request": [ "id 28, present" ], - job: [ - "id 136, present" + "job": [ + "id 138, present" ], - branch: [ - "id 105, present" + "branch": [ + "id 33, present" ], - ssl_key: [ - "id 36, present" + "ssl_key": [ + "id 6, present" ], - commit: [ - "id 226, present" + "commit": [ + "id 16, present" ], - permission: [ + "permission": [ "id 6, present" ], - star: [ + "star": [ "id 6, present" ], - pull_request: [ + "pull_request": [ "id 5, present" ], - tag: [ + "tag": [ "id 31, present" ] }, "id 55, present", { - _: "id 52, present", - build: [ - "id 133, present" + "_": "id 52, present", + "build": [ + "id 135, present" ], - request: [ + "request": [ "id 27, present" ], - job: [ - "id 134, present" + "job": [ + "id 136, present" ], - branch: [ - "id 104, present" + "branch": [ + "id 32, present" ], - ssl_key: [ - "id 35, present" + "ssl_key": [ + "id 5, present" ], - commit: [ - "id 225, present" + "commit": [ + "id 15, present" ], - permission: [ + "permission": [ "id 5, present" ], - star: [ + "star": [ "id 5, present" ], - pull_request: [ + "pull_request": [ "id 4, present" ], - tag: [ + "tag": [ "id 30, present" ] }, "id 53, present" ], - tag: [ + "tag": [ { - _: "id 20, present", - build: [ + "_": "id 20, present", + "build": [ { - _: "id 95, present", - job: [ - "id 96, present" + "_": "id 97, present", + "job": [ + "id 98, present" ], - repository: [ + "repository": [ "id 37, present", "id 36, present" ], - tag: [ + "tag": [ "id 21, present" ], - branch: [ - "id 94, present" + "branch": [ + "id 22, present" ], - stage: [ - "id 39, present" + "stage": [ + "id 22, present" ] }, - "id 97, present" + "id 99, present" ], - commit: [ + "commit": [ { - _: "id 221, present", - build: [ + "_": "id 11, present", + "build": [ { - _: "id 98, present", - job: [ - "id 99, present" + "_": "id 100, present", + "job": [ + "id 101, present" ], - repository: [ + "repository": [ "id 39, present", "id 38, present" ], - tag: [ + "tag": [ "id 22, present" ], - branch: [ - "id 95, present" + "branch": [ + "id 23, present" ], - stage: [ - "id 40, present" + "stage": [ + "id 23, present" ] }, - "id 100, present" + "id 102, present" ], - job: [ + "job": [ { - _: "id 101, present", - log: [ - "id 35, present", - "id 36, present" - ], - annotation: [ + "_": "id 103, present", + "queueable_job": [ "id 35, present", "id 36, present" ], - queueable_job: [ + "job_version": [ "id 35, present", "id 36, present" ] }, - "id 102, present" + "id 104, present" ], - request: [ + "request": [ { - _: "id 19, present", - abuse: [ + "_": "id 19, present", + "abuse": [ "id 17, present", "id 18, present" ], - message: [ + "message": [ "id 17, present", "id 18, present" ], - job: [ + "job": [ { - _: "id 106, present", - log: [ - "id 37, present", - "id 38, present" - ], - annotation: [ + "_": "id 108, present", + "queueable_job": [ "id 37, present", "id 38, present" ], - queueable_job: [ + "job_version": [ "id 37, present", "id 38, present" ] }, - "id 107, present" + "id 109, present" ], - build: [ + "build": [ { - _: "id 103, present", - job: [ - "id 104, present" + "_": "id 105, present", + "job": [ + "id 106, present" ], - repository: [ + "repository": [ "id 41, present", "id 40, present" ], - tag: [ + "tag": [ "id 23, present" ], - branch: [ - "id 96, present" + "branch": [ + "id 24, present" ], - stage: [ - "id 41, present" + "stage": [ + "id 24, present" ] }, - "id 105, present" + "id 107, present" + ], + "request_payload": [ + "id 17, present", + "id 18, present" + ], + "request_raw_configuration": [ + "id 17, present", + "id 18, present" + ], + "deleted_job": [ + "id 30, present", + "id 31, present" + ], + "deleted_build": [ + "id 31, present", + "id 32, present" + ], + "deleted_request_payload": [ + "id 17, present", + "id 18, present" + ], + "deleted_request_raw_configuration": [ + "id 17, present", + "id 18, present" ] }, "id 20, present" + ], + "deleted_build": [ + "id 33, present", + "id 34, present" + ], + "deleted_job": [ + "id 32, present", + "id 33, present" + ], + "deleted_request": [ + "id 15, present", + "id 16, present" ] }, - "id 222, present" + "id 12, present" ], - request: [ + "request": [ { - _: "id 21, present", - abuse: [ + "_": "id 21, present", + "abuse": [ "id 19, present", "id 20, present" ], - message: [ + "message": [ "id 19, present", "id 20, present" ], - job: [ + "job": [ { - _: "id 111, present", - log: [ - "id 39, present", - "id 40, present" - ], - annotation: [ + "_": "id 113, present", + "queueable_job": [ "id 39, present", "id 40, present" ], - queueable_job: [ + "job_version": [ "id 39, present", "id 40, present" ] }, - "id 112, present" + "id 114, present" ], - build: [ + "build": [ { - _: "id 108, present", - job: [ - "id 109, present" + "_": "id 110, present", + "job": [ + "id 111, present" ], - repository: [ + "repository": [ "id 43, present", "id 42, present" ], - tag: [ + "tag": [ "id 24, present" ], - branch: [ - "id 97, present" + "branch": [ + "id 25, present" ], - stage: [ - "id 42, present" + "stage": [ + "id 25, present" ] }, - "id 110, present" + "id 112, present" + ], + "request_payload": [ + "id 19, present", + "id 20, present" + ], + "request_raw_configuration": [ + "id 19, present", + "id 20, present" + ], + "deleted_job": [ + "id 34, present", + "id 35, present" + ], + "deleted_build": [ + "id 35, present", + "id 36, present" + ], + "deleted_request_payload": [ + "id 19, present", + "id 20, present" + ], + "deleted_request_raw_configuration": [ + "id 19, present", + "id 20, present" ] }, "id 22, present" + ], + "deleted_build": [ + "id 37, present", + "id 38, present" + ], + "deleted_commit": [ + "id 7, present", + "id 8, present" + ], + "deleted_request": [ + "id 17, present", + "id 18, present" ] }, "id 25, present" ], - branch: [ + "branch": [ { - _: "id 98, present", - build: [ + "_": "id 26, present", + "build": [ { - _: "id 113, present", - job: [ - "id 114, present" + "_": "id 115, present", + "job": [ + "id 116, present" ], - repository: [ + "repository": [ "id 45, present", "id 44, present" ], - tag: [ + "tag": [ "id 26, present" ], - branch: [ - "id 99, present" + "branch": [ + "id 27, present" ], - stage: [ - "id 43, present" + "stage": [ + "id 26, present" ] }, - "id 115, present" + "id 117, present" ], - commit: [ + "commit": [ { - _: "id 223, present", - build: [ + "_": "id 13, present", + "build": [ { - _: "id 118, present", - job: [ - "id 119, present" + "_": "id 120, present", + "job": [ + "id 121, present" ], - repository: [ + "repository": [ "id 47, present", "id 46, present" ], - tag: [ + "tag": [ "id 27, present" ], - branch: [ - "id 100, present" + "branch": [ + "id 28, present" ], - stage: [ - "id 44, present" + "stage": [ + "id 27, present" ] }, - "id 120, present" + "id 122, present" ], - job: [ + "job": [ { - _: "id 121, present", - log: [ - "id 43, present", - "id 44, present" - ], - annotation: [ + "_": "id 123, present", + "queueable_job": [ "id 43, present", "id 44, present" ], - queueable_job: [ + "job_version": [ "id 43, present", "id 44, present" ] }, - "id 122, present" + "id 124, present" ], - request: [ + "request": [ { - _: "id 23, present", - abuse: [ + "_": "id 23, present", + "abuse": [ "id 21, present", "id 22, present" ], - message: [ + "message": [ "id 21, present", "id 22, present" ], - job: [ + "job": [ { - _: "id 126, present", - log: [ + "_": "id 128, present", + "queueable_job": [ "id 45, present", "id 46, present" ], - annotation: [ - "id 45, present", - "id 46, present" - ], - queueable_job: [ + "job_version": [ "id 45, present", "id 46, present" ] }, - "id 127, present" + "id 129, present" ], - build: [ + "build": [ { - _: "id 123, present", - job: [ - "id 124, present" + "_": "id 125, present", + "job": [ + "id 126, present" ], - repository: [ + "repository": [ "id 49, present", "id 48, present" ], - tag: [ + "tag": [ "id 28, present" ], - branch: [ - "id 101, present" + "branch": [ + "id 29, present" ], - stage: [ - "id 45, present" + "stage": [ + "id 28, present" ] }, - "id 125, present" + "id 127, present" + ], + "request_payload": [ + "id 21, present", + "id 22, present" + ], + "request_raw_configuration": [ + "id 21, present", + "id 22, present" + ], + "deleted_job": [ + "id 38, present", + "id 39, present" + ], + "deleted_build": [ + "id 41, present", + "id 42, present" + ], + "deleted_request_payload": [ + "id 21, present", + "id 22, present" + ], + "deleted_request_raw_configuration": [ + "id 21, present", + "id 22, present" ] }, "id 24, present" + ], + "deleted_build": [ + "id 43, present", + "id 44, present" + ], + "deleted_job": [ + "id 40, present", + "id 41, present" + ], + "deleted_request": [ + "id 19, present", + "id 20, present" ] }, - "id 224, present" + "id 14, present" ], - cron: [ - "id 5, present", - "id 6, present" + "cron": [ + "id 3, present" ], - job: [ + "job": [ { - _: "id 116, present", - log: [ - "id 41, present", - "id 42, present" - ], - annotation: [ + "_": "id 118, present", + "queueable_job": [ "id 41, present", "id 42, present" ], - queueable_job: [ + "job_version": [ "id 41, present", "id 42, present" ] }, - "id 117, present" + "id 119, present" ], - request: [ + "request": [ { - _: "id 25, present", - abuse: [ + "_": "id 25, present", + "abuse": [ "id 23, present", "id 24, present" ], - message: [ + "message": [ "id 23, present", "id 24, present" ], - job: [ + "job": [ { - _: "id 131, present", - log: [ - "id 47, present", - "id 48, present" - ], - annotation: [ + "_": "id 133, present", + "queueable_job": [ "id 47, present", "id 48, present" ], - queueable_job: [ + "job_version": [ "id 47, present", "id 48, present" ] }, - "id 132, present" + "id 134, present" ], - build: [ + "build": [ { - _: "id 128, present", - job: [ - "id 129, present" + "_": "id 130, present", + "job": [ + "id 131, present" ], - repository: [ + "repository": [ "id 51, present", "id 50, present" ], - tag: [ + "tag": [ "id 29, present" ], - branch: [ - "id 102, present" + "branch": [ + "id 30, present" ], - stage: [ - "id 46, present" + "stage": [ + "id 29, present" ] }, - "id 130, present" + "id 132, present" + ], + "request_payload": [ + "id 23, present", + "id 24, present" + ], + "request_raw_configuration": [ + "id 23, present", + "id 24, present" + ], + "deleted_job": [ + "id 42, present", + "id 43, present" + ], + "deleted_build": [ + "id 45, present", + "id 46, present" + ], + "deleted_request_payload": [ + "id 23, present", + "id 24, present" + ], + "deleted_request_raw_configuration": [ + "id 23, present", + "id 24, present" ] }, "id 26, present" + ], + "deleted_build": [ + "id 39, present", + "id 40, present" + ], + "deleted_commit": [ + "id 9, present", + "id 10, present" + ], + "deleted_job": [ + "id 36, present", + "id 37, present" + ], + "deleted_request": [ + "id 21, present", + "id 22, present" ] }, - "id 103, present" + "id 31, present" ], - stage: [ + "stage": [ { - _: "id 37, removed", - job: [ - "id 89, removed", - "id 90, removed" + "_": "id 19, removed", + "job": [ + "id 90, removed", + "id 91, removed" ] }, { - _: "id 38, removed", - job: [ - "id 91, removed", - "id 92, removed" + "_": "id 20, removed", + "job": [ + "id 92, removed", + "id 93, removed" ] - } + }, + "id 21, removed" + ], + "deleted_job": [ + "id 44, removed" + ], + "deleted_tag": [ + "id 2, present" + ], + "deleted_stage": [ + "id 2, removed" ] }, - "id 137, removed" + "id 139, removed" + ], + "deleted_request": [ + "id 23, removed", + "id 24, removed" + ], + "deleted_build": [ + "id 49, removed", + "id 50, removed" ] }, "id 6, removed" ], - tag: [ + "tag": [ { - _: "id 33, removed", - build: [ + "_": "id 33, removed", + "build": [ { - _: "id 143, removed", - job: [ - "id 144, removed" + "_": "id 145, removed", + "job": [ + "id 146, removed" ], - repository: [ + "repository": [ "id 59, present", "id 58, present" ], - tag: [ + "tag": [ "id 34, present" ], - branch: [ - "id 107, present" + "branch": [ + "id 35, present" ], - stage: [ - "id 48, removed" + "stage": [ + "id 31, removed" ] }, - "id 145, removed" + "id 147, removed" ], - commit: [ + "commit": [ { - _: "id 227, removed", - build: [ + "_": "id 17, removed", + "build": [ { - _: "id 146, removed", - job: [ - "id 147, removed" + "_": "id 148, removed", + "job": [ + "id 149, removed" ], - repository: [ + "repository": [ "id 61, present", "id 60, present" ], - tag: [ + "tag": [ "id 35, present" ], - branch: [ - "id 108, present" + "branch": [ + "id 36, present" ], - stage: [ - "id 49, removed" + "stage": [ + "id 32, removed" ] }, - "id 148, removed" + "id 150, removed" ], - job: [ + "job": [ { - _: "id 149, removed", - log: [ - "id 51, removed", - "id 52, removed" - ], - annotation: [ + "_": "id 151, removed", + "queueable_job": [ "id 51, removed", "id 52, removed" ], - queueable_job: [ + "job_version": [ "id 51, removed", "id 52, removed" ] }, - "id 150, removed" + "id 152, removed" ], - request: [ + "request": [ { - _: "id 31, removed", - abuse: [ + "_": "id 31, removed", + "abuse": [ "id 27, removed", "id 28, removed" ], - message: [ + "message": [ "id 27, removed", "id 28, removed" ], - job: [ + "job": [ { - _: "id 154, removed", - log: [ - "id 53, removed", - "id 54, removed" - ], - annotation: [ + "_": "id 156, removed", + "queueable_job": [ "id 53, removed", "id 54, removed" ], - queueable_job: [ + "job_version": [ "id 53, removed", "id 54, removed" ] }, - "id 155, removed" + "id 157, removed" ], - build: [ + "build": [ { - _: "id 151, removed", - job: [ - "id 152, removed" + "_": "id 153, removed", + "job": [ + "id 154, removed" ], - repository: [ + "repository": [ "id 63, present", "id 62, present" ], - tag: [ + "tag": [ "id 36, present" ], - branch: [ - "id 109, present" + "branch": [ + "id 37, present" ], - stage: [ - "id 50, removed" + "stage": [ + "id 33, removed" ] }, - "id 153, removed" + "id 155, removed" + ], + "request_payload": [ + "id 27, removed", + "id 28, removed" + ], + "request_raw_configuration": [ + "id 27, removed", + "id 28, removed" + ], + "deleted_job": [ + "id 47, removed", + "id 48, removed" + ], + "deleted_build": [ + "id 51, removed", + "id 52, removed" + ], + "deleted_request_payload": [ + "id 27, removed", + "id 28, removed" + ], + "deleted_request_raw_configuration": [ + "id 27, removed", + "id 28, removed" ] }, "id 32, removed" + ], + "deleted_build": [ + "id 53, removed", + "id 54, removed" + ], + "deleted_job": [ + "id 49, removed", + "id 50, removed" + ], + "deleted_request": [ + "id 25, removed", + "id 26, removed" ] }, - "id 228, removed" + "id 18, removed" ], - request: [ + "request": [ { - _: "id 33, removed", - abuse: [ + "_": "id 33, removed", + "abuse": [ "id 29, removed", "id 30, removed" ], - message: [ + "message": [ "id 29, removed", "id 30, removed" ], - job: [ + "job": [ { - _: "id 159, removed", - log: [ + "_": "id 161, removed", + "queueable_job": [ "id 55, removed", "id 56, removed" ], - annotation: [ - "id 55, removed", - "id 56, removed" - ], - queueable_job: [ + "job_version": [ "id 55, removed", "id 56, removed" ] }, - "id 160, removed" + "id 162, removed" ], - build: [ + "build": [ { - _: "id 156, removed", - job: [ - "id 157, removed" + "_": "id 158, removed", + "job": [ + "id 159, removed" ], - repository: [ + "repository": [ "id 65, present", "id 64, present" ], - tag: [ + "tag": [ "id 37, present" ], - branch: [ - "id 110, present" + "branch": [ + "id 38, present" ], - stage: [ - "id 51, removed" + "stage": [ + "id 34, removed" ] }, - "id 158, removed" + "id 160, removed" + ], + "request_payload": [ + "id 29, removed", + "id 30, removed" + ], + "request_raw_configuration": [ + "id 29, removed", + "id 30, removed" + ], + "deleted_job": [ + "id 51, removed", + "id 52, removed" + ], + "deleted_build": [ + "id 55, removed", + "id 56, removed" + ], + "deleted_request_payload": [ + "id 29, removed", + "id 30, removed" + ], + "deleted_request_raw_configuration": [ + "id 29, removed", + "id 30, removed" ] }, "id 34, removed" + ], + "deleted_build": [ + "id 57, removed", + "id 58, removed" + ], + "deleted_commit": [ + "id 11, removed", + "id 12, removed" + ], + "deleted_request": [ + "id 27, removed", + "id 28, removed" ] }, "id 38, removed" + ], + "build_config": [ + { + "_": "id 1, removed", + "build": [ + { + "_": "id 163, removed", + "job": [ + "id 164, removed" + ], + "repository": [ + "id 67, present", + "id 66, present" + ], + "tag": [ + "id 39, present" + ], + "branch": [ + "id 39, present" + ], + "stage": [ + "id 35, removed" + ] + }, + "id 165, removed" + ], + "deleted_build": [ + "id 59, removed", + "id 60, removed" + ] + }, + "id 2, removed" + ], + "email_unsubscribe": [ + "id 1, removed", + "id 2, removed" + ], + "request_config": [ + { + "_": "id 1, removed", + "request": [ + { + "_": "id 35, removed", + "abuse": [ + "id 31, removed", + "id 32, removed" + ], + "message": [ + "id 31, removed", + "id 32, removed" + ], + "job": [ + { + "_": "id 169, removed", + "queueable_job": [ + "id 57, removed", + "id 58, removed" + ], + "job_version": [ + "id 57, removed", + "id 58, removed" + ] + }, + "id 170, removed" + ], + "build": [ + { + "_": "id 166, removed", + "job": [ + "id 167, removed" + ], + "repository": [ + "id 69, present", + "id 68, present" + ], + "tag": [ + "id 40, present" + ], + "branch": [ + "id 40, present" + ], + "stage": [ + "id 36, removed" + ] + }, + "id 168, removed" + ], + "request_payload": [ + "id 31, removed", + "id 32, removed" + ], + "request_raw_configuration": [ + "id 31, removed", + "id 32, removed" + ], + "deleted_job": [ + "id 53, removed", + "id 54, removed" + ], + "deleted_build": [ + "id 61, removed", + "id 62, removed" + ], + "deleted_request_payload": [ + "id 31, removed", + "id 32, removed" + ], + "deleted_request_raw_configuration": [ + "id 31, removed", + "id 32, removed" + ] + }, + "id 36, removed", + { + "_": "id 37, removed", + "abuse": [ + "id 33, removed", + "id 34, removed" + ], + "message": [ + "id 33, removed", + "id 34, removed" + ], + "job": [ + { + "_": "id 176, removed", + "queueable_job": [ + "id 61, removed", + "id 62, removed" + ], + "job_version": [ + "id 61, removed", + "id 62, removed" + ] + }, + "id 177, removed" + ], + "build": [ + { + "_": "id 173, removed", + "job": [ + "id 174, removed" + ], + "repository": [ + "id 71, present", + "id 70, present" + ], + "tag": [ + "id 41, present" + ], + "branch": [ + "id 41, present" + ], + "stage": [ + "id 37, removed" + ] + }, + "id 175, removed" + ], + "request_payload": [ + "id 33, removed", + "id 34, removed" + ], + "request_raw_configuration": [ + "id 35, removed", + "id 36, removed" + ], + "deleted_job": [ + "id 57, removed", + "id 58, removed" + ], + "deleted_build": [ + "id 63, removed", + "id 64, removed" + ], + "deleted_request_payload": [ + "id 33, removed", + "id 34, removed" + ], + "deleted_request_raw_configuration": [ + "id 35, removed", + "id 36, removed" + ] + }, + "id 38, removed" + ], + "deleted_request": [ + "id 29, removed", + "id 30, removed", + "id 31, removed", + "id 32, removed" + ] + }, + "id 2, removed" + ], + "job_config": [ + { + "_": "id 1, removed", + "job": [ + { + "_": "id 171, removed", + "queueable_job": [ + "id 59, removed", + "id 60, removed" + ], + "job_version": [ + "id 59, removed", + "id 60, removed" + ] + }, + "id 172, removed" + ], + "deleted_job": [ + "id 55, removed", + "id 56, removed" + ] + }, + "id 2, removed" + ], + "request_raw_config": [ + { + "_": "id 1, removed", + "request_raw_configuration": [ + "id 33, removed", + "id 34, removed" + ], + "deleted_request_raw_configuration": [ + "id 33, removed", + "id 34, removed" + ] + }, + "id 2, removed" + ], + "repo_count": [ + "id 1, present", + "id 1, present, duplicate" + ], + "request_yaml_config": [ + "id 1, removed", + "id 2, removed" + ], + "deleted_build": [ + "id 65, removed", + "id 66, removed" + ], + "deleted_request": [ + "id 33, removed", + "id 34, removed" + ], + "deleted_job": [ + "id 59, removed", + "id 60, removed" + ], + "deleted_ssl_key": [ + "id 1, removed", + "id 2, removed" + ], + "deleted_commit": [ + "id 13, removed", + "id 14, removed" + ], + "deleted_pull_request": [ + "id 1, removed", + "id 2, removed" + ], + "deleted_tag": [ + "id 3, removed", + "id 4, removed" + ], + "deleted_build_config": [ + "id 1, removed", + "id 2, removed" + ], + "deleted_request_config": [ + "id 1, removed", + "id 2, removed" + ], + "deleted_job_config": [ + "id 1, removed", + "id 2, removed" + ], + "deleted_request_raw_config": [ + "id 1, removed", + "id 2, removed" + ], + "deleted_request_yaml_config": [ + "id 1, removed", + "id 2, removed" ] } end diff --git a/spec/support/expected_dependency_trees/remove_user_with_dependencies.rb b/spec/support/expected_dependency_trees/remove_user_with_dependencies.rb index 06234e1..2e0c72e 100644 --- a/spec/support/expected_dependency_trees/remove_user_with_dependencies.rb +++ b/spec/support/expected_dependency_trees/remove_user_with_dependencies.rb @@ -1,2828 +1,3847 @@ class ExpectedDependencyTrees def self.remove_user_with_dependencies { - _: "id 9, removed", - build: [ + "_": "id 1, removed", + "build": [ { - _: "id 161, removed", - job: [ + "_": "id 178, removed", + "job": [ { - _: "id 166, removed", - log: [ - "id 57, removed", - "id 58, removed" - ], - annotation: [ - "id 57, removed", - "id 58, removed" - ], - queueable_job: [ - "id 57, removed", - "id 58, removed" + "_": "id 183, removed", + "queueable_job": [ + "id 63, removed", + "id 64, removed" + ], + "job_version": [ + "id 63, removed", + "id 64, removed" ] }, - "id 167, removed" + "id 184, removed", + "id 185, removed" ], - repository: [ + "repository": [ { - _: "id 85, present", - build: [ - "id 208, present" + "_": "id 91, present", + "build": [ + "id 226, present" ], - request: [ - "id 44, present" + "request": [ + "id 48, present" ], - job: [ - "id 209, present" + "job": [ + "id 227, present" ], - branch: [ - "id 122, present" + "branch": [ + "id 53, present" ], - ssl_key: [ - "id 38, present" + "ssl_key": [ + "id 8, present" ], - commit: [ - "id 234, present" + "commit": [ + "id 24, present" ], - permission: [ + "permission": [ "id 10, present" ], - star: [ + "star": [ "id 10, present" ], - pull_request: [ + "pull_request": [ "id 8, present" ], - tag: [ - "id 50, present" + "tag": [ + "id 53, present" ] }, - "id 86, present", + "id 92, present", { - _: "id 83, present", - build: [ - "id 206, present" + "_": "id 89, present", + "build": [ + "id 224, present" ], - request: [ - "id 43, present" + "request": [ + "id 47, present" ], - job: [ - "id 207, present" + "job": [ + "id 225, present" ], - branch: [ - "id 121, present" + "branch": [ + "id 52, present" ], - ssl_key: [ - "id 37, present" + "ssl_key": [ + "id 7, present" ], - commit: [ - "id 233, present" + "commit": [ + "id 23, present" ], - permission: [ + "permission": [ "id 9, present" ], - star: [ + "star": [ "id 9, present" ], - pull_request: [ + "pull_request": [ "id 7, present" ], - tag: [ - "id 49, present" + "tag": [ + "id 52, present" ] }, - "id 84, present" + "id 90, present" ], - tag: [ + "tag": [ { - _: "id 39, present", - build: [ + "_": "id 42, present", + "build": [ { - _: "id 168, present", - job: [ - "id 169, present" + "_": "id 186, present", + "job": [ + "id 187, present" ], - repository: [ - "id 68, present", - "id 67, present" + "repository": [ + "id 74, present", + "id 73, present" ], - tag: [ - "id 40, present" + "tag": [ + "id 43, present" ], - branch: [ - "id 111, present" + "branch": [ + "id 42, present" ], - stage: [ - "id 54, present" + "stage": [ + "id 41, present" ] }, - "id 170, present" + "id 188, present" ], - commit: [ + "commit": [ { - _: "id 229, present", - build: [ + "_": "id 19, present", + "build": [ { - _: "id 171, present", - job: [ - "id 172, present" + "_": "id 189, present", + "job": [ + "id 190, present" ], - repository: [ - "id 70, present", - "id 69, present" + "repository": [ + "id 76, present", + "id 75, present" ], - tag: [ - "id 41, present" + "tag": [ + "id 44, present" ], - branch: [ - "id 112, present" + "branch": [ + "id 43, present" ], - stage: [ - "id 55, present" + "stage": [ + "id 42, present" ] }, - "id 173, present" + "id 191, present" ], - job: [ + "job": [ { - _: "id 174, present", - log: [ - "id 59, present", - "id 60, present" - ], - annotation: [ - "id 59, present", - "id 60, present" - ], - queueable_job: [ - "id 59, present", - "id 60, present" + "_": "id 192, present", + "queueable_job": [ + "id 65, present", + "id 66, present" + ], + "job_version": [ + "id 65, present", + "id 66, present" ] }, - "id 175, present" + "id 193, present" ], - request: [ + "request": [ { - _: "id 35, present", - abuse: [ - "id 31, present", - "id 32, present" + "_": "id 39, present", + "abuse": [ + "id 35, present", + "id 36, present" ], - message: [ - "id 31, present", - "id 32, present" + "message": [ + "id 35, present", + "id 36, present" ], - job: [ + "job": [ { - _: "id 179, present", - log: [ - "id 61, present", - "id 62, present" - ], - annotation: [ - "id 61, present", - "id 62, present" - ], - queueable_job: [ - "id 61, present", - "id 62, present" + "_": "id 197, present", + "queueable_job": [ + "id 67, present", + "id 68, present" + ], + "job_version": [ + "id 67, present", + "id 68, present" ] }, - "id 180, present" + "id 198, present" ], - build: [ + "build": [ { - _: "id 176, present", - job: [ - "id 177, present" + "_": "id 194, present", + "job": [ + "id 195, present" ], - repository: [ - "id 72, present", - "id 71, present" + "repository": [ + "id 78, present", + "id 77, present" ], - tag: [ - "id 42, present" + "tag": [ + "id 45, present" ], - branch: [ - "id 113, present" + "branch": [ + "id 44, present" ], - stage: [ - "id 56, present" + "stage": [ + "id 43, present" ] }, - "id 178, present" + "id 196, present" + ], + "request_payload": [ + "id 35, present", + "id 36, present" + ], + "request_raw_configuration": [ + "id 37, present", + "id 38, present" + ], + "deleted_job": [ + "id 61, present", + "id 62, present" + ], + "deleted_build": [ + "id 67, present", + "id 68, present" + ], + "deleted_request_payload": [ + "id 35, present", + "id 36, present" + ], + "deleted_request_raw_configuration": [ + "id 37, present", + "id 38, present" ] }, + "id 40, present" + ], + "deleted_build": [ + "id 69, present", + "id 70, present" + ], + "deleted_job": [ + "id 63, present", + "id 64, present" + ], + "deleted_request": [ + "id 35, present", "id 36, present" ] }, - "id 230, present" + "id 20, present" ], - request: [ + "request": [ { - _: "id 37, present", - abuse: [ - "id 33, present", - "id 34, present" + "_": "id 41, present", + "abuse": [ + "id 37, present", + "id 38, present" ], - message: [ - "id 33, present", - "id 34, present" + "message": [ + "id 37, present", + "id 38, present" ], - job: [ + "job": [ { - _: "id 184, present", - log: [ - "id 63, present", - "id 64, present" - ], - annotation: [ - "id 63, present", - "id 64, present" - ], - queueable_job: [ - "id 63, present", - "id 64, present" + "_": "id 202, present", + "queueable_job": [ + "id 69, present", + "id 70, present" + ], + "job_version": [ + "id 69, present", + "id 70, present" ] }, - "id 185, present" + "id 203, present" ], - build: [ + "build": [ { - _: "id 181, present", - job: [ - "id 182, present" + "_": "id 199, present", + "job": [ + "id 200, present" ], - repository: [ - "id 74, present", - "id 73, present" + "repository": [ + "id 80, present", + "id 79, present" ], - tag: [ - "id 43, present" + "tag": [ + "id 46, present" ], - branch: [ - "id 114, present" + "branch": [ + "id 45, present" ], - stage: [ - "id 57, present" + "stage": [ + "id 44, present" ] }, - "id 183, present" + "id 201, present" + ], + "request_payload": [ + "id 37, present", + "id 38, present" + ], + "request_raw_configuration": [ + "id 39, present", + "id 40, present" + ], + "deleted_job": [ + "id 65, present", + "id 66, present" + ], + "deleted_build": [ + "id 71, present", + "id 72, present" + ], + "deleted_request_payload": [ + "id 37, present", + "id 38, present" + ], + "deleted_request_raw_configuration": [ + "id 39, present", + "id 40, present" ] }, + "id 42, present" + ], + "deleted_build": [ + "id 73, present", + "id 74, present" + ], + "deleted_commit": [ + "id 15, present", + "id 16, present" + ], + "deleted_request": [ + "id 37, present", "id 38, present" ] }, - "id 44, present" + "id 47, present" ], - branch: [ + "branch": [ { - _: "id 115, present", - build: [ + "_": "id 46, present", + "build": [ { - _: "id 186, present", - job: [ - "id 187, present" + "_": "id 204, present", + "job": [ + "id 205, present" ], - repository: [ - "id 76, present", - "id 75, present" + "repository": [ + "id 82, present", + "id 81, present" ], - tag: [ - "id 45, present" + "tag": [ + "id 48, present" ], - branch: [ - "id 116, present" + "branch": [ + "id 47, present" ], - stage: [ - "id 58, present" + "stage": [ + "id 45, present" ] }, - "id 188, present" + "id 206, present" ], - commit: [ + "commit": [ { - _: "id 231, present", - build: [ + "_": "id 21, present", + "build": [ { - _: "id 191, present", - job: [ - "id 192, present" + "_": "id 209, present", + "job": [ + "id 210, present" ], - repository: [ - "id 78, present", - "id 77, present" + "repository": [ + "id 84, present", + "id 83, present" ], - tag: [ - "id 46, present" + "tag": [ + "id 49, present" ], - branch: [ - "id 117, present" + "branch": [ + "id 48, present" ], - stage: [ - "id 59, present" + "stage": [ + "id 46, present" ] }, - "id 193, present" + "id 211, present" ], - job: [ + "job": [ { - _: "id 194, present", - log: [ - "id 67, present", - "id 68, present" - ], - annotation: [ - "id 67, present", - "id 68, present" - ], - queueable_job: [ - "id 67, present", - "id 68, present" + "_": "id 212, present", + "queueable_job": [ + "id 73, present", + "id 74, present" + ], + "job_version": [ + "id 73, present", + "id 74, present" ] }, - "id 195, present" + "id 213, present" ], - request: [ + "request": [ { - _: "id 39, present", - abuse: [ - "id 35, present", - "id 36, present" + "_": "id 43, present", + "abuse": [ + "id 39, present", + "id 40, present" ], - message: [ - "id 35, present", - "id 36, present" + "message": [ + "id 39, present", + "id 40, present" ], - job: [ + "job": [ { - _: "id 199, present", - log: [ - "id 69, present", - "id 70, present" - ], - annotation: [ - "id 69, present", - "id 70, present" - ], - queueable_job: [ - "id 69, present", - "id 70, present" + "_": "id 217, present", + "queueable_job": [ + "id 75, present", + "id 76, present" + ], + "job_version": [ + "id 75, present", + "id 76, present" ] }, - "id 200, present" + "id 218, present" ], - build: [ + "build": [ { - _: "id 196, present", - job: [ - "id 197, present" + "_": "id 214, present", + "job": [ + "id 215, present" ], - repository: [ - "id 80, present", - "id 79, present" + "repository": [ + "id 86, present", + "id 85, present" ], - tag: [ - "id 47, present" + "tag": [ + "id 50, present" ], - branch: [ - "id 118, present" + "branch": [ + "id 49, present" ], - stage: [ - "id 60, present" + "stage": [ + "id 47, present" ] }, - "id 198, present" + "id 216, present" + ], + "request_payload": [ + "id 39, present", + "id 40, present" + ], + "request_raw_configuration": [ + "id 41, present", + "id 42, present" + ], + "deleted_job": [ + "id 69, present", + "id 70, present" + ], + "deleted_build": [ + "id 77, present", + "id 78, present" + ], + "deleted_request_payload": [ + "id 39, present", + "id 40, present" + ], + "deleted_request_raw_configuration": [ + "id 41, present", + "id 42, present" ] }, + "id 44, present" + ], + "deleted_build": [ + "id 79, present", + "id 80, present" + ], + "deleted_job": [ + "id 71, present", + "id 72, present" + ], + "deleted_request": [ + "id 39, present", "id 40, present" ] }, - "id 232, present" + "id 22, present" ], - cron: [ - "id 7, present", - "id 8, present" + "cron": [ + "id 4, present" ], - job: [ + "job": [ { - _: "id 189, present", - log: [ - "id 65, present", - "id 66, present" + "_": "id 207, present", + "queueable_job": [ + "id 71, present", + "id 72, present" ], - annotation: [ - "id 65, present", - "id 66, present" - ], - queueable_job: [ - "id 65, present", - "id 66, present" + "job_version": [ + "id 71, present", + "id 72, present" ] }, - "id 190, present" + "id 208, present" ], - request: [ + "request": [ { - _: "id 41, present", - abuse: [ - "id 37, present", - "id 38, present" + "_": "id 45, present", + "abuse": [ + "id 41, present", + "id 42, present" ], - message: [ - "id 37, present", - "id 38, present" + "message": [ + "id 41, present", + "id 42, present" ], - job: [ + "job": [ { - _: "id 204, present", - log: [ - "id 71, present", - "id 72, present" - ], - annotation: [ - "id 71, present", - "id 72, present" - ], - queueable_job: [ - "id 71, present", - "id 72, present" + "_": "id 222, present", + "queueable_job": [ + "id 77, present", + "id 78, present" + ], + "job_version": [ + "id 77, present", + "id 78, present" ] }, - "id 205, present" + "id 223, present" ], - build: [ + "build": [ { - _: "id 201, present", - job: [ - "id 202, present" + "_": "id 219, present", + "job": [ + "id 220, present" ], - repository: [ - "id 82, present", - "id 81, present" + "repository": [ + "id 88, present", + "id 87, present" ], - tag: [ - "id 48, present" + "tag": [ + "id 51, present" ], - branch: [ - "id 119, present" + "branch": [ + "id 50, present" ], - stage: [ - "id 61, present" + "stage": [ + "id 48, present" ] }, - "id 203, present" + "id 221, present" + ], + "request_payload": [ + "id 41, present", + "id 42, present" + ], + "request_raw_configuration": [ + "id 43, present", + "id 44, present" + ], + "deleted_job": [ + "id 73, present", + "id 74, present" + ], + "deleted_build": [ + "id 81, present", + "id 82, present" + ], + "deleted_request_payload": [ + "id 41, present", + "id 42, present" + ], + "deleted_request_raw_configuration": [ + "id 43, present", + "id 44, present" ] }, + "id 46, present" + ], + "deleted_build": [ + "id 75, present", + "id 76, present" + ], + "deleted_commit": [ + "id 17, present", + "id 18, present" + ], + "deleted_job": [ + "id 67, present", + "id 68, present" + ], + "deleted_request": [ + "id 41, present", "id 42, present" ] }, - "id 120, present" + "id 51, present" ], - stage: [ + "stage": [ { - _: "id 52, removed", - job: [ - "id 162, removed", - "id 163, removed" + "_": "id 38, removed", + "job": [ + "id 179, removed", + "id 180, removed" ] }, { - _: "id 53, removed", - job: [ - "id 164, removed", - "id 165, removed" + "_": "id 39, removed", + "job": [ + "id 181, removed", + "id 182, removed" ] - } + }, + "id 40, removed" + ], + "deleted_job": [ + "id 75, removed" + ], + "deleted_tag": [ + "id 5, present" + ], + "deleted_stage": [ + "id 3, removed" ] }, { - _: "id 210, removed", - repository: [ + "_": "id 228, removed", + "repository": [ { - _: "id 1, removed", - build: [ + "_": "id 1, removed", + "build": [ { - _: "id 1, removed", - job: [ + "_": "id 1, removed", + "job": [ { - _: "id 6, removed", - log: [ - "id 1, removed", - "id 2, removed" - ], - annotation: [ + "_": "id 6, removed", + "queueable_job": [ "id 1, removed", "id 2, removed" ], - queueable_job: [ + "job_version": [ "id 1, removed", "id 2, removed" ] }, - "id 7, removed" + "id 7, removed", + "id 8, removed" ], - repository: [ + "repository": [ { - _: "id 20, present", - build: [ - "id 48, present" + "_": "id 20, present", + "build": [ + "id 49, present" ], - request: [ + "request": [ "id 10, present" ], - job: [ - "id 49, present" + "job": [ + "id 50, present" ], - branch: [ - "id 84, present" + "branch": [ + "id 12, present" ], - ssl_key: [ - "id 32, present" + "ssl_key": [ + "id 2, present" ], - commit: [ - "id 216, present" + "commit": [ + "id 6, present" ], - permission: [ + "permission": [ "id 4, present" ], - star: [ + "star": [ "id 4, present" ], - pull_request: [ + "pull_request": [ "id 2, present" ], - tag: [ + "tag": [ "id 12, present" ] }, "id 21, present", { - _: "id 18, present", - build: [ - "id 46, present" + "_": "id 18, present", + "build": [ + "id 47, present" ], - request: [ + "request": [ "id 9, present" ], - job: [ - "id 47, present" + "job": [ + "id 48, present" ], - branch: [ - "id 83, present" + "branch": [ + "id 11, present" ], - ssl_key: [ - "id 31, present" + "ssl_key": [ + "id 1, present" ], - commit: [ - "id 215, present" + "commit": [ + "id 5, present" ], - permission: [ + "permission": [ "id 3, present" ], - star: [ + "star": [ "id 3, present" ], - pull_request: [ + "pull_request": [ "id 1, present" ], - tag: [ + "tag": [ "id 11, present" ] }, "id 19, present" ], - tag: [ + "tag": [ { - _: "id 1, present", - build: [ + "_": "id 1, present", + "build": [ { - _: "id 8, present", - job: [ - "id 9, present" + "_": "id 9, present", + "job": [ + "id 10, present" ], - repository: [ + "repository": [ "id 3, present", "id 2, present" ], - tag: [ + "tag": [ "id 2, present" ], - branch: [ - "id 73, present" + "branch": [ + "id 1, present" ], - stage: [ - "id 22, present" + "stage": [ + "id 4, present" ] }, - "id 10, present" + "id 11, present" ], - commit: [ + "commit": [ { - _: "id 211, present", - build: [ + "_": "id 1, present", + "build": [ { - _: "id 11, present", - job: [ - "id 12, present" + "_": "id 12, present", + "job": [ + "id 13, present" ], - repository: [ + "repository": [ "id 5, present", "id 4, present" ], - tag: [ + "tag": [ "id 3, present" ], - branch: [ - "id 74, present" + "branch": [ + "id 2, present" ], - stage: [ - "id 23, present" + "stage": [ + "id 5, present" ] }, - "id 13, present" + "id 14, present" ], - job: [ + "job": [ { - _: "id 14, present", - log: [ - "id 3, present", - "id 4, present" - ], - annotation: [ + "_": "id 15, present", + "queueable_job": [ "id 3, present", "id 4, present" ], - queueable_job: [ + "job_version": [ "id 3, present", "id 4, present" ] }, - "id 15, present" + "id 16, present" ], - request: [ + "request": [ { - _: "id 1, present", - abuse: [ + "_": "id 1, present", + "abuse": [ "id 1, present", "id 2, present" ], - message: [ + "message": [ "id 1, present", "id 2, present" ], - job: [ + "job": [ { - _: "id 19, present", - log: [ - "id 5, present", - "id 6, present" - ], - annotation: [ + "_": "id 20, present", + "queueable_job": [ "id 5, present", "id 6, present" ], - queueable_job: [ + "job_version": [ "id 5, present", "id 6, present" ] }, - "id 20, present" + "id 21, present" ], - build: [ + "build": [ { - _: "id 16, present", - job: [ - "id 17, present" + "_": "id 17, present", + "job": [ + "id 18, present" ], - repository: [ + "repository": [ "id 7, present", "id 6, present" ], - tag: [ + "tag": [ "id 4, present" ], - branch: [ - "id 75, present" + "branch": [ + "id 3, present" ], - stage: [ - "id 24, present" + "stage": [ + "id 6, present" ] }, - "id 18, present" + "id 19, present" + ], + "request_payload": [ + "id 1, present", + "id 2, present" + ], + "request_raw_configuration": [ + "id 1, present", + "id 2, present" + ], + "deleted_job": [ + "id 1, present", + "id 2, present" + ], + "deleted_build": [ + "id 1, present", + "id 2, present" + ], + "deleted_request_payload": [ + "id 1, present", + "id 2, present" + ], + "deleted_request_raw_configuration": [ + "id 1, present", + "id 2, present" ] }, "id 2, present" + ], + "deleted_build": [ + "id 3, present", + "id 4, present" + ], + "deleted_job": [ + "id 3, present", + "id 4, present" + ], + "deleted_request": [ + "id 1, present", + "id 2, present" ] }, - "id 212, present" + "id 2, present" ], - request: [ + "request": [ { - _: "id 3, present", - abuse: [ + "_": "id 3, present", + "abuse": [ "id 3, present", "id 4, present" ], - message: [ + "message": [ "id 3, present", "id 4, present" ], - job: [ + "job": [ { - _: "id 24, present", - log: [ - "id 7, present", - "id 8, present" - ], - annotation: [ + "_": "id 25, present", + "queueable_job": [ "id 7, present", "id 8, present" ], - queueable_job: [ + "job_version": [ "id 7, present", "id 8, present" ] }, - "id 25, present" + "id 26, present" ], - build: [ + "build": [ { - _: "id 21, present", - job: [ - "id 22, present" + "_": "id 22, present", + "job": [ + "id 23, present" ], - repository: [ + "repository": [ "id 9, present", "id 8, present" ], - tag: [ + "tag": [ "id 5, present" ], - branch: [ - "id 76, present" + "branch": [ + "id 4, present" ], - stage: [ - "id 25, present" + "stage": [ + "id 7, present" ] }, - "id 23, present" + "id 24, present" + ], + "request_payload": [ + "id 3, present", + "id 4, present" + ], + "request_raw_configuration": [ + "id 3, present", + "id 4, present" + ], + "deleted_job": [ + "id 5, present", + "id 6, present" + ], + "deleted_build": [ + "id 5, present", + "id 6, present" + ], + "deleted_request_payload": [ + "id 3, present", + "id 4, present" + ], + "deleted_request_raw_configuration": [ + "id 3, present", + "id 4, present" ] }, "id 4, present" + ], + "deleted_build": [ + "id 7, present", + "id 8, present" + ], + "deleted_commit": [ + "id 1, present", + "id 2, present" + ], + "deleted_request": [ + "id 3, present", + "id 4, present" ] }, "id 6, present" ], - branch: [ + "branch": [ { - _: "id 77, present", - build: [ + "_": "id 5, present", + "build": [ { - _: "id 26, present", - job: [ - "id 27, present" + "_": "id 27, present", + "job": [ + "id 28, present" ], - repository: [ + "repository": [ "id 11, present", "id 10, present" ], - tag: [ + "tag": [ "id 7, present" ], - branch: [ - "id 78, present" + "branch": [ + "id 6, present" ], - stage: [ - "id 26, present" + "stage": [ + "id 8, present" ] }, - "id 28, present" + "id 29, present" ], - commit: [ + "commit": [ { - _: "id 213, present", - build: [ + "_": "id 3, present", + "build": [ { - _: "id 31, present", - job: [ - "id 32, present" + "_": "id 32, present", + "job": [ + "id 33, present" ], - repository: [ + "repository": [ "id 13, present", "id 12, present" ], - tag: [ + "tag": [ "id 8, present" ], - branch: [ - "id 79, present" + "branch": [ + "id 7, present" ], - stage: [ - "id 27, present" + "stage": [ + "id 9, present" ] }, - "id 33, present" + "id 34, present" ], - job: [ + "job": [ { - _: "id 34, present", - log: [ - "id 11, present", - "id 12, present" - ], - annotation: [ + "_": "id 35, present", + "queueable_job": [ "id 11, present", "id 12, present" ], - queueable_job: [ + "job_version": [ "id 11, present", "id 12, present" ] }, - "id 35, present" + "id 36, present" ], - request: [ + "request": [ { - _: "id 5, present", - abuse: [ + "_": "id 5, present", + "abuse": [ "id 5, present", "id 6, present" ], - message: [ + "message": [ "id 5, present", "id 6, present" ], - job: [ + "job": [ { - _: "id 39, present", - log: [ - "id 13, present", - "id 14, present" - ], - annotation: [ + "_": "id 40, present", + "queueable_job": [ "id 13, present", "id 14, present" ], - queueable_job: [ + "job_version": [ "id 13, present", "id 14, present" ] }, - "id 40, present" + "id 41, present" ], - build: [ + "build": [ { - _: "id 36, present", - job: [ - "id 37, present" + "_": "id 37, present", + "job": [ + "id 38, present" ], - repository: [ + "repository": [ "id 15, present", "id 14, present" ], - tag: [ + "tag": [ "id 9, present" ], - branch: [ - "id 80, present" + "branch": [ + "id 8, present" ], - stage: [ - "id 28, present" + "stage": [ + "id 10, present" ] }, - "id 38, present" + "id 39, present" + ], + "request_payload": [ + "id 5, present", + "id 6, present" + ], + "request_raw_configuration": [ + "id 5, present", + "id 6, present" + ], + "deleted_job": [ + "id 9, present", + "id 10, present" + ], + "deleted_build": [ + "id 11, present", + "id 12, present" + ], + "deleted_request_payload": [ + "id 5, present", + "id 6, present" + ], + "deleted_request_raw_configuration": [ + "id 5, present", + "id 6, present" ] }, "id 6, present" + ], + "deleted_build": [ + "id 13, present", + "id 14, present" + ], + "deleted_job": [ + "id 11, present", + "id 12, present" + ], + "deleted_request": [ + "id 5, present", + "id 6, present" ] }, - "id 214, present" + "id 4, present" ], - cron: [ - "id 1, present", - "id 2, present" + "cron": [ + "id 1, present" ], - job: [ + "job": [ { - _: "id 29, present", - log: [ + "_": "id 30, present", + "queueable_job": [ "id 9, present", "id 10, present" ], - annotation: [ - "id 9, present", - "id 10, present" - ], - queueable_job: [ + "job_version": [ "id 9, present", "id 10, present" ] }, - "id 30, present" + "id 31, present" ], - request: [ + "request": [ { - _: "id 7, present", - abuse: [ + "_": "id 7, present", + "abuse": [ "id 7, present", "id 8, present" ], - message: [ + "message": [ "id 7, present", "id 8, present" ], - job: [ + "job": [ { - _: "id 44, present", - log: [ + "_": "id 45, present", + "queueable_job": [ "id 15, present", "id 16, present" ], - annotation: [ - "id 15, present", - "id 16, present" - ], - queueable_job: [ + "job_version": [ "id 15, present", "id 16, present" ] }, - "id 45, present" + "id 46, present" ], - build: [ + "build": [ { - _: "id 41, present", - job: [ - "id 42, present" + "_": "id 42, present", + "job": [ + "id 43, present" ], - repository: [ + "repository": [ "id 17, present", "id 16, present" ], - tag: [ + "tag": [ "id 10, present" ], - branch: [ - "id 81, present" + "branch": [ + "id 9, present" ], - stage: [ - "id 29, present" + "stage": [ + "id 11, present" ] }, - "id 43, present" + "id 44, present" + ], + "request_payload": [ + "id 7, present", + "id 8, present" + ], + "request_raw_configuration": [ + "id 7, present", + "id 8, present" + ], + "deleted_job": [ + "id 13, present", + "id 14, present" + ], + "deleted_build": [ + "id 15, present", + "id 16, present" + ], + "deleted_request_payload": [ + "id 7, present", + "id 8, present" + ], + "deleted_request_raw_configuration": [ + "id 7, present", + "id 8, present" ] }, "id 8, present" + ], + "deleted_build": [ + "id 9, present", + "id 10, present" + ], + "deleted_commit": [ + "id 3, present", + "id 4, present" + ], + "deleted_job": [ + "id 7, present", + "id 8, present" + ], + "deleted_request": [ + "id 7, present", + "id 8, present" ] }, - "id 82, present" + "id 10, present" ], - stage: [ + "stage": [ { - _: "id 20, removed", - job: [ + "_": "id 1, removed", + "job": [ "id 2, removed", "id 3, removed" ] }, { - _: "id 21, removed", - job: [ + "_": "id 2, removed", + "job": [ "id 4, removed", "id 5, removed" ] - } + }, + "id 3, removed" + ], + "deleted_job": [ + "id 15, removed" + ], + "deleted_tag": [ + "id 1, present" + ], + "deleted_stage": [ + "id 1, removed" ] }, - "id 50, removed" + "id 51, removed" ], - request: [ + "request": [ { - _: "id 11, removed", - abuse: [ + "_": "id 11, removed", + "abuse": [ "id 9, removed", "id 10, removed" ], - message: [ + "message": [ "id 9, removed", "id 10, removed" ], - job: [ + "job": [ { - _: "id 54, removed", - log: [ - "id 17, removed", - "id 18, removed" - ], - annotation: [ + "_": "id 55, removed", + "queueable_job": [ "id 17, removed", "id 18, removed" ], - queueable_job: [ + "job_version": [ "id 17, removed", "id 18, removed" ] }, - "id 55, removed" + "id 56, removed" ], - build: [ + "build": [ { - _: "id 51, removed", - job: [ - "id 52, removed" + "_": "id 52, removed", + "job": [ + "id 53, removed" ], - repository: [ + "repository": [ "id 23, present", "id 22, present" ], - tag: [ + "tag": [ "id 13, present" ], - branch: [ - "id 85, present" + "branch": [ + "id 13, present" ], - stage: [ - "id 30, removed" + "stage": [ + "id 12, removed" ] }, - "id 53, removed" + "id 54, removed" + ], + "request_payload": [ + "id 9, removed", + "id 10, removed" + ], + "request_raw_configuration": [ + "id 9, removed", + "id 10, removed" + ], + "deleted_job": [ + "id 16, removed", + "id 17, removed" + ], + "deleted_build": [ + "id 17, removed", + "id 18, removed" + ], + "deleted_request_payload": [ + "id 9, removed", + "id 10, removed" + ], + "deleted_request_raw_configuration": [ + "id 9, removed", + "id 10, removed" ] }, "id 12, removed" ], - job: [ + "job": [ { - _: "id 56, removed", - log: [ + "_": "id 57, removed", + "queueable_job": [ "id 19, removed", "id 20, removed" ], - annotation: [ - "id 19, removed", - "id 20, removed" - ], - queueable_job: [ + "job_version": [ "id 19, removed", "id 20, removed" ] }, - "id 57, removed" + "id 58, removed" ], - branch: [ + "branch": [ { - _: "id 86, removed", - build: [ + "_": "id 14, removed", + "build": [ { - _: "id 58, removed", - job: [ - "id 59, removed" + "_": "id 59, removed", + "job": [ + "id 60, removed" ], - repository: [ + "repository": [ "id 25, present", "id 24, present" ], - tag: [ + "tag": [ "id 14, present" ], - branch: [ - "id 87, present" + "branch": [ + "id 15, present" ], - stage: [ - "id 31, removed" + "stage": [ + "id 13, removed" ] }, - "id 60, removed" + "id 61, removed" ], - commit: [ + "commit": [ { - _: "id 217, removed", - build: [ + "_": "id 7, removed", + "build": [ { - _: "id 63, removed", - job: [ - "id 64, removed" + "_": "id 64, removed", + "job": [ + "id 65, removed" ], - repository: [ + "repository": [ "id 27, present", "id 26, present" ], - tag: [ + "tag": [ "id 15, present" ], - branch: [ - "id 88, present" + "branch": [ + "id 16, present" ], - stage: [ - "id 32, removed" + "stage": [ + "id 14, removed" ] }, - "id 65, removed" + "id 66, removed" ], - job: [ + "job": [ { - _: "id 66, removed", - log: [ + "_": "id 67, removed", + "queueable_job": [ "id 23, removed", "id 24, removed" ], - annotation: [ - "id 23, removed", - "id 24, removed" - ], - queueable_job: [ + "job_version": [ "id 23, removed", "id 24, removed" ] }, - "id 67, removed" + "id 68, removed" ], - request: [ + "request": [ { - _: "id 13, removed", - abuse: [ + "_": "id 13, removed", + "abuse": [ "id 11, removed", "id 12, removed" ], - message: [ + "message": [ "id 11, removed", "id 12, removed" ], - job: [ + "job": [ { - _: "id 71, removed", - log: [ - "id 25, removed", - "id 26, removed" - ], - annotation: [ + "_": "id 72, removed", + "queueable_job": [ "id 25, removed", "id 26, removed" ], - queueable_job: [ + "job_version": [ "id 25, removed", "id 26, removed" ] }, - "id 72, removed" + "id 73, removed" ], - build: [ + "build": [ { - _: "id 68, removed", - job: [ - "id 69, removed" + "_": "id 69, removed", + "job": [ + "id 70, removed" ], - repository: [ + "repository": [ "id 29, present", "id 28, present" ], - tag: [ + "tag": [ "id 16, present" ], - branch: [ - "id 89, present" + "branch": [ + "id 17, present" ], - stage: [ - "id 33, removed" + "stage": [ + "id 15, removed" ] }, - "id 70, removed" + "id 71, removed" + ], + "request_payload": [ + "id 11, removed", + "id 12, removed" + ], + "request_raw_configuration": [ + "id 11, removed", + "id 12, removed" + ], + "deleted_job": [ + "id 20, removed", + "id 21, removed" + ], + "deleted_build": [ + "id 21, removed", + "id 22, removed" + ], + "deleted_request_payload": [ + "id 11, removed", + "id 12, removed" + ], + "deleted_request_raw_configuration": [ + "id 11, removed", + "id 12, removed" ] }, "id 14, removed" + ], + "deleted_build": [ + "id 23, removed", + "id 24, removed" + ], + "deleted_job": [ + "id 22, removed", + "id 23, removed" + ], + "deleted_request": [ + "id 9, removed", + "id 10, removed" ] }, - "id 218, removed" + "id 8, removed" ], - cron: [ - "id 3, removed", - "id 4, removed" + "cron": [ + "id 2, removed" ], - job: [ + "job": [ { - _: "id 61, removed", - log: [ + "_": "id 62, removed", + "queueable_job": [ "id 21, removed", "id 22, removed" ], - annotation: [ - "id 21, removed", - "id 22, removed" - ], - queueable_job: [ + "job_version": [ "id 21, removed", "id 22, removed" ] }, - "id 62, removed" + "id 63, removed" ], - request: [ + "request": [ { - _: "id 15, removed", - abuse: [ + "_": "id 15, removed", + "abuse": [ "id 13, removed", "id 14, removed" ], - message: [ + "message": [ "id 13, removed", "id 14, removed" ], - job: [ + "job": [ { - _: "id 76, removed", - log: [ - "id 27, removed", - "id 28, removed" - ], - annotation: [ + "_": "id 77, removed", + "queueable_job": [ "id 27, removed", "id 28, removed" ], - queueable_job: [ + "job_version": [ "id 27, removed", "id 28, removed" ] }, - "id 77, removed" + "id 78, removed" ], - build: [ + "build": [ { - _: "id 73, removed", - job: [ - "id 74, removed" + "_": "id 74, removed", + "job": [ + "id 75, removed" ], - repository: [ + "repository": [ "id 31, present", "id 30, present" ], - tag: [ + "tag": [ "id 17, present" ], - branch: [ - "id 90, present" + "branch": [ + "id 18, present" ], - stage: [ - "id 34, removed" + "stage": [ + "id 16, removed" ] }, - "id 75, removed" + "id 76, removed" + ], + "request_payload": [ + "id 13, removed", + "id 14, removed" + ], + "request_raw_configuration": [ + "id 13, removed", + "id 14, removed" + ], + "deleted_job": [ + "id 24, removed", + "id 25, removed" + ], + "deleted_build": [ + "id 25, removed", + "id 26, removed" + ], + "deleted_request_payload": [ + "id 13, removed", + "id 14, removed" + ], + "deleted_request_raw_configuration": [ + "id 13, removed", + "id 14, removed" ] }, "id 16, removed" + ], + "deleted_build": [ + "id 19, removed", + "id 20, removed" + ], + "deleted_commit": [ + "id 5, removed", + "id 6, removed" + ], + "deleted_job": [ + "id 18, removed", + "id 19, removed" + ], + "deleted_request": [ + "id 11, removed", + "id 12, removed" ] }, - "id 91, removed" + "id 19, removed" ], - ssl_key: [ - "id 33, removed", - "id 34, removed" + "ssl_key": [ + "id 3, removed", + "id 4, removed" ], - commit: [ + "commit": [ { - _: "id 219, removed", - build: [ + "_": "id 9, removed", + "build": [ { - _: "id 78, removed", - job: [ - "id 79, removed" + "_": "id 79, removed", + "job": [ + "id 80, removed" ], - repository: [ + "repository": [ "id 33, present", "id 32, present" ], - tag: [ + "tag": [ "id 18, present" ], - branch: [ - "id 92, present" + "branch": [ + "id 20, present" ], - stage: [ - "id 35, removed" + "stage": [ + "id 17, removed" ] }, - "id 80, removed" + "id 81, removed" ], - job: [ + "job": [ { - _: "id 81, removed", - log: [ + "_": "id 82, removed", + "queueable_job": [ "id 29, removed", "id 30, removed" ], - annotation: [ - "id 29, removed", - "id 30, removed" - ], - queueable_job: [ + "job_version": [ "id 29, removed", "id 30, removed" ] }, - "id 82, removed" + "id 83, removed" ], - request: [ + "request": [ { - _: "id 17, removed", - abuse: [ + "_": "id 17, removed", + "abuse": [ "id 15, removed", "id 16, removed" ], - message: [ + "message": [ "id 15, removed", "id 16, removed" ], - job: [ + "job": [ { - _: "id 86, removed", - log: [ - "id 31, removed", - "id 32, removed" - ], - annotation: [ + "_": "id 87, removed", + "queueable_job": [ "id 31, removed", "id 32, removed" ], - queueable_job: [ + "job_version": [ "id 31, removed", "id 32, removed" ] }, - "id 87, removed" + "id 88, removed" ], - build: [ + "build": [ { - _: "id 83, removed", - job: [ - "id 84, removed" + "_": "id 84, removed", + "job": [ + "id 85, removed" ], - repository: [ + "repository": [ "id 35, present", "id 34, present" ], - tag: [ + "tag": [ "id 19, present" ], - branch: [ - "id 93, present" + "branch": [ + "id 21, present" ], - stage: [ - "id 36, removed" + "stage": [ + "id 18, removed" ] }, - "id 85, removed" + "id 86, removed" + ], + "request_payload": [ + "id 15, removed", + "id 16, removed" + ], + "request_raw_configuration": [ + "id 15, removed", + "id 16, removed" + ], + "deleted_job": [ + "id 26, removed", + "id 27, removed" + ], + "deleted_build": [ + "id 27, removed", + "id 28, removed" + ], + "deleted_request_payload": [ + "id 15, removed", + "id 16, removed" + ], + "deleted_request_raw_configuration": [ + "id 15, removed", + "id 16, removed" ] }, "id 18, removed" + ], + "deleted_build": [ + "id 29, removed", + "id 30, removed" + ], + "deleted_job": [ + "id 28, removed", + "id 29, removed" + ], + "deleted_request": [ + "id 13, removed", + "id 14, removed" ] }, - "id 220, removed" + "id 10, removed" ], - permission: [ + "permission": [ "id 5, removed", "id 6, removed" ], - star: [ + "star": [ "id 5, removed", "id 6, removed" ], - pull_request: [ + "pull_request": [ { - _: "id 3, removed", - request: [ + "_": "id 3, removed", + "request": [ { - _: "id 29, removed", - abuse: [ + "_": "id 29, removed", + "abuse": [ "id 25, removed", "id 26, removed" ], - message: [ + "message": [ "id 25, removed", "id 26, removed" ], - job: [ + "job": [ { - _: "id 141, removed", - log: [ - "id 49, removed", - "id 50, removed" - ], - annotation: [ + "_": "id 143, removed", + "queueable_job": [ "id 49, removed", "id 50, removed" ], - queueable_job: [ + "job_version": [ "id 49, removed", "id 50, removed" ] }, - "id 142, removed" + "id 144, removed" ], - build: [ + "build": [ { - _: "id 138, removed", - job: [ - "id 139, removed" + "_": "id 140, removed", + "job": [ + "id 141, removed" ], - repository: [ + "repository": [ "id 57, present", "id 56, present" ], - tag: [ + "tag": [ "id 32, present" ], - branch: [ - "id 106, present" + "branch": [ + "id 34, present" ], - stage: [ - "id 47, removed" + "stage": [ + "id 30, removed" ] }, - "id 140, removed" - ] - }, - "id 30, removed" - ], - build: [ - { - _: "id 88, removed", - job: [ - { - _: "id 93, removed", - log: [ - "id 33, removed", - "id 34, removed" - ], - annotation: [ - "id 33, removed", - "id 34, removed" - ], - queueable_job: [ - "id 33, removed", + "id 142, removed" + ], + "request_payload": [ + "id 25, removed", + "id 26, removed" + ], + "request_raw_configuration": [ + "id 25, removed", + "id 26, removed" + ], + "deleted_job": [ + "id 45, removed", + "id 46, removed" + ], + "deleted_build": [ + "id 47, removed", + "id 48, removed" + ], + "deleted_request_payload": [ + "id 25, removed", + "id 26, removed" + ], + "deleted_request_raw_configuration": [ + "id 25, removed", + "id 26, removed" + ] + }, + "id 30, removed" + ], + "build": [ + { + "_": "id 89, removed", + "job": [ + { + "_": "id 94, removed", + "queueable_job": [ + "id 33, removed", + "id 34, removed" + ], + "job_version": [ + "id 33, removed", "id 34, removed" ] }, - "id 94, removed" + "id 95, removed", + "id 96, removed" ], - repository: [ + "repository": [ { - _: "id 54, present", - build: [ - "id 135, present" + "_": "id 54, present", + "build": [ + "id 137, present" ], - request: [ + "request": [ "id 28, present" ], - job: [ - "id 136, present" + "job": [ + "id 138, present" ], - branch: [ - "id 105, present" + "branch": [ + "id 33, present" ], - ssl_key: [ - "id 36, present" + "ssl_key": [ + "id 6, present" ], - commit: [ - "id 226, present" + "commit": [ + "id 16, present" ], - permission: [ + "permission": [ "id 8, present" ], - star: [ + "star": [ "id 8, present" ], - pull_request: [ + "pull_request": [ "id 5, present" ], - tag: [ + "tag": [ "id 31, present" ] }, "id 55, present", { - _: "id 52, present", - build: [ - "id 133, present" + "_": "id 52, present", + "build": [ + "id 135, present" ], - request: [ + "request": [ "id 27, present" ], - job: [ - "id 134, present" + "job": [ + "id 136, present" ], - branch: [ - "id 104, present" + "branch": [ + "id 32, present" ], - ssl_key: [ - "id 35, present" + "ssl_key": [ + "id 5, present" ], - commit: [ - "id 225, present" + "commit": [ + "id 15, present" ], - permission: [ + "permission": [ "id 7, present" ], - star: [ + "star": [ "id 7, present" ], - pull_request: [ + "pull_request": [ "id 4, present" ], - tag: [ + "tag": [ "id 30, present" ] }, "id 53, present" ], - tag: [ + "tag": [ { - _: "id 20, present", - build: [ + "_": "id 20, present", + "build": [ { - _: "id 95, present", - job: [ - "id 96, present" + "_": "id 97, present", + "job": [ + "id 98, present" ], - repository: [ + "repository": [ "id 37, present", "id 36, present" ], - tag: [ + "tag": [ "id 21, present" ], - branch: [ - "id 94, present" + "branch": [ + "id 22, present" ], - stage: [ - "id 39, present" + "stage": [ + "id 22, present" ] }, - "id 97, present" + "id 99, present" ], - commit: [ + "commit": [ { - _: "id 221, present", - build: [ + "_": "id 11, present", + "build": [ { - _: "id 98, present", - job: [ - "id 99, present" + "_": "id 100, present", + "job": [ + "id 101, present" ], - repository: [ + "repository": [ "id 39, present", "id 38, present" ], - tag: [ + "tag": [ "id 22, present" ], - branch: [ - "id 95, present" + "branch": [ + "id 23, present" ], - stage: [ - "id 40, present" + "stage": [ + "id 23, present" ] }, - "id 100, present" + "id 102, present" ], - job: [ + "job": [ { - _: "id 101, present", - log: [ - "id 35, present", - "id 36, present" - ], - annotation: [ + "_": "id 103, present", + "queueable_job": [ "id 35, present", "id 36, present" ], - queueable_job: [ + "job_version": [ "id 35, present", "id 36, present" ] }, - "id 102, present" + "id 104, present" ], - request: [ + "request": [ { - _: "id 19, present", - abuse: [ + "_": "id 19, present", + "abuse": [ "id 17, present", "id 18, present" ], - message: [ + "message": [ "id 17, present", "id 18, present" ], - job: [ + "job": [ { - _: "id 106, present", - log: [ - "id 37, present", - "id 38, present" - ], - annotation: [ + "_": "id 108, present", + "queueable_job": [ "id 37, present", "id 38, present" ], - queueable_job: [ + "job_version": [ "id 37, present", "id 38, present" ] }, - "id 107, present" + "id 109, present" ], - build: [ + "build": [ { - _: "id 103, present", - job: [ - "id 104, present" + "_": "id 105, present", + "job": [ + "id 106, present" ], - repository: [ + "repository": [ "id 41, present", "id 40, present" ], - tag: [ + "tag": [ "id 23, present" ], - branch: [ - "id 96, present" + "branch": [ + "id 24, present" ], - stage: [ - "id 41, present" + "stage": [ + "id 24, present" ] }, - "id 105, present" + "id 107, present" + ], + "request_payload": [ + "id 17, present", + "id 18, present" + ], + "request_raw_configuration": [ + "id 17, present", + "id 18, present" + ], + "deleted_job": [ + "id 30, present", + "id 31, present" + ], + "deleted_build": [ + "id 31, present", + "id 32, present" + ], + "deleted_request_payload": [ + "id 17, present", + "id 18, present" + ], + "deleted_request_raw_configuration": [ + "id 17, present", + "id 18, present" ] }, "id 20, present" + ], + "deleted_build": [ + "id 33, present", + "id 34, present" + ], + "deleted_job": [ + "id 32, present", + "id 33, present" + ], + "deleted_request": [ + "id 15, present", + "id 16, present" ] }, - "id 222, present" + "id 12, present" ], - request: [ + "request": [ { - _: "id 21, present", - abuse: [ + "_": "id 21, present", + "abuse": [ "id 19, present", "id 20, present" ], - message: [ + "message": [ "id 19, present", "id 20, present" ], - job: [ + "job": [ { - _: "id 111, present", - log: [ - "id 39, present", - "id 40, present" - ], - annotation: [ + "_": "id 113, present", + "queueable_job": [ "id 39, present", "id 40, present" ], - queueable_job: [ + "job_version": [ "id 39, present", "id 40, present" ] }, - "id 112, present" + "id 114, present" ], - build: [ + "build": [ { - _: "id 108, present", - job: [ - "id 109, present" + "_": "id 110, present", + "job": [ + "id 111, present" ], - repository: [ + "repository": [ "id 43, present", "id 42, present" ], - tag: [ + "tag": [ "id 24, present" ], - branch: [ - "id 97, present" + "branch": [ + "id 25, present" ], - stage: [ - "id 42, present" + "stage": [ + "id 25, present" ] }, - "id 110, present" + "id 112, present" + ], + "request_payload": [ + "id 19, present", + "id 20, present" + ], + "request_raw_configuration": [ + "id 19, present", + "id 20, present" + ], + "deleted_job": [ + "id 34, present", + "id 35, present" + ], + "deleted_build": [ + "id 35, present", + "id 36, present" + ], + "deleted_request_payload": [ + "id 19, present", + "id 20, present" + ], + "deleted_request_raw_configuration": [ + "id 19, present", + "id 20, present" ] }, "id 22, present" + ], + "deleted_build": [ + "id 37, present", + "id 38, present" + ], + "deleted_commit": [ + "id 7, present", + "id 8, present" + ], + "deleted_request": [ + "id 17, present", + "id 18, present" ] }, "id 25, present" ], - branch: [ + "branch": [ { - _: "id 98, present", - build: [ + "_": "id 26, present", + "build": [ { - _: "id 113, present", - job: [ - "id 114, present" + "_": "id 115, present", + "job": [ + "id 116, present" ], - repository: [ + "repository": [ "id 45, present", "id 44, present" ], - tag: [ + "tag": [ "id 26, present" ], - branch: [ - "id 99, present" + "branch": [ + "id 27, present" ], - stage: [ - "id 43, present" + "stage": [ + "id 26, present" ] }, - "id 115, present" + "id 117, present" ], - commit: [ + "commit": [ { - _: "id 223, present", - build: [ + "_": "id 13, present", + "build": [ { - _: "id 118, present", - job: [ - "id 119, present" + "_": "id 120, present", + "job": [ + "id 121, present" ], - repository: [ + "repository": [ "id 47, present", "id 46, present" ], - tag: [ + "tag": [ "id 27, present" ], - branch: [ - "id 100, present" + "branch": [ + "id 28, present" ], - stage: [ - "id 44, present" + "stage": [ + "id 27, present" ] }, - "id 120, present" + "id 122, present" ], - job: [ + "job": [ { - _: "id 121, present", - log: [ - "id 43, present", - "id 44, present" - ], - annotation: [ + "_": "id 123, present", + "queueable_job": [ "id 43, present", "id 44, present" ], - queueable_job: [ + "job_version": [ "id 43, present", "id 44, present" ] }, - "id 122, present" + "id 124, present" ], - request: [ + "request": [ { - _: "id 23, present", - abuse: [ + "_": "id 23, present", + "abuse": [ "id 21, present", "id 22, present" ], - message: [ + "message": [ "id 21, present", "id 22, present" ], - job: [ + "job": [ { - _: "id 126, present", - log: [ - "id 45, present", - "id 46, present" - ], - annotation: [ + "_": "id 128, present", + "queueable_job": [ "id 45, present", "id 46, present" ], - queueable_job: [ + "job_version": [ "id 45, present", "id 46, present" ] }, - "id 127, present" + "id 129, present" ], - build: [ + "build": [ { - _: "id 123, present", - job: [ - "id 124, present" + "_": "id 125, present", + "job": [ + "id 126, present" ], - repository: [ + "repository": [ "id 49, present", "id 48, present" ], - tag: [ + "tag": [ "id 28, present" ], - branch: [ - "id 101, present" + "branch": [ + "id 29, present" ], - stage: [ - "id 45, present" + "stage": [ + "id 28, present" ] }, - "id 125, present" + "id 127, present" + ], + "request_payload": [ + "id 21, present", + "id 22, present" + ], + "request_raw_configuration": [ + "id 21, present", + "id 22, present" + ], + "deleted_job": [ + "id 38, present", + "id 39, present" + ], + "deleted_build": [ + "id 41, present", + "id 42, present" + ], + "deleted_request_payload": [ + "id 21, present", + "id 22, present" + ], + "deleted_request_raw_configuration": [ + "id 21, present", + "id 22, present" ] }, "id 24, present" + ], + "deleted_build": [ + "id 43, present", + "id 44, present" + ], + "deleted_job": [ + "id 40, present", + "id 41, present" + ], + "deleted_request": [ + "id 19, present", + "id 20, present" ] }, - "id 224, present" + "id 14, present" ], - cron: [ - "id 5, present", - "id 6, present" + "cron": [ + "id 3, present" ], - job: [ + "job": [ { - _: "id 116, present", - log: [ - "id 41, present", - "id 42, present" - ], - annotation: [ + "_": "id 118, present", + "queueable_job": [ "id 41, present", "id 42, present" ], - queueable_job: [ + "job_version": [ "id 41, present", "id 42, present" ] }, - "id 117, present" + "id 119, present" ], - request: [ + "request": [ { - _: "id 25, present", - abuse: [ + "_": "id 25, present", + "abuse": [ "id 23, present", "id 24, present" ], - message: [ + "message": [ "id 23, present", "id 24, present" ], - job: [ + "job": [ { - _: "id 131, present", - log: [ - "id 47, present", - "id 48, present" - ], - annotation: [ + "_": "id 133, present", + "queueable_job": [ "id 47, present", "id 48, present" ], - queueable_job: [ + "job_version": [ "id 47, present", "id 48, present" ] }, - "id 132, present" + "id 134, present" ], - build: [ + "build": [ { - _: "id 128, present", - job: [ - "id 129, present" + "_": "id 130, present", + "job": [ + "id 131, present" ], - repository: [ + "repository": [ "id 51, present", "id 50, present" ], - tag: [ + "tag": [ "id 29, present" ], - branch: [ - "id 102, present" + "branch": [ + "id 30, present" ], - stage: [ - "id 46, present" + "stage": [ + "id 29, present" ] }, - "id 130, present" + "id 132, present" + ], + "request_payload": [ + "id 23, present", + "id 24, present" + ], + "request_raw_configuration": [ + "id 23, present", + "id 24, present" + ], + "deleted_job": [ + "id 42, present", + "id 43, present" + ], + "deleted_build": [ + "id 45, present", + "id 46, present" + ], + "deleted_request_payload": [ + "id 23, present", + "id 24, present" + ], + "deleted_request_raw_configuration": [ + "id 23, present", + "id 24, present" ] }, "id 26, present" + ], + "deleted_build": [ + "id 39, present", + "id 40, present" + ], + "deleted_commit": [ + "id 9, present", + "id 10, present" + ], + "deleted_job": [ + "id 36, present", + "id 37, present" + ], + "deleted_request": [ + "id 21, present", + "id 22, present" ] }, - "id 103, present" + "id 31, present" ], - stage: [ + "stage": [ { - _: "id 37, removed", - job: [ - "id 89, removed", - "id 90, removed" + "_": "id 19, removed", + "job": [ + "id 90, removed", + "id 91, removed" ] }, { - _: "id 38, removed", - job: [ - "id 91, removed", - "id 92, removed" + "_": "id 20, removed", + "job": [ + "id 92, removed", + "id 93, removed" ] - } + }, + "id 21, removed" + ], + "deleted_job": [ + "id 44, removed" + ], + "deleted_tag": [ + "id 2, present" + ], + "deleted_stage": [ + "id 2, removed" ] }, - "id 137, removed" + "id 139, removed" + ], + "deleted_request": [ + "id 23, removed", + "id 24, removed" + ], + "deleted_build": [ + "id 49, removed", + "id 50, removed" ] }, "id 6, removed" ], - tag: [ + "tag": [ { - _: "id 33, removed", - build: [ + "_": "id 33, removed", + "build": [ { - _: "id 143, removed", - job: [ - "id 144, removed" + "_": "id 145, removed", + "job": [ + "id 146, removed" ], - repository: [ + "repository": [ "id 59, present", "id 58, present" ], - tag: [ + "tag": [ "id 34, present" ], - branch: [ - "id 107, present" + "branch": [ + "id 35, present" ], - stage: [ - "id 48, removed" + "stage": [ + "id 31, removed" ] }, - "id 145, removed" + "id 147, removed" ], - commit: [ + "commit": [ { - _: "id 227, removed", - build: [ + "_": "id 17, removed", + "build": [ { - _: "id 146, removed", - job: [ - "id 147, removed" + "_": "id 148, removed", + "job": [ + "id 149, removed" ], - repository: [ + "repository": [ "id 61, present", "id 60, present" ], - tag: [ + "tag": [ "id 35, present" ], - branch: [ - "id 108, present" + "branch": [ + "id 36, present" ], - stage: [ - "id 49, removed" + "stage": [ + "id 32, removed" ] }, - "id 148, removed" + "id 150, removed" ], - job: [ + "job": [ { - _: "id 149, removed", - log: [ - "id 51, removed", - "id 52, removed" - ], - annotation: [ + "_": "id 151, removed", + "queueable_job": [ "id 51, removed", "id 52, removed" ], - queueable_job: [ + "job_version": [ "id 51, removed", "id 52, removed" ] }, - "id 150, removed" + "id 152, removed" ], - request: [ + "request": [ { - _: "id 31, removed", - abuse: [ + "_": "id 31, removed", + "abuse": [ "id 27, removed", "id 28, removed" ], - message: [ + "message": [ "id 27, removed", "id 28, removed" ], - job: [ + "job": [ { - _: "id 154, removed", - log: [ - "id 53, removed", - "id 54, removed" - ], - annotation: [ + "_": "id 156, removed", + "queueable_job": [ "id 53, removed", "id 54, removed" ], - queueable_job: [ + "job_version": [ "id 53, removed", "id 54, removed" ] }, - "id 155, removed" + "id 157, removed" ], - build: [ + "build": [ { - _: "id 151, removed", - job: [ - "id 152, removed" + "_": "id 153, removed", + "job": [ + "id 154, removed" ], - repository: [ + "repository": [ "id 63, present", "id 62, present" ], - tag: [ + "tag": [ "id 36, present" ], - branch: [ - "id 109, present" + "branch": [ + "id 37, present" ], - stage: [ - "id 50, removed" + "stage": [ + "id 33, removed" ] }, - "id 153, removed" + "id 155, removed" + ], + "request_payload": [ + "id 27, removed", + "id 28, removed" + ], + "request_raw_configuration": [ + "id 27, removed", + "id 28, removed" + ], + "deleted_job": [ + "id 47, removed", + "id 48, removed" + ], + "deleted_build": [ + "id 51, removed", + "id 52, removed" + ], + "deleted_request_payload": [ + "id 27, removed", + "id 28, removed" + ], + "deleted_request_raw_configuration": [ + "id 27, removed", + "id 28, removed" ] }, "id 32, removed" + ], + "deleted_build": [ + "id 53, removed", + "id 54, removed" + ], + "deleted_job": [ + "id 49, removed", + "id 50, removed" + ], + "deleted_request": [ + "id 25, removed", + "id 26, removed" ] }, - "id 228, removed" + "id 18, removed" ], - request: [ + "request": [ { - _: "id 33, removed", - abuse: [ + "_": "id 33, removed", + "abuse": [ "id 29, removed", "id 30, removed" ], - message: [ + "message": [ "id 29, removed", "id 30, removed" ], - job: [ + "job": [ { - _: "id 159, removed", - log: [ - "id 55, removed", - "id 56, removed" - ], - annotation: [ + "_": "id 161, removed", + "queueable_job": [ "id 55, removed", "id 56, removed" ], - queueable_job: [ + "job_version": [ "id 55, removed", "id 56, removed" ] }, - "id 160, removed" + "id 162, removed" ], - build: [ + "build": [ { - _: "id 156, removed", - job: [ - "id 157, removed" + "_": "id 158, removed", + "job": [ + "id 159, removed" ], - repository: [ + "repository": [ "id 65, present", "id 64, present" ], - tag: [ + "tag": [ "id 37, present" ], - branch: [ - "id 110, present" + "branch": [ + "id 38, present" ], - stage: [ - "id 51, removed" + "stage": [ + "id 34, removed" ] }, - "id 158, removed" + "id 160, removed" + ], + "request_payload": [ + "id 29, removed", + "id 30, removed" + ], + "request_raw_configuration": [ + "id 29, removed", + "id 30, removed" + ], + "deleted_job": [ + "id 51, removed", + "id 52, removed" + ], + "deleted_build": [ + "id 55, removed", + "id 56, removed" + ], + "deleted_request_payload": [ + "id 29, removed", + "id 30, removed" + ], + "deleted_request_raw_configuration": [ + "id 29, removed", + "id 30, removed" ] }, "id 34, removed" + ], + "deleted_build": [ + "id 57, removed", + "id 58, removed" + ], + "deleted_commit": [ + "id 11, removed", + "id 12, removed" + ], + "deleted_request": [ + "id 27, removed", + "id 28, removed" ] }, "id 38, removed" + ], + "build_config": [ + { + "_": "id 1, removed", + "build": [ + { + "_": "id 163, removed", + "job": [ + "id 164, removed" + ], + "repository": [ + "id 67, present", + "id 66, present" + ], + "tag": [ + "id 39, present" + ], + "branch": [ + "id 39, present" + ], + "stage": [ + "id 35, removed" + ] + }, + "id 165, removed" + ], + "deleted_build": [ + "id 59, removed", + "id 60, removed" + ] + }, + "id 2, removed" + ], + "email_unsubscribe": [ + "id 1, removed", + "id 2, removed" + ], + "request_config": [ + { + "_": "id 1, removed", + "request": [ + { + "_": "id 35, removed", + "abuse": [ + "id 31, removed", + "id 32, removed" + ], + "message": [ + "id 31, removed", + "id 32, removed" + ], + "job": [ + { + "_": "id 169, removed", + "queueable_job": [ + "id 57, removed", + "id 58, removed" + ], + "job_version": [ + "id 57, removed", + "id 58, removed" + ] + }, + "id 170, removed" + ], + "build": [ + { + "_": "id 166, removed", + "job": [ + "id 167, removed" + ], + "repository": [ + "id 69, present", + "id 68, present" + ], + "tag": [ + "id 40, present" + ], + "branch": [ + "id 40, present" + ], + "stage": [ + "id 36, removed" + ] + }, + "id 168, removed" + ], + "request_payload": [ + "id 31, removed", + "id 32, removed" + ], + "request_raw_configuration": [ + "id 31, removed", + "id 32, removed" + ], + "deleted_job": [ + "id 53, removed", + "id 54, removed" + ], + "deleted_build": [ + "id 61, removed", + "id 62, removed" + ], + "deleted_request_payload": [ + "id 31, removed", + "id 32, removed" + ], + "deleted_request_raw_configuration": [ + "id 31, removed", + "id 32, removed" + ] + }, + "id 36, removed", + { + "_": "id 37, removed", + "abuse": [ + "id 33, removed", + "id 34, removed" + ], + "message": [ + "id 33, removed", + "id 34, removed" + ], + "job": [ + { + "_": "id 176, removed", + "queueable_job": [ + "id 61, removed", + "id 62, removed" + ], + "job_version": [ + "id 61, removed", + "id 62, removed" + ] + }, + "id 177, removed" + ], + "build": [ + { + "_": "id 173, removed", + "job": [ + "id 174, removed" + ], + "repository": [ + "id 71, present", + "id 70, present" + ], + "tag": [ + "id 41, present" + ], + "branch": [ + "id 41, present" + ], + "stage": [ + "id 37, removed" + ] + }, + "id 175, removed" + ], + "request_payload": [ + "id 33, removed", + "id 34, removed" + ], + "request_raw_configuration": [ + "id 35, removed", + "id 36, removed" + ], + "deleted_job": [ + "id 57, removed", + "id 58, removed" + ], + "deleted_build": [ + "id 63, removed", + "id 64, removed" + ], + "deleted_request_payload": [ + "id 33, removed", + "id 34, removed" + ], + "deleted_request_raw_configuration": [ + "id 35, removed", + "id 36, removed" + ] + }, + "id 38, removed" + ], + "deleted_request": [ + "id 29, removed", + "id 30, removed", + "id 31, removed", + "id 32, removed" + ] + }, + "id 2, removed" + ], + "job_config": [ + { + "_": "id 1, removed", + "job": [ + { + "_": "id 171, removed", + "queueable_job": [ + "id 59, removed", + "id 60, removed" + ], + "job_version": [ + "id 59, removed", + "id 60, removed" + ] + }, + "id 172, removed" + ], + "deleted_job": [ + "id 55, removed", + "id 56, removed" + ] + }, + "id 2, removed" + ], + "request_raw_config": [ + { + "_": "id 1, removed", + "request_raw_configuration": [ + "id 33, removed", + "id 34, removed" + ], + "deleted_request_raw_configuration": [ + "id 33, removed", + "id 34, removed" + ] + }, + "id 2, removed" + ], + "repo_count": [ + "id 1, removed", + "id 1, removed, duplicate" + ], + "request_yaml_config": [ + "id 1, removed", + "id 2, removed" + ], + "deleted_build": [ + "id 65, removed", + "id 66, removed" + ], + "deleted_request": [ + "id 33, removed", + "id 34, removed" + ], + "deleted_job": [ + "id 59, removed", + "id 60, removed" + ], + "deleted_ssl_key": [ + "id 1, removed", + "id 2, removed" + ], + "deleted_commit": [ + "id 13, removed", + "id 14, removed" + ], + "deleted_pull_request": [ + "id 1, removed", + "id 2, removed" + ], + "deleted_tag": [ + "id 3, removed", + "id 4, removed" + ], + "deleted_build_config": [ + "id 1, removed", + "id 2, removed" + ], + "deleted_request_config": [ + "id 1, removed", + "id 2, removed" + ], + "deleted_job_config": [ + "id 1, removed", + "id 2, removed" + ], + "deleted_request_raw_config": [ + "id 1, removed", + "id 2, removed" + ], + "deleted_request_yaml_config": [ + "id 1, removed", + "id 2, removed" ] } ] }, { - _: "id 211, removed", - job: [ + "_": "id 229, removed", + "job": [ { - _: "id 216, removed", - log: [ - "id 73, removed", - "id 74, removed" - ], - annotation: [ - "id 73, removed", - "id 74, removed" - ], - queueable_job: [ - "id 73, removed", - "id 74, removed" + "_": "id 234, removed", + "queueable_job": [ + "id 79, removed", + "id 80, removed" + ], + "job_version": [ + "id 79, removed", + "id 80, removed" ] }, - "id 217, removed" + "id 235, removed", + "id 236, removed" ], - repository: [ + "repository": [ { - _: "id 105, present", - build: [ - "id 258, present" + "_": "id 111, present", + "build": [ + "id 277, present" ], - request: [ - "id 54, present" + "request": [ + "id 58, present" ], - job: [ - "id 259, present" + "job": [ + "id 278, present" ], - branch: [ - "id 134, present" + "branch": [ + "id 65, present" ], - ssl_key: [ - "id 40, present" + "ssl_key": [ + "id 10, present" ], - commit: [ - "id 240, present" + "commit": [ + "id 30, present" ], - permission: [ + "permission": [ "id 12, present" ], - star: [ + "star": [ "id 12, present" ], - pull_request: [ + "pull_request": [ "id 10, present" ], - tag: [ - "id 62, present" + "tag": [ + "id 65, present" ] }, - "id 106, present", + "id 112, present", { - _: "id 103, present", - build: [ - "id 256, present" + "_": "id 109, present", + "build": [ + "id 275, present" ], - request: [ - "id 53, present" + "request": [ + "id 57, present" ], - job: [ - "id 257, present" + "job": [ + "id 276, present" ], - branch: [ - "id 133, present" + "branch": [ + "id 64, present" ], - ssl_key: [ - "id 39, present" + "ssl_key": [ + "id 9, present" ], - commit: [ - "id 239, present" + "commit": [ + "id 29, present" ], - permission: [ + "permission": [ "id 11, present" ], - star: [ + "star": [ "id 11, present" ], - pull_request: [ + "pull_request": [ "id 9, present" ], - tag: [ - "id 61, present" + "tag": [ + "id 64, present" ] }, - "id 104, present" + "id 110, present" ], - tag: [ + "tag": [ { - _: "id 51, present", - build: [ + "_": "id 54, present", + "build": [ { - _: "id 218, present", - job: [ - "id 219, present" + "_": "id 237, present", + "job": [ + "id 238, present" ], - repository: [ - "id 88, present", - "id 87, present" + "repository": [ + "id 94, present", + "id 93, present" ], - tag: [ - "id 52, present" + "tag": [ + "id 55, present" ], - branch: [ - "id 123, present" + "branch": [ + "id 54, present" ], - stage: [ - "id 64, present" + "stage": [ + "id 52, present" ] }, - "id 220, present" + "id 239, present" ], - commit: [ + "commit": [ { - _: "id 235, present", - build: [ + "_": "id 25, present", + "build": [ { - _: "id 221, present", - job: [ - "id 222, present" + "_": "id 240, present", + "job": [ + "id 241, present" ], - repository: [ - "id 90, present", - "id 89, present" + "repository": [ + "id 96, present", + "id 95, present" ], - tag: [ - "id 53, present" + "tag": [ + "id 56, present" ], - branch: [ - "id 124, present" + "branch": [ + "id 55, present" ], - stage: [ - "id 65, present" + "stage": [ + "id 53, present" ] }, - "id 223, present" + "id 242, present" ], - job: [ + "job": [ { - _: "id 224, present", - log: [ - "id 75, present", - "id 76, present" - ], - annotation: [ - "id 75, present", - "id 76, present" - ], - queueable_job: [ - "id 75, present", - "id 76, present" + "_": "id 243, present", + "queueable_job": [ + "id 81, present", + "id 82, present" + ], + "job_version": [ + "id 81, present", + "id 82, present" ] }, - "id 225, present" + "id 244, present" ], - request: [ + "request": [ { - _: "id 45, present", - abuse: [ - "id 39, present", - "id 40, present" + "_": "id 49, present", + "abuse": [ + "id 43, present", + "id 44, present" ], - message: [ - "id 39, present", - "id 40, present" + "message": [ + "id 43, present", + "id 44, present" ], - job: [ + "job": [ { - _: "id 229, present", - log: [ - "id 77, present", - "id 78, present" - ], - annotation: [ - "id 77, present", - "id 78, present" - ], - queueable_job: [ - "id 77, present", - "id 78, present" + "_": "id 248, present", + "queueable_job": [ + "id 83, present", + "id 84, present" + ], + "job_version": [ + "id 83, present", + "id 84, present" ] }, - "id 230, present" + "id 249, present" ], - build: [ + "build": [ { - _: "id 226, present", - job: [ - "id 227, present" + "_": "id 245, present", + "job": [ + "id 246, present" ], - repository: [ - "id 92, present", - "id 91, present" + "repository": [ + "id 98, present", + "id 97, present" ], - tag: [ - "id 54, present" + "tag": [ + "id 57, present" ], - branch: [ - "id 125, present" + "branch": [ + "id 56, present" ], - stage: [ - "id 66, present" + "stage": [ + "id 54, present" ] }, - "id 228, present" + "id 247, present" + ], + "request_payload": [ + "id 43, present", + "id 44, present" + ], + "request_raw_configuration": [ + "id 45, present", + "id 46, present" + ], + "deleted_job": [ + "id 76, present", + "id 77, present" + ], + "deleted_build": [ + "id 83, present", + "id 84, present" + ], + "deleted_request_payload": [ + "id 43, present", + "id 44, present" + ], + "deleted_request_raw_configuration": [ + "id 45, present", + "id 46, present" ] }, - "id 46, present" + "id 50, present" + ], + "deleted_build": [ + "id 85, present", + "id 86, present" + ], + "deleted_job": [ + "id 78, present", + "id 79, present" + ], + "deleted_request": [ + "id 43, present", + "id 44, present" ] }, - "id 236, present" + "id 26, present" ], - request: [ + "request": [ { - _: "id 47, present", - abuse: [ - "id 41, present", - "id 42, present" + "_": "id 51, present", + "abuse": [ + "id 45, present", + "id 46, present" ], - message: [ - "id 41, present", - "id 42, present" + "message": [ + "id 45, present", + "id 46, present" ], - job: [ + "job": [ { - _: "id 234, present", - log: [ - "id 79, present", - "id 80, present" - ], - annotation: [ - "id 79, present", - "id 80, present" - ], - queueable_job: [ - "id 79, present", - "id 80, present" + "_": "id 253, present", + "queueable_job": [ + "id 85, present", + "id 86, present" + ], + "job_version": [ + "id 85, present", + "id 86, present" ] }, - "id 235, present" + "id 254, present" ], - build: [ + "build": [ { - _: "id 231, present", - job: [ - "id 232, present" + "_": "id 250, present", + "job": [ + "id 251, present" ], - repository: [ - "id 94, present", - "id 93, present" + "repository": [ + "id 100, present", + "id 99, present" ], - tag: [ - "id 55, present" + "tag": [ + "id 58, present" ], - branch: [ - "id 126, present" + "branch": [ + "id 57, present" ], - stage: [ - "id 67, present" + "stage": [ + "id 55, present" ] }, - "id 233, present" + "id 252, present" + ], + "request_payload": [ + "id 45, present", + "id 46, present" + ], + "request_raw_configuration": [ + "id 47, present", + "id 48, present" + ], + "deleted_job": [ + "id 80, present", + "id 81, present" + ], + "deleted_build": [ + "id 87, present", + "id 88, present" + ], + "deleted_request_payload": [ + "id 45, present", + "id 46, present" + ], + "deleted_request_raw_configuration": [ + "id 47, present", + "id 48, present" ] }, - "id 48, present" + "id 52, present" + ], + "deleted_build": [ + "id 89, present", + "id 90, present" + ], + "deleted_commit": [ + "id 19, present", + "id 20, present" + ], + "deleted_request": [ + "id 45, present", + "id 46, present" ] }, - "id 56, present" + "id 59, present" ], - branch: [ + "branch": [ { - _: "id 127, present", - build: [ + "_": "id 58, present", + "build": [ { - _: "id 236, present", - job: [ - "id 237, present" + "_": "id 255, present", + "job": [ + "id 256, present" ], - repository: [ - "id 96, present", - "id 95, present" + "repository": [ + "id 102, present", + "id 101, present" ], - tag: [ - "id 57, present" + "tag": [ + "id 60, present" ], - branch: [ - "id 128, present" + "branch": [ + "id 59, present" ], - stage: [ - "id 68, present" + "stage": [ + "id 56, present" ] }, - "id 238, present" + "id 257, present" ], - commit: [ + "commit": [ { - _: "id 237, present", - build: [ + "_": "id 27, present", + "build": [ { - _: "id 241, present", - job: [ - "id 242, present" + "_": "id 260, present", + "job": [ + "id 261, present" ], - repository: [ - "id 98, present", - "id 97, present" + "repository": [ + "id 104, present", + "id 103, present" ], - tag: [ - "id 58, present" + "tag": [ + "id 61, present" ], - branch: [ - "id 129, present" + "branch": [ + "id 60, present" ], - stage: [ - "id 69, present" + "stage": [ + "id 57, present" ] }, - "id 243, present" + "id 262, present" ], - job: [ + "job": [ { - _: "id 244, present", - log: [ - "id 83, present", - "id 84, present" - ], - annotation: [ - "id 83, present", - "id 84, present" - ], - queueable_job: [ - "id 83, present", - "id 84, present" + "_": "id 263, present", + "queueable_job": [ + "id 89, present", + "id 90, present" + ], + "job_version": [ + "id 89, present", + "id 90, present" ] }, - "id 245, present" + "id 264, present" ], - request: [ + "request": [ { - _: "id 49, present", - abuse: [ - "id 43, present", - "id 44, present" + "_": "id 53, present", + "abuse": [ + "id 47, present", + "id 48, present" ], - message: [ - "id 43, present", - "id 44, present" + "message": [ + "id 47, present", + "id 48, present" ], - job: [ + "job": [ { - _: "id 249, present", - log: [ - "id 85, present", - "id 86, present" - ], - annotation: [ - "id 85, present", - "id 86, present" - ], - queueable_job: [ - "id 85, present", - "id 86, present" + "_": "id 268, present", + "queueable_job": [ + "id 91, present", + "id 92, present" + ], + "job_version": [ + "id 91, present", + "id 92, present" ] }, - "id 250, present" + "id 269, present" ], - build: [ + "build": [ { - _: "id 246, present", - job: [ - "id 247, present" + "_": "id 265, present", + "job": [ + "id 266, present" ], - repository: [ - "id 100, present", - "id 99, present" + "repository": [ + "id 106, present", + "id 105, present" ], - tag: [ - "id 59, present" + "tag": [ + "id 62, present" ], - branch: [ - "id 130, present" + "branch": [ + "id 61, present" ], - stage: [ - "id 70, present" + "stage": [ + "id 58, present" ] }, - "id 248, present" + "id 267, present" + ], + "request_payload": [ + "id 47, present", + "id 48, present" + ], + "request_raw_configuration": [ + "id 49, present", + "id 50, present" + ], + "deleted_job": [ + "id 84, present", + "id 85, present" + ], + "deleted_build": [ + "id 93, present", + "id 94, present" + ], + "deleted_request_payload": [ + "id 47, present", + "id 48, present" + ], + "deleted_request_raw_configuration": [ + "id 49, present", + "id 50, present" ] }, - "id 50, present" + "id 54, present" + ], + "deleted_build": [ + "id 95, present", + "id 96, present" + ], + "deleted_job": [ + "id 86, present", + "id 87, present" + ], + "deleted_request": [ + "id 47, present", + "id 48, present" ] }, - "id 238, present" + "id 28, present" ], - cron: [ - "id 9, present", - "id 10, present" + "cron": [ + "id 5, present" ], - job: [ + "job": [ { - _: "id 239, present", - log: [ - "id 81, present", - "id 82, present" - ], - annotation: [ - "id 81, present", - "id 82, present" + "_": "id 258, present", + "queueable_job": [ + "id 87, present", + "id 88, present" ], - queueable_job: [ - "id 81, present", - "id 82, present" + "job_version": [ + "id 87, present", + "id 88, present" ] }, - "id 240, present" + "id 259, present" ], - request: [ + "request": [ { - _: "id 51, present", - abuse: [ - "id 45, present", - "id 46, present" + "_": "id 55, present", + "abuse": [ + "id 49, present", + "id 50, present" ], - message: [ - "id 45, present", - "id 46, present" + "message": [ + "id 49, present", + "id 50, present" ], - job: [ + "job": [ { - _: "id 254, present", - log: [ - "id 87, present", - "id 88, present" - ], - annotation: [ - "id 87, present", - "id 88, present" - ], - queueable_job: [ - "id 87, present", - "id 88, present" + "_": "id 273, present", + "queueable_job": [ + "id 93, present", + "id 94, present" + ], + "job_version": [ + "id 93, present", + "id 94, present" ] }, - "id 255, present" + "id 274, present" ], - build: [ + "build": [ { - _: "id 251, present", - job: [ - "id 252, present" + "_": "id 270, present", + "job": [ + "id 271, present" ], - repository: [ - "id 102, present", - "id 101, present" + "repository": [ + "id 108, present", + "id 107, present" ], - tag: [ - "id 60, present" + "tag": [ + "id 63, present" ], - branch: [ - "id 131, present" + "branch": [ + "id 62, present" ], - stage: [ - "id 71, present" + "stage": [ + "id 59, present" ] }, - "id 253, present" + "id 272, present" + ], + "request_payload": [ + "id 49, present", + "id 50, present" + ], + "request_raw_configuration": [ + "id 51, present", + "id 52, present" + ], + "deleted_job": [ + "id 88, present", + "id 89, present" + ], + "deleted_build": [ + "id 97, present", + "id 98, present" + ], + "deleted_request_payload": [ + "id 49, present", + "id 50, present" + ], + "deleted_request_raw_configuration": [ + "id 51, present", + "id 52, present" ] }, - "id 52, present" + "id 56, present" + ], + "deleted_build": [ + "id 91, present", + "id 92, present" + ], + "deleted_commit": [ + "id 21, present", + "id 22, present" + ], + "deleted_job": [ + "id 82, present", + "id 83, present" + ], + "deleted_request": [ + "id 49, present", + "id 50, present" ] }, - "id 132, present" + "id 63, present" ], - stage: [ + "stage": [ { - _: "id 62, removed", - job: [ - "id 212, removed", - "id 213, removed" + "_": "id 49, removed", + "job": [ + "id 230, removed", + "id 231, removed" ] }, { - _: "id 63, removed", - job: [ - "id 214, removed", - "id 215, removed" + "_": "id 50, removed", + "job": [ + "id 232, removed", + "id 233, removed" ] - } + }, + "id 51, removed" + ], + "deleted_job": [ + "id 90, removed" + ], + "deleted_tag": [ + "id 6, present" + ], + "deleted_stage": [ + "id 4, removed" ] }, { - _: "id 260, removed", - repository: [ + "_": "id 279, removed", + "repository": [ "id 1, removed, duplicate" ] } ], - repository: [ + "repository": [ "id 1, removed, duplicate", - "id 66, removed" + "id 72, removed" ], - job: [ + "job": [ { - _: "id 271, removed", - log: [ - "id 93, removed", - "id 94, removed" + "_": "id 290, removed", + "queueable_job": [ + "id 99, removed", + "id 100, removed" ], - annotation: [ - "id 93, removed", - "id 94, removed" - ], - queueable_job: [ - "id 93, removed", - "id 94, removed" + "job_version": [ + "id 99, removed", + "id 100, removed" ] }, - "id 272, removed" + "id 291, removed" ], - request: [ + "request": [ { - _: "id 57, removed", - abuse: [ - "id 49, removed", - "id 50, removed" + "_": "id 61, removed", + "abuse": [ + "id 53, removed", + "id 54, removed" ], - message: [ - "id 49, removed", - "id 50, removed" + "message": [ + "id 53, removed", + "id 54, removed" ], - job: [ + "job": [ { - _: "id 269, removed", - log: [ - "id 91, removed", - "id 92, removed" - ], - annotation: [ - "id 91, removed", - "id 92, removed" - ], - queueable_job: [ - "id 91, removed", - "id 92, removed" + "_": "id 288, removed", + "queueable_job": [ + "id 97, removed", + "id 98, removed" + ], + "job_version": [ + "id 97, removed", + "id 98, removed" ] }, - "id 270, removed" + "id 289, removed" ], - build: [ + "build": [ { - _: "id 266, removed", - job: [ - "id 267, removed" + "_": "id 285, removed", + "job": [ + "id 286, removed" ], - repository: [ - "id 110, present", - "id 109, present" + "repository": [ + "id 116, present", + "id 115, present" ], - tag: [ - "id 64, present" + "tag": [ + "id 67, present" ], - branch: [ - "id 136, present" + "branch": [ + "id 67, present" ], - stage: [ - "id 73, removed" + "stage": [ + "id 61, removed" ] }, - "id 268, removed" + "id 287, removed" + ], + "request_payload": [ + "id 53, removed", + "id 54, removed" + ], + "request_raw_configuration": [ + "id 55, removed", + "id 56, removed" + ], + "deleted_job": [ + "id 93, removed", + "id 94, removed" + ], + "deleted_build": [ + "id 101, removed", + "id 102, removed" + ], + "deleted_request_payload": [ + "id 53, removed", + "id 54, removed" + ], + "deleted_request_raw_configuration": [ + "id 55, removed", + "id 56, removed" ] }, - "id 58, removed", + "id 62, removed", { - _: "id 55, removed", - abuse: [ - "id 47, removed", - "id 48, removed" + "_": "id 59, removed", + "abuse": [ + "id 51, removed", + "id 52, removed" ], - message: [ - "id 47, removed", - "id 48, removed" + "message": [ + "id 51, removed", + "id 52, removed" ], - job: [ + "job": [ { - _: "id 264, removed", - log: [ - "id 89, removed", - "id 90, removed" - ], - annotation: [ - "id 89, removed", - "id 90, removed" - ], - queueable_job: [ - "id 89, removed", - "id 90, removed" + "_": "id 283, removed", + "queueable_job": [ + "id 95, removed", + "id 96, removed" + ], + "job_version": [ + "id 95, removed", + "id 96, removed" ] }, - "id 265, removed" + "id 284, removed" ], - build: [ + "build": [ { - _: "id 261, removed", - job: [ - "id 262, removed" + "_": "id 280, removed", + "job": [ + "id 281, removed" ], - repository: [ - "id 108, present", - "id 107, present" + "repository": [ + "id 114, present", + "id 113, present" ], - tag: [ - "id 63, present" + "tag": [ + "id 66, present" ], - branch: [ - "id 135, present" + "branch": [ + "id 66, present" ], - stage: [ - "id 72, removed" + "stage": [ + "id 60, removed" ] }, - "id 263, removed" + "id 282, removed" + ], + "request_payload": [ + "id 51, removed", + "id 52, removed" + ], + "request_raw_configuration": [ + "id 53, removed", + "id 54, removed" + ], + "deleted_job": [ + "id 91, removed", + "id 92, removed" + ], + "deleted_build": [ + "id 99, removed", + "id 100, removed" + ], + "deleted_request_payload": [ + "id 51, removed", + "id 52, removed" + ], + "deleted_request_raw_configuration": [ + "id 53, removed", + "id 54, removed" ] }, - "id 56, removed" + "id 60, removed" ], - abuse: [ - "id 51, removed", - "id 52, removed" + "abuse": [ + "id 55, removed", + "id 56, removed" ], - subscription: [ + "subscription": [ { - _: "id 1, removed", - invoice: [ + "_": "id 1, removed", + "invoice": [ "id 1, removed", "id 2, removed" ] }, { - _: "id 2, removed", - invoice: [ + "_": "id 2, removed", + "invoice": [ "id 3, removed", "id 4, removed" ] } ], - owner_group: [ + "owner_group": [ "id 1, removed", "id 2, removed" ], - trial: [ + "trial": [ { - _: "id 1, removed", - trial_allowance: [ + "_": "id 1, removed", + "trial_allowance": [ "id 1, removed", "id 2, removed" ] }, { - _: "id 2, removed", - trial_allowance: [ + "_": "id 2, removed", + "trial_allowance": [ "id 3, removed", "id 4, removed" ] } ], - trial_allowance: [ + "trial_allowance": [ "id 5, removed", "id 6, removed" ], - broadcast: [ + "broadcast": [ "id 1, removed", "id 2, removed" ], - star: [ + "star": [ "id 1, removed", "id 2, removed" ], - permission: [ + "permission": [ "id 1, removed", "id 2, removed" ], - token: [ - "id 9, removed", - "id 10, removed" + "token": [ + "id 1, removed", + "id 2, removed" ], - email: [ - "id 9, removed", - "id 10, removed" + "email": [ + "id 1, removed", + "id 2, removed" ], - membership: [ + "membership": [ "id 1, removed", "id 2, removed" ], - user_beta_feature: [ + "user_beta_feature": [ "id 1, removed", "id 2, removed" ] diff --git a/spec/support/expected_files/remove_org_with_dependencies/abuse_14-26.json b/spec/support/expected_files/remove_org_with_dependencies/abuse_14-26.json index 0496343..026848c 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/abuse_14-26.json +++ b/spec/support/expected_files/remove_org_with_dependencies/abuse_14-26.json @@ -3,53 +3,53 @@ "data": [ { "id": 14, - "owner_id": null, "owner_type": null, + "owner_id": null, "request_id": 15, "level": 14, "reason": "some text", - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC" + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC" }, { "id": 15, - "owner_id": null, "owner_type": null, + "owner_id": null, "request_id": 17, "level": 15, "reason": "some text", - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC" + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC" }, { "id": 16, - "owner_id": null, "owner_type": null, + "owner_id": null, "request_id": 17, "level": 16, "reason": "some text", - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC" + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC" }, { "id": 25, - "owner_id": null, "owner_type": null, + "owner_id": null, "request_id": 29, "level": 25, "reason": "some text", - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC" + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC" }, { "id": 26, - "owner_id": null, "owner_type": null, + "owner_id": null, "request_id": 29, "level": 26, "reason": "some text", - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC" + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC" } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/abuse_27-47.json b/spec/support/expected_files/remove_org_with_dependencies/abuse_27-31.json similarity index 58% rename from spec/support/expected_files/remove_org_with_dependencies/abuse_27-47.json rename to spec/support/expected_files/remove_org_with_dependencies/abuse_27-31.json index b4be048..c2e6ab5 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/abuse_27-47.json +++ b/spec/support/expected_files/remove_org_with_dependencies/abuse_27-31.json @@ -3,53 +3,53 @@ "data": [ { "id": 27, - "owner_id": null, "owner_type": null, + "owner_id": null, "request_id": 31, "level": 27, "reason": "some text", - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC" + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC" }, { "id": 28, - "owner_id": null, "owner_type": null, + "owner_id": null, "request_id": 31, "level": 28, "reason": "some text", - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC" + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC" }, { "id": 29, - "owner_id": null, "owner_type": null, + "owner_id": null, "request_id": 33, "level": 29, "reason": "some text", - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC" + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC" }, { "id": 30, - "owner_id": null, "owner_type": null, + "owner_id": null, "request_id": 33, "level": 30, "reason": "some text", - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC" + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC" }, { - "id": 47, - "owner_id": null, + "id": 31, "owner_type": null, - "request_id": 55, - "level": 47, + "owner_id": null, + "request_id": 35, + "level": 31, "reason": "some text", - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC" + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC" } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/abuse_32-52.json b/spec/support/expected_files/remove_org_with_dependencies/abuse_32-52.json new file mode 100644 index 0000000..5348e3f --- /dev/null +++ b/spec/support/expected_files/remove_org_with_dependencies/abuse_32-52.json @@ -0,0 +1,55 @@ +{ + "table_name": "abuses", + "data": [ + { + "id": 32, + "owner_type": null, + "owner_id": null, + "request_id": 35, + "level": 32, + "reason": "some text", + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC" + }, + { + "id": 33, + "owner_type": null, + "owner_id": null, + "request_id": 37, + "level": 33, + "reason": "some text", + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC" + }, + { + "id": 34, + "owner_type": null, + "owner_id": null, + "request_id": 37, + "level": 34, + "reason": "some text", + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC" + }, + { + "id": 51, + "owner_type": null, + "owner_id": null, + "request_id": 59, + "level": 51, + "reason": "some text", + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC" + }, + { + "id": 52, + "owner_type": null, + "owner_id": null, + "request_id": 59, + "level": 52, + "reason": "some text", + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC" + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/abuse_48-52.json b/spec/support/expected_files/remove_org_with_dependencies/abuse_48-52.json deleted file mode 100644 index e91875b..0000000 --- a/spec/support/expected_files/remove_org_with_dependencies/abuse_48-52.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "table_name": "abuses", - "data": [ - { - "id": 48, - "owner_id": null, - "owner_type": null, - "request_id": 55, - "level": 48, - "reason": "some text", - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC" - }, - { - "id": 49, - "owner_id": null, - "owner_type": null, - "request_id": 57, - "level": 49, - "reason": "some text", - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC" - }, - { - "id": 50, - "owner_id": null, - "owner_type": null, - "request_id": 57, - "level": 50, - "reason": "some text", - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC" - }, - { - "id": 51, - "owner_id": 1, - "owner_type": "Organization", - "request_id": null, - "level": 51, - "reason": "some text", - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC" - }, - { - "id": 52, - "owner_id": 1, - "owner_type": "Organization", - "request_id": null, - "level": 52, - "reason": "some text", - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC" - } - ] -} \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/abuse_53-56.json b/spec/support/expected_files/remove_org_with_dependencies/abuse_53-56.json new file mode 100644 index 0000000..a40c4e1 --- /dev/null +++ b/spec/support/expected_files/remove_org_with_dependencies/abuse_53-56.json @@ -0,0 +1,45 @@ +{ + "table_name": "abuses", + "data": [ + { + "id": 53, + "owner_type": null, + "owner_id": null, + "request_id": 61, + "level": 53, + "reason": "some text", + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC" + }, + { + "id": 54, + "owner_type": null, + "owner_id": null, + "request_id": 61, + "level": 54, + "reason": "some text", + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC" + }, + { + "id": 55, + "owner_type": "Organization", + "owner_id": 1, + "request_id": null, + "level": 55, + "reason": "some text", + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC" + }, + { + "id": 56, + "owner_type": "Organization", + "owner_id": 1, + "request_id": null, + "level": 56, + "reason": "some text", + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC" + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/abuse_9-13.json b/spec/support/expected_files/remove_org_with_dependencies/abuse_9-13.json index a41cfaf..1833700 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/abuse_9-13.json +++ b/spec/support/expected_files/remove_org_with_dependencies/abuse_9-13.json @@ -3,53 +3,53 @@ "data": [ { "id": 9, - "owner_id": null, "owner_type": null, + "owner_id": null, "request_id": 11, "level": 9, "reason": "some text", - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC" + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC" }, { "id": 10, - "owner_id": null, "owner_type": null, + "owner_id": null, "request_id": 11, "level": 10, "reason": "some text", - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC" + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC" }, { "id": 11, - "owner_id": null, "owner_type": null, + "owner_id": null, "request_id": 13, "level": 11, "reason": "some text", - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC" + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC" }, { "id": 12, - "owner_id": null, "owner_type": null, + "owner_id": null, "request_id": 13, "level": 12, "reason": "some text", - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC" + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC" }, { "id": 13, - "owner_id": null, "owner_type": null, + "owner_id": null, "request_id": 15, "level": 13, "reason": "some text", - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC" + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC" } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/annotation_1-19.json b/spec/support/expected_files/remove_org_with_dependencies/annotation_1-19.json deleted file mode 100644 index 9759e15..0000000 --- a/spec/support/expected_files/remove_org_with_dependencies/annotation_1-19.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "table_name": "annotations", - "data": [ - { - "id": 1, - "job_id": 6, - "url": null, - "description": "some text", - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", - "annotation_provider_id": 0, - "status": null - }, - { - "id": 2, - "job_id": 6, - "url": null, - "description": "some text", - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", - "annotation_provider_id": 0, - "status": null - }, - { - "id": 17, - "job_id": 54, - "url": null, - "description": "some text", - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", - "annotation_provider_id": 0, - "status": null - }, - { - "id": 18, - "job_id": 54, - "url": null, - "description": "some text", - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", - "annotation_provider_id": 0, - "status": null - }, - { - "id": 19, - "job_id": 56, - "url": null, - "description": "some text", - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", - "annotation_provider_id": 0, - "status": null - } - ] -} \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/annotation_20-24.json b/spec/support/expected_files/remove_org_with_dependencies/annotation_20-24.json deleted file mode 100644 index f148942..0000000 --- a/spec/support/expected_files/remove_org_with_dependencies/annotation_20-24.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "table_name": "annotations", - "data": [ - { - "id": 20, - "job_id": 56, - "url": null, - "description": "some text", - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", - "annotation_provider_id": 0, - "status": null - }, - { - "id": 21, - "job_id": 61, - "url": null, - "description": "some text", - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", - "annotation_provider_id": 0, - "status": null - }, - { - "id": 22, - "job_id": 61, - "url": null, - "description": "some text", - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", - "annotation_provider_id": 0, - "status": null - }, - { - "id": 23, - "job_id": 66, - "url": null, - "description": "some text", - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", - "annotation_provider_id": 0, - "status": null - }, - { - "id": 24, - "job_id": 66, - "url": null, - "description": "some text", - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", - "annotation_provider_id": 0, - "status": null - } - ] -} \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/annotation_25-29.json b/spec/support/expected_files/remove_org_with_dependencies/annotation_25-29.json deleted file mode 100644 index 3c3eef2..0000000 --- a/spec/support/expected_files/remove_org_with_dependencies/annotation_25-29.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "table_name": "annotations", - "data": [ - { - "id": 25, - "job_id": 71, - "url": null, - "description": "some text", - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", - "annotation_provider_id": 0, - "status": null - }, - { - "id": 26, - "job_id": 71, - "url": null, - "description": "some text", - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", - "annotation_provider_id": 0, - "status": null - }, - { - "id": 27, - "job_id": 76, - "url": null, - "description": "some text", - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", - "annotation_provider_id": 0, - "status": null - }, - { - "id": 28, - "job_id": 76, - "url": null, - "description": "some text", - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", - "annotation_provider_id": 0, - "status": null - }, - { - "id": 29, - "job_id": 81, - "url": null, - "description": "some text", - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", - "annotation_provider_id": 0, - "status": null - } - ] -} \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/annotation_30-34.json b/spec/support/expected_files/remove_org_with_dependencies/annotation_30-34.json deleted file mode 100644 index 3af3afe..0000000 --- a/spec/support/expected_files/remove_org_with_dependencies/annotation_30-34.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "table_name": "annotations", - "data": [ - { - "id": 30, - "job_id": 81, - "url": null, - "description": "some text", - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", - "annotation_provider_id": 0, - "status": null - }, - { - "id": 31, - "job_id": 86, - "url": null, - "description": "some text", - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", - "annotation_provider_id": 0, - "status": null - }, - { - "id": 32, - "job_id": 86, - "url": null, - "description": "some text", - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", - "annotation_provider_id": 0, - "status": null - }, - { - "id": 33, - "job_id": 93, - "url": null, - "description": "some text", - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", - "annotation_provider_id": 0, - "status": null - }, - { - "id": 34, - "job_id": 93, - "url": null, - "description": "some text", - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", - "annotation_provider_id": 0, - "status": null - } - ] -} \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/annotation_49-53.json b/spec/support/expected_files/remove_org_with_dependencies/annotation_49-53.json deleted file mode 100644 index e66b1fd..0000000 --- a/spec/support/expected_files/remove_org_with_dependencies/annotation_49-53.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "table_name": "annotations", - "data": [ - { - "id": 49, - "job_id": 141, - "url": null, - "description": "some text", - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", - "annotation_provider_id": 0, - "status": null - }, - { - "id": 50, - "job_id": 141, - "url": null, - "description": "some text", - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", - "annotation_provider_id": 0, - "status": null - }, - { - "id": 51, - "job_id": 149, - "url": null, - "description": "some text", - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", - "annotation_provider_id": 0, - "status": null - }, - { - "id": 52, - "job_id": 149, - "url": null, - "description": "some text", - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", - "annotation_provider_id": 0, - "status": null - }, - { - "id": 53, - "job_id": 154, - "url": null, - "description": "some text", - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", - "annotation_provider_id": 0, - "status": null - } - ] -} \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/annotation_54-58.json b/spec/support/expected_files/remove_org_with_dependencies/annotation_54-58.json deleted file mode 100644 index 14655d1..0000000 --- a/spec/support/expected_files/remove_org_with_dependencies/annotation_54-58.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "table_name": "annotations", - "data": [ - { - "id": 54, - "job_id": 154, - "url": null, - "description": "some text", - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", - "annotation_provider_id": 0, - "status": null - }, - { - "id": 55, - "job_id": 159, - "url": null, - "description": "some text", - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", - "annotation_provider_id": 0, - "status": null - }, - { - "id": 56, - "job_id": 159, - "url": null, - "description": "some text", - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", - "annotation_provider_id": 0, - "status": null - }, - { - "id": 57, - "job_id": 166, - "url": null, - "description": "some text", - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", - "annotation_provider_id": 0, - "status": null - }, - { - "id": 58, - "job_id": 166, - "url": null, - "description": "some text", - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", - "annotation_provider_id": 0, - "status": null - } - ] -} \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/annotation_73-91.json b/spec/support/expected_files/remove_org_with_dependencies/annotation_73-91.json deleted file mode 100644 index f8c2144..0000000 --- a/spec/support/expected_files/remove_org_with_dependencies/annotation_73-91.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "table_name": "annotations", - "data": [ - { - "id": 73, - "job_id": 216, - "url": null, - "description": "some text", - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", - "annotation_provider_id": 0, - "status": null - }, - { - "id": 74, - "job_id": 216, - "url": null, - "description": "some text", - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", - "annotation_provider_id": 0, - "status": null - }, - { - "id": 89, - "job_id": 264, - "url": null, - "description": "some text", - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", - "annotation_provider_id": 0, - "status": null - }, - { - "id": 90, - "job_id": 264, - "url": null, - "description": "some text", - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", - "annotation_provider_id": 0, - "status": null - }, - { - "id": 91, - "job_id": 269, - "url": null, - "description": "some text", - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", - "annotation_provider_id": 0, - "status": null - } - ] -} \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/annotation_92-94.json b/spec/support/expected_files/remove_org_with_dependencies/annotation_92-94.json deleted file mode 100644 index aa0c9bb..0000000 --- a/spec/support/expected_files/remove_org_with_dependencies/annotation_92-94.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "table_name": "annotations", - "data": [ - { - "id": 92, - "job_id": 269, - "url": null, - "description": "some text", - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", - "annotation_provider_id": 0, - "status": null - }, - { - "id": 93, - "job_id": 271, - "url": null, - "description": "some text", - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", - "annotation_provider_id": 0, - "status": null - }, - { - "id": 94, - "job_id": 271, - "url": null, - "description": "some text", - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", - "annotation_provider_id": 0, - "status": null - } - ] -} \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/branch_14-19.json b/spec/support/expected_files/remove_org_with_dependencies/branch_14-19.json new file mode 100644 index 0000000..0cc488a --- /dev/null +++ b/spec/support/expected_files/remove_org_with_dependencies/branch_14-19.json @@ -0,0 +1,27 @@ +{ + "table_name": "branches", + "data": [ + { + "id": 14, + "repository_id": 1, + "last_build_id": null, + "name": "branch_14", + "exists_on_github": true, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "org_id": null, + "com_id": null + }, + { + "id": 19, + "repository_id": 1, + "last_build_id": null, + "name": "branch_19", + "exists_on_github": true, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "org_id": null, + "com_id": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/branch_86-91.json b/spec/support/expected_files/remove_org_with_dependencies/branch_86-91.json deleted file mode 100644 index 18d9af4..0000000 --- a/spec/support/expected_files/remove_org_with_dependencies/branch_86-91.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "table_name": "branches", - "data": [ - { - "id": 86, - "repository_id": 1, - "last_build_id": null, - "name": "branch_14", - "exists_on_github": true, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC" - }, - { - "id": 91, - "repository_id": 1, - "last_build_id": null, - "name": "branch_19", - "exists_on_github": true, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC" - } - ] -} \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/broadcast_1-2.json b/spec/support/expected_files/remove_org_with_dependencies/broadcast_1-2.json index 58cedbb..5f2e88d 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/broadcast_1-2.json +++ b/spec/support/expected_files/remove_org_with_dependencies/broadcast_1-2.json @@ -3,24 +3,24 @@ "data": [ { "id": 1, - "recipient_id": 1, "recipient_type": "Organization", + "recipient_id": 1, "kind": null, "message": null, "expired": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", "category": null }, { "id": 2, - "recipient_id": 1, "recipient_type": "Organization", + "recipient_id": 1, "kind": null, "message": null, "expired": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", "category": null } ] diff --git a/spec/support/expected_files/remove_org_with_dependencies/build_1-58.json b/spec/support/expected_files/remove_org_with_dependencies/build_1-59.json similarity index 53% rename from spec/support/expected_files/remove_org_with_dependencies/build_1-58.json rename to spec/support/expected_files/remove_org_with_dependencies/build_1-59.json index 1d1eb9f..d95d6da 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/build_1-58.json +++ b/spec/support/expected_files/remove_org_with_dependencies/build_1-59.json @@ -7,20 +7,30 @@ "number": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", - "config": null, + "log": "", + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, "commit_id": null, "request_id": null, "state": null, "duration": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "event_type": null, "previous_state": null, "pull_request_title": null, "pull_request_number": null, - "branch": null, "canceled_at": null, "cached_matrix_ids": null, "received_at": null, @@ -28,29 +38,44 @@ "pull_request_id": null, "branch_id": null, "tag_id": null, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null }, { - "id": 50, + "id": 51, "repository_id": 1, "number": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", - "config": null, + "log": "", + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, "commit_id": null, "request_id": null, "state": null, "duration": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "event_type": null, "previous_state": null, "pull_request_title": null, "pull_request_number": null, - "branch": null, "canceled_at": null, "cached_matrix_ids": null, "received_at": null, @@ -58,29 +83,44 @@ "pull_request_id": null, "branch_id": null, "tag_id": null, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null }, { - "id": 51, + "id": 52, "repository_id": null, "number": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", - "config": null, + "log": "", + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, "commit_id": null, "request_id": 11, "state": null, "duration": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "event_type": null, "previous_state": null, "pull_request_title": null, "pull_request_number": null, - "branch": null, "canceled_at": null, "cached_matrix_ids": null, "received_at": null, @@ -88,29 +128,44 @@ "pull_request_id": null, "branch_id": null, "tag_id": null, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null }, { - "id": 53, + "id": 54, "repository_id": null, "number": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", - "config": null, + "log": "", + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, "commit_id": null, "request_id": 11, "state": null, "duration": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "event_type": null, "previous_state": null, "pull_request_title": null, "pull_request_number": null, - "branch": null, "canceled_at": null, "cached_matrix_ids": null, "received_at": null, @@ -118,38 +173,58 @@ "pull_request_id": null, "branch_id": null, "tag_id": null, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null }, { - "id": 58, + "id": 59, "repository_id": null, "number": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", - "config": null, + "log": "", + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, "commit_id": null, "request_id": null, "state": null, "duration": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "event_type": null, "previous_state": null, "pull_request_title": null, "pull_request_number": null, - "branch": null, "canceled_at": null, "cached_matrix_ids": null, "received_at": null, "private": null, "pull_request_id": null, - "branch_id": 86, + "branch_id": 14, "tag_id": null, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/build_143-151.json b/spec/support/expected_files/remove_org_with_dependencies/build_145-153.json similarity index 53% rename from spec/support/expected_files/remove_org_with_dependencies/build_143-151.json rename to spec/support/expected_files/remove_org_with_dependencies/build_145-153.json index 3a54218..4e3224f 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/build_143-151.json +++ b/spec/support/expected_files/remove_org_with_dependencies/build_145-153.json @@ -2,25 +2,35 @@ "table_name": "builds", "data": [ { - "id": 143, + "id": 145, "repository_id": null, "number": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", - "config": null, + "log": "", + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, "commit_id": null, "request_id": null, "state": null, "duration": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "event_type": null, "previous_state": null, "pull_request_title": null, "pull_request_number": null, - "branch": null, "canceled_at": null, "cached_matrix_ids": null, "received_at": null, @@ -28,29 +38,44 @@ "pull_request_id": null, "branch_id": null, "tag_id": 33, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null }, { - "id": 145, + "id": 147, "repository_id": null, "number": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", - "config": null, + "log": "", + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, "commit_id": null, "request_id": null, "state": null, "duration": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "event_type": null, "previous_state": null, "pull_request_title": null, "pull_request_number": null, - "branch": null, "canceled_at": null, "cached_matrix_ids": null, "received_at": null, @@ -58,29 +83,44 @@ "pull_request_id": null, "branch_id": null, "tag_id": 33, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null }, { - "id": 146, + "id": 148, "repository_id": null, "number": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", - "config": null, - "commit_id": 227, + "log": "", + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": 17, "request_id": null, "state": null, "duration": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "event_type": null, "previous_state": null, "pull_request_title": null, "pull_request_number": null, - "branch": null, "canceled_at": null, "cached_matrix_ids": null, "received_at": null, @@ -88,29 +128,44 @@ "pull_request_id": null, "branch_id": null, "tag_id": null, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null }, { - "id": 148, + "id": 150, "repository_id": null, "number": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", - "config": null, - "commit_id": 227, + "log": "", + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": 17, "request_id": null, "state": null, "duration": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "event_type": null, "previous_state": null, "pull_request_title": null, "pull_request_number": null, - "branch": null, "canceled_at": null, "cached_matrix_ids": null, "received_at": null, @@ -118,29 +173,44 @@ "pull_request_id": null, "branch_id": null, "tag_id": null, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null }, { - "id": 151, + "id": 153, "repository_id": null, "number": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", - "config": null, + "log": "", + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, "commit_id": null, "request_id": 31, "state": null, "duration": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "event_type": null, "previous_state": null, "pull_request_title": null, "pull_request_number": null, - "branch": null, "canceled_at": null, "cached_matrix_ids": null, "received_at": null, @@ -148,8 +218,13 @@ "pull_request_id": null, "branch_id": null, "tag_id": null, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/build_153-210.json b/spec/support/expected_files/remove_org_with_dependencies/build_155-165.json similarity index 52% rename from spec/support/expected_files/remove_user_with_dependencies/build_153-210.json rename to spec/support/expected_files/remove_org_with_dependencies/build_155-165.json index 5625799..3663d98 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/build_153-210.json +++ b/spec/support/expected_files/remove_org_with_dependencies/build_155-165.json @@ -2,25 +2,35 @@ "table_name": "builds", "data": [ { - "id": 153, + "id": 155, "repository_id": null, "number": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", - "config": null, + "log": "", + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, "commit_id": null, "request_id": 31, "state": null, "duration": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "event_type": null, "previous_state": null, "pull_request_title": null, "pull_request_number": null, - "branch": null, "canceled_at": null, "cached_matrix_ids": null, "received_at": null, @@ -28,29 +38,44 @@ "pull_request_id": null, "branch_id": null, "tag_id": null, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null }, { - "id": 156, + "id": 158, "repository_id": null, "number": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", - "config": null, + "log": "", + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, "commit_id": null, "request_id": 33, "state": null, "duration": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "event_type": null, "previous_state": null, "pull_request_title": null, "pull_request_number": null, - "branch": null, "canceled_at": null, "cached_matrix_ids": null, "received_at": null, @@ -58,29 +83,44 @@ "pull_request_id": null, "branch_id": null, "tag_id": null, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null }, { - "id": 158, + "id": 160, "repository_id": null, "number": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", - "config": null, + "log": "", + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, "commit_id": null, "request_id": 33, "state": null, "duration": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "event_type": null, "previous_state": null, "pull_request_title": null, "pull_request_number": null, - "branch": null, "canceled_at": null, "cached_matrix_ids": null, "received_at": null, @@ -88,29 +128,44 @@ "pull_request_id": null, "branch_id": null, "tag_id": null, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null }, { - "id": 161, + "id": 163, "repository_id": null, "number": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", - "config": null, + "log": "", + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, "commit_id": null, "request_id": null, "state": null, "duration": null, - "owner_id": 9, - "owner_type": "User", + "owner_type": null, + "owner_id": null, "event_type": null, "previous_state": null, "pull_request_title": null, "pull_request_number": null, - "branch": null, "canceled_at": null, "cached_matrix_ids": null, "received_at": null, @@ -118,29 +173,44 @@ "pull_request_id": null, "branch_id": null, "tag_id": null, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": 1, + "restarted_at": null, + "unique_number": null }, { - "id": 210, + "id": 165, "repository_id": null, "number": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", - "config": null, + "log": "", + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, "commit_id": null, "request_id": null, "state": null, "duration": null, - "owner_id": 9, - "owner_type": "User", + "owner_type": null, + "owner_id": null, "event_type": null, "previous_state": null, "pull_request_title": null, "pull_request_number": null, - "branch": null, "canceled_at": null, "cached_matrix_ids": null, "received_at": null, @@ -148,8 +218,13 @@ "pull_request_id": null, "branch_id": null, "tag_id": null, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": 1, + "restarted_at": null, + "unique_number": null } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/build_166-178.json b/spec/support/expected_files/remove_org_with_dependencies/build_166-178.json new file mode 100644 index 0000000..954d37f --- /dev/null +++ b/spec/support/expected_files/remove_org_with_dependencies/build_166-178.json @@ -0,0 +1,230 @@ +{ + "table_name": "builds", + "data": [ + { + "id": 166, + "repository_id": null, + "number": null, + "started_at": null, + "finished_at": null, + "log": "", + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": null, + "request_id": 35, + "state": null, + "duration": null, + "owner_type": null, + "owner_id": null, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null + }, + { + "id": 168, + "repository_id": null, + "number": null, + "started_at": null, + "finished_at": null, + "log": "", + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": null, + "request_id": 35, + "state": null, + "duration": null, + "owner_type": null, + "owner_id": null, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null + }, + { + "id": 173, + "repository_id": null, + "number": null, + "started_at": null, + "finished_at": null, + "log": "", + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": null, + "request_id": 37, + "state": null, + "duration": null, + "owner_type": null, + "owner_id": null, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null + }, + { + "id": 175, + "repository_id": null, + "number": null, + "started_at": null, + "finished_at": null, + "log": "", + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": null, + "request_id": 37, + "state": null, + "duration": null, + "owner_type": null, + "owner_id": null, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null + }, + { + "id": 178, + "repository_id": null, + "number": null, + "started_at": null, + "finished_at": null, + "log": "", + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": null, + "request_id": null, + "state": null, + "duration": null, + "owner_type": "Organization", + "owner_id": 1, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/build_211-266.json b/spec/support/expected_files/remove_org_with_dependencies/build_228-282.json similarity index 50% rename from spec/support/expected_files/remove_user_with_dependencies/build_211-266.json rename to spec/support/expected_files/remove_org_with_dependencies/build_228-282.json index 4ff3914..040060a 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/build_211-266.json +++ b/spec/support/expected_files/remove_org_with_dependencies/build_228-282.json @@ -2,25 +2,35 @@ "table_name": "builds", "data": [ { - "id": 211, + "id": 228, "repository_id": null, "number": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", - "config": null, + "log": "", + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, "commit_id": null, "request_id": null, "state": null, "duration": null, - "owner_id": null, - "owner_type": null, + "owner_type": "Organization", + "owner_id": 1, "event_type": null, "previous_state": null, "pull_request_title": null, "pull_request_number": null, - "branch": null, "canceled_at": null, "cached_matrix_ids": null, "received_at": null, @@ -28,29 +38,44 @@ "pull_request_id": null, "branch_id": null, "tag_id": null, - "sender_id": 9, - "sender_type": "User" + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null }, { - "id": 260, + "id": 229, "repository_id": null, "number": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", - "config": null, + "log": "", + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, "commit_id": null, "request_id": null, "state": null, "duration": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "event_type": null, "previous_state": null, "pull_request_title": null, "pull_request_number": null, - "branch": null, "canceled_at": null, "cached_matrix_ids": null, "received_at": null, @@ -58,29 +83,44 @@ "pull_request_id": null, "branch_id": null, "tag_id": null, - "sender_id": 9, - "sender_type": "User" + "sender_type": "Organization", + "sender_id": 1, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null }, { - "id": 261, + "id": 279, "repository_id": null, "number": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", - "config": null, + "log": "", + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, "commit_id": null, - "request_id": 55, + "request_id": null, "state": null, "duration": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "event_type": null, "previous_state": null, "pull_request_title": null, "pull_request_number": null, - "branch": null, "canceled_at": null, "cached_matrix_ids": null, "received_at": null, @@ -88,29 +128,44 @@ "pull_request_id": null, "branch_id": null, "tag_id": null, - "sender_id": null, - "sender_type": null + "sender_type": "Organization", + "sender_id": 1, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null }, { - "id": 263, + "id": 280, "repository_id": null, "number": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", - "config": null, + "log": "", + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, "commit_id": null, - "request_id": 55, + "request_id": 59, "state": null, "duration": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "event_type": null, "previous_state": null, "pull_request_title": null, "pull_request_number": null, - "branch": null, "canceled_at": null, "cached_matrix_ids": null, "received_at": null, @@ -118,29 +173,44 @@ "pull_request_id": null, "branch_id": null, "tag_id": null, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null }, { - "id": 266, + "id": 282, "repository_id": null, "number": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", - "config": null, + "log": "", + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, "commit_id": null, - "request_id": 57, + "request_id": 59, "state": null, "duration": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "event_type": null, "previous_state": null, "pull_request_title": null, "pull_request_number": null, - "branch": null, "canceled_at": null, "cached_matrix_ids": null, "received_at": null, @@ -148,8 +218,13 @@ "pull_request_id": null, "branch_id": null, "tag_id": null, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/build_268-268.json b/spec/support/expected_files/remove_org_with_dependencies/build_268-268.json deleted file mode 100644 index 7d7f053..0000000 --- a/spec/support/expected_files/remove_org_with_dependencies/build_268-268.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "table_name": "builds", - "data": [ - { - "id": 268, - "repository_id": null, - "number": null, - "started_at": null, - "finished_at": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", - "config": null, - "commit_id": null, - "request_id": 57, - "state": null, - "duration": null, - "owner_id": null, - "owner_type": null, - "event_type": null, - "previous_state": null, - "pull_request_title": null, - "pull_request_number": null, - "branch": null, - "canceled_at": null, - "cached_matrix_ids": null, - "received_at": null, - "private": null, - "pull_request_id": null, - "branch_id": null, - "tag_id": null, - "sender_id": null, - "sender_type": null - } - ] -} \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/build_285-287.json b/spec/support/expected_files/remove_org_with_dependencies/build_285-287.json new file mode 100644 index 0000000..ba8ac2f --- /dev/null +++ b/spec/support/expected_files/remove_org_with_dependencies/build_285-287.json @@ -0,0 +1,95 @@ +{ + "table_name": "builds", + "data": [ + { + "id": 285, + "repository_id": null, + "number": null, + "started_at": null, + "finished_at": null, + "log": "", + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": null, + "request_id": 61, + "state": null, + "duration": null, + "owner_type": null, + "owner_id": null, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null + }, + { + "id": 287, + "repository_id": null, + "number": null, + "started_at": null, + "finished_at": null, + "log": "", + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": null, + "request_id": 61, + "state": null, + "duration": null, + "owner_type": null, + "owner_id": null, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/build_60-70.json b/spec/support/expected_files/remove_org_with_dependencies/build_61-71.json similarity index 52% rename from spec/support/expected_files/remove_user_with_dependencies/build_60-70.json rename to spec/support/expected_files/remove_org_with_dependencies/build_61-71.json index cbfc3c9..8953ab7 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/build_60-70.json +++ b/spec/support/expected_files/remove_org_with_dependencies/build_61-71.json @@ -2,55 +2,80 @@ "table_name": "builds", "data": [ { - "id": 60, + "id": 61, "repository_id": null, "number": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", - "config": null, + "log": "", + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, "commit_id": null, "request_id": null, "state": null, "duration": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "event_type": null, "previous_state": null, "pull_request_title": null, "pull_request_number": null, - "branch": null, "canceled_at": null, "cached_matrix_ids": null, "received_at": null, "private": null, "pull_request_id": null, - "branch_id": 86, + "branch_id": 14, "tag_id": null, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null }, { - "id": 63, + "id": 64, "repository_id": null, "number": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", - "config": null, - "commit_id": 217, + "log": "", + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": 7, "request_id": null, "state": null, "duration": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "event_type": null, "previous_state": null, "pull_request_title": null, "pull_request_number": null, - "branch": null, "canceled_at": null, "cached_matrix_ids": null, "received_at": null, @@ -58,29 +83,44 @@ "pull_request_id": null, "branch_id": null, "tag_id": null, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null }, { - "id": 65, + "id": 66, "repository_id": null, "number": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", - "config": null, - "commit_id": 217, + "log": "", + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": 7, "request_id": null, "state": null, "duration": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "event_type": null, "previous_state": null, "pull_request_title": null, "pull_request_number": null, - "branch": null, "canceled_at": null, "cached_matrix_ids": null, "received_at": null, @@ -88,29 +128,44 @@ "pull_request_id": null, "branch_id": null, "tag_id": null, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null }, { - "id": 68, + "id": 69, "repository_id": null, "number": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", - "config": null, + "log": "", + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, "commit_id": null, "request_id": 13, "state": null, "duration": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "event_type": null, "previous_state": null, "pull_request_title": null, "pull_request_number": null, - "branch": null, "canceled_at": null, "cached_matrix_ids": null, "received_at": null, @@ -118,29 +173,44 @@ "pull_request_id": null, "branch_id": null, "tag_id": null, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null }, { - "id": 70, + "id": 71, "repository_id": null, "number": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", - "config": null, + "log": "", + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, "commit_id": null, "request_id": 13, "state": null, "duration": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "event_type": null, "previous_state": null, "pull_request_title": null, "pull_request_number": null, - "branch": null, "canceled_at": null, "cached_matrix_ids": null, "received_at": null, @@ -148,8 +218,13 @@ "pull_request_id": null, "branch_id": null, "tag_id": null, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/build_73-83.json b/spec/support/expected_files/remove_org_with_dependencies/build_74-84.json similarity index 52% rename from spec/support/expected_files/remove_org_with_dependencies/build_73-83.json rename to spec/support/expected_files/remove_org_with_dependencies/build_74-84.json index deb1151..6922153 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/build_73-83.json +++ b/spec/support/expected_files/remove_org_with_dependencies/build_74-84.json @@ -2,25 +2,35 @@ "table_name": "builds", "data": [ { - "id": 73, + "id": 74, "repository_id": null, "number": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", - "config": null, + "log": "", + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, "commit_id": null, "request_id": 15, "state": null, "duration": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "event_type": null, "previous_state": null, "pull_request_title": null, "pull_request_number": null, - "branch": null, "canceled_at": null, "cached_matrix_ids": null, "received_at": null, @@ -28,29 +38,44 @@ "pull_request_id": null, "branch_id": null, "tag_id": null, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null }, { - "id": 75, + "id": 76, "repository_id": null, "number": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", - "config": null, + "log": "", + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, "commit_id": null, "request_id": 15, "state": null, "duration": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "event_type": null, "previous_state": null, "pull_request_title": null, "pull_request_number": null, - "branch": null, "canceled_at": null, "cached_matrix_ids": null, "received_at": null, @@ -58,29 +83,44 @@ "pull_request_id": null, "branch_id": null, "tag_id": null, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null }, { - "id": 78, + "id": 79, "repository_id": null, "number": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", - "config": null, - "commit_id": 219, + "log": "", + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": 9, "request_id": null, "state": null, "duration": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "event_type": null, "previous_state": null, "pull_request_title": null, "pull_request_number": null, - "branch": null, "canceled_at": null, "cached_matrix_ids": null, "received_at": null, @@ -88,29 +128,44 @@ "pull_request_id": null, "branch_id": null, "tag_id": null, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null }, { - "id": 80, + "id": 81, "repository_id": null, "number": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", - "config": null, - "commit_id": 219, + "log": "", + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": 9, "request_id": null, "state": null, "duration": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "event_type": null, "previous_state": null, "pull_request_title": null, "pull_request_number": null, - "branch": null, "canceled_at": null, "cached_matrix_ids": null, "received_at": null, @@ -118,29 +173,44 @@ "pull_request_id": null, "branch_id": null, "tag_id": null, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null }, { - "id": 83, + "id": 84, "repository_id": null, "number": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", - "config": null, + "log": "", + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, "commit_id": null, "request_id": 17, "state": null, "duration": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "event_type": null, "previous_state": null, "pull_request_title": null, "pull_request_number": null, - "branch": null, "canceled_at": null, "cached_matrix_ids": null, "received_at": null, @@ -148,8 +218,13 @@ "pull_request_id": null, "branch_id": null, "tag_id": null, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/build_85-140.json b/spec/support/expected_files/remove_org_with_dependencies/build_86-142.json similarity index 53% rename from spec/support/expected_files/remove_org_with_dependencies/build_85-140.json rename to spec/support/expected_files/remove_org_with_dependencies/build_86-142.json index 82588b1..0777864 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/build_85-140.json +++ b/spec/support/expected_files/remove_org_with_dependencies/build_86-142.json @@ -2,25 +2,35 @@ "table_name": "builds", "data": [ { - "id": 85, + "id": 86, "repository_id": null, "number": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", - "config": null, + "log": "", + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, "commit_id": null, "request_id": 17, "state": null, "duration": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "event_type": null, "previous_state": null, "pull_request_title": null, "pull_request_number": null, - "branch": null, "canceled_at": null, "cached_matrix_ids": null, "received_at": null, @@ -28,29 +38,44 @@ "pull_request_id": null, "branch_id": null, "tag_id": null, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null }, { - "id": 88, + "id": 89, "repository_id": null, "number": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", - "config": null, + "log": "", + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, "commit_id": null, "request_id": null, "state": null, "duration": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "event_type": null, "previous_state": null, "pull_request_title": null, "pull_request_number": null, - "branch": null, "canceled_at": null, "cached_matrix_ids": null, "received_at": null, @@ -58,29 +83,44 @@ "pull_request_id": 3, "branch_id": null, "tag_id": null, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null }, { - "id": 137, + "id": 139, "repository_id": null, "number": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", - "config": null, + "log": "", + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, "commit_id": null, "request_id": null, "state": null, "duration": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "event_type": null, "previous_state": null, "pull_request_title": null, "pull_request_number": null, - "branch": null, "canceled_at": null, "cached_matrix_ids": null, "received_at": null, @@ -88,29 +128,44 @@ "pull_request_id": 3, "branch_id": null, "tag_id": null, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null }, { - "id": 138, + "id": 140, "repository_id": null, "number": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", - "config": null, + "log": "", + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, "commit_id": null, "request_id": 29, "state": null, "duration": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "event_type": null, "previous_state": null, "pull_request_title": null, "pull_request_number": null, - "branch": null, "canceled_at": null, "cached_matrix_ids": null, "received_at": null, @@ -118,29 +173,44 @@ "pull_request_id": null, "branch_id": null, "tag_id": null, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null }, { - "id": 140, + "id": 142, "repository_id": null, "number": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", - "config": null, + "log": "", + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, "commit_id": null, "request_id": 29, "state": null, "duration": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "event_type": null, "previous_state": null, "pull_request_title": null, "pull_request_number": null, - "branch": null, "canceled_at": null, "cached_matrix_ids": null, "received_at": null, @@ -148,8 +218,13 @@ "pull_request_id": null, "branch_id": null, "tag_id": null, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/build_config_1-2.json b/spec/support/expected_files/remove_org_with_dependencies/build_config_1-2.json new file mode 100644 index 0000000..d314a1a --- /dev/null +++ b/spec/support/expected_files/remove_org_with_dependencies/build_config_1-2.json @@ -0,0 +1,21 @@ +{ + "table_name": "build_configs", + "data": [ + { + "id": 1, + "repository_id": 1, + "key": "some_test_key", + "org_id": null, + "com_id": null, + "config": null + }, + { + "id": 2, + "repository_id": 1, + "key": "some_test_key", + "org_id": null, + "com_id": null, + "config": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/commit_228-228.json b/spec/support/expected_files/remove_org_with_dependencies/commit_18-18.json similarity index 68% rename from spec/support/expected_files/remove_user_with_dependencies/commit_228-228.json rename to spec/support/expected_files/remove_org_with_dependencies/commit_18-18.json index e54000d..ca3b442 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/commit_228-228.json +++ b/spec/support/expected_files/remove_org_with_dependencies/commit_18-18.json @@ -2,7 +2,7 @@ "table_name": "commits", "data": [ { - "id": 228, + "id": 18, "repository_id": null, "commit": null, "ref": null, @@ -14,10 +14,12 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", "branch_id": null, - "tag_id": 33 + "tag_id": 33, + "org_id": null, + "com_id": null } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/commit_217-227.json b/spec/support/expected_files/remove_org_with_dependencies/commit_7-17.json similarity index 63% rename from spec/support/expected_files/remove_user_with_dependencies/commit_217-227.json rename to spec/support/expected_files/remove_org_with_dependencies/commit_7-17.json index 29115af..f67e189 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/commit_217-227.json +++ b/spec/support/expected_files/remove_org_with_dependencies/commit_7-17.json @@ -2,7 +2,7 @@ "table_name": "commits", "data": [ { - "id": 217, + "id": 7, "repository_id": null, "commit": null, "ref": null, @@ -14,13 +14,15 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", - "branch_id": 86, - "tag_id": null + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "branch_id": 14, + "tag_id": null, + "org_id": null, + "com_id": null }, { - "id": 218, + "id": 8, "repository_id": null, "commit": null, "ref": null, @@ -32,13 +34,15 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", - "branch_id": 86, - "tag_id": null + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "branch_id": 14, + "tag_id": null, + "org_id": null, + "com_id": null }, { - "id": 219, + "id": 9, "repository_id": 1, "commit": null, "ref": null, @@ -50,13 +54,15 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", "branch_id": null, - "tag_id": null + "tag_id": null, + "org_id": null, + "com_id": null }, { - "id": 220, + "id": 10, "repository_id": 1, "commit": null, "ref": null, @@ -68,13 +74,15 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", "branch_id": null, - "tag_id": null + "tag_id": null, + "org_id": null, + "com_id": null }, { - "id": 227, + "id": 17, "repository_id": null, "commit": null, "ref": null, @@ -86,10 +94,12 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", "branch_id": null, - "tag_id": 33 + "tag_id": 33, + "org_id": null, + "com_id": null } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/cron_2-2.json b/spec/support/expected_files/remove_org_with_dependencies/cron_2-2.json new file mode 100644 index 0000000..5fb1180 --- /dev/null +++ b/spec/support/expected_files/remove_org_with_dependencies/cron_2-2.json @@ -0,0 +1,18 @@ +{ + "table_name": "crons", + "data": [ + { + "id": 2, + "branch_id": 14, + "interval": "test", + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "next_run": null, + "last_run": null, + "dont_run_if_recent_build_exists": false, + "org_id": null, + "com_id": null, + "active": true + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/cron_3-4.json b/spec/support/expected_files/remove_org_with_dependencies/cron_3-4.json deleted file mode 100644 index 2bc9524..0000000 --- a/spec/support/expected_files/remove_org_with_dependencies/cron_3-4.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "table_name": "crons", - "data": [ - { - "id": 3, - "branch_id": 86, - "interval": "test", - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", - "next_run": null, - "last_run": null, - "dont_run_if_recent_build_exists": false - }, - { - "id": 4, - "branch_id": 86, - "interval": "test", - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", - "next_run": null, - "last_run": null, - "dont_run_if_recent_build_exists": false - } - ] -} \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/deleted_build_100-102.json b/spec/support/expected_files/remove_org_with_dependencies/deleted_build_100-102.json new file mode 100644 index 0000000..a06d13c --- /dev/null +++ b/spec/support/expected_files/remove_org_with_dependencies/deleted_build_100-102.json @@ -0,0 +1,140 @@ +{ + "table_name": "deleted_builds", + "data": [ + { + "id": 100, + "repository_id": null, + "number": null, + "started_at": null, + "finished_at": null, + "log": null, + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": null, + "request_id": 59, + "state": null, + "duration": null, + "owner_type": null, + "owner_id": null, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null + }, + { + "id": 101, + "repository_id": null, + "number": null, + "started_at": null, + "finished_at": null, + "log": null, + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": null, + "request_id": 61, + "state": null, + "duration": null, + "owner_type": null, + "owner_id": null, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null + }, + { + "id": 102, + "repository_id": null, + "number": null, + "started_at": null, + "finished_at": null, + "log": null, + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": null, + "request_id": 61, + "state": null, + "duration": null, + "owner_type": null, + "owner_id": null, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/deleted_build_17-21.json b/spec/support/expected_files/remove_org_with_dependencies/deleted_build_17-21.json new file mode 100644 index 0000000..5f39f72 --- /dev/null +++ b/spec/support/expected_files/remove_org_with_dependencies/deleted_build_17-21.json @@ -0,0 +1,230 @@ +{ + "table_name": "deleted_builds", + "data": [ + { + "id": 17, + "repository_id": null, + "number": null, + "started_at": null, + "finished_at": null, + "log": null, + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": null, + "request_id": 11, + "state": null, + "duration": null, + "owner_type": null, + "owner_id": null, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null + }, + { + "id": 18, + "repository_id": null, + "number": null, + "started_at": null, + "finished_at": null, + "log": null, + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": null, + "request_id": 11, + "state": null, + "duration": null, + "owner_type": null, + "owner_id": null, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null + }, + { + "id": 19, + "repository_id": null, + "number": null, + "started_at": null, + "finished_at": null, + "log": null, + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": null, + "request_id": null, + "state": null, + "duration": null, + "owner_type": null, + "owner_id": null, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": null, + "branch_id": 14, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null + }, + { + "id": 20, + "repository_id": null, + "number": null, + "started_at": null, + "finished_at": null, + "log": null, + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": null, + "request_id": null, + "state": null, + "duration": null, + "owner_type": null, + "owner_id": null, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": null, + "branch_id": 14, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null + }, + { + "id": 21, + "repository_id": null, + "number": null, + "started_at": null, + "finished_at": null, + "log": null, + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": null, + "request_id": 13, + "state": null, + "duration": null, + "owner_type": null, + "owner_id": null, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/deleted_build_22-26.json b/spec/support/expected_files/remove_org_with_dependencies/deleted_build_22-26.json new file mode 100644 index 0000000..3a3f8e6 --- /dev/null +++ b/spec/support/expected_files/remove_org_with_dependencies/deleted_build_22-26.json @@ -0,0 +1,230 @@ +{ + "table_name": "deleted_builds", + "data": [ + { + "id": 22, + "repository_id": null, + "number": null, + "started_at": null, + "finished_at": null, + "log": null, + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": null, + "request_id": 13, + "state": null, + "duration": null, + "owner_type": null, + "owner_id": null, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null + }, + { + "id": 23, + "repository_id": null, + "number": null, + "started_at": null, + "finished_at": null, + "log": null, + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": 7, + "request_id": null, + "state": null, + "duration": null, + "owner_type": null, + "owner_id": null, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null + }, + { + "id": 24, + "repository_id": null, + "number": null, + "started_at": null, + "finished_at": null, + "log": null, + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": 7, + "request_id": null, + "state": null, + "duration": null, + "owner_type": null, + "owner_id": null, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null + }, + { + "id": 25, + "repository_id": null, + "number": null, + "started_at": null, + "finished_at": null, + "log": null, + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": null, + "request_id": 15, + "state": null, + "duration": null, + "owner_type": null, + "owner_id": null, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null + }, + { + "id": 26, + "repository_id": null, + "number": null, + "started_at": null, + "finished_at": null, + "log": null, + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": null, + "request_id": 15, + "state": null, + "duration": null, + "owner_type": null, + "owner_id": null, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/deleted_build_27-47.json b/spec/support/expected_files/remove_org_with_dependencies/deleted_build_27-47.json new file mode 100644 index 0000000..77ca9c3 --- /dev/null +++ b/spec/support/expected_files/remove_org_with_dependencies/deleted_build_27-47.json @@ -0,0 +1,230 @@ +{ + "table_name": "deleted_builds", + "data": [ + { + "id": 27, + "repository_id": null, + "number": null, + "started_at": null, + "finished_at": null, + "log": null, + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": null, + "request_id": 17, + "state": null, + "duration": null, + "owner_type": null, + "owner_id": null, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null + }, + { + "id": 28, + "repository_id": null, + "number": null, + "started_at": null, + "finished_at": null, + "log": null, + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": null, + "request_id": 17, + "state": null, + "duration": null, + "owner_type": null, + "owner_id": null, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null + }, + { + "id": 29, + "repository_id": null, + "number": null, + "started_at": null, + "finished_at": null, + "log": null, + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": 9, + "request_id": null, + "state": null, + "duration": null, + "owner_type": null, + "owner_id": null, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null + }, + { + "id": 30, + "repository_id": null, + "number": null, + "started_at": null, + "finished_at": null, + "log": null, + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": 9, + "request_id": null, + "state": null, + "duration": null, + "owner_type": null, + "owner_id": null, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null + }, + { + "id": 47, + "repository_id": null, + "number": null, + "started_at": null, + "finished_at": null, + "log": null, + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": null, + "request_id": 29, + "state": null, + "duration": null, + "owner_type": null, + "owner_id": null, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/deleted_build_48-52.json b/spec/support/expected_files/remove_org_with_dependencies/deleted_build_48-52.json new file mode 100644 index 0000000..86d6a1d --- /dev/null +++ b/spec/support/expected_files/remove_org_with_dependencies/deleted_build_48-52.json @@ -0,0 +1,230 @@ +{ + "table_name": "deleted_builds", + "data": [ + { + "id": 48, + "repository_id": null, + "number": null, + "started_at": null, + "finished_at": null, + "log": null, + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": null, + "request_id": 29, + "state": null, + "duration": null, + "owner_type": null, + "owner_id": null, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null + }, + { + "id": 49, + "repository_id": null, + "number": null, + "started_at": null, + "finished_at": null, + "log": null, + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": null, + "request_id": null, + "state": null, + "duration": null, + "owner_type": null, + "owner_id": null, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": 3, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null + }, + { + "id": 50, + "repository_id": null, + "number": null, + "started_at": null, + "finished_at": null, + "log": null, + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": null, + "request_id": null, + "state": null, + "duration": null, + "owner_type": null, + "owner_id": null, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": 3, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null + }, + { + "id": 51, + "repository_id": null, + "number": null, + "started_at": null, + "finished_at": null, + "log": null, + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": null, + "request_id": 31, + "state": null, + "duration": null, + "owner_type": null, + "owner_id": null, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null + }, + { + "id": 52, + "repository_id": null, + "number": null, + "started_at": null, + "finished_at": null, + "log": null, + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": null, + "request_id": 31, + "state": null, + "duration": null, + "owner_type": null, + "owner_id": null, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/deleted_build_53-57.json b/spec/support/expected_files/remove_org_with_dependencies/deleted_build_53-57.json new file mode 100644 index 0000000..9cb0385 --- /dev/null +++ b/spec/support/expected_files/remove_org_with_dependencies/deleted_build_53-57.json @@ -0,0 +1,230 @@ +{ + "table_name": "deleted_builds", + "data": [ + { + "id": 53, + "repository_id": null, + "number": null, + "started_at": null, + "finished_at": null, + "log": null, + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": 17, + "request_id": null, + "state": null, + "duration": null, + "owner_type": null, + "owner_id": null, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null + }, + { + "id": 54, + "repository_id": null, + "number": null, + "started_at": null, + "finished_at": null, + "log": null, + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": 17, + "request_id": null, + "state": null, + "duration": null, + "owner_type": null, + "owner_id": null, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null + }, + { + "id": 55, + "repository_id": null, + "number": null, + "started_at": null, + "finished_at": null, + "log": null, + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": null, + "request_id": 33, + "state": null, + "duration": null, + "owner_type": null, + "owner_id": null, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null + }, + { + "id": 56, + "repository_id": null, + "number": null, + "started_at": null, + "finished_at": null, + "log": null, + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": null, + "request_id": 33, + "state": null, + "duration": null, + "owner_type": null, + "owner_id": null, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null + }, + { + "id": 57, + "repository_id": null, + "number": null, + "started_at": null, + "finished_at": null, + "log": null, + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": null, + "request_id": null, + "state": null, + "duration": null, + "owner_type": null, + "owner_id": null, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": 33, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/deleted_build_58-62.json b/spec/support/expected_files/remove_org_with_dependencies/deleted_build_58-62.json new file mode 100644 index 0000000..04c226e --- /dev/null +++ b/spec/support/expected_files/remove_org_with_dependencies/deleted_build_58-62.json @@ -0,0 +1,230 @@ +{ + "table_name": "deleted_builds", + "data": [ + { + "id": 58, + "repository_id": null, + "number": null, + "started_at": null, + "finished_at": null, + "log": null, + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": null, + "request_id": null, + "state": null, + "duration": null, + "owner_type": null, + "owner_id": null, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": 33, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null + }, + { + "id": 59, + "repository_id": null, + "number": null, + "started_at": null, + "finished_at": null, + "log": null, + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": null, + "request_id": null, + "state": null, + "duration": null, + "owner_type": null, + "owner_id": null, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": 1, + "restarted_at": null, + "unique_number": null + }, + { + "id": 60, + "repository_id": null, + "number": null, + "started_at": null, + "finished_at": null, + "log": null, + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": null, + "request_id": null, + "state": null, + "duration": null, + "owner_type": null, + "owner_id": null, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": 1, + "restarted_at": null, + "unique_number": null + }, + { + "id": 61, + "repository_id": null, + "number": null, + "started_at": null, + "finished_at": null, + "log": null, + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": null, + "request_id": 35, + "state": null, + "duration": null, + "owner_type": null, + "owner_id": null, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null + }, + { + "id": 62, + "repository_id": null, + "number": null, + "started_at": null, + "finished_at": null, + "log": null, + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": null, + "request_id": 35, + "state": null, + "duration": null, + "owner_type": null, + "owner_id": null, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/deleted_build_63-99.json b/spec/support/expected_files/remove_org_with_dependencies/deleted_build_63-99.json new file mode 100644 index 0000000..93dc568 --- /dev/null +++ b/spec/support/expected_files/remove_org_with_dependencies/deleted_build_63-99.json @@ -0,0 +1,230 @@ +{ + "table_name": "deleted_builds", + "data": [ + { + "id": 63, + "repository_id": null, + "number": null, + "started_at": null, + "finished_at": null, + "log": null, + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": null, + "request_id": 37, + "state": null, + "duration": null, + "owner_type": null, + "owner_id": null, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null + }, + { + "id": 64, + "repository_id": null, + "number": null, + "started_at": null, + "finished_at": null, + "log": null, + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": null, + "request_id": 37, + "state": null, + "duration": null, + "owner_type": null, + "owner_id": null, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null + }, + { + "id": 65, + "repository_id": 1, + "number": null, + "started_at": null, + "finished_at": null, + "log": null, + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": null, + "request_id": null, + "state": null, + "duration": null, + "owner_type": null, + "owner_id": null, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null + }, + { + "id": 66, + "repository_id": 1, + "number": null, + "started_at": null, + "finished_at": null, + "log": null, + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": null, + "request_id": null, + "state": null, + "duration": null, + "owner_type": null, + "owner_id": null, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null + }, + { + "id": 99, + "repository_id": null, + "number": null, + "started_at": null, + "finished_at": null, + "log": null, + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": null, + "request_id": 59, + "state": null, + "duration": null, + "owner_type": null, + "owner_id": null, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/deleted_build_config_1-2.json b/spec/support/expected_files/remove_org_with_dependencies/deleted_build_config_1-2.json new file mode 100644 index 0000000..6e20cc6 --- /dev/null +++ b/spec/support/expected_files/remove_org_with_dependencies/deleted_build_config_1-2.json @@ -0,0 +1,21 @@ +{ + "table_name": "deleted_build_configs", + "data": [ + { + "id": 1, + "repository_id": 1, + "key": "some_test_key", + "org_id": null, + "com_id": null, + "config": null + }, + { + "id": 2, + "repository_id": 1, + "key": "some_test_key", + "org_id": null, + "com_id": null, + "config": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/deleted_commit_14-14.json b/spec/support/expected_files/remove_org_with_dependencies/deleted_commit_14-14.json new file mode 100644 index 0000000..38d91ae --- /dev/null +++ b/spec/support/expected_files/remove_org_with_dependencies/deleted_commit_14-14.json @@ -0,0 +1,25 @@ +{ + "table_name": "deleted_commits", + "data": [ + { + "id": 14, + "repository_id": 1, + "commit": null, + "ref": null, + "branch": null, + "message": null, + "compare_url": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "branch_id": null, + "tag_id": null, + "org_id": null, + "com_id": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/deleted_commit_5-13.json b/spec/support/expected_files/remove_org_with_dependencies/deleted_commit_5-13.json new file mode 100644 index 0000000..45aa382 --- /dev/null +++ b/spec/support/expected_files/remove_org_with_dependencies/deleted_commit_5-13.json @@ -0,0 +1,105 @@ +{ + "table_name": "deleted_commits", + "data": [ + { + "id": 5, + "repository_id": null, + "commit": null, + "ref": null, + "branch": null, + "message": null, + "compare_url": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "branch_id": 14, + "tag_id": null, + "org_id": null, + "com_id": null + }, + { + "id": 6, + "repository_id": null, + "commit": null, + "ref": null, + "branch": null, + "message": null, + "compare_url": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "branch_id": 14, + "tag_id": null, + "org_id": null, + "com_id": null + }, + { + "id": 11, + "repository_id": null, + "commit": null, + "ref": null, + "branch": null, + "message": null, + "compare_url": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "branch_id": null, + "tag_id": 33, + "org_id": null, + "com_id": null + }, + { + "id": 12, + "repository_id": null, + "commit": null, + "ref": null, + "branch": null, + "message": null, + "compare_url": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "branch_id": null, + "tag_id": 33, + "org_id": null, + "com_id": null + }, + { + "id": 13, + "repository_id": 1, + "commit": null, + "ref": null, + "branch": null, + "message": null, + "compare_url": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "branch_id": null, + "tag_id": null, + "org_id": null, + "com_id": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/deleted_job_15-19.json b/spec/support/expected_files/remove_org_with_dependencies/deleted_job_15-19.json new file mode 100644 index 0000000..4f7eb6b --- /dev/null +++ b/spec/support/expected_files/remove_org_with_dependencies/deleted_job_15-19.json @@ -0,0 +1,175 @@ +{ + "table_name": "deleted_jobs", + "data": [ + { + "id": 15, + "repository_id": null, + "commit_id": null, + "source_type": "Build", + "source_id": 1, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": null, + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "tags": null, + "allow_failure": null, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + }, + { + "id": 16, + "repository_id": null, + "commit_id": null, + "source_type": "Request", + "source_id": 11, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": null, + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "tags": null, + "allow_failure": null, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + }, + { + "id": 17, + "repository_id": null, + "commit_id": null, + "source_type": "Request", + "source_id": 11, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": null, + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "tags": null, + "allow_failure": null, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + }, + { + "id": 18, + "repository_id": null, + "commit_id": null, + "source_type": "Branch", + "source_id": 14, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": null, + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "tags": null, + "allow_failure": null, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + }, + { + "id": 19, + "repository_id": null, + "commit_id": null, + "source_type": "Branch", + "source_id": 14, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": null, + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "tags": null, + "allow_failure": null, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/deleted_job_20-24.json b/spec/support/expected_files/remove_org_with_dependencies/deleted_job_20-24.json new file mode 100644 index 0000000..0bd188e --- /dev/null +++ b/spec/support/expected_files/remove_org_with_dependencies/deleted_job_20-24.json @@ -0,0 +1,175 @@ +{ + "table_name": "deleted_jobs", + "data": [ + { + "id": 20, + "repository_id": null, + "commit_id": null, + "source_type": "Request", + "source_id": 13, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": null, + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "tags": null, + "allow_failure": null, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + }, + { + "id": 21, + "repository_id": null, + "commit_id": null, + "source_type": "Request", + "source_id": 13, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": null, + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "tags": null, + "allow_failure": null, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + }, + { + "id": 22, + "repository_id": null, + "commit_id": 7, + "source_type": null, + "source_id": null, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": null, + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "tags": null, + "allow_failure": null, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + }, + { + "id": 23, + "repository_id": null, + "commit_id": 7, + "source_type": null, + "source_id": null, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": null, + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "tags": null, + "allow_failure": null, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + }, + { + "id": 24, + "repository_id": null, + "commit_id": null, + "source_type": "Request", + "source_id": 15, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": null, + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "tags": null, + "allow_failure": null, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/deleted_job_25-29.json b/spec/support/expected_files/remove_org_with_dependencies/deleted_job_25-29.json new file mode 100644 index 0000000..ab78b28 --- /dev/null +++ b/spec/support/expected_files/remove_org_with_dependencies/deleted_job_25-29.json @@ -0,0 +1,175 @@ +{ + "table_name": "deleted_jobs", + "data": [ + { + "id": 25, + "repository_id": null, + "commit_id": null, + "source_type": "Request", + "source_id": 15, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": null, + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "tags": null, + "allow_failure": null, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + }, + { + "id": 26, + "repository_id": null, + "commit_id": null, + "source_type": "Request", + "source_id": 17, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": null, + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "tags": null, + "allow_failure": null, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + }, + { + "id": 27, + "repository_id": null, + "commit_id": null, + "source_type": "Request", + "source_id": 17, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": null, + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "tags": null, + "allow_failure": null, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + }, + { + "id": 28, + "repository_id": null, + "commit_id": 9, + "source_type": null, + "source_id": null, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": null, + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "tags": null, + "allow_failure": null, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + }, + { + "id": 29, + "repository_id": null, + "commit_id": 9, + "source_type": null, + "source_id": null, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": null, + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "tags": null, + "allow_failure": null, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/deleted_job_44-48.json b/spec/support/expected_files/remove_org_with_dependencies/deleted_job_44-48.json new file mode 100644 index 0000000..c4d5b48 --- /dev/null +++ b/spec/support/expected_files/remove_org_with_dependencies/deleted_job_44-48.json @@ -0,0 +1,175 @@ +{ + "table_name": "deleted_jobs", + "data": [ + { + "id": 44, + "repository_id": null, + "commit_id": null, + "source_type": "Build", + "source_id": 89, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": null, + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "tags": null, + "allow_failure": null, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + }, + { + "id": 45, + "repository_id": null, + "commit_id": null, + "source_type": "Request", + "source_id": 29, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": null, + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "tags": null, + "allow_failure": null, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + }, + { + "id": 46, + "repository_id": null, + "commit_id": null, + "source_type": "Request", + "source_id": 29, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": null, + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "tags": null, + "allow_failure": null, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + }, + { + "id": 47, + "repository_id": null, + "commit_id": null, + "source_type": "Request", + "source_id": 31, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": null, + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "tags": null, + "allow_failure": null, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + }, + { + "id": 48, + "repository_id": null, + "commit_id": null, + "source_type": "Request", + "source_id": 31, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": null, + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "tags": null, + "allow_failure": null, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/deleted_job_49-53.json b/spec/support/expected_files/remove_org_with_dependencies/deleted_job_49-53.json new file mode 100644 index 0000000..8162f82 --- /dev/null +++ b/spec/support/expected_files/remove_org_with_dependencies/deleted_job_49-53.json @@ -0,0 +1,175 @@ +{ + "table_name": "deleted_jobs", + "data": [ + { + "id": 49, + "repository_id": null, + "commit_id": 17, + "source_type": null, + "source_id": null, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": null, + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "tags": null, + "allow_failure": null, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + }, + { + "id": 50, + "repository_id": null, + "commit_id": 17, + "source_type": null, + "source_id": null, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": null, + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "tags": null, + "allow_failure": null, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + }, + { + "id": 51, + "repository_id": null, + "commit_id": null, + "source_type": "Request", + "source_id": 33, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": null, + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "tags": null, + "allow_failure": null, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + }, + { + "id": 52, + "repository_id": null, + "commit_id": null, + "source_type": "Request", + "source_id": 33, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": null, + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "tags": null, + "allow_failure": null, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + }, + { + "id": 53, + "repository_id": null, + "commit_id": null, + "source_type": "Request", + "source_id": 35, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": null, + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "tags": null, + "allow_failure": null, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/deleted_job_54-58.json b/spec/support/expected_files/remove_org_with_dependencies/deleted_job_54-58.json new file mode 100644 index 0000000..0431853 --- /dev/null +++ b/spec/support/expected_files/remove_org_with_dependencies/deleted_job_54-58.json @@ -0,0 +1,175 @@ +{ + "table_name": "deleted_jobs", + "data": [ + { + "id": 54, + "repository_id": null, + "commit_id": null, + "source_type": "Request", + "source_id": 35, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": null, + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "tags": null, + "allow_failure": null, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + }, + { + "id": 55, + "repository_id": null, + "commit_id": null, + "source_type": null, + "source_id": null, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": null, + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "tags": null, + "allow_failure": null, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": 1, + "restarted_at": null, + "priority": null + }, + { + "id": 56, + "repository_id": null, + "commit_id": null, + "source_type": null, + "source_id": null, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": null, + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "tags": null, + "allow_failure": null, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": 1, + "restarted_at": null, + "priority": null + }, + { + "id": 57, + "repository_id": null, + "commit_id": null, + "source_type": "Request", + "source_id": 37, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": null, + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "tags": null, + "allow_failure": null, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + }, + { + "id": 58, + "repository_id": null, + "commit_id": null, + "source_type": "Request", + "source_id": 37, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": null, + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "tags": null, + "allow_failure": null, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/deleted_job_59-91.json b/spec/support/expected_files/remove_org_with_dependencies/deleted_job_59-91.json new file mode 100644 index 0000000..f94d38b --- /dev/null +++ b/spec/support/expected_files/remove_org_with_dependencies/deleted_job_59-91.json @@ -0,0 +1,175 @@ +{ + "table_name": "deleted_jobs", + "data": [ + { + "id": 59, + "repository_id": 1, + "commit_id": null, + "source_type": null, + "source_id": null, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": null, + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "tags": null, + "allow_failure": null, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + }, + { + "id": 60, + "repository_id": 1, + "commit_id": null, + "source_type": null, + "source_id": null, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": null, + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "tags": null, + "allow_failure": null, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + }, + { + "id": 75, + "repository_id": null, + "commit_id": null, + "source_type": "Build", + "source_id": 178, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": null, + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "tags": null, + "allow_failure": null, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + }, + { + "id": 90, + "repository_id": null, + "commit_id": null, + "source_type": "Build", + "source_id": 229, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": null, + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "tags": null, + "allow_failure": null, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + }, + { + "id": 91, + "repository_id": null, + "commit_id": null, + "source_type": "Request", + "source_id": 59, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": null, + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "tags": null, + "allow_failure": null, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/job_270-272.json b/spec/support/expected_files/remove_org_with_dependencies/deleted_job_92-94.json similarity index 54% rename from spec/support/expected_files/remove_org_with_dependencies/job_270-272.json rename to spec/support/expected_files/remove_org_with_dependencies/deleted_job_92-94.json index 172a265..31a23ae 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/job_270-272.json +++ b/spec/support/expected_files/remove_org_with_dependencies/deleted_job_92-94.json @@ -1,26 +1,26 @@ { - "table_name": "jobs", + "table_name": "deleted_jobs", "data": [ { - "id": 270, + "id": 92, "repository_id": null, "commit_id": null, - "source_id": 57, "source_type": "Request", + "source_id": 59, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": null, "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", "tags": null, - "allow_failure": false, - "owner_id": null, + "allow_failure": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -28,28 +28,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { - "id": 271, + "id": 93, "repository_id": null, "commit_id": null, - "source_id": null, - "source_type": null, + "source_type": "Request", + "source_id": 61, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": null, "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", "tags": null, - "allow_failure": false, - "owner_id": 1, - "owner_type": "Organization", + "allow_failure": null, + "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -57,28 +62,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { - "id": 272, + "id": 94, "repository_id": null, "commit_id": null, - "source_id": null, - "source_type": null, + "source_type": "Request", + "source_id": 61, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": null, "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", "tags": null, - "allow_failure": false, - "owner_id": 1, - "owner_type": "Organization", + "allow_failure": null, + "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -86,7 +96,12 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/deleted_job_config_1-2.json b/spec/support/expected_files/remove_org_with_dependencies/deleted_job_config_1-2.json new file mode 100644 index 0000000..49f6d54 --- /dev/null +++ b/spec/support/expected_files/remove_org_with_dependencies/deleted_job_config_1-2.json @@ -0,0 +1,21 @@ +{ + "table_name": "deleted_job_configs", + "data": [ + { + "id": 1, + "repository_id": 1, + "key": "some_test_key", + "org_id": null, + "com_id": null, + "config": null + }, + { + "id": 2, + "repository_id": 1, + "key": "some_test_key", + "org_id": null, + "com_id": null, + "config": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/deleted_pull_request_1-2.json b/spec/support/expected_files/remove_org_with_dependencies/deleted_pull_request_1-2.json new file mode 100644 index 0000000..42ad603 --- /dev/null +++ b/spec/support/expected_files/remove_org_with_dependencies/deleted_pull_request_1-2.json @@ -0,0 +1,43 @@ +{ + "table_name": "deleted_pull_requests", + "data": [ + { + "id": 1, + "repository_id": 1, + "number": null, + "title": null, + "state": null, + "head_repo_github_id": null, + "head_repo_slug": null, + "head_ref": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "org_id": null, + "com_id": null, + "mergeable_state": null, + "head_repo_vcs_id": null, + "base_repo_slug": null, + "base_repo_vcs_id": null, + "base_ref": null + }, + { + "id": 2, + "repository_id": 1, + "number": null, + "title": null, + "state": null, + "head_repo_github_id": null, + "head_repo_slug": null, + "head_ref": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "org_id": null, + "com_id": null, + "mergeable_state": null, + "head_repo_vcs_id": null, + "base_repo_slug": null, + "base_repo_vcs_id": null, + "base_ref": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/deleted_request_14-26.json b/spec/support/expected_files/remove_org_with_dependencies/deleted_request_14-26.json new file mode 100644 index 0000000..f8e7fbc --- /dev/null +++ b/spec/support/expected_files/remove_org_with_dependencies/deleted_request_14-26.json @@ -0,0 +1,165 @@ +{ + "table_name": "deleted_requests", + "data": [ + { + "id": 14, + "repository_id": null, + "commit_id": 9, + "state": null, + "source": null, + "token": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "event_type": null, + "comments_url": null, + "base_commit": null, + "head_commit": null, + "owner_type": null, + "owner_id": null, + "result": null, + "message": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "yaml_config_id": null, + "github_guid": null, + "pull_request_mergeable": null + }, + { + "id": 23, + "repository_id": null, + "commit_id": null, + "state": null, + "source": null, + "token": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "event_type": null, + "comments_url": null, + "base_commit": null, + "head_commit": null, + "owner_type": null, + "owner_id": null, + "result": null, + "message": null, + "private": null, + "pull_request_id": 3, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "yaml_config_id": null, + "github_guid": null, + "pull_request_mergeable": null + }, + { + "id": 24, + "repository_id": null, + "commit_id": null, + "state": null, + "source": null, + "token": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "event_type": null, + "comments_url": null, + "base_commit": null, + "head_commit": null, + "owner_type": null, + "owner_id": null, + "result": null, + "message": null, + "private": null, + "pull_request_id": 3, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "yaml_config_id": null, + "github_guid": null, + "pull_request_mergeable": null + }, + { + "id": 25, + "repository_id": null, + "commit_id": 17, + "state": null, + "source": null, + "token": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "event_type": null, + "comments_url": null, + "base_commit": null, + "head_commit": null, + "owner_type": null, + "owner_id": null, + "result": null, + "message": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "yaml_config_id": null, + "github_guid": null, + "pull_request_mergeable": null + }, + { + "id": 26, + "repository_id": null, + "commit_id": 17, + "state": null, + "source": null, + "token": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "event_type": null, + "comments_url": null, + "base_commit": null, + "head_commit": null, + "owner_type": null, + "owner_id": null, + "result": null, + "message": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "yaml_config_id": null, + "github_guid": null, + "pull_request_mergeable": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/deleted_request_27-31.json b/spec/support/expected_files/remove_org_with_dependencies/deleted_request_27-31.json new file mode 100644 index 0000000..a906f6c --- /dev/null +++ b/spec/support/expected_files/remove_org_with_dependencies/deleted_request_27-31.json @@ -0,0 +1,165 @@ +{ + "table_name": "deleted_requests", + "data": [ + { + "id": 27, + "repository_id": null, + "commit_id": null, + "state": null, + "source": null, + "token": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "event_type": null, + "comments_url": null, + "base_commit": null, + "head_commit": null, + "owner_type": null, + "owner_id": null, + "result": null, + "message": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": 33, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "yaml_config_id": null, + "github_guid": null, + "pull_request_mergeable": null + }, + { + "id": 28, + "repository_id": null, + "commit_id": null, + "state": null, + "source": null, + "token": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "event_type": null, + "comments_url": null, + "base_commit": null, + "head_commit": null, + "owner_type": null, + "owner_id": null, + "result": null, + "message": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": 33, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "yaml_config_id": null, + "github_guid": null, + "pull_request_mergeable": null + }, + { + "id": 29, + "repository_id": null, + "commit_id": null, + "state": null, + "source": null, + "token": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "event_type": null, + "comments_url": null, + "base_commit": null, + "head_commit": null, + "owner_type": null, + "owner_id": null, + "result": null, + "message": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": 1, + "yaml_config_id": null, + "github_guid": null, + "pull_request_mergeable": null + }, + { + "id": 30, + "repository_id": null, + "commit_id": null, + "state": null, + "source": null, + "token": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "event_type": null, + "comments_url": null, + "base_commit": null, + "head_commit": null, + "owner_type": null, + "owner_id": null, + "result": null, + "message": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": 1, + "yaml_config_id": null, + "github_guid": null, + "pull_request_mergeable": null + }, + { + "id": 31, + "repository_id": null, + "commit_id": null, + "state": null, + "source": null, + "token": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "event_type": null, + "comments_url": null, + "base_commit": null, + "head_commit": null, + "owner_type": null, + "owner_id": null, + "result": null, + "message": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": 1, + "yaml_config_id": null, + "github_guid": null, + "pull_request_mergeable": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/request_56-58.json b/spec/support/expected_files/remove_org_with_dependencies/deleted_request_32-34.json similarity index 55% rename from spec/support/expected_files/remove_org_with_dependencies/request_56-58.json rename to spec/support/expected_files/remove_org_with_dependencies/deleted_request_32-34.json index 130db6e..658b930 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/request_56-58.json +++ b/spec/support/expected_files/remove_org_with_dependencies/deleted_request_32-34.json @@ -1,89 +1,101 @@ { - "table_name": "requests", + "table_name": "deleted_requests", "data": [ { - "id": 56, + "id": 32, "repository_id": null, "commit_id": null, "state": null, "source": null, - "payload": null, "token": null, - "config": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", "event_type": null, "comments_url": null, "base_commit": null, "head_commit": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "message": null, "private": null, "pull_request_id": null, "branch_id": null, "tag_id": null, - "sender_id": 1, - "sender_type": "Organization" + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": 1, + "yaml_config_id": null, + "github_guid": null, + "pull_request_mergeable": null }, { - "id": 57, - "repository_id": null, + "id": 33, + "repository_id": 1, "commit_id": null, "state": null, "source": null, - "payload": null, "token": null, - "config": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", "event_type": null, "comments_url": null, "base_commit": null, "head_commit": null, - "owner_id": 1, - "owner_type": "Organization", + "owner_type": null, + "owner_id": null, "result": null, "message": null, "private": null, "pull_request_id": null, "branch_id": null, "tag_id": null, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": null, + "yaml_config_id": null, + "github_guid": null, + "pull_request_mergeable": null }, { - "id": 58, - "repository_id": null, + "id": 34, + "repository_id": 1, "commit_id": null, "state": null, "source": null, - "payload": null, "token": null, - "config": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", "event_type": null, "comments_url": null, "base_commit": null, "head_commit": null, - "owner_id": 1, - "owner_type": "Organization", + "owner_type": null, + "owner_id": null, "result": null, "message": null, "private": null, "pull_request_id": null, "branch_id": null, "tag_id": null, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": null, + "yaml_config_id": null, + "github_guid": null, + "pull_request_mergeable": null } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/deleted_request_9-13.json b/spec/support/expected_files/remove_org_with_dependencies/deleted_request_9-13.json new file mode 100644 index 0000000..9b1173d --- /dev/null +++ b/spec/support/expected_files/remove_org_with_dependencies/deleted_request_9-13.json @@ -0,0 +1,165 @@ +{ + "table_name": "deleted_requests", + "data": [ + { + "id": 9, + "repository_id": null, + "commit_id": 7, + "state": null, + "source": null, + "token": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "event_type": null, + "comments_url": null, + "base_commit": null, + "head_commit": null, + "owner_type": null, + "owner_id": null, + "result": null, + "message": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "yaml_config_id": null, + "github_guid": null, + "pull_request_mergeable": null + }, + { + "id": 10, + "repository_id": null, + "commit_id": 7, + "state": null, + "source": null, + "token": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "event_type": null, + "comments_url": null, + "base_commit": null, + "head_commit": null, + "owner_type": null, + "owner_id": null, + "result": null, + "message": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "yaml_config_id": null, + "github_guid": null, + "pull_request_mergeable": null + }, + { + "id": 11, + "repository_id": null, + "commit_id": null, + "state": null, + "source": null, + "token": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "event_type": null, + "comments_url": null, + "base_commit": null, + "head_commit": null, + "owner_type": null, + "owner_id": null, + "result": null, + "message": null, + "private": null, + "pull_request_id": null, + "branch_id": 14, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "yaml_config_id": null, + "github_guid": null, + "pull_request_mergeable": null + }, + { + "id": 12, + "repository_id": null, + "commit_id": null, + "state": null, + "source": null, + "token": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "event_type": null, + "comments_url": null, + "base_commit": null, + "head_commit": null, + "owner_type": null, + "owner_id": null, + "result": null, + "message": null, + "private": null, + "pull_request_id": null, + "branch_id": 14, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "yaml_config_id": null, + "github_guid": null, + "pull_request_mergeable": null + }, + { + "id": 13, + "repository_id": null, + "commit_id": 9, + "state": null, + "source": null, + "token": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "event_type": null, + "comments_url": null, + "base_commit": null, + "head_commit": null, + "owner_type": null, + "owner_id": null, + "result": null, + "message": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "yaml_config_id": null, + "github_guid": null, + "pull_request_mergeable": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/deleted_request_config_1-2.json b/spec/support/expected_files/remove_org_with_dependencies/deleted_request_config_1-2.json new file mode 100644 index 0000000..f441c10 --- /dev/null +++ b/spec/support/expected_files/remove_org_with_dependencies/deleted_request_config_1-2.json @@ -0,0 +1,21 @@ +{ + "table_name": "deleted_request_configs", + "data": [ + { + "id": 1, + "repository_id": 1, + "key": "some_test_key", + "org_id": null, + "com_id": null, + "config": null + }, + { + "id": 2, + "repository_id": 1, + "key": "some_test_key", + "org_id": null, + "com_id": null, + "config": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/deleted_request_payload_14-26.json b/spec/support/expected_files/remove_org_with_dependencies/deleted_request_payload_14-26.json new file mode 100644 index 0000000..f2f7c57 --- /dev/null +++ b/spec/support/expected_files/remove_org_with_dependencies/deleted_request_payload_14-26.json @@ -0,0 +1,45 @@ +{ + "table_name": "deleted_request_payloads", + "data": [ + { + "id": 14, + "request_id": 15, + "payload": null, + "archived": null, + "created_at": "2021-08-31 07:45:37 UTC", + "org_id": null + }, + { + "id": 15, + "request_id": 17, + "payload": null, + "archived": null, + "created_at": "2021-08-31 07:45:37 UTC", + "org_id": null + }, + { + "id": 16, + "request_id": 17, + "payload": null, + "archived": null, + "created_at": "2021-08-31 07:45:37 UTC", + "org_id": null + }, + { + "id": 25, + "request_id": 29, + "payload": null, + "archived": null, + "created_at": "2021-08-31 07:45:37 UTC", + "org_id": null + }, + { + "id": 26, + "request_id": 29, + "payload": null, + "archived": null, + "created_at": "2021-08-31 07:45:37 UTC", + "org_id": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/deleted_request_payload_27-31.json b/spec/support/expected_files/remove_org_with_dependencies/deleted_request_payload_27-31.json new file mode 100644 index 0000000..4575160 --- /dev/null +++ b/spec/support/expected_files/remove_org_with_dependencies/deleted_request_payload_27-31.json @@ -0,0 +1,45 @@ +{ + "table_name": "deleted_request_payloads", + "data": [ + { + "id": 27, + "request_id": 31, + "payload": null, + "archived": null, + "created_at": "2021-08-31 07:45:37 UTC", + "org_id": null + }, + { + "id": 28, + "request_id": 31, + "payload": null, + "archived": null, + "created_at": "2021-08-31 07:45:37 UTC", + "org_id": null + }, + { + "id": 29, + "request_id": 33, + "payload": null, + "archived": null, + "created_at": "2021-08-31 07:45:37 UTC", + "org_id": null + }, + { + "id": 30, + "request_id": 33, + "payload": null, + "archived": null, + "created_at": "2021-08-31 07:45:37 UTC", + "org_id": null + }, + { + "id": 31, + "request_id": 35, + "payload": null, + "archived": null, + "created_at": "2021-08-31 07:45:37 UTC", + "org_id": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/deleted_request_payload_32-52.json b/spec/support/expected_files/remove_org_with_dependencies/deleted_request_payload_32-52.json new file mode 100644 index 0000000..98af45d --- /dev/null +++ b/spec/support/expected_files/remove_org_with_dependencies/deleted_request_payload_32-52.json @@ -0,0 +1,45 @@ +{ + "table_name": "deleted_request_payloads", + "data": [ + { + "id": 32, + "request_id": 35, + "payload": null, + "archived": null, + "created_at": "2021-08-31 07:45:37 UTC", + "org_id": null + }, + { + "id": 33, + "request_id": 37, + "payload": null, + "archived": null, + "created_at": "2021-08-31 07:45:37 UTC", + "org_id": null + }, + { + "id": 34, + "request_id": 37, + "payload": null, + "archived": null, + "created_at": "2021-08-31 07:45:37 UTC", + "org_id": null + }, + { + "id": 51, + "request_id": 59, + "payload": null, + "archived": null, + "created_at": "2021-08-31 07:45:37 UTC", + "org_id": null + }, + { + "id": 52, + "request_id": 59, + "payload": null, + "archived": null, + "created_at": "2021-08-31 07:45:37 UTC", + "org_id": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/deleted_request_payload_53-54.json b/spec/support/expected_files/remove_org_with_dependencies/deleted_request_payload_53-54.json new file mode 100644 index 0000000..49ff03c --- /dev/null +++ b/spec/support/expected_files/remove_org_with_dependencies/deleted_request_payload_53-54.json @@ -0,0 +1,21 @@ +{ + "table_name": "deleted_request_payloads", + "data": [ + { + "id": 53, + "request_id": 61, + "payload": null, + "archived": null, + "created_at": "2021-08-31 07:45:37 UTC", + "org_id": null + }, + { + "id": 54, + "request_id": 61, + "payload": null, + "archived": null, + "created_at": "2021-08-31 07:45:37 UTC", + "org_id": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/deleted_request_payload_9-13.json b/spec/support/expected_files/remove_org_with_dependencies/deleted_request_payload_9-13.json new file mode 100644 index 0000000..d2dbdbb --- /dev/null +++ b/spec/support/expected_files/remove_org_with_dependencies/deleted_request_payload_9-13.json @@ -0,0 +1,45 @@ +{ + "table_name": "deleted_request_payloads", + "data": [ + { + "id": 9, + "request_id": 11, + "payload": null, + "archived": null, + "created_at": "2021-08-31 07:45:37 UTC", + "org_id": null + }, + { + "id": 10, + "request_id": 11, + "payload": null, + "archived": null, + "created_at": "2021-08-31 07:45:37 UTC", + "org_id": null + }, + { + "id": 11, + "request_id": 13, + "payload": null, + "archived": null, + "created_at": "2021-08-31 07:45:37 UTC", + "org_id": null + }, + { + "id": 12, + "request_id": 13, + "payload": null, + "archived": null, + "created_at": "2021-08-31 07:45:37 UTC", + "org_id": null + }, + { + "id": 13, + "request_id": 15, + "payload": null, + "archived": null, + "created_at": "2021-08-31 07:45:37 UTC", + "org_id": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/deleted_request_raw_config_1-2.json b/spec/support/expected_files/remove_org_with_dependencies/deleted_request_raw_config_1-2.json new file mode 100644 index 0000000..410650c --- /dev/null +++ b/spec/support/expected_files/remove_org_with_dependencies/deleted_request_raw_config_1-2.json @@ -0,0 +1,19 @@ +{ + "table_name": "deleted_request_raw_configs", + "data": [ + { + "id": 1, + "config": null, + "repository_id": 1, + "key": "some_test_key", + "org_id": null + }, + { + "id": 2, + "config": null, + "repository_id": 1, + "key": "some_test_key", + "org_id": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/deleted_request_raw_configuration_14-26.json b/spec/support/expected_files/remove_org_with_dependencies/deleted_request_raw_configuration_14-26.json new file mode 100644 index 0000000..564a58f --- /dev/null +++ b/spec/support/expected_files/remove_org_with_dependencies/deleted_request_raw_configuration_14-26.json @@ -0,0 +1,45 @@ +{ + "table_name": "deleted_request_raw_configurations", + "data": [ + { + "id": 14, + "request_id": 15, + "request_raw_config_id": null, + "source": null, + "org_id": null, + "merge_mode": null + }, + { + "id": 15, + "request_id": 17, + "request_raw_config_id": null, + "source": null, + "org_id": null, + "merge_mode": null + }, + { + "id": 16, + "request_id": 17, + "request_raw_config_id": null, + "source": null, + "org_id": null, + "merge_mode": null + }, + { + "id": 25, + "request_id": 29, + "request_raw_config_id": null, + "source": null, + "org_id": null, + "merge_mode": null + }, + { + "id": 26, + "request_id": 29, + "request_raw_config_id": null, + "source": null, + "org_id": null, + "merge_mode": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/deleted_request_raw_configuration_27-31.json b/spec/support/expected_files/remove_org_with_dependencies/deleted_request_raw_configuration_27-31.json new file mode 100644 index 0000000..8a2c909 --- /dev/null +++ b/spec/support/expected_files/remove_org_with_dependencies/deleted_request_raw_configuration_27-31.json @@ -0,0 +1,45 @@ +{ + "table_name": "deleted_request_raw_configurations", + "data": [ + { + "id": 27, + "request_id": 31, + "request_raw_config_id": null, + "source": null, + "org_id": null, + "merge_mode": null + }, + { + "id": 28, + "request_id": 31, + "request_raw_config_id": null, + "source": null, + "org_id": null, + "merge_mode": null + }, + { + "id": 29, + "request_id": 33, + "request_raw_config_id": null, + "source": null, + "org_id": null, + "merge_mode": null + }, + { + "id": 30, + "request_id": 33, + "request_raw_config_id": null, + "source": null, + "org_id": null, + "merge_mode": null + }, + { + "id": 31, + "request_id": 35, + "request_raw_config_id": null, + "source": null, + "org_id": null, + "merge_mode": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/deleted_request_raw_configuration_32-36.json b/spec/support/expected_files/remove_org_with_dependencies/deleted_request_raw_configuration_32-36.json new file mode 100644 index 0000000..cbf91f2 --- /dev/null +++ b/spec/support/expected_files/remove_org_with_dependencies/deleted_request_raw_configuration_32-36.json @@ -0,0 +1,45 @@ +{ + "table_name": "deleted_request_raw_configurations", + "data": [ + { + "id": 32, + "request_id": 35, + "request_raw_config_id": null, + "source": null, + "org_id": null, + "merge_mode": null + }, + { + "id": 33, + "request_id": null, + "request_raw_config_id": 1, + "source": null, + "org_id": null, + "merge_mode": null + }, + { + "id": 34, + "request_id": null, + "request_raw_config_id": 1, + "source": null, + "org_id": null, + "merge_mode": null + }, + { + "id": 35, + "request_id": 37, + "request_raw_config_id": null, + "source": null, + "org_id": null, + "merge_mode": null + }, + { + "id": 36, + "request_id": 37, + "request_raw_config_id": null, + "source": null, + "org_id": null, + "merge_mode": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/deleted_request_raw_configuration_53-56.json b/spec/support/expected_files/remove_org_with_dependencies/deleted_request_raw_configuration_53-56.json new file mode 100644 index 0000000..cac04de --- /dev/null +++ b/spec/support/expected_files/remove_org_with_dependencies/deleted_request_raw_configuration_53-56.json @@ -0,0 +1,37 @@ +{ + "table_name": "deleted_request_raw_configurations", + "data": [ + { + "id": 53, + "request_id": 59, + "request_raw_config_id": null, + "source": null, + "org_id": null, + "merge_mode": null + }, + { + "id": 54, + "request_id": 59, + "request_raw_config_id": null, + "source": null, + "org_id": null, + "merge_mode": null + }, + { + "id": 55, + "request_id": 61, + "request_raw_config_id": null, + "source": null, + "org_id": null, + "merge_mode": null + }, + { + "id": 56, + "request_id": 61, + "request_raw_config_id": null, + "source": null, + "org_id": null, + "merge_mode": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/deleted_request_raw_configuration_9-13.json b/spec/support/expected_files/remove_org_with_dependencies/deleted_request_raw_configuration_9-13.json new file mode 100644 index 0000000..d0c3e3a --- /dev/null +++ b/spec/support/expected_files/remove_org_with_dependencies/deleted_request_raw_configuration_9-13.json @@ -0,0 +1,45 @@ +{ + "table_name": "deleted_request_raw_configurations", + "data": [ + { + "id": 9, + "request_id": 11, + "request_raw_config_id": null, + "source": null, + "org_id": null, + "merge_mode": null + }, + { + "id": 10, + "request_id": 11, + "request_raw_config_id": null, + "source": null, + "org_id": null, + "merge_mode": null + }, + { + "id": 11, + "request_id": 13, + "request_raw_config_id": null, + "source": null, + "org_id": null, + "merge_mode": null + }, + { + "id": 12, + "request_id": 13, + "request_raw_config_id": null, + "source": null, + "org_id": null, + "merge_mode": null + }, + { + "id": 13, + "request_id": 15, + "request_raw_config_id": null, + "source": null, + "org_id": null, + "merge_mode": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/deleted_request_yaml_config_1-2.json b/spec/support/expected_files/remove_org_with_dependencies/deleted_request_yaml_config_1-2.json new file mode 100644 index 0000000..c35bead --- /dev/null +++ b/spec/support/expected_files/remove_org_with_dependencies/deleted_request_yaml_config_1-2.json @@ -0,0 +1,21 @@ +{ + "table_name": "deleted_request_yaml_configs", + "data": [ + { + "id": 1, + "yaml": null, + "repository_id": 1, + "key": "some_test_key", + "org_id": null, + "com_id": null + }, + { + "id": 2, + "yaml": null, + "repository_id": 1, + "key": "some_test_key", + "org_id": null, + "com_id": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/deleted_ssl_key_1-2.json b/spec/support/expected_files/remove_org_with_dependencies/deleted_ssl_key_1-2.json new file mode 100644 index 0000000..5c3e6de --- /dev/null +++ b/spec/support/expected_files/remove_org_with_dependencies/deleted_ssl_key_1-2.json @@ -0,0 +1,25 @@ +{ + "table_name": "deleted_ssl_keys", + "data": [ + { + "id": 1, + "repository_id": 1, + "public_key": null, + "private_key": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "org_id": null, + "com_id": null + }, + { + "id": 2, + "repository_id": 1, + "public_key": null, + "private_key": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "org_id": null, + "com_id": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/deleted_stage_1-4.json b/spec/support/expected_files/remove_org_with_dependencies/deleted_stage_1-4.json new file mode 100644 index 0000000..fb1f496 --- /dev/null +++ b/spec/support/expected_files/remove_org_with_dependencies/deleted_stage_1-4.json @@ -0,0 +1,49 @@ +{ + "table_name": "deleted_stages", + "data": [ + { + "id": 1, + "build_id": 1, + "number": null, + "name": null, + "state": null, + "started_at": null, + "finished_at": null, + "org_id": null, + "com_id": null + }, + { + "id": 2, + "build_id": 89, + "number": null, + "name": null, + "state": null, + "started_at": null, + "finished_at": null, + "org_id": null, + "com_id": null + }, + { + "id": 3, + "build_id": 178, + "number": null, + "name": null, + "state": null, + "started_at": null, + "finished_at": null, + "org_id": null, + "com_id": null + }, + { + "id": 4, + "build_id": 229, + "number": null, + "name": null, + "state": null, + "started_at": null, + "finished_at": null, + "org_id": null, + "com_id": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/deleted_tag_3-4.json b/spec/support/expected_files/remove_org_with_dependencies/deleted_tag_3-4.json new file mode 100644 index 0000000..1b4d923 --- /dev/null +++ b/spec/support/expected_files/remove_org_with_dependencies/deleted_tag_3-4.json @@ -0,0 +1,27 @@ +{ + "table_name": "deleted_tags", + "data": [ + { + "id": 3, + "repository_id": 1, + "name": null, + "last_build_id": null, + "exists_on_github": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "org_id": null, + "com_id": null + }, + { + "id": 4, + "repository_id": 1, + "name": null, + "last_build_id": null, + "exists_on_github": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "org_id": null, + "com_id": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/email_unsubscribe_1-2.json b/spec/support/expected_files/remove_org_with_dependencies/email_unsubscribe_1-2.json new file mode 100644 index 0000000..913a996 --- /dev/null +++ b/spec/support/expected_files/remove_org_with_dependencies/email_unsubscribe_1-2.json @@ -0,0 +1,19 @@ +{ + "table_name": "email_unsubscribes", + "data": [ + { + "id": 1, + "user_id": null, + "repository_id": 1, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC" + }, + { + "id": 2, + "user_id": null, + "repository_id": 1, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC" + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/invoice_1-4.json b/spec/support/expected_files/remove_org_with_dependencies/invoice_1-4.json index b1963ac..f48847d 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/invoice_1-4.json +++ b/spec/support/expected_files/remove_org_with_dependencies/invoice_1-4.json @@ -4,8 +4,8 @@ { "id": 1, "object": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", "subscription_id": 1, "invoice_id": null, "stripe_id": null, @@ -14,8 +14,8 @@ { "id": 2, "object": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", "subscription_id": 1, "invoice_id": null, "stripe_id": null, @@ -24,8 +24,8 @@ { "id": 3, "object": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", "subscription_id": 2, "invoice_id": null, "stripe_id": null, @@ -34,8 +34,8 @@ { "id": 4, "object": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", "subscription_id": 2, "invoice_id": null, "stripe_id": null, diff --git a/spec/support/expected_files/remove_org_with_dependencies/job_149-155.json b/spec/support/expected_files/remove_org_with_dependencies/job_146-154.json similarity index 64% rename from spec/support/expected_files/remove_org_with_dependencies/job_149-155.json rename to spec/support/expected_files/remove_org_with_dependencies/job_146-154.json index 8c705ae..1c19640 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/job_149-155.json +++ b/spec/support/expected_files/remove_org_with_dependencies/job_146-154.json @@ -2,25 +2,25 @@ "table_name": "jobs", "data": [ { - "id": 149, + "id": 146, "repository_id": null, - "commit_id": 227, - "source_id": null, - "source_type": null, + "commit_id": null, + "source_type": "Build", + "source_id": 145, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -28,28 +28,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { - "id": 150, + "id": 149, "repository_id": null, - "commit_id": 227, - "source_id": null, - "source_type": null, + "commit_id": null, + "source_type": "Build", + "source_id": 148, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -57,28 +62,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { - "id": 152, + "id": 151, "repository_id": null, - "commit_id": null, - "source_id": 151, - "source_type": "Build", + "commit_id": 17, + "source_type": null, + "source_id": null, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -86,28 +96,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { - "id": 154, + "id": 152, "repository_id": null, - "commit_id": null, - "source_id": 31, - "source_type": "Request", + "commit_id": 17, + "source_type": null, + "source_id": null, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -115,28 +130,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { - "id": 155, + "id": 154, "repository_id": null, "commit_id": null, - "source_id": 31, - "source_type": "Request", + "source_type": "Build", + "source_id": 153, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -144,7 +164,12 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/job_262-269.json b/spec/support/expected_files/remove_org_with_dependencies/job_156-162.json similarity index 64% rename from spec/support/expected_files/remove_user_with_dependencies/job_262-269.json rename to spec/support/expected_files/remove_org_with_dependencies/job_156-162.json index f433a03..4ff308b 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/job_262-269.json +++ b/spec/support/expected_files/remove_org_with_dependencies/job_156-162.json @@ -2,25 +2,25 @@ "table_name": "jobs", "data": [ { - "id": 262, + "id": 156, "repository_id": null, "commit_id": null, - "source_id": 261, - "source_type": "Build", + "source_type": "Request", + "source_id": 31, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -28,28 +28,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { - "id": 264, + "id": 157, "repository_id": null, "commit_id": null, - "source_id": 55, "source_type": "Request", + "source_id": 31, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -57,28 +62,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { - "id": 265, + "id": 159, "repository_id": null, "commit_id": null, - "source_id": 55, - "source_type": "Request", + "source_type": "Build", + "source_id": 158, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -86,28 +96,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { - "id": 267, + "id": 161, "repository_id": null, "commit_id": null, - "source_id": 266, - "source_type": "Build", + "source_type": "Request", + "source_id": 33, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -115,28 +130,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { - "id": 269, + "id": 162, "repository_id": null, "commit_id": null, - "source_id": 57, "source_type": "Request", + "source_id": 33, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -144,7 +164,12 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/job_164-171.json b/spec/support/expected_files/remove_org_with_dependencies/job_164-171.json new file mode 100644 index 0000000..9e8f9ff --- /dev/null +++ b/spec/support/expected_files/remove_org_with_dependencies/job_164-171.json @@ -0,0 +1,175 @@ +{ + "table_name": "jobs", + "data": [ + { + "id": 164, + "repository_id": null, + "commit_id": null, + "source_type": "Build", + "source_id": 163, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": "", + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "tags": null, + "allow_failure": false, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + }, + { + "id": 167, + "repository_id": null, + "commit_id": null, + "source_type": "Build", + "source_id": 166, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": "", + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "tags": null, + "allow_failure": false, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + }, + { + "id": 169, + "repository_id": null, + "commit_id": null, + "source_type": "Request", + "source_id": 35, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": "", + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "tags": null, + "allow_failure": false, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + }, + { + "id": 170, + "repository_id": null, + "commit_id": null, + "source_type": "Request", + "source_id": 35, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": "", + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "tags": null, + "allow_failure": false, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + }, + { + "id": 171, + "repository_id": null, + "commit_id": null, + "source_type": null, + "source_id": null, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": "", + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "tags": null, + "allow_failure": false, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": 1, + "restarted_at": null, + "priority": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/job_157-163.json b/spec/support/expected_files/remove_org_with_dependencies/job_172-179.json similarity index 66% rename from spec/support/expected_files/remove_org_with_dependencies/job_157-163.json rename to spec/support/expected_files/remove_org_with_dependencies/job_172-179.json index 64ec3e3..72c2521 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/job_157-163.json +++ b/spec/support/expected_files/remove_org_with_dependencies/job_172-179.json @@ -2,25 +2,25 @@ "table_name": "jobs", "data": [ { - "id": 157, + "id": 172, "repository_id": null, "commit_id": null, - "source_id": 156, - "source_type": "Build", + "source_type": null, + "source_id": null, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -28,28 +28,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": 1, + "restarted_at": null, + "priority": null }, { - "id": 159, + "id": 174, "repository_id": null, "commit_id": null, - "source_id": 33, - "source_type": "Request", + "source_type": "Build", + "source_id": 173, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -57,28 +62,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { - "id": 160, + "id": 176, "repository_id": null, "commit_id": null, - "source_id": 33, "source_type": "Request", + "source_id": 37, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -86,28 +96,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { - "id": 162, + "id": 177, "repository_id": null, "commit_id": null, - "source_id": null, - "source_type": null, + "source_type": "Request", + "source_id": 37, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -115,28 +130,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": 52 + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { - "id": 163, + "id": 179, "repository_id": null, "commit_id": null, - "source_id": null, "source_type": null, + "source_id": null, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -144,7 +164,12 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": 52 + "stage_id": 38, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/job_164-212.json b/spec/support/expected_files/remove_org_with_dependencies/job_180-184.json similarity index 66% rename from spec/support/expected_files/remove_user_with_dependencies/job_164-212.json rename to spec/support/expected_files/remove_org_with_dependencies/job_180-184.json index f1e39fc..a1ef5a5 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/job_164-212.json +++ b/spec/support/expected_files/remove_org_with_dependencies/job_180-184.json @@ -2,25 +2,25 @@ "table_name": "jobs", "data": [ { - "id": 164, + "id": 180, "repository_id": null, "commit_id": null, - "source_id": null, "source_type": null, + "source_id": null, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -28,28 +28,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": 53 + "stage_id": 38, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { - "id": 165, + "id": 181, "repository_id": null, "commit_id": null, - "source_id": null, "source_type": null, + "source_id": null, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -57,28 +62,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": 53 + "stage_id": 39, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { - "id": 166, + "id": 182, "repository_id": null, "commit_id": null, - "source_id": 161, - "source_type": "Build", + "source_type": null, + "source_id": null, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -86,28 +96,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": 39, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { - "id": 167, + "id": 183, "repository_id": null, "commit_id": null, - "source_id": 161, "source_type": "Build", + "source_id": 178, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -115,28 +130,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { - "id": 212, + "id": 184, "repository_id": null, "commit_id": null, - "source_id": null, - "source_type": null, + "source_type": "Build", + "source_id": 178, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -144,7 +164,12 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": 62 + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/job_213-217.json b/spec/support/expected_files/remove_org_with_dependencies/job_185-233.json similarity index 65% rename from spec/support/expected_files/remove_user_with_dependencies/job_213-217.json rename to spec/support/expected_files/remove_org_with_dependencies/job_185-233.json index a0d8575..d2eeeff 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/job_213-217.json +++ b/spec/support/expected_files/remove_org_with_dependencies/job_185-233.json @@ -2,25 +2,25 @@ "table_name": "jobs", "data": [ { - "id": 213, + "id": 185, "repository_id": null, "commit_id": null, - "source_id": null, - "source_type": null, + "source_type": "Build", + "source_id": 178, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -28,28 +28,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": 62 + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { - "id": 214, + "id": 230, "repository_id": null, "commit_id": null, - "source_id": null, "source_type": null, + "source_id": null, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -57,28 +62,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": 63 + "stage_id": 49, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { - "id": 215, + "id": 231, "repository_id": null, "commit_id": null, - "source_id": null, "source_type": null, + "source_id": null, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -86,28 +96,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": 63 + "stage_id": 49, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { - "id": 216, + "id": 232, "repository_id": null, "commit_id": null, - "source_id": 211, - "source_type": "Build", + "source_type": null, + "source_id": null, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -115,28 +130,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": 50, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { - "id": 217, + "id": 233, "repository_id": null, "commit_id": null, - "source_id": 211, - "source_type": "Build", + "source_type": null, + "source_id": null, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -144,7 +164,12 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": 50, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/job_2-6.json b/spec/support/expected_files/remove_org_with_dependencies/job_2-6.json index c8d418e..11db019 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/job_2-6.json +++ b/spec/support/expected_files/remove_org_with_dependencies/job_2-6.json @@ -5,22 +5,22 @@ "id": 2, "repository_id": null, "commit_id": null, - "source_id": null, "source_type": null, + "source_id": null, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -28,28 +28,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": 20 + "stage_id": 1, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { "id": 3, "repository_id": null, "commit_id": null, - "source_id": null, "source_type": null, + "source_id": null, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -57,28 +62,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": 20 + "stage_id": 1, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { "id": 4, "repository_id": null, "commit_id": null, - "source_id": null, "source_type": null, + "source_id": null, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -86,28 +96,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": 21 + "stage_id": 2, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { "id": 5, "repository_id": null, "commit_id": null, - "source_id": null, "source_type": null, + "source_id": null, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -115,28 +130,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": 21 + "stage_id": 2, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { "id": 6, "repository_id": null, "commit_id": null, - "source_id": 1, "source_type": "Build", + "source_id": 1, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -144,7 +164,12 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/job_234-283.json b/spec/support/expected_files/remove_org_with_dependencies/job_234-283.json new file mode 100644 index 0000000..4f4b035 --- /dev/null +++ b/spec/support/expected_files/remove_org_with_dependencies/job_234-283.json @@ -0,0 +1,175 @@ +{ + "table_name": "jobs", + "data": [ + { + "id": 234, + "repository_id": null, + "commit_id": null, + "source_type": "Build", + "source_id": 229, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": "", + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "tags": null, + "allow_failure": false, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + }, + { + "id": 235, + "repository_id": null, + "commit_id": null, + "source_type": "Build", + "source_id": 229, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": "", + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "tags": null, + "allow_failure": false, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + }, + { + "id": 236, + "repository_id": null, + "commit_id": null, + "source_type": "Build", + "source_id": 229, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": "", + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "tags": null, + "allow_failure": false, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + }, + { + "id": 281, + "repository_id": null, + "commit_id": null, + "source_type": "Build", + "source_id": 280, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": "", + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "tags": null, + "allow_failure": false, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + }, + { + "id": 283, + "repository_id": null, + "commit_id": null, + "source_type": "Request", + "source_id": 59, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": "", + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "tags": null, + "allow_failure": false, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/job_284-290.json b/spec/support/expected_files/remove_org_with_dependencies/job_284-290.json new file mode 100644 index 0000000..b9f1ff3 --- /dev/null +++ b/spec/support/expected_files/remove_org_with_dependencies/job_284-290.json @@ -0,0 +1,175 @@ +{ + "table_name": "jobs", + "data": [ + { + "id": 284, + "repository_id": null, + "commit_id": null, + "source_type": "Request", + "source_id": 59, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": "", + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "tags": null, + "allow_failure": false, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + }, + { + "id": 286, + "repository_id": null, + "commit_id": null, + "source_type": "Build", + "source_id": 285, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": "", + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "tags": null, + "allow_failure": false, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + }, + { + "id": 288, + "repository_id": null, + "commit_id": null, + "source_type": "Request", + "source_id": 61, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": "", + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "tags": null, + "allow_failure": false, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + }, + { + "id": 289, + "repository_id": null, + "commit_id": null, + "source_type": "Request", + "source_id": 61, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": "", + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "tags": null, + "allow_failure": false, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + }, + { + "id": 290, + "repository_id": null, + "commit_id": null, + "source_type": null, + "source_id": null, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": "", + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "tags": null, + "allow_failure": false, + "owner_type": "Organization", + "owner_id": 1, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/job_291-291.json b/spec/support/expected_files/remove_org_with_dependencies/job_291-291.json new file mode 100644 index 0000000..849d666 --- /dev/null +++ b/spec/support/expected_files/remove_org_with_dependencies/job_291-291.json @@ -0,0 +1,39 @@ +{ + "table_name": "jobs", + "data": [ + { + "id": 291, + "repository_id": null, + "commit_id": null, + "source_type": null, + "source_id": null, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": "", + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "tags": null, + "allow_failure": false, + "owner_type": "Organization", + "owner_id": 1, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/job_57-64.json b/spec/support/expected_files/remove_org_with_dependencies/job_57-63.json similarity index 64% rename from spec/support/expected_files/remove_user_with_dependencies/job_57-64.json rename to spec/support/expected_files/remove_org_with_dependencies/job_57-63.json index 544ae31..db69fa9 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/job_57-64.json +++ b/spec/support/expected_files/remove_org_with_dependencies/job_57-63.json @@ -5,22 +5,22 @@ "id": 57, "repository_id": 1, "commit_id": null, - "source_id": null, "source_type": null, + "source_id": null, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -28,28 +28,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { - "id": 59, - "repository_id": null, + "id": 58, + "repository_id": 1, "commit_id": null, - "source_id": 58, - "source_type": "Build", + "source_type": null, + "source_id": null, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -57,28 +62,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { - "id": 61, + "id": 60, "repository_id": null, "commit_id": null, - "source_id": 86, - "source_type": "Branch", + "source_type": "Build", + "source_id": 59, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -86,28 +96,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { "id": 62, "repository_id": null, "commit_id": null, - "source_id": 86, "source_type": "Branch", + "source_id": 14, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -115,28 +130,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { - "id": 64, + "id": 63, "repository_id": null, "commit_id": null, - "source_id": 63, - "source_type": "Build", + "source_type": "Branch", + "source_id": 14, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -144,7 +164,12 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/job_66-72.json b/spec/support/expected_files/remove_org_with_dependencies/job_65-72.json similarity index 65% rename from spec/support/expected_files/remove_org_with_dependencies/job_66-72.json rename to spec/support/expected_files/remove_org_with_dependencies/job_65-72.json index 2ebbf08..ba193e0 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/job_66-72.json +++ b/spec/support/expected_files/remove_org_with_dependencies/job_65-72.json @@ -2,25 +2,25 @@ "table_name": "jobs", "data": [ { - "id": 66, + "id": 65, "repository_id": null, - "commit_id": 217, - "source_id": null, - "source_type": null, + "commit_id": null, + "source_type": "Build", + "source_id": 64, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -28,28 +28,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { "id": 67, "repository_id": null, - "commit_id": 217, - "source_id": null, + "commit_id": 7, "source_type": null, + "source_id": null, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -57,28 +62,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { - "id": 69, + "id": 68, "repository_id": null, - "commit_id": null, - "source_id": 68, - "source_type": "Build", + "commit_id": 7, + "source_type": null, + "source_id": null, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -86,28 +96,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { - "id": 71, + "id": 70, "repository_id": null, "commit_id": null, - "source_id": 13, - "source_type": "Request", + "source_type": "Build", + "source_id": 69, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -115,28 +130,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { "id": 72, "repository_id": null, "commit_id": null, - "source_id": 13, "source_type": "Request", + "source_id": 13, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -144,7 +164,12 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/job_7-56.json b/spec/support/expected_files/remove_org_with_dependencies/job_7-56.json index ae8161e..16159fd 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/job_7-56.json +++ b/spec/support/expected_files/remove_org_with_dependencies/job_7-56.json @@ -5,22 +5,22 @@ "id": 7, "repository_id": null, "commit_id": null, - "source_id": 1, "source_type": "Build", + "source_id": 1, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -28,28 +28,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { - "id": 52, + "id": 8, "repository_id": null, "commit_id": null, - "source_id": 51, "source_type": "Build", + "source_id": 1, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -57,28 +62,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { - "id": 54, + "id": 53, "repository_id": null, "commit_id": null, - "source_id": 11, - "source_type": "Request", + "source_type": "Build", + "source_id": 52, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -86,28 +96,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { "id": 55, "repository_id": null, "commit_id": null, - "source_id": 11, "source_type": "Request", + "source_id": 11, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -115,28 +130,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { "id": 56, - "repository_id": 1, + "repository_id": null, "commit_id": null, - "source_id": null, - "source_type": null, + "source_type": "Request", + "source_id": 11, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -144,7 +164,12 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/job_74-81.json b/spec/support/expected_files/remove_org_with_dependencies/job_73-80.json similarity index 65% rename from spec/support/expected_files/remove_org_with_dependencies/job_74-81.json rename to spec/support/expected_files/remove_org_with_dependencies/job_73-80.json index 9b7f8c4..b2ebb3e 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/job_74-81.json +++ b/spec/support/expected_files/remove_org_with_dependencies/job_73-80.json @@ -2,25 +2,25 @@ "table_name": "jobs", "data": [ { - "id": 74, + "id": 73, "repository_id": null, "commit_id": null, - "source_id": 73, - "source_type": "Build", + "source_type": "Request", + "source_id": 13, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -28,28 +28,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { - "id": 76, + "id": 75, "repository_id": null, "commit_id": null, - "source_id": 15, - "source_type": "Request", + "source_type": "Build", + "source_id": 74, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -57,28 +62,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { "id": 77, "repository_id": null, "commit_id": null, - "source_id": 15, "source_type": "Request", + "source_id": 15, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -86,28 +96,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { - "id": 79, + "id": 78, "repository_id": null, "commit_id": null, - "source_id": 78, - "source_type": "Build", + "source_type": "Request", + "source_id": 15, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -115,28 +130,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { - "id": 81, + "id": 80, "repository_id": null, - "commit_id": 219, - "source_id": null, - "source_type": null, + "commit_id": null, + "source_type": "Build", + "source_id": 79, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -144,7 +164,12 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/job_82-89.json b/spec/support/expected_files/remove_org_with_dependencies/job_82-88.json similarity index 66% rename from spec/support/expected_files/remove_user_with_dependencies/job_82-89.json rename to spec/support/expected_files/remove_org_with_dependencies/job_82-88.json index 210a41d..44bcc14 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/job_82-89.json +++ b/spec/support/expected_files/remove_org_with_dependencies/job_82-88.json @@ -4,23 +4,23 @@ { "id": 82, "repository_id": null, - "commit_id": 219, - "source_id": null, + "commit_id": 9, "source_type": null, + "source_id": null, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -28,28 +28,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { - "id": 84, + "id": 83, "repository_id": null, - "commit_id": null, - "source_id": 83, - "source_type": "Build", + "commit_id": 9, + "source_type": null, + "source_id": null, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -57,28 +62,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { - "id": 86, + "id": 85, "repository_id": null, "commit_id": null, - "source_id": 17, - "source_type": "Request", + "source_type": "Build", + "source_id": 84, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -86,28 +96,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { "id": 87, "repository_id": null, "commit_id": null, - "source_id": 17, "source_type": "Request", + "source_id": 17, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -115,28 +130,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { - "id": 89, + "id": 88, "repository_id": null, "commit_id": null, - "source_id": null, - "source_type": null, + "source_type": "Request", + "source_id": 17, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -144,7 +164,12 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": 37 + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/job_90-94.json b/spec/support/expected_files/remove_org_with_dependencies/job_90-94.json index f6f2570..4764473 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/job_90-94.json +++ b/spec/support/expected_files/remove_org_with_dependencies/job_90-94.json @@ -5,22 +5,22 @@ "id": 90, "repository_id": null, "commit_id": null, - "source_id": null, "source_type": null, + "source_id": null, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -28,28 +28,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": 37 + "stage_id": 19, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { "id": 91, "repository_id": null, "commit_id": null, - "source_id": null, "source_type": null, + "source_id": null, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -57,28 +62,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": 38 + "stage_id": 19, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { "id": 92, "repository_id": null, "commit_id": null, - "source_id": null, "source_type": null, + "source_id": null, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -86,28 +96,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": 38 + "stage_id": 20, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { "id": 93, "repository_id": null, "commit_id": null, - "source_id": 88, - "source_type": "Build", + "source_type": null, + "source_id": null, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -115,28 +130,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": 20, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { "id": 94, "repository_id": null, "commit_id": null, - "source_id": 88, "source_type": "Build", + "source_id": 89, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -144,7 +164,12 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/job_139-147.json b/spec/support/expected_files/remove_org_with_dependencies/job_95-144.json similarity index 66% rename from spec/support/expected_files/remove_user_with_dependencies/job_139-147.json rename to spec/support/expected_files/remove_org_with_dependencies/job_95-144.json index 0e12cb0..2df5751 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/job_139-147.json +++ b/spec/support/expected_files/remove_org_with_dependencies/job_95-144.json @@ -2,25 +2,25 @@ "table_name": "jobs", "data": [ { - "id": 139, + "id": 95, "repository_id": null, "commit_id": null, - "source_id": 138, "source_type": "Build", + "source_id": 89, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -28,28 +28,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { - "id": 141, + "id": 96, "repository_id": null, "commit_id": null, - "source_id": 29, - "source_type": "Request", + "source_type": "Build", + "source_id": 89, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -57,28 +62,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { - "id": 142, + "id": 141, "repository_id": null, "commit_id": null, - "source_id": 29, - "source_type": "Request", + "source_type": "Build", + "source_id": 140, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -86,28 +96,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { - "id": 144, + "id": 143, "repository_id": null, "commit_id": null, - "source_id": 143, - "source_type": "Build", + "source_type": "Request", + "source_id": 29, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -115,28 +130,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { - "id": 147, + "id": 144, "repository_id": null, "commit_id": null, - "source_id": 146, - "source_type": "Build", + "source_type": "Request", + "source_id": 29, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -144,7 +164,12 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/job_config_1-2.json b/spec/support/expected_files/remove_org_with_dependencies/job_config_1-2.json new file mode 100644 index 0000000..381267e --- /dev/null +++ b/spec/support/expected_files/remove_org_with_dependencies/job_config_1-2.json @@ -0,0 +1,21 @@ +{ + "table_name": "job_configs", + "data": [ + { + "id": 1, + "repository_id": 1, + "key": "some_test_key", + "org_id": null, + "com_id": null, + "config": null + }, + { + "id": 2, + "repository_id": 1, + "key": "some_test_key", + "org_id": null, + "com_id": null, + "config": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/job_version_1-19.json b/spec/support/expected_files/remove_org_with_dependencies/job_version_1-19.json new file mode 100644 index 0000000..ec5e957 --- /dev/null +++ b/spec/support/expected_files/remove_org_with_dependencies/job_version_1-19.json @@ -0,0 +1,65 @@ +{ + "table_name": "job_versions", + "data": [ + { + "id": 1, + "job_id": 6, + "number": null, + "state": null, + "created_at": "2021-08-31 07:45:37 UTC", + "queued_at": null, + "received_at": null, + "started_at": null, + "finished_at": null, + "restarted_at": null + }, + { + "id": 2, + "job_id": 6, + "number": null, + "state": null, + "created_at": "2021-08-31 07:45:37 UTC", + "queued_at": null, + "received_at": null, + "started_at": null, + "finished_at": null, + "restarted_at": null + }, + { + "id": 17, + "job_id": 55, + "number": null, + "state": null, + "created_at": "2021-08-31 07:45:37 UTC", + "queued_at": null, + "received_at": null, + "started_at": null, + "finished_at": null, + "restarted_at": null + }, + { + "id": 18, + "job_id": 55, + "number": null, + "state": null, + "created_at": "2021-08-31 07:45:37 UTC", + "queued_at": null, + "received_at": null, + "started_at": null, + "finished_at": null, + "restarted_at": null + }, + { + "id": 19, + "job_id": 57, + "number": null, + "state": null, + "created_at": "2021-08-31 07:45:37 UTC", + "queued_at": null, + "received_at": null, + "started_at": null, + "finished_at": null, + "restarted_at": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/job_version_20-24.json b/spec/support/expected_files/remove_org_with_dependencies/job_version_20-24.json new file mode 100644 index 0000000..2fcc351 --- /dev/null +++ b/spec/support/expected_files/remove_org_with_dependencies/job_version_20-24.json @@ -0,0 +1,65 @@ +{ + "table_name": "job_versions", + "data": [ + { + "id": 20, + "job_id": 57, + "number": null, + "state": null, + "created_at": "2021-08-31 07:45:37 UTC", + "queued_at": null, + "received_at": null, + "started_at": null, + "finished_at": null, + "restarted_at": null + }, + { + "id": 21, + "job_id": 62, + "number": null, + "state": null, + "created_at": "2021-08-31 07:45:37 UTC", + "queued_at": null, + "received_at": null, + "started_at": null, + "finished_at": null, + "restarted_at": null + }, + { + "id": 22, + "job_id": 62, + "number": null, + "state": null, + "created_at": "2021-08-31 07:45:37 UTC", + "queued_at": null, + "received_at": null, + "started_at": null, + "finished_at": null, + "restarted_at": null + }, + { + "id": 23, + "job_id": 67, + "number": null, + "state": null, + "created_at": "2021-08-31 07:45:37 UTC", + "queued_at": null, + "received_at": null, + "started_at": null, + "finished_at": null, + "restarted_at": null + }, + { + "id": 24, + "job_id": 67, + "number": null, + "state": null, + "created_at": "2021-08-31 07:45:37 UTC", + "queued_at": null, + "received_at": null, + "started_at": null, + "finished_at": null, + "restarted_at": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/job_version_25-29.json b/spec/support/expected_files/remove_org_with_dependencies/job_version_25-29.json new file mode 100644 index 0000000..8b948be --- /dev/null +++ b/spec/support/expected_files/remove_org_with_dependencies/job_version_25-29.json @@ -0,0 +1,65 @@ +{ + "table_name": "job_versions", + "data": [ + { + "id": 25, + "job_id": 72, + "number": null, + "state": null, + "created_at": "2021-08-31 07:45:37 UTC", + "queued_at": null, + "received_at": null, + "started_at": null, + "finished_at": null, + "restarted_at": null + }, + { + "id": 26, + "job_id": 72, + "number": null, + "state": null, + "created_at": "2021-08-31 07:45:37 UTC", + "queued_at": null, + "received_at": null, + "started_at": null, + "finished_at": null, + "restarted_at": null + }, + { + "id": 27, + "job_id": 77, + "number": null, + "state": null, + "created_at": "2021-08-31 07:45:37 UTC", + "queued_at": null, + "received_at": null, + "started_at": null, + "finished_at": null, + "restarted_at": null + }, + { + "id": 28, + "job_id": 77, + "number": null, + "state": null, + "created_at": "2021-08-31 07:45:37 UTC", + "queued_at": null, + "received_at": null, + "started_at": null, + "finished_at": null, + "restarted_at": null + }, + { + "id": 29, + "job_id": 82, + "number": null, + "state": null, + "created_at": "2021-08-31 07:45:37 UTC", + "queued_at": null, + "received_at": null, + "started_at": null, + "finished_at": null, + "restarted_at": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/job_version_30-34.json b/spec/support/expected_files/remove_org_with_dependencies/job_version_30-34.json new file mode 100644 index 0000000..7e01f1f --- /dev/null +++ b/spec/support/expected_files/remove_org_with_dependencies/job_version_30-34.json @@ -0,0 +1,65 @@ +{ + "table_name": "job_versions", + "data": [ + { + "id": 30, + "job_id": 82, + "number": null, + "state": null, + "created_at": "2021-08-31 07:45:37 UTC", + "queued_at": null, + "received_at": null, + "started_at": null, + "finished_at": null, + "restarted_at": null + }, + { + "id": 31, + "job_id": 87, + "number": null, + "state": null, + "created_at": "2021-08-31 07:45:37 UTC", + "queued_at": null, + "received_at": null, + "started_at": null, + "finished_at": null, + "restarted_at": null + }, + { + "id": 32, + "job_id": 87, + "number": null, + "state": null, + "created_at": "2021-08-31 07:45:37 UTC", + "queued_at": null, + "received_at": null, + "started_at": null, + "finished_at": null, + "restarted_at": null + }, + { + "id": 33, + "job_id": 94, + "number": null, + "state": null, + "created_at": "2021-08-31 07:45:37 UTC", + "queued_at": null, + "received_at": null, + "started_at": null, + "finished_at": null, + "restarted_at": null + }, + { + "id": 34, + "job_id": 94, + "number": null, + "state": null, + "created_at": "2021-08-31 07:45:37 UTC", + "queued_at": null, + "received_at": null, + "started_at": null, + "finished_at": null, + "restarted_at": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/job_version_49-53.json b/spec/support/expected_files/remove_org_with_dependencies/job_version_49-53.json new file mode 100644 index 0000000..1578ac1 --- /dev/null +++ b/spec/support/expected_files/remove_org_with_dependencies/job_version_49-53.json @@ -0,0 +1,65 @@ +{ + "table_name": "job_versions", + "data": [ + { + "id": 49, + "job_id": 143, + "number": null, + "state": null, + "created_at": "2021-08-31 07:45:37 UTC", + "queued_at": null, + "received_at": null, + "started_at": null, + "finished_at": null, + "restarted_at": null + }, + { + "id": 50, + "job_id": 143, + "number": null, + "state": null, + "created_at": "2021-08-31 07:45:37 UTC", + "queued_at": null, + "received_at": null, + "started_at": null, + "finished_at": null, + "restarted_at": null + }, + { + "id": 51, + "job_id": 151, + "number": null, + "state": null, + "created_at": "2021-08-31 07:45:37 UTC", + "queued_at": null, + "received_at": null, + "started_at": null, + "finished_at": null, + "restarted_at": null + }, + { + "id": 52, + "job_id": 151, + "number": null, + "state": null, + "created_at": "2021-08-31 07:45:37 UTC", + "queued_at": null, + "received_at": null, + "started_at": null, + "finished_at": null, + "restarted_at": null + }, + { + "id": 53, + "job_id": 156, + "number": null, + "state": null, + "created_at": "2021-08-31 07:45:37 UTC", + "queued_at": null, + "received_at": null, + "started_at": null, + "finished_at": null, + "restarted_at": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/job_version_54-58.json b/spec/support/expected_files/remove_org_with_dependencies/job_version_54-58.json new file mode 100644 index 0000000..5282dd6 --- /dev/null +++ b/spec/support/expected_files/remove_org_with_dependencies/job_version_54-58.json @@ -0,0 +1,65 @@ +{ + "table_name": "job_versions", + "data": [ + { + "id": 54, + "job_id": 156, + "number": null, + "state": null, + "created_at": "2021-08-31 07:45:37 UTC", + "queued_at": null, + "received_at": null, + "started_at": null, + "finished_at": null, + "restarted_at": null + }, + { + "id": 55, + "job_id": 161, + "number": null, + "state": null, + "created_at": "2021-08-31 07:45:37 UTC", + "queued_at": null, + "received_at": null, + "started_at": null, + "finished_at": null, + "restarted_at": null + }, + { + "id": 56, + "job_id": 161, + "number": null, + "state": null, + "created_at": "2021-08-31 07:45:37 UTC", + "queued_at": null, + "received_at": null, + "started_at": null, + "finished_at": null, + "restarted_at": null + }, + { + "id": 57, + "job_id": 169, + "number": null, + "state": null, + "created_at": "2021-08-31 07:45:37 UTC", + "queued_at": null, + "received_at": null, + "started_at": null, + "finished_at": null, + "restarted_at": null + }, + { + "id": 58, + "job_id": 169, + "number": null, + "state": null, + "created_at": "2021-08-31 07:45:37 UTC", + "queued_at": null, + "received_at": null, + "started_at": null, + "finished_at": null, + "restarted_at": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/job_version_59-63.json b/spec/support/expected_files/remove_org_with_dependencies/job_version_59-63.json new file mode 100644 index 0000000..12db679 --- /dev/null +++ b/spec/support/expected_files/remove_org_with_dependencies/job_version_59-63.json @@ -0,0 +1,65 @@ +{ + "table_name": "job_versions", + "data": [ + { + "id": 59, + "job_id": 171, + "number": null, + "state": null, + "created_at": "2021-08-31 07:45:37 UTC", + "queued_at": null, + "received_at": null, + "started_at": null, + "finished_at": null, + "restarted_at": null + }, + { + "id": 60, + "job_id": 171, + "number": null, + "state": null, + "created_at": "2021-08-31 07:45:37 UTC", + "queued_at": null, + "received_at": null, + "started_at": null, + "finished_at": null, + "restarted_at": null + }, + { + "id": 61, + "job_id": 176, + "number": null, + "state": null, + "created_at": "2021-08-31 07:45:37 UTC", + "queued_at": null, + "received_at": null, + "started_at": null, + "finished_at": null, + "restarted_at": null + }, + { + "id": 62, + "job_id": 176, + "number": null, + "state": null, + "created_at": "2021-08-31 07:45:37 UTC", + "queued_at": null, + "received_at": null, + "started_at": null, + "finished_at": null, + "restarted_at": null + }, + { + "id": 63, + "job_id": 183, + "number": null, + "state": null, + "created_at": "2021-08-31 07:45:37 UTC", + "queued_at": null, + "received_at": null, + "started_at": null, + "finished_at": null, + "restarted_at": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/job_version_64-96.json b/spec/support/expected_files/remove_org_with_dependencies/job_version_64-96.json new file mode 100644 index 0000000..9b129c3 --- /dev/null +++ b/spec/support/expected_files/remove_org_with_dependencies/job_version_64-96.json @@ -0,0 +1,65 @@ +{ + "table_name": "job_versions", + "data": [ + { + "id": 64, + "job_id": 183, + "number": null, + "state": null, + "created_at": "2021-08-31 07:45:37 UTC", + "queued_at": null, + "received_at": null, + "started_at": null, + "finished_at": null, + "restarted_at": null + }, + { + "id": 79, + "job_id": 234, + "number": null, + "state": null, + "created_at": "2021-08-31 07:45:37 UTC", + "queued_at": null, + "received_at": null, + "started_at": null, + "finished_at": null, + "restarted_at": null + }, + { + "id": 80, + "job_id": 234, + "number": null, + "state": null, + "created_at": "2021-08-31 07:45:37 UTC", + "queued_at": null, + "received_at": null, + "started_at": null, + "finished_at": null, + "restarted_at": null + }, + { + "id": 95, + "job_id": 283, + "number": null, + "state": null, + "created_at": "2021-08-31 07:45:37 UTC", + "queued_at": null, + "received_at": null, + "started_at": null, + "finished_at": null, + "restarted_at": null + }, + { + "id": 96, + "job_id": 283, + "number": null, + "state": null, + "created_at": "2021-08-31 07:45:37 UTC", + "queued_at": null, + "received_at": null, + "started_at": null, + "finished_at": null, + "restarted_at": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/job_version_97-100.json b/spec/support/expected_files/remove_org_with_dependencies/job_version_97-100.json new file mode 100644 index 0000000..bb200d0 --- /dev/null +++ b/spec/support/expected_files/remove_org_with_dependencies/job_version_97-100.json @@ -0,0 +1,53 @@ +{ + "table_name": "job_versions", + "data": [ + { + "id": 97, + "job_id": 288, + "number": null, + "state": null, + "created_at": "2021-08-31 07:45:37 UTC", + "queued_at": null, + "received_at": null, + "started_at": null, + "finished_at": null, + "restarted_at": null + }, + { + "id": 98, + "job_id": 288, + "number": null, + "state": null, + "created_at": "2021-08-31 07:45:37 UTC", + "queued_at": null, + "received_at": null, + "started_at": null, + "finished_at": null, + "restarted_at": null + }, + { + "id": 99, + "job_id": 290, + "number": null, + "state": null, + "created_at": "2021-08-31 07:45:37 UTC", + "queued_at": null, + "received_at": null, + "started_at": null, + "finished_at": null, + "restarted_at": null + }, + { + "id": 100, + "job_id": 290, + "number": null, + "state": null, + "created_at": "2021-08-31 07:45:37 UTC", + "queued_at": null, + "received_at": null, + "started_at": null, + "finished_at": null, + "restarted_at": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/log_1-19.json b/spec/support/expected_files/remove_org_with_dependencies/log_1-19.json deleted file mode 100644 index 9a6da64..0000000 --- a/spec/support/expected_files/remove_org_with_dependencies/log_1-19.json +++ /dev/null @@ -1,75 +0,0 @@ -{ - "table_name": "logs", - "data": [ - { - "id": 1, - "job_id": 6, - "content": "some log content", - "removed_by": 1, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", - "aggregated_at": null, - "archived_at": null, - "purged_at": null, - "removed_at": null, - "archiving": false, - "archive_verified": true - }, - { - "id": 2, - "job_id": 6, - "content": "some log content", - "removed_by": 1, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", - "aggregated_at": null, - "archived_at": null, - "purged_at": null, - "removed_at": null, - "archiving": false, - "archive_verified": true - }, - { - "id": 17, - "job_id": 54, - "content": "some log content", - "removed_by": 1, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", - "aggregated_at": null, - "archived_at": null, - "purged_at": null, - "removed_at": null, - "archiving": false, - "archive_verified": true - }, - { - "id": 18, - "job_id": 54, - "content": "some log content", - "removed_by": 1, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", - "aggregated_at": null, - "archived_at": null, - "purged_at": null, - "removed_at": null, - "archiving": false, - "archive_verified": true - }, - { - "id": 19, - "job_id": 56, - "content": "some log content", - "removed_by": 1, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", - "aggregated_at": null, - "archived_at": null, - "purged_at": null, - "removed_at": null, - "archiving": false, - "archive_verified": true - } - ] -} \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/log_20-24.json b/spec/support/expected_files/remove_org_with_dependencies/log_20-24.json deleted file mode 100644 index 0d38ae6..0000000 --- a/spec/support/expected_files/remove_org_with_dependencies/log_20-24.json +++ /dev/null @@ -1,75 +0,0 @@ -{ - "table_name": "logs", - "data": [ - { - "id": 20, - "job_id": 56, - "content": "some log content", - "removed_by": 1, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", - "aggregated_at": null, - "archived_at": null, - "purged_at": null, - "removed_at": null, - "archiving": false, - "archive_verified": true - }, - { - "id": 21, - "job_id": 61, - "content": "some log content", - "removed_by": 1, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", - "aggregated_at": null, - "archived_at": null, - "purged_at": null, - "removed_at": null, - "archiving": false, - "archive_verified": true - }, - { - "id": 22, - "job_id": 61, - "content": "some log content", - "removed_by": 1, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", - "aggregated_at": null, - "archived_at": null, - "purged_at": null, - "removed_at": null, - "archiving": false, - "archive_verified": true - }, - { - "id": 23, - "job_id": 66, - "content": "some log content", - "removed_by": 1, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", - "aggregated_at": null, - "archived_at": null, - "purged_at": null, - "removed_at": null, - "archiving": false, - "archive_verified": true - }, - { - "id": 24, - "job_id": 66, - "content": "some log content", - "removed_by": 1, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", - "aggregated_at": null, - "archived_at": null, - "purged_at": null, - "removed_at": null, - "archiving": false, - "archive_verified": true - } - ] -} \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/log_25-29.json b/spec/support/expected_files/remove_org_with_dependencies/log_25-29.json deleted file mode 100644 index 292ae11..0000000 --- a/spec/support/expected_files/remove_org_with_dependencies/log_25-29.json +++ /dev/null @@ -1,75 +0,0 @@ -{ - "table_name": "logs", - "data": [ - { - "id": 25, - "job_id": 71, - "content": "some log content", - "removed_by": 1, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", - "aggregated_at": null, - "archived_at": null, - "purged_at": null, - "removed_at": null, - "archiving": false, - "archive_verified": true - }, - { - "id": 26, - "job_id": 71, - "content": "some log content", - "removed_by": 1, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", - "aggregated_at": null, - "archived_at": null, - "purged_at": null, - "removed_at": null, - "archiving": false, - "archive_verified": true - }, - { - "id": 27, - "job_id": 76, - "content": "some log content", - "removed_by": 1, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", - "aggregated_at": null, - "archived_at": null, - "purged_at": null, - "removed_at": null, - "archiving": false, - "archive_verified": true - }, - { - "id": 28, - "job_id": 76, - "content": "some log content", - "removed_by": 1, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", - "aggregated_at": null, - "archived_at": null, - "purged_at": null, - "removed_at": null, - "archiving": false, - "archive_verified": true - }, - { - "id": 29, - "job_id": 81, - "content": "some log content", - "removed_by": 1, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", - "aggregated_at": null, - "archived_at": null, - "purged_at": null, - "removed_at": null, - "archiving": false, - "archive_verified": true - } - ] -} \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/log_30-34.json b/spec/support/expected_files/remove_org_with_dependencies/log_30-34.json deleted file mode 100644 index d0d1e6f..0000000 --- a/spec/support/expected_files/remove_org_with_dependencies/log_30-34.json +++ /dev/null @@ -1,75 +0,0 @@ -{ - "table_name": "logs", - "data": [ - { - "id": 30, - "job_id": 81, - "content": "some log content", - "removed_by": 1, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", - "aggregated_at": null, - "archived_at": null, - "purged_at": null, - "removed_at": null, - "archiving": false, - "archive_verified": true - }, - { - "id": 31, - "job_id": 86, - "content": "some log content", - "removed_by": 1, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", - "aggregated_at": null, - "archived_at": null, - "purged_at": null, - "removed_at": null, - "archiving": false, - "archive_verified": true - }, - { - "id": 32, - "job_id": 86, - "content": "some log content", - "removed_by": 1, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", - "aggregated_at": null, - "archived_at": null, - "purged_at": null, - "removed_at": null, - "archiving": false, - "archive_verified": true - }, - { - "id": 33, - "job_id": 93, - "content": "some log content", - "removed_by": 1, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", - "aggregated_at": null, - "archived_at": null, - "purged_at": null, - "removed_at": null, - "archiving": false, - "archive_verified": true - }, - { - "id": 34, - "job_id": 93, - "content": "some log content", - "removed_by": 1, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", - "aggregated_at": null, - "archived_at": null, - "purged_at": null, - "removed_at": null, - "archiving": false, - "archive_verified": true - } - ] -} \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/log_49-53.json b/spec/support/expected_files/remove_org_with_dependencies/log_49-53.json deleted file mode 100644 index 4c44d28..0000000 --- a/spec/support/expected_files/remove_org_with_dependencies/log_49-53.json +++ /dev/null @@ -1,75 +0,0 @@ -{ - "table_name": "logs", - "data": [ - { - "id": 49, - "job_id": 141, - "content": "some log content", - "removed_by": 1, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", - "aggregated_at": null, - "archived_at": null, - "purged_at": null, - "removed_at": null, - "archiving": false, - "archive_verified": true - }, - { - "id": 50, - "job_id": 141, - "content": "some log content", - "removed_by": 1, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", - "aggregated_at": null, - "archived_at": null, - "purged_at": null, - "removed_at": null, - "archiving": false, - "archive_verified": true - }, - { - "id": 51, - "job_id": 149, - "content": "some log content", - "removed_by": 1, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", - "aggregated_at": null, - "archived_at": null, - "purged_at": null, - "removed_at": null, - "archiving": false, - "archive_verified": true - }, - { - "id": 52, - "job_id": 149, - "content": "some log content", - "removed_by": 1, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", - "aggregated_at": null, - "archived_at": null, - "purged_at": null, - "removed_at": null, - "archiving": false, - "archive_verified": true - }, - { - "id": 53, - "job_id": 154, - "content": "some log content", - "removed_by": 1, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", - "aggregated_at": null, - "archived_at": null, - "purged_at": null, - "removed_at": null, - "archiving": false, - "archive_verified": true - } - ] -} \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/log_54-58.json b/spec/support/expected_files/remove_org_with_dependencies/log_54-58.json deleted file mode 100644 index 0dc4c87..0000000 --- a/spec/support/expected_files/remove_org_with_dependencies/log_54-58.json +++ /dev/null @@ -1,75 +0,0 @@ -{ - "table_name": "logs", - "data": [ - { - "id": 54, - "job_id": 154, - "content": "some log content", - "removed_by": 1, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", - "aggregated_at": null, - "archived_at": null, - "purged_at": null, - "removed_at": null, - "archiving": false, - "archive_verified": true - }, - { - "id": 55, - "job_id": 159, - "content": "some log content", - "removed_by": 1, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", - "aggregated_at": null, - "archived_at": null, - "purged_at": null, - "removed_at": null, - "archiving": false, - "archive_verified": true - }, - { - "id": 56, - "job_id": 159, - "content": "some log content", - "removed_by": 1, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", - "aggregated_at": null, - "archived_at": null, - "purged_at": null, - "removed_at": null, - "archiving": false, - "archive_verified": true - }, - { - "id": 57, - "job_id": 166, - "content": "some log content", - "removed_by": 1, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", - "aggregated_at": null, - "archived_at": null, - "purged_at": null, - "removed_at": null, - "archiving": false, - "archive_verified": true - }, - { - "id": 58, - "job_id": 166, - "content": "some log content", - "removed_by": 1, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", - "aggregated_at": null, - "archived_at": null, - "purged_at": null, - "removed_at": null, - "archiving": false, - "archive_verified": true - } - ] -} \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/log_73-91.json b/spec/support/expected_files/remove_org_with_dependencies/log_73-91.json deleted file mode 100644 index acbaed6..0000000 --- a/spec/support/expected_files/remove_org_with_dependencies/log_73-91.json +++ /dev/null @@ -1,75 +0,0 @@ -{ - "table_name": "logs", - "data": [ - { - "id": 73, - "job_id": 216, - "content": "some log content", - "removed_by": 1, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", - "aggregated_at": null, - "archived_at": null, - "purged_at": null, - "removed_at": null, - "archiving": false, - "archive_verified": true - }, - { - "id": 74, - "job_id": 216, - "content": "some log content", - "removed_by": 1, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", - "aggregated_at": null, - "archived_at": null, - "purged_at": null, - "removed_at": null, - "archiving": false, - "archive_verified": true - }, - { - "id": 89, - "job_id": 264, - "content": "some log content", - "removed_by": 1, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", - "aggregated_at": null, - "archived_at": null, - "purged_at": null, - "removed_at": null, - "archiving": false, - "archive_verified": true - }, - { - "id": 90, - "job_id": 264, - "content": "some log content", - "removed_by": 1, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", - "aggregated_at": null, - "archived_at": null, - "purged_at": null, - "removed_at": null, - "archiving": false, - "archive_verified": true - }, - { - "id": 91, - "job_id": 269, - "content": "some log content", - "removed_by": 1, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", - "aggregated_at": null, - "archived_at": null, - "purged_at": null, - "removed_at": null, - "archiving": false, - "archive_verified": true - } - ] -} \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/log_92-94.json b/spec/support/expected_files/remove_org_with_dependencies/log_92-94.json deleted file mode 100644 index ea984f0..0000000 --- a/spec/support/expected_files/remove_org_with_dependencies/log_92-94.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "table_name": "logs", - "data": [ - { - "id": 92, - "job_id": 269, - "content": "some log content", - "removed_by": 1, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", - "aggregated_at": null, - "archived_at": null, - "purged_at": null, - "removed_at": null, - "archiving": false, - "archive_verified": true - }, - { - "id": 93, - "job_id": 271, - "content": "some log content", - "removed_by": 1, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", - "aggregated_at": null, - "archived_at": null, - "purged_at": null, - "removed_at": null, - "archiving": false, - "archive_verified": true - }, - { - "id": 94, - "job_id": 271, - "content": "some log content", - "removed_by": 1, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", - "aggregated_at": null, - "archived_at": null, - "purged_at": null, - "removed_at": null, - "archiving": false, - "archive_verified": true - } - ] -} \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/message_14-26.json b/spec/support/expected_files/remove_org_with_dependencies/message_14-26.json index 5222427..cf5f442 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/message_14-26.json +++ b/spec/support/expected_files/remove_org_with_dependencies/message_14-26.json @@ -9,8 +9,11 @@ "key": null, "code": null, "args": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC" + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "type": null, + "src": null, + "line": null }, { "id": 15, @@ -20,8 +23,11 @@ "key": null, "code": null, "args": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC" + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "type": null, + "src": null, + "line": null }, { "id": 16, @@ -31,8 +37,11 @@ "key": null, "code": null, "args": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC" + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "type": null, + "src": null, + "line": null }, { "id": 25, @@ -42,8 +51,11 @@ "key": null, "code": null, "args": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC" + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "type": null, + "src": null, + "line": null }, { "id": 26, @@ -53,8 +65,11 @@ "key": null, "code": null, "args": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC" + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "type": null, + "src": null, + "line": null } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/message_27-47.json b/spec/support/expected_files/remove_org_with_dependencies/message_27-31.json similarity index 51% rename from spec/support/expected_files/remove_user_with_dependencies/message_27-47.json rename to spec/support/expected_files/remove_org_with_dependencies/message_27-31.json index b0834d0..b4e97ea 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/message_27-47.json +++ b/spec/support/expected_files/remove_org_with_dependencies/message_27-31.json @@ -9,8 +9,11 @@ "key": null, "code": null, "args": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC" + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "type": null, + "src": null, + "line": null }, { "id": 28, @@ -20,8 +23,11 @@ "key": null, "code": null, "args": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC" + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "type": null, + "src": null, + "line": null }, { "id": 29, @@ -31,8 +37,11 @@ "key": null, "code": null, "args": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC" + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "type": null, + "src": null, + "line": null }, { "id": 30, @@ -42,19 +51,25 @@ "key": null, "code": null, "args": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC" + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "type": null, + "src": null, + "line": null }, { - "id": 47, - "subject_id": 55, + "id": 31, + "subject_id": 35, "subject_type": "Request", "level": null, "key": null, "code": null, "args": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC" + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "type": null, + "src": null, + "line": null } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/message_32-52.json b/spec/support/expected_files/remove_org_with_dependencies/message_32-52.json new file mode 100644 index 0000000..002505d --- /dev/null +++ b/spec/support/expected_files/remove_org_with_dependencies/message_32-52.json @@ -0,0 +1,75 @@ +{ + "table_name": "messages", + "data": [ + { + "id": 32, + "subject_id": 35, + "subject_type": "Request", + "level": null, + "key": null, + "code": null, + "args": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "type": null, + "src": null, + "line": null + }, + { + "id": 33, + "subject_id": 37, + "subject_type": "Request", + "level": null, + "key": null, + "code": null, + "args": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "type": null, + "src": null, + "line": null + }, + { + "id": 34, + "subject_id": 37, + "subject_type": "Request", + "level": null, + "key": null, + "code": null, + "args": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "type": null, + "src": null, + "line": null + }, + { + "id": 51, + "subject_id": 59, + "subject_type": "Request", + "level": null, + "key": null, + "code": null, + "args": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "type": null, + "src": null, + "line": null + }, + { + "id": 52, + "subject_id": 59, + "subject_type": "Request", + "level": null, + "key": null, + "code": null, + "args": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "type": null, + "src": null, + "line": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/message_48-50.json b/spec/support/expected_files/remove_org_with_dependencies/message_48-50.json deleted file mode 100644 index 211acaa..0000000 --- a/spec/support/expected_files/remove_org_with_dependencies/message_48-50.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "table_name": "messages", - "data": [ - { - "id": 48, - "subject_id": 55, - "subject_type": "Request", - "level": null, - "key": null, - "code": null, - "args": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC" - }, - { - "id": 49, - "subject_id": 57, - "subject_type": "Request", - "level": null, - "key": null, - "code": null, - "args": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC" - }, - { - "id": 50, - "subject_id": 57, - "subject_type": "Request", - "level": null, - "key": null, - "code": null, - "args": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC" - } - ] -} \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/message_53-54.json b/spec/support/expected_files/remove_org_with_dependencies/message_53-54.json new file mode 100644 index 0000000..fb77a2a --- /dev/null +++ b/spec/support/expected_files/remove_org_with_dependencies/message_53-54.json @@ -0,0 +1,33 @@ +{ + "table_name": "messages", + "data": [ + { + "id": 53, + "subject_id": 61, + "subject_type": "Request", + "level": null, + "key": null, + "code": null, + "args": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "type": null, + "src": null, + "line": null + }, + { + "id": 54, + "subject_id": 61, + "subject_type": "Request", + "level": null, + "key": null, + "code": null, + "args": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "type": null, + "src": null, + "line": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/message_9-13.json b/spec/support/expected_files/remove_org_with_dependencies/message_9-13.json index 39aabb9..b563432 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/message_9-13.json +++ b/spec/support/expected_files/remove_org_with_dependencies/message_9-13.json @@ -9,8 +9,11 @@ "key": null, "code": null, "args": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC" + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "type": null, + "src": null, + "line": null }, { "id": 10, @@ -20,8 +23,11 @@ "key": null, "code": null, "args": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC" + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "type": null, + "src": null, + "line": null }, { "id": 11, @@ -31,8 +37,11 @@ "key": null, "code": null, "args": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC" + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "type": null, + "src": null, + "line": null }, { "id": 12, @@ -42,8 +51,11 @@ "key": null, "code": null, "args": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC" + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "type": null, + "src": null, + "line": null }, { "id": 13, @@ -53,8 +65,11 @@ "key": null, "code": null, "args": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC" + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "type": null, + "src": null, + "line": null } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_10.json b/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_10.json index 101c4f1..22c945b 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_10.json +++ b/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_10.json @@ -2,34 +2,34 @@ "table_name": "builds", "nullified_relationships": [ { - "related_table": "repositories", - "foreign_key": "last_build_id", - "parent_id": 138, - "related_id": 56 - }, - { - "related_table": "tags", + "related_table": "branches", "foreign_key": "last_build_id", - "parent_id": 138, - "related_id": 32 + "parent_id": 140, + "related_id": 34 }, { "related_table": "branches", "foreign_key": "last_build_id", - "parent_id": 138, - "related_id": 106 + "parent_id": 89, + "related_id": 31 }, { "related_table": "repositories", "foreign_key": "current_build_id", - "parent_id": 143, - "related_id": 59 + "parent_id": 140, + "related_id": 57 }, { "related_table": "repositories", "foreign_key": "last_build_id", - "parent_id": 143, - "related_id": 58 + "parent_id": 140, + "related_id": 56 + }, + { + "related_table": "tags", + "foreign_key": "last_build_id", + "parent_id": 140, + "related_id": 32 } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_11.json b/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_11.json index b3dbda1..c3ea315 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_11.json +++ b/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_11.json @@ -2,34 +2,34 @@ "table_name": "builds", "nullified_relationships": [ { - "related_table": "tags", + "related_table": "branches", "foreign_key": "last_build_id", - "parent_id": 143, - "related_id": 34 + "parent_id": 145, + "related_id": 35 }, { - "related_table": "branches", - "foreign_key": "last_build_id", - "parent_id": 143, - "related_id": 107 + "related_table": "repositories", + "foreign_key": "current_build_id", + "parent_id": 145, + "related_id": 59 }, { "related_table": "repositories", "foreign_key": "current_build_id", - "parent_id": 146, + "parent_id": 148, "related_id": 61 }, { "related_table": "repositories", "foreign_key": "last_build_id", - "parent_id": 146, - "related_id": 60 + "parent_id": 145, + "related_id": 58 }, { "related_table": "tags", "foreign_key": "last_build_id", - "parent_id": 146, - "related_id": 35 + "parent_id": 145, + "related_id": 34 } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_12.json b/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_12.json index b73dca0..32ef1f9 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_12.json +++ b/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_12.json @@ -4,32 +4,32 @@ { "related_table": "branches", "foreign_key": "last_build_id", - "parent_id": 146, - "related_id": 108 + "parent_id": 148, + "related_id": 36 }, { "related_table": "repositories", "foreign_key": "current_build_id", - "parent_id": 151, + "parent_id": 153, "related_id": 63 }, { "related_table": "repositories", "foreign_key": "last_build_id", - "parent_id": 151, - "related_id": 62 + "parent_id": 148, + "related_id": 60 }, { - "related_table": "tags", + "related_table": "repositories", "foreign_key": "last_build_id", - "parent_id": 151, - "related_id": 36 + "parent_id": 153, + "related_id": 62 }, { - "related_table": "branches", + "related_table": "tags", "foreign_key": "last_build_id", - "parent_id": 151, - "related_id": 109 + "parent_id": 148, + "related_id": 35 } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_13.json b/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_13.json index b0ab2c0..ab750d0 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_13.json +++ b/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_13.json @@ -1,35 +1,35 @@ { "table_name": "builds", "nullified_relationships": [ + { + "related_table": "branches", + "foreign_key": "last_build_id", + "parent_id": 153, + "related_id": 37 + }, { "related_table": "repositories", "foreign_key": "current_build_id", - "parent_id": 156, + "parent_id": 158, "related_id": 65 }, { "related_table": "repositories", "foreign_key": "last_build_id", - "parent_id": 156, + "parent_id": 158, "related_id": 64 }, { "related_table": "tags", "foreign_key": "last_build_id", - "parent_id": 156, - "related_id": 37 + "parent_id": 153, + "related_id": 36 }, { - "related_table": "branches", + "related_table": "tags", "foreign_key": "last_build_id", - "parent_id": 156, - "related_id": 110 - }, - { - "related_table": "repositories", - "foreign_key": "current_build_id", - "parent_id": 161, - "related_id": 85 + "parent_id": 158, + "related_id": 37 } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_14.json b/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_14.json index a8b087e..8ca7a1a 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_14.json +++ b/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_14.json @@ -2,34 +2,34 @@ "table_name": "builds", "nullified_relationships": [ { - "related_table": "repositories", - "foreign_key": "current_build_id", - "parent_id": 161, - "related_id": 86 + "related_table": "branches", + "foreign_key": "last_build_id", + "parent_id": 158, + "related_id": 38 }, { - "related_table": "repositories", + "related_table": "branches", "foreign_key": "last_build_id", - "parent_id": 161, - "related_id": 83 + "parent_id": 163, + "related_id": 39 }, { "related_table": "repositories", - "foreign_key": "last_build_id", - "parent_id": 161, - "related_id": 84 + "foreign_key": "current_build_id", + "parent_id": 163, + "related_id": 67 }, { - "related_table": "tags", + "related_table": "repositories", "foreign_key": "last_build_id", - "parent_id": 161, - "related_id": 39 + "parent_id": 163, + "related_id": 66 }, { "related_table": "tags", "foreign_key": "last_build_id", - "parent_id": 161, - "related_id": 44 + "parent_id": 163, + "related_id": 39 } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_15.json b/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_15.json index 90f0626..d190613 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_15.json +++ b/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_15.json @@ -4,32 +4,32 @@ { "related_table": "branches", "foreign_key": "last_build_id", - "parent_id": 161, - "related_id": 115 - }, - { - "related_table": "branches", - "foreign_key": "last_build_id", - "parent_id": 161, - "related_id": 120 + "parent_id": 166, + "related_id": 40 }, { "related_table": "repositories", "foreign_key": "current_build_id", - "parent_id": 211, - "related_id": 105 + "parent_id": 166, + "related_id": 69 }, { "related_table": "repositories", "foreign_key": "current_build_id", - "parent_id": 211, - "related_id": 106 + "parent_id": 173, + "related_id": 71 }, { "related_table": "repositories", "foreign_key": "last_build_id", - "parent_id": 211, - "related_id": 103 + "parent_id": 166, + "related_id": 68 + }, + { + "related_table": "tags", + "foreign_key": "last_build_id", + "parent_id": 166, + "related_id": 40 } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_16.json b/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_16.json index 98a736a..9f3b148 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_16.json +++ b/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_16.json @@ -2,34 +2,34 @@ "table_name": "builds", "nullified_relationships": [ { - "related_table": "repositories", + "related_table": "branches", "foreign_key": "last_build_id", - "parent_id": 211, - "related_id": 104 + "parent_id": 173, + "related_id": 41 }, { - "related_table": "tags", - "foreign_key": "last_build_id", - "parent_id": 211, - "related_id": 51 + "related_table": "repositories", + "foreign_key": "current_build_id", + "parent_id": 178, + "related_id": 91 }, { - "related_table": "tags", - "foreign_key": "last_build_id", - "parent_id": 211, - "related_id": 56 + "related_table": "repositories", + "foreign_key": "current_build_id", + "parent_id": 178, + "related_id": 92 }, { - "related_table": "branches", + "related_table": "repositories", "foreign_key": "last_build_id", - "parent_id": 211, - "related_id": 127 + "parent_id": 173, + "related_id": 70 }, { - "related_table": "branches", + "related_table": "tags", "foreign_key": "last_build_id", - "parent_id": 211, - "related_id": 132 + "parent_id": 173, + "related_id": 41 } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_17.json b/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_17.json index d2e2aa9..54b0a7c 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_17.json +++ b/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_17.json @@ -2,34 +2,34 @@ "table_name": "builds", "nullified_relationships": [ { - "related_table": "repositories", - "foreign_key": "current_build_id", - "parent_id": 261, - "related_id": 108 + "related_table": "deleted_tags", + "foreign_key": "last_build_id", + "parent_id": 178, + "related_id": 5 }, { "related_table": "repositories", "foreign_key": "last_build_id", - "parent_id": 261, - "related_id": 107 + "parent_id": 178, + "related_id": 89 }, { - "related_table": "tags", + "related_table": "repositories", "foreign_key": "last_build_id", - "parent_id": 261, - "related_id": 63 + "parent_id": 178, + "related_id": 90 }, { - "related_table": "branches", + "related_table": "tags", "foreign_key": "last_build_id", - "parent_id": 261, - "related_id": 135 + "parent_id": 178, + "related_id": 42 }, { - "related_table": "repositories", - "foreign_key": "current_build_id", - "parent_id": 266, - "related_id": 110 + "related_table": "tags", + "foreign_key": "last_build_id", + "parent_id": 178, + "related_id": 47 } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_18.json b/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_18.json index 803d6f6..63e3e95 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_18.json +++ b/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_18.json @@ -2,22 +2,34 @@ "table_name": "builds", "nullified_relationships": [ { - "related_table": "repositories", + "related_table": "branches", "foreign_key": "last_build_id", - "parent_id": 266, - "related_id": 109 + "parent_id": 178, + "related_id": 46 }, { - "related_table": "tags", + "related_table": "branches", "foreign_key": "last_build_id", - "parent_id": 266, - "related_id": 64 + "parent_id": 178, + "related_id": 51 }, { - "related_table": "branches", + "related_table": "repositories", + "foreign_key": "current_build_id", + "parent_id": 229, + "related_id": 111 + }, + { + "related_table": "repositories", + "foreign_key": "current_build_id", + "parent_id": 229, + "related_id": 112 + }, + { + "related_table": "repositories", "foreign_key": "last_build_id", - "parent_id": 266, - "related_id": 136 + "parent_id": 229, + "related_id": 109 } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_19.json b/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_19.json new file mode 100644 index 0000000..eba0b4d --- /dev/null +++ b/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_19.json @@ -0,0 +1,35 @@ +{ + "table_name": "builds", + "nullified_relationships": [ + { + "related_table": "branches", + "foreign_key": "last_build_id", + "parent_id": 229, + "related_id": 58 + }, + { + "related_table": "deleted_tags", + "foreign_key": "last_build_id", + "parent_id": 229, + "related_id": 6 + }, + { + "related_table": "repositories", + "foreign_key": "last_build_id", + "parent_id": 229, + "related_id": 110 + }, + { + "related_table": "tags", + "foreign_key": "last_build_id", + "parent_id": 229, + "related_id": 54 + }, + { + "related_table": "tags", + "foreign_key": "last_build_id", + "parent_id": 229, + "related_id": 59 + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_2.json b/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_2.json index be7794f..25141a6 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_2.json +++ b/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_2.json @@ -2,34 +2,34 @@ "table_name": "builds", "nullified_relationships": [ { - "related_table": "tags", + "related_table": "branches", "foreign_key": "last_build_id", "parent_id": 1, - "related_id": 6 + "related_id": 10 }, { "related_table": "branches", "foreign_key": "last_build_id", "parent_id": 1, - "related_id": 77 + "related_id": 5 }, { - "related_table": "branches", + "related_table": "deleted_tags", "foreign_key": "last_build_id", "parent_id": 1, - "related_id": 82 + "related_id": 1 }, { "related_table": "repositories", "foreign_key": "current_build_id", - "parent_id": 51, + "parent_id": 52, "related_id": 23 }, { - "related_table": "repositories", + "related_table": "tags", "foreign_key": "last_build_id", - "parent_id": 51, - "related_id": 22 + "parent_id": 1, + "related_id": 6 } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_20.json b/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_20.json new file mode 100644 index 0000000..f102c79 --- /dev/null +++ b/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_20.json @@ -0,0 +1,35 @@ +{ + "table_name": "builds", + "nullified_relationships": [ + { + "related_table": "branches", + "foreign_key": "last_build_id", + "parent_id": 229, + "related_id": 63 + }, + { + "related_table": "branches", + "foreign_key": "last_build_id", + "parent_id": 280, + "related_id": 66 + }, + { + "related_table": "repositories", + "foreign_key": "current_build_id", + "parent_id": 280, + "related_id": 114 + }, + { + "related_table": "repositories", + "foreign_key": "last_build_id", + "parent_id": 280, + "related_id": 113 + }, + { + "related_table": "tags", + "foreign_key": "last_build_id", + "parent_id": 280, + "related_id": 66 + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_21.json b/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_21.json new file mode 100644 index 0000000..0164962 --- /dev/null +++ b/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_21.json @@ -0,0 +1,29 @@ +{ + "table_name": "builds", + "nullified_relationships": [ + { + "related_table": "branches", + "foreign_key": "last_build_id", + "parent_id": 285, + "related_id": 67 + }, + { + "related_table": "repositories", + "foreign_key": "current_build_id", + "parent_id": 285, + "related_id": 116 + }, + { + "related_table": "repositories", + "foreign_key": "last_build_id", + "parent_id": 285, + "related_id": 115 + }, + { + "related_table": "tags", + "foreign_key": "last_build_id", + "parent_id": 285, + "related_id": 67 + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_3.json b/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_3.json index 9187a39..38e8b28 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_3.json +++ b/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_3.json @@ -1,35 +1,35 @@ { "table_name": "builds", "nullified_relationships": [ - { - "related_table": "tags", - "foreign_key": "last_build_id", - "parent_id": 51, - "related_id": 13 - }, { "related_table": "branches", "foreign_key": "last_build_id", - "parent_id": 51, - "related_id": 85 + "parent_id": 52, + "related_id": 13 }, { "related_table": "repositories", "foreign_key": "current_build_id", - "parent_id": 58, + "parent_id": 59, "related_id": 25 }, { "related_table": "repositories", "foreign_key": "last_build_id", - "parent_id": 58, + "parent_id": 52, + "related_id": 22 + }, + { + "related_table": "repositories", + "foreign_key": "last_build_id", + "parent_id": 59, "related_id": 24 }, { "related_table": "tags", "foreign_key": "last_build_id", - "parent_id": 58, - "related_id": 14 + "parent_id": 52, + "related_id": 13 } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_4.json b/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_4.json index 0369249..5d98c71 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_4.json +++ b/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_4.json @@ -4,32 +4,32 @@ { "related_table": "branches", "foreign_key": "last_build_id", - "parent_id": 58, - "related_id": 87 + "parent_id": 59, + "related_id": 15 }, { "related_table": "repositories", "foreign_key": "current_build_id", - "parent_id": 63, + "parent_id": 64, "related_id": 27 }, { "related_table": "repositories", "foreign_key": "last_build_id", - "parent_id": 63, + "parent_id": 64, "related_id": 26 }, { "related_table": "tags", "foreign_key": "last_build_id", - "parent_id": 63, - "related_id": 15 + "parent_id": 59, + "related_id": 14 }, { - "related_table": "branches", + "related_table": "tags", "foreign_key": "last_build_id", - "parent_id": 63, - "related_id": 88 + "parent_id": 64, + "related_id": 15 } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_5.json b/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_5.json index c056257..2ed1f7b 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_5.json +++ b/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_5.json @@ -1,35 +1,35 @@ { "table_name": "builds", "nullified_relationships": [ + { + "related_table": "branches", + "foreign_key": "last_build_id", + "parent_id": 64, + "related_id": 16 + }, + { + "related_table": "branches", + "foreign_key": "last_build_id", + "parent_id": 69, + "related_id": 17 + }, { "related_table": "repositories", "foreign_key": "current_build_id", - "parent_id": 68, + "parent_id": 69, "related_id": 29 }, { "related_table": "repositories", "foreign_key": "last_build_id", - "parent_id": 68, + "parent_id": 69, "related_id": 28 }, { "related_table": "tags", "foreign_key": "last_build_id", - "parent_id": 68, + "parent_id": 69, "related_id": 16 - }, - { - "related_table": "branches", - "foreign_key": "last_build_id", - "parent_id": 68, - "related_id": 89 - }, - { - "related_table": "repositories", - "foreign_key": "current_build_id", - "parent_id": 73, - "related_id": 31 } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_6.json b/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_6.json index 2b3a562..9475ffd 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_6.json +++ b/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_6.json @@ -2,34 +2,34 @@ "table_name": "builds", "nullified_relationships": [ { - "related_table": "repositories", - "foreign_key": "last_build_id", - "parent_id": 73, - "related_id": 30 - }, - { - "related_table": "tags", + "related_table": "branches", "foreign_key": "last_build_id", - "parent_id": 73, - "related_id": 17 + "parent_id": 74, + "related_id": 18 }, { - "related_table": "branches", - "foreign_key": "last_build_id", - "parent_id": 73, - "related_id": 90 + "related_table": "repositories", + "foreign_key": "current_build_id", + "parent_id": 74, + "related_id": 31 }, { "related_table": "repositories", "foreign_key": "current_build_id", - "parent_id": 78, + "parent_id": 79, "related_id": 33 }, { "related_table": "repositories", "foreign_key": "last_build_id", - "parent_id": 78, - "related_id": 32 + "parent_id": 74, + "related_id": 30 + }, + { + "related_table": "tags", + "foreign_key": "last_build_id", + "parent_id": 74, + "related_id": 17 } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_7.json b/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_7.json index dda4205..1a6e1c1 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_7.json +++ b/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_7.json @@ -1,35 +1,35 @@ { "table_name": "builds", "nullified_relationships": [ - { - "related_table": "tags", - "foreign_key": "last_build_id", - "parent_id": 78, - "related_id": 18 - }, { "related_table": "branches", "foreign_key": "last_build_id", - "parent_id": 78, - "related_id": 92 + "parent_id": 79, + "related_id": 20 }, { "related_table": "repositories", "foreign_key": "current_build_id", - "parent_id": 83, + "parent_id": 84, "related_id": 35 }, { "related_table": "repositories", "foreign_key": "last_build_id", - "parent_id": 83, + "parent_id": 79, + "related_id": 32 + }, + { + "related_table": "repositories", + "foreign_key": "last_build_id", + "parent_id": 84, "related_id": 34 }, { "related_table": "tags", "foreign_key": "last_build_id", - "parent_id": 83, - "related_id": 19 + "parent_id": 79, + "related_id": 18 } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_8.json b/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_8.json index 33d14e6..f7185d8 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_8.json +++ b/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_8.json @@ -4,32 +4,32 @@ { "related_table": "branches", "foreign_key": "last_build_id", - "parent_id": 83, - "related_id": 93 + "parent_id": 84, + "related_id": 21 }, { "related_table": "repositories", "foreign_key": "current_build_id", - "parent_id": 88, + "parent_id": 89, "related_id": 54 }, { "related_table": "repositories", "foreign_key": "current_build_id", - "parent_id": 88, + "parent_id": 89, "related_id": 55 }, { "related_table": "repositories", "foreign_key": "last_build_id", - "parent_id": 88, + "parent_id": 89, "related_id": 52 }, { - "related_table": "repositories", + "related_table": "tags", "foreign_key": "last_build_id", - "parent_id": 88, - "related_id": 53 + "parent_id": 84, + "related_id": 19 } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_9.json b/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_9.json index 2cff1ec..0559dd2 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_9.json +++ b/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_9.json @@ -2,34 +2,34 @@ "table_name": "builds", "nullified_relationships": [ { - "related_table": "tags", + "related_table": "branches", "foreign_key": "last_build_id", - "parent_id": 88, - "related_id": 20 + "parent_id": 89, + "related_id": 26 }, { - "related_table": "tags", + "related_table": "deleted_tags", "foreign_key": "last_build_id", - "parent_id": 88, - "related_id": 25 + "parent_id": 89, + "related_id": 2 }, { - "related_table": "branches", + "related_table": "repositories", "foreign_key": "last_build_id", - "parent_id": 88, - "related_id": 98 + "parent_id": 89, + "related_id": 53 }, { - "related_table": "branches", + "related_table": "tags", "foreign_key": "last_build_id", - "parent_id": 88, - "related_id": 103 + "parent_id": 89, + "related_id": 20 }, { - "related_table": "repositories", - "foreign_key": "current_build_id", - "parent_id": 138, - "related_id": 57 + "related_table": "tags", + "foreign_key": "last_build_id", + "parent_id": 89, + "related_id": 25 } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/organization_1-1.json b/spec/support/expected_files/remove_org_with_dependencies/organization_1-1.json index 938ebdf..2173f9d 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/organization_1-1.json +++ b/spec/support/expected_files/remove_org_with_dependencies/organization_1-1.json @@ -6,14 +6,23 @@ "name": null, "login": null, "github_id": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", "avatar_url": null, "location": null, "email": null, "company": null, "homepage": null, - "billing_admin_only": null + "billing_admin_only": null, + "org_id": null, + "com_id": null, + "migrating": null, + "migrated_at": null, + "preferences": { + }, + "beta_migration_request_id": null, + "vcs_type": "GithubOrganization", + "vcs_id": null } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/owner_group_1-2.json b/spec/support/expected_files/remove_org_with_dependencies/owner_group_1-2.json index a7e3a1e..f16dcb7 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/owner_group_1-2.json +++ b/spec/support/expected_files/remove_org_with_dependencies/owner_group_1-2.json @@ -4,18 +4,18 @@ { "id": 1, "uuid": null, - "owner_id": 1, "owner_type": "Organization", - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC" + "owner_id": 1, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC" }, { "id": 2, "uuid": null, - "owner_id": 1, "owner_type": "Organization", - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC" + "owner_id": 1, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC" } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/permission_3-4.json b/spec/support/expected_files/remove_org_with_dependencies/permission_3-4.json index 56c2d35..52eb838 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/permission_3-4.json +++ b/spec/support/expected_files/remove_org_with_dependencies/permission_3-4.json @@ -7,7 +7,9 @@ "repository_id": 1, "admin": false, "push": false, - "pull": false + "pull": false, + "org_id": null, + "com_id": null }, { "id": 4, @@ -15,7 +17,9 @@ "repository_id": 1, "admin": false, "push": false, - "pull": false + "pull": false, + "org_id": null, + "com_id": null } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/pull_request_3-6.json b/spec/support/expected_files/remove_org_with_dependencies/pull_request_3-6.json index d9b0ab9..ad7a101 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/pull_request_3-6.json +++ b/spec/support/expected_files/remove_org_with_dependencies/pull_request_3-6.json @@ -10,8 +10,15 @@ "head_repo_github_id": null, "head_repo_slug": null, "head_ref": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC" + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "org_id": null, + "com_id": null, + "mergeable_state": null, + "head_repo_vcs_id": null, + "base_repo_slug": null, + "base_repo_vcs_id": null, + "base_ref": null }, { "id": 6, @@ -22,8 +29,15 @@ "head_repo_github_id": null, "head_repo_slug": null, "head_ref": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC" + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "org_id": null, + "com_id": null, + "mergeable_state": null, + "head_repo_vcs_id": null, + "base_repo_slug": null, + "base_repo_vcs_id": null, + "base_ref": null } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/queueable_job_1-19.json b/spec/support/expected_files/remove_org_with_dependencies/queueable_job_1-19.json index 858cbb5..4e7316c 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/queueable_job_1-19.json +++ b/spec/support/expected_files/remove_org_with_dependencies/queueable_job_1-19.json @@ -11,15 +11,15 @@ }, { "id": 17, - "job_id": 54 + "job_id": 55 }, { "id": 18, - "job_id": 54 + "job_id": 55 }, { "id": 19, - "job_id": 56 + "job_id": 57 } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/queueable_job_20-24.json b/spec/support/expected_files/remove_org_with_dependencies/queueable_job_20-24.json index 5274e58..ed9d9e2 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/queueable_job_20-24.json +++ b/spec/support/expected_files/remove_org_with_dependencies/queueable_job_20-24.json @@ -3,23 +3,23 @@ "data": [ { "id": 20, - "job_id": 56 + "job_id": 57 }, { "id": 21, - "job_id": 61 + "job_id": 62 }, { "id": 22, - "job_id": 61 + "job_id": 62 }, { "id": 23, - "job_id": 66 + "job_id": 67 }, { "id": 24, - "job_id": 66 + "job_id": 67 } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/queueable_job_25-29.json b/spec/support/expected_files/remove_org_with_dependencies/queueable_job_25-29.json index 1fc2d88..af6eea8 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/queueable_job_25-29.json +++ b/spec/support/expected_files/remove_org_with_dependencies/queueable_job_25-29.json @@ -3,23 +3,23 @@ "data": [ { "id": 25, - "job_id": 71 + "job_id": 72 }, { "id": 26, - "job_id": 71 + "job_id": 72 }, { "id": 27, - "job_id": 76 + "job_id": 77 }, { "id": 28, - "job_id": 76 + "job_id": 77 }, { "id": 29, - "job_id": 81 + "job_id": 82 } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/queueable_job_30-34.json b/spec/support/expected_files/remove_org_with_dependencies/queueable_job_30-34.json index 38ef88d..a73a124 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/queueable_job_30-34.json +++ b/spec/support/expected_files/remove_org_with_dependencies/queueable_job_30-34.json @@ -3,23 +3,23 @@ "data": [ { "id": 30, - "job_id": 81 + "job_id": 82 }, { "id": 31, - "job_id": 86 + "job_id": 87 }, { "id": 32, - "job_id": 86 + "job_id": 87 }, { "id": 33, - "job_id": 93 + "job_id": 94 }, { "id": 34, - "job_id": 93 + "job_id": 94 } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/queueable_job_49-53.json b/spec/support/expected_files/remove_org_with_dependencies/queueable_job_49-53.json index 98c6643..2a5b437 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/queueable_job_49-53.json +++ b/spec/support/expected_files/remove_org_with_dependencies/queueable_job_49-53.json @@ -3,23 +3,23 @@ "data": [ { "id": 49, - "job_id": 141 + "job_id": 143 }, { "id": 50, - "job_id": 141 + "job_id": 143 }, { "id": 51, - "job_id": 149 + "job_id": 151 }, { "id": 52, - "job_id": 149 + "job_id": 151 }, { "id": 53, - "job_id": 154 + "job_id": 156 } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/queueable_job_54-58.json b/spec/support/expected_files/remove_org_with_dependencies/queueable_job_54-58.json index fdf0f32..318b4b8 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/queueable_job_54-58.json +++ b/spec/support/expected_files/remove_org_with_dependencies/queueable_job_54-58.json @@ -3,23 +3,23 @@ "data": [ { "id": 54, - "job_id": 154 + "job_id": 156 }, { "id": 55, - "job_id": 159 + "job_id": 161 }, { "id": 56, - "job_id": 159 + "job_id": 161 }, { "id": 57, - "job_id": 166 + "job_id": 169 }, { "id": 58, - "job_id": 166 + "job_id": 169 } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/queueable_job_59-63.json b/spec/support/expected_files/remove_org_with_dependencies/queueable_job_59-63.json new file mode 100644 index 0000000..b19fdd8 --- /dev/null +++ b/spec/support/expected_files/remove_org_with_dependencies/queueable_job_59-63.json @@ -0,0 +1,25 @@ +{ + "table_name": "queueable_jobs", + "data": [ + { + "id": 59, + "job_id": 171 + }, + { + "id": 60, + "job_id": 171 + }, + { + "id": 61, + "job_id": 176 + }, + { + "id": 62, + "job_id": 176 + }, + { + "id": 63, + "job_id": 183 + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/queueable_job_64-96.json b/spec/support/expected_files/remove_org_with_dependencies/queueable_job_64-96.json new file mode 100644 index 0000000..e3634b3 --- /dev/null +++ b/spec/support/expected_files/remove_org_with_dependencies/queueable_job_64-96.json @@ -0,0 +1,25 @@ +{ + "table_name": "queueable_jobs", + "data": [ + { + "id": 64, + "job_id": 183 + }, + { + "id": 79, + "job_id": 234 + }, + { + "id": 80, + "job_id": 234 + }, + { + "id": 95, + "job_id": 283 + }, + { + "id": 96, + "job_id": 283 + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/queueable_job_73-91.json b/spec/support/expected_files/remove_org_with_dependencies/queueable_job_73-91.json deleted file mode 100644 index ff4127a..0000000 --- a/spec/support/expected_files/remove_org_with_dependencies/queueable_job_73-91.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "table_name": "queueable_jobs", - "data": [ - { - "id": 73, - "job_id": 216 - }, - { - "id": 74, - "job_id": 216 - }, - { - "id": 89, - "job_id": 264 - }, - { - "id": 90, - "job_id": 264 - }, - { - "id": 91, - "job_id": 269 - } - ] -} \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/queueable_job_92-94.json b/spec/support/expected_files/remove_org_with_dependencies/queueable_job_92-94.json deleted file mode 100644 index 52bcc99..0000000 --- a/spec/support/expected_files/remove_org_with_dependencies/queueable_job_92-94.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "table_name": "queueable_jobs", - "data": [ - { - "id": 92, - "job_id": 269 - }, - { - "id": 93, - "job_id": 271 - }, - { - "id": 94, - "job_id": 271 - } - ] -} \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/queueable_job_97-100.json b/spec/support/expected_files/remove_org_with_dependencies/queueable_job_97-100.json new file mode 100644 index 0000000..4c9512f --- /dev/null +++ b/spec/support/expected_files/remove_org_with_dependencies/queueable_job_97-100.json @@ -0,0 +1,21 @@ +{ + "table_name": "queueable_jobs", + "data": [ + { + "id": 97, + "job_id": 288 + }, + { + "id": 98, + "job_id": 288 + }, + { + "id": 99, + "job_id": 290 + }, + { + "id": 100, + "job_id": 290 + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/repo_count_1-1.json b/spec/support/expected_files/remove_org_with_dependencies/repo_count_1-1.json new file mode 100644 index 0000000..31fee31 --- /dev/null +++ b/spec/support/expected_files/remove_org_with_dependencies/repo_count_1-1.json @@ -0,0 +1,17 @@ +{ + "table_name": "repo_counts", + "data": [ + { + "repository_id": 1, + "requests": null, + "commits": null, + "branches": null, + "pull_requests": null, + "tags": null, + "builds": null, + "stages": null, + "jobs": null, + "range": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/repository_1-66.json b/spec/support/expected_files/remove_org_with_dependencies/repository_1-72.json similarity index 54% rename from spec/support/expected_files/remove_org_with_dependencies/repository_1-66.json rename to spec/support/expected_files/remove_org_with_dependencies/repository_1-72.json index 0a67323..a34cb7c 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/repository_1-66.json +++ b/spec/support/expected_files/remove_org_with_dependencies/repository_1-72.json @@ -5,9 +5,9 @@ "id": 1, "name": null, "url": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", - "last_build_id": 260, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "last_build_id": 279, "last_build_number": null, "last_build_started_at": null, "last_build_finished_at": null, @@ -16,8 +16,8 @@ "active": null, "description": null, "last_build_duration": null, - "owner_id": 1, "owner_type": "Organization", + "owner_id": 1, "private": false, "last_build_state": null, "github_id": null, @@ -26,14 +26,27 @@ "settings": null, "next_build_number": null, "invalidated_at": null, - "current_build_id": 210 + "current_build_id": 228, + "org_id": null, + "com_id": null, + "migrating": null, + "migrated_at": null, + "active_on_org": null, + "managed_by_installation_at": null, + "migration_status": null, + "history_migration_status": null, + "vcs_type": "GithubRepository", + "vcs_id": null, + "fork": null, + "vcs_slug": null, + "vcs_source_host": null }, { - "id": 66, + "id": 72, "name": null, "url": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", "last_build_id": null, "last_build_number": null, "last_build_started_at": null, @@ -43,8 +56,8 @@ "active": null, "description": null, "last_build_duration": null, - "owner_id": 1, "owner_type": "Organization", + "owner_id": 1, "private": false, "last_build_state": null, "github_id": null, @@ -53,7 +66,20 @@ "settings": null, "next_build_number": null, "invalidated_at": null, - "current_build_id": null + "current_build_id": null, + "org_id": null, + "com_id": null, + "migrating": null, + "migrated_at": null, + "active_on_org": null, + "managed_by_installation_at": null, + "migration_status": null, + "history_migration_status": null, + "vcs_type": "GithubRepository", + "vcs_id": null, + "fork": null, + "vcs_slug": null, + "vcs_source_host": null } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/request_11-15.json b/spec/support/expected_files/remove_org_with_dependencies/request_11-15.json index a952522..3dc0608 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/request_11-15.json +++ b/spec/support/expected_files/remove_org_with_dependencies/request_11-15.json @@ -7,27 +7,31 @@ "commit_id": null, "state": null, "source": null, - "payload": null, "token": null, - "config": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", "event_type": null, "comments_url": null, "base_commit": null, "head_commit": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "message": null, "private": null, "pull_request_id": null, "branch_id": null, "tag_id": null, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": null, + "yaml_config_id": null, + "github_guid": null, + "pull_request_mergeable": null }, { "id": 12, @@ -35,83 +39,95 @@ "commit_id": null, "state": null, "source": null, - "payload": null, "token": null, - "config": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", "event_type": null, "comments_url": null, "base_commit": null, "head_commit": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "message": null, "private": null, "pull_request_id": null, "branch_id": null, "tag_id": null, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": null, + "yaml_config_id": null, + "github_guid": null, + "pull_request_mergeable": null }, { "id": 13, "repository_id": null, - "commit_id": 217, + "commit_id": 7, "state": null, "source": null, - "payload": null, "token": null, - "config": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", "event_type": null, "comments_url": null, "base_commit": null, "head_commit": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "message": null, "private": null, "pull_request_id": null, "branch_id": null, "tag_id": null, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": null, + "yaml_config_id": null, + "github_guid": null, + "pull_request_mergeable": null }, { "id": 14, "repository_id": null, - "commit_id": 217, + "commit_id": 7, "state": null, "source": null, - "payload": null, "token": null, - "config": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", "event_type": null, "comments_url": null, "base_commit": null, "head_commit": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "message": null, "private": null, "pull_request_id": null, "branch_id": null, "tag_id": null, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": null, + "yaml_config_id": null, + "github_guid": null, + "pull_request_mergeable": null }, { "id": 15, @@ -119,27 +135,31 @@ "commit_id": null, "state": null, "source": null, - "payload": null, "token": null, - "config": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", "event_type": null, "comments_url": null, "base_commit": null, "head_commit": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "message": null, "private": null, "pull_request_id": null, - "branch_id": 86, + "branch_id": 14, "tag_id": null, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": null, + "yaml_config_id": null, + "github_guid": null, + "pull_request_mergeable": null } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/request_16-30.json b/spec/support/expected_files/remove_org_with_dependencies/request_16-30.json index 73f68be..e00325f 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/request_16-30.json +++ b/spec/support/expected_files/remove_org_with_dependencies/request_16-30.json @@ -7,83 +7,95 @@ "commit_id": null, "state": null, "source": null, - "payload": null, "token": null, - "config": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", "event_type": null, "comments_url": null, "base_commit": null, "head_commit": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "message": null, "private": null, "pull_request_id": null, - "branch_id": 86, + "branch_id": 14, "tag_id": null, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": null, + "yaml_config_id": null, + "github_guid": null, + "pull_request_mergeable": null }, { "id": 17, "repository_id": null, - "commit_id": 219, + "commit_id": 9, "state": null, "source": null, - "payload": null, "token": null, - "config": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", "event_type": null, "comments_url": null, "base_commit": null, "head_commit": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "message": null, "private": null, "pull_request_id": null, "branch_id": null, "tag_id": null, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": null, + "yaml_config_id": null, + "github_guid": null, + "pull_request_mergeable": null }, { "id": 18, "repository_id": null, - "commit_id": 219, + "commit_id": 9, "state": null, "source": null, - "payload": null, "token": null, - "config": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", "event_type": null, "comments_url": null, "base_commit": null, "head_commit": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "message": null, "private": null, "pull_request_id": null, "branch_id": null, "tag_id": null, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": null, + "yaml_config_id": null, + "github_guid": null, + "pull_request_mergeable": null }, { "id": 29, @@ -91,27 +103,31 @@ "commit_id": null, "state": null, "source": null, - "payload": null, "token": null, - "config": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", "event_type": null, "comments_url": null, "base_commit": null, "head_commit": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "message": null, "private": null, "pull_request_id": 3, "branch_id": null, "tag_id": null, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": null, + "yaml_config_id": null, + "github_guid": null, + "pull_request_mergeable": null }, { "id": 30, @@ -119,27 +135,31 @@ "commit_id": null, "state": null, "source": null, - "payload": null, "token": null, - "config": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", "event_type": null, "comments_url": null, "base_commit": null, "head_commit": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "message": null, "private": null, "pull_request_id": 3, "branch_id": null, "tag_id": null, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": null, + "yaml_config_id": null, + "github_guid": null, + "pull_request_mergeable": null } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/request_31-55.json b/spec/support/expected_files/remove_org_with_dependencies/request_31-35.json similarity index 63% rename from spec/support/expected_files/remove_user_with_dependencies/request_31-55.json rename to spec/support/expected_files/remove_org_with_dependencies/request_31-35.json index e992ae6..ea35bba 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/request_31-55.json +++ b/spec/support/expected_files/remove_org_with_dependencies/request_31-35.json @@ -4,58 +4,66 @@ { "id": 31, "repository_id": null, - "commit_id": 227, + "commit_id": 17, "state": null, "source": null, - "payload": null, "token": null, - "config": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", "event_type": null, "comments_url": null, "base_commit": null, "head_commit": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "message": null, "private": null, "pull_request_id": null, "branch_id": null, "tag_id": null, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": null, + "yaml_config_id": null, + "github_guid": null, + "pull_request_mergeable": null }, { "id": 32, "repository_id": null, - "commit_id": 227, + "commit_id": 17, "state": null, "source": null, - "payload": null, "token": null, - "config": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", "event_type": null, "comments_url": null, "base_commit": null, "head_commit": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "message": null, "private": null, "pull_request_id": null, "branch_id": null, "tag_id": null, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": null, + "yaml_config_id": null, + "github_guid": null, + "pull_request_mergeable": null }, { "id": 33, @@ -63,27 +71,31 @@ "commit_id": null, "state": null, "source": null, - "payload": null, "token": null, - "config": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", "event_type": null, "comments_url": null, "base_commit": null, "head_commit": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "message": null, "private": null, "pull_request_id": null, "branch_id": null, "tag_id": 33, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": null, + "yaml_config_id": null, + "github_guid": null, + "pull_request_mergeable": null }, { "id": 34, @@ -91,55 +103,63 @@ "commit_id": null, "state": null, "source": null, - "payload": null, "token": null, - "config": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", "event_type": null, "comments_url": null, "base_commit": null, "head_commit": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "message": null, "private": null, "pull_request_id": null, "branch_id": null, "tag_id": 33, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": null, + "yaml_config_id": null, + "github_guid": null, + "pull_request_mergeable": null }, { - "id": 55, + "id": 35, "repository_id": null, "commit_id": null, "state": null, "source": null, - "payload": null, "token": null, - "config": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", "event_type": null, "comments_url": null, "base_commit": null, "head_commit": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "message": null, "private": null, "pull_request_id": null, "branch_id": null, "tag_id": null, - "sender_id": 9, - "sender_type": "User" + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": 1, + "yaml_config_id": null, + "github_guid": null, + "pull_request_mergeable": null } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/request_36-60.json b/spec/support/expected_files/remove_org_with_dependencies/request_36-60.json new file mode 100644 index 0000000..ca6b6d6 --- /dev/null +++ b/spec/support/expected_files/remove_org_with_dependencies/request_36-60.json @@ -0,0 +1,165 @@ +{ + "table_name": "requests", + "data": [ + { + "id": 36, + "repository_id": null, + "commit_id": null, + "state": null, + "source": null, + "token": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "event_type": null, + "comments_url": null, + "base_commit": null, + "head_commit": null, + "owner_type": null, + "owner_id": null, + "result": null, + "message": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": 1, + "yaml_config_id": null, + "github_guid": null, + "pull_request_mergeable": null + }, + { + "id": 37, + "repository_id": null, + "commit_id": null, + "state": null, + "source": null, + "token": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "event_type": null, + "comments_url": null, + "base_commit": null, + "head_commit": null, + "owner_type": null, + "owner_id": null, + "result": null, + "message": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": 1, + "yaml_config_id": null, + "github_guid": null, + "pull_request_mergeable": null + }, + { + "id": 38, + "repository_id": null, + "commit_id": null, + "state": null, + "source": null, + "token": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "event_type": null, + "comments_url": null, + "base_commit": null, + "head_commit": null, + "owner_type": null, + "owner_id": null, + "result": null, + "message": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": 1, + "yaml_config_id": null, + "github_guid": null, + "pull_request_mergeable": null + }, + { + "id": 59, + "repository_id": null, + "commit_id": null, + "state": null, + "source": null, + "token": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "event_type": null, + "comments_url": null, + "base_commit": null, + "head_commit": null, + "owner_type": null, + "owner_id": null, + "result": null, + "message": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": "Organization", + "sender_id": 1, + "org_id": null, + "com_id": null, + "config_id": null, + "yaml_config_id": null, + "github_guid": null, + "pull_request_mergeable": null + }, + { + "id": 60, + "repository_id": null, + "commit_id": null, + "state": null, + "source": null, + "token": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "event_type": null, + "comments_url": null, + "base_commit": null, + "head_commit": null, + "owner_type": null, + "owner_id": null, + "result": null, + "message": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": "Organization", + "sender_id": 1, + "org_id": null, + "com_id": null, + "config_id": null, + "yaml_config_id": null, + "github_guid": null, + "pull_request_mergeable": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/request_61-62.json b/spec/support/expected_files/remove_org_with_dependencies/request_61-62.json new file mode 100644 index 0000000..6d3ccb2 --- /dev/null +++ b/spec/support/expected_files/remove_org_with_dependencies/request_61-62.json @@ -0,0 +1,69 @@ +{ + "table_name": "requests", + "data": [ + { + "id": 61, + "repository_id": null, + "commit_id": null, + "state": null, + "source": null, + "token": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "event_type": null, + "comments_url": null, + "base_commit": null, + "head_commit": null, + "owner_type": "Organization", + "owner_id": 1, + "result": null, + "message": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "yaml_config_id": null, + "github_guid": null, + "pull_request_mergeable": null + }, + { + "id": 62, + "repository_id": null, + "commit_id": null, + "state": null, + "source": null, + "token": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "event_type": null, + "comments_url": null, + "base_commit": null, + "head_commit": null, + "owner_type": "Organization", + "owner_id": 1, + "result": null, + "message": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "yaml_config_id": null, + "github_guid": null, + "pull_request_mergeable": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/request_config_1-2.json b/spec/support/expected_files/remove_org_with_dependencies/request_config_1-2.json new file mode 100644 index 0000000..3721f6a --- /dev/null +++ b/spec/support/expected_files/remove_org_with_dependencies/request_config_1-2.json @@ -0,0 +1,21 @@ +{ + "table_name": "request_configs", + "data": [ + { + "id": 1, + "repository_id": 1, + "key": "some_test_key", + "org_id": null, + "com_id": null, + "config": null + }, + { + "id": 2, + "repository_id": 1, + "key": "some_test_key", + "org_id": null, + "com_id": null, + "config": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/request_payload_14-26.json b/spec/support/expected_files/remove_org_with_dependencies/request_payload_14-26.json new file mode 100644 index 0000000..b656312 --- /dev/null +++ b/spec/support/expected_files/remove_org_with_dependencies/request_payload_14-26.json @@ -0,0 +1,45 @@ +{ + "table_name": "request_payloads", + "data": [ + { + "id": 14, + "request_id": 15, + "payload": null, + "archived": false, + "created_at": "2021-08-31 07:45:37 UTC", + "org_id": null + }, + { + "id": 15, + "request_id": 17, + "payload": null, + "archived": false, + "created_at": "2021-08-31 07:45:37 UTC", + "org_id": null + }, + { + "id": 16, + "request_id": 17, + "payload": null, + "archived": false, + "created_at": "2021-08-31 07:45:37 UTC", + "org_id": null + }, + { + "id": 25, + "request_id": 29, + "payload": null, + "archived": false, + "created_at": "2021-08-31 07:45:37 UTC", + "org_id": null + }, + { + "id": 26, + "request_id": 29, + "payload": null, + "archived": false, + "created_at": "2021-08-31 07:45:37 UTC", + "org_id": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/request_payload_27-31.json b/spec/support/expected_files/remove_org_with_dependencies/request_payload_27-31.json new file mode 100644 index 0000000..47b7046 --- /dev/null +++ b/spec/support/expected_files/remove_org_with_dependencies/request_payload_27-31.json @@ -0,0 +1,45 @@ +{ + "table_name": "request_payloads", + "data": [ + { + "id": 27, + "request_id": 31, + "payload": null, + "archived": false, + "created_at": "2021-08-31 07:45:37 UTC", + "org_id": null + }, + { + "id": 28, + "request_id": 31, + "payload": null, + "archived": false, + "created_at": "2021-08-31 07:45:37 UTC", + "org_id": null + }, + { + "id": 29, + "request_id": 33, + "payload": null, + "archived": false, + "created_at": "2021-08-31 07:45:37 UTC", + "org_id": null + }, + { + "id": 30, + "request_id": 33, + "payload": null, + "archived": false, + "created_at": "2021-08-31 07:45:37 UTC", + "org_id": null + }, + { + "id": 31, + "request_id": 35, + "payload": null, + "archived": false, + "created_at": "2021-08-31 07:45:37 UTC", + "org_id": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/request_payload_32-52.json b/spec/support/expected_files/remove_org_with_dependencies/request_payload_32-52.json new file mode 100644 index 0000000..714697a --- /dev/null +++ b/spec/support/expected_files/remove_org_with_dependencies/request_payload_32-52.json @@ -0,0 +1,45 @@ +{ + "table_name": "request_payloads", + "data": [ + { + "id": 32, + "request_id": 35, + "payload": null, + "archived": false, + "created_at": "2021-08-31 07:45:37 UTC", + "org_id": null + }, + { + "id": 33, + "request_id": 37, + "payload": null, + "archived": false, + "created_at": "2021-08-31 07:45:37 UTC", + "org_id": null + }, + { + "id": 34, + "request_id": 37, + "payload": null, + "archived": false, + "created_at": "2021-08-31 07:45:37 UTC", + "org_id": null + }, + { + "id": 51, + "request_id": 59, + "payload": null, + "archived": false, + "created_at": "2021-08-31 07:45:37 UTC", + "org_id": null + }, + { + "id": 52, + "request_id": 59, + "payload": null, + "archived": false, + "created_at": "2021-08-31 07:45:37 UTC", + "org_id": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/request_payload_53-54.json b/spec/support/expected_files/remove_org_with_dependencies/request_payload_53-54.json new file mode 100644 index 0000000..80322be --- /dev/null +++ b/spec/support/expected_files/remove_org_with_dependencies/request_payload_53-54.json @@ -0,0 +1,21 @@ +{ + "table_name": "request_payloads", + "data": [ + { + "id": 53, + "request_id": 61, + "payload": null, + "archived": false, + "created_at": "2021-08-31 07:45:37 UTC", + "org_id": null + }, + { + "id": 54, + "request_id": 61, + "payload": null, + "archived": false, + "created_at": "2021-08-31 07:45:37 UTC", + "org_id": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/request_payload_9-13.json b/spec/support/expected_files/remove_org_with_dependencies/request_payload_9-13.json new file mode 100644 index 0000000..32393b6 --- /dev/null +++ b/spec/support/expected_files/remove_org_with_dependencies/request_payload_9-13.json @@ -0,0 +1,45 @@ +{ + "table_name": "request_payloads", + "data": [ + { + "id": 9, + "request_id": 11, + "payload": null, + "archived": false, + "created_at": "2021-08-31 07:45:37 UTC", + "org_id": null + }, + { + "id": 10, + "request_id": 11, + "payload": null, + "archived": false, + "created_at": "2021-08-31 07:45:37 UTC", + "org_id": null + }, + { + "id": 11, + "request_id": 13, + "payload": null, + "archived": false, + "created_at": "2021-08-31 07:45:37 UTC", + "org_id": null + }, + { + "id": 12, + "request_id": 13, + "payload": null, + "archived": false, + "created_at": "2021-08-31 07:45:37 UTC", + "org_id": null + }, + { + "id": 13, + "request_id": 15, + "payload": null, + "archived": false, + "created_at": "2021-08-31 07:45:37 UTC", + "org_id": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/request_raw_config_1-2.json b/spec/support/expected_files/remove_org_with_dependencies/request_raw_config_1-2.json new file mode 100644 index 0000000..c72323d --- /dev/null +++ b/spec/support/expected_files/remove_org_with_dependencies/request_raw_config_1-2.json @@ -0,0 +1,19 @@ +{ + "table_name": "request_raw_configs", + "data": [ + { + "id": 1, + "config": null, + "repository_id": 1, + "key": "some_test_key", + "org_id": null + }, + { + "id": 2, + "config": null, + "repository_id": 1, + "key": "some_test_key", + "org_id": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/request_raw_configuration_14-26.json b/spec/support/expected_files/remove_org_with_dependencies/request_raw_configuration_14-26.json new file mode 100644 index 0000000..9590ef0 --- /dev/null +++ b/spec/support/expected_files/remove_org_with_dependencies/request_raw_configuration_14-26.json @@ -0,0 +1,45 @@ +{ + "table_name": "request_raw_configurations", + "data": [ + { + "id": 14, + "request_id": 15, + "request_raw_config_id": null, + "source": null, + "org_id": null, + "merge_mode": null + }, + { + "id": 15, + "request_id": 17, + "request_raw_config_id": null, + "source": null, + "org_id": null, + "merge_mode": null + }, + { + "id": 16, + "request_id": 17, + "request_raw_config_id": null, + "source": null, + "org_id": null, + "merge_mode": null + }, + { + "id": 25, + "request_id": 29, + "request_raw_config_id": null, + "source": null, + "org_id": null, + "merge_mode": null + }, + { + "id": 26, + "request_id": 29, + "request_raw_config_id": null, + "source": null, + "org_id": null, + "merge_mode": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/request_raw_configuration_27-31.json b/spec/support/expected_files/remove_org_with_dependencies/request_raw_configuration_27-31.json new file mode 100644 index 0000000..46d82ef --- /dev/null +++ b/spec/support/expected_files/remove_org_with_dependencies/request_raw_configuration_27-31.json @@ -0,0 +1,45 @@ +{ + "table_name": "request_raw_configurations", + "data": [ + { + "id": 27, + "request_id": 31, + "request_raw_config_id": null, + "source": null, + "org_id": null, + "merge_mode": null + }, + { + "id": 28, + "request_id": 31, + "request_raw_config_id": null, + "source": null, + "org_id": null, + "merge_mode": null + }, + { + "id": 29, + "request_id": 33, + "request_raw_config_id": null, + "source": null, + "org_id": null, + "merge_mode": null + }, + { + "id": 30, + "request_id": 33, + "request_raw_config_id": null, + "source": null, + "org_id": null, + "merge_mode": null + }, + { + "id": 31, + "request_id": 35, + "request_raw_config_id": null, + "source": null, + "org_id": null, + "merge_mode": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/request_raw_configuration_32-36.json b/spec/support/expected_files/remove_org_with_dependencies/request_raw_configuration_32-36.json new file mode 100644 index 0000000..fe9accd --- /dev/null +++ b/spec/support/expected_files/remove_org_with_dependencies/request_raw_configuration_32-36.json @@ -0,0 +1,45 @@ +{ + "table_name": "request_raw_configurations", + "data": [ + { + "id": 32, + "request_id": 35, + "request_raw_config_id": null, + "source": null, + "org_id": null, + "merge_mode": null + }, + { + "id": 33, + "request_id": null, + "request_raw_config_id": 1, + "source": null, + "org_id": null, + "merge_mode": null + }, + { + "id": 34, + "request_id": null, + "request_raw_config_id": 1, + "source": null, + "org_id": null, + "merge_mode": null + }, + { + "id": 35, + "request_id": 37, + "request_raw_config_id": null, + "source": null, + "org_id": null, + "merge_mode": null + }, + { + "id": 36, + "request_id": 37, + "request_raw_config_id": null, + "source": null, + "org_id": null, + "merge_mode": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/request_raw_configuration_53-56.json b/spec/support/expected_files/remove_org_with_dependencies/request_raw_configuration_53-56.json new file mode 100644 index 0000000..4de4d62 --- /dev/null +++ b/spec/support/expected_files/remove_org_with_dependencies/request_raw_configuration_53-56.json @@ -0,0 +1,37 @@ +{ + "table_name": "request_raw_configurations", + "data": [ + { + "id": 53, + "request_id": 59, + "request_raw_config_id": null, + "source": null, + "org_id": null, + "merge_mode": null + }, + { + "id": 54, + "request_id": 59, + "request_raw_config_id": null, + "source": null, + "org_id": null, + "merge_mode": null + }, + { + "id": 55, + "request_id": 61, + "request_raw_config_id": null, + "source": null, + "org_id": null, + "merge_mode": null + }, + { + "id": 56, + "request_id": 61, + "request_raw_config_id": null, + "source": null, + "org_id": null, + "merge_mode": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/request_raw_configuration_9-13.json b/spec/support/expected_files/remove_org_with_dependencies/request_raw_configuration_9-13.json new file mode 100644 index 0000000..613d490 --- /dev/null +++ b/spec/support/expected_files/remove_org_with_dependencies/request_raw_configuration_9-13.json @@ -0,0 +1,45 @@ +{ + "table_name": "request_raw_configurations", + "data": [ + { + "id": 9, + "request_id": 11, + "request_raw_config_id": null, + "source": null, + "org_id": null, + "merge_mode": null + }, + { + "id": 10, + "request_id": 11, + "request_raw_config_id": null, + "source": null, + "org_id": null, + "merge_mode": null + }, + { + "id": 11, + "request_id": 13, + "request_raw_config_id": null, + "source": null, + "org_id": null, + "merge_mode": null + }, + { + "id": 12, + "request_id": 13, + "request_raw_config_id": null, + "source": null, + "org_id": null, + "merge_mode": null + }, + { + "id": 13, + "request_id": 15, + "request_raw_config_id": null, + "source": null, + "org_id": null, + "merge_mode": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/request_yaml_config_1-2.json b/spec/support/expected_files/remove_org_with_dependencies/request_yaml_config_1-2.json new file mode 100644 index 0000000..568e31b --- /dev/null +++ b/spec/support/expected_files/remove_org_with_dependencies/request_yaml_config_1-2.json @@ -0,0 +1,21 @@ +{ + "table_name": "request_yaml_configs", + "data": [ + { + "id": 1, + "yaml": null, + "repository_id": 1, + "key": "some_test_key", + "org_id": null, + "com_id": null + }, + { + "id": 2, + "yaml": null, + "repository_id": 1, + "key": "some_test_key", + "org_id": null, + "com_id": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/ssl_key_3-4.json b/spec/support/expected_files/remove_org_with_dependencies/ssl_key_3-4.json new file mode 100644 index 0000000..c35a485 --- /dev/null +++ b/spec/support/expected_files/remove_org_with_dependencies/ssl_key_3-4.json @@ -0,0 +1,25 @@ +{ + "table_name": "ssl_keys", + "data": [ + { + "id": 3, + "repository_id": 1, + "public_key": null, + "private_key": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "org_id": null, + "com_id": null + }, + { + "id": 4, + "repository_id": 1, + "public_key": null, + "private_key": null, + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "org_id": null, + "com_id": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/ssl_key_33-34.json b/spec/support/expected_files/remove_org_with_dependencies/ssl_key_33-34.json deleted file mode 100644 index e2dfb2f..0000000 --- a/spec/support/expected_files/remove_org_with_dependencies/ssl_key_33-34.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "table_name": "ssl_keys", - "data": [ - { - "id": 33, - "repository_id": 1, - "public_key": null, - "private_key": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC" - }, - { - "id": 34, - "repository_id": 1, - "public_key": null, - "private_key": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC" - } - ] -} \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/stage_20-32.json b/spec/support/expected_files/remove_org_with_dependencies/stage_1-13.json similarity index 58% rename from spec/support/expected_files/remove_user_with_dependencies/stage_20-32.json rename to spec/support/expected_files/remove_org_with_dependencies/stage_1-13.json index 91fcb2e..ccba356 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/stage_20-32.json +++ b/spec/support/expected_files/remove_org_with_dependencies/stage_1-13.json @@ -2,49 +2,59 @@ "table_name": "stages", "data": [ { - "id": 20, + "id": 1, "build_id": 1, "number": null, "name": null, "state": null, "started_at": null, - "finished_at": null + "finished_at": null, + "org_id": null, + "com_id": null }, { - "id": 21, + "id": 2, "build_id": 1, "number": null, "name": null, "state": null, "started_at": null, - "finished_at": null + "finished_at": null, + "org_id": null, + "com_id": null }, { - "id": 30, - "build_id": 51, + "id": 3, + "build_id": 1, "number": null, "name": null, "state": null, "started_at": null, - "finished_at": null + "finished_at": null, + "org_id": null, + "com_id": null }, { - "id": 31, - "build_id": 58, + "id": 12, + "build_id": 52, "number": null, "name": null, "state": null, "started_at": null, - "finished_at": null + "finished_at": null, + "org_id": null, + "com_id": null }, { - "id": 32, - "build_id": 63, + "id": 13, + "build_id": 59, "number": null, "name": null, "state": null, "started_at": null, - "finished_at": null + "finished_at": null, + "org_id": null, + "com_id": null } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/stage_14-18.json b/spec/support/expected_files/remove_org_with_dependencies/stage_14-18.json new file mode 100644 index 0000000..56d9de4 --- /dev/null +++ b/spec/support/expected_files/remove_org_with_dependencies/stage_14-18.json @@ -0,0 +1,60 @@ +{ + "table_name": "stages", + "data": [ + { + "id": 14, + "build_id": 64, + "number": null, + "name": null, + "state": null, + "started_at": null, + "finished_at": null, + "org_id": null, + "com_id": null + }, + { + "id": 15, + "build_id": 69, + "number": null, + "name": null, + "state": null, + "started_at": null, + "finished_at": null, + "org_id": null, + "com_id": null + }, + { + "id": 16, + "build_id": 74, + "number": null, + "name": null, + "state": null, + "started_at": null, + "finished_at": null, + "org_id": null, + "com_id": null + }, + { + "id": 17, + "build_id": 79, + "number": null, + "name": null, + "state": null, + "started_at": null, + "finished_at": null, + "org_id": null, + "com_id": null + }, + { + "id": 18, + "build_id": 84, + "number": null, + "name": null, + "state": null, + "started_at": null, + "finished_at": null, + "org_id": null, + "com_id": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/stage_19-31.json b/spec/support/expected_files/remove_org_with_dependencies/stage_19-31.json new file mode 100644 index 0000000..1983714 --- /dev/null +++ b/spec/support/expected_files/remove_org_with_dependencies/stage_19-31.json @@ -0,0 +1,60 @@ +{ + "table_name": "stages", + "data": [ + { + "id": 19, + "build_id": 89, + "number": null, + "name": null, + "state": null, + "started_at": null, + "finished_at": null, + "org_id": null, + "com_id": null + }, + { + "id": 20, + "build_id": 89, + "number": null, + "name": null, + "state": null, + "started_at": null, + "finished_at": null, + "org_id": null, + "com_id": null + }, + { + "id": 21, + "build_id": 89, + "number": null, + "name": null, + "state": null, + "started_at": null, + "finished_at": null, + "org_id": null, + "com_id": null + }, + { + "id": 30, + "build_id": 140, + "number": null, + "name": null, + "state": null, + "started_at": null, + "finished_at": null, + "org_id": null, + "com_id": null + }, + { + "id": 31, + "build_id": 145, + "number": null, + "name": null, + "state": null, + "started_at": null, + "finished_at": null, + "org_id": null, + "com_id": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/stage_33-37.json b/spec/support/expected_files/remove_org_with_dependencies/stage_32-36.json similarity index 56% rename from spec/support/expected_files/remove_user_with_dependencies/stage_33-37.json rename to spec/support/expected_files/remove_org_with_dependencies/stage_32-36.json index 4b99471..f6c6757 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/stage_33-37.json +++ b/spec/support/expected_files/remove_org_with_dependencies/stage_32-36.json @@ -2,49 +2,59 @@ "table_name": "stages", "data": [ { - "id": 33, - "build_id": 68, + "id": 32, + "build_id": 148, "number": null, "name": null, "state": null, "started_at": null, - "finished_at": null + "finished_at": null, + "org_id": null, + "com_id": null }, { - "id": 34, - "build_id": 73, + "id": 33, + "build_id": 153, "number": null, "name": null, "state": null, "started_at": null, - "finished_at": null + "finished_at": null, + "org_id": null, + "com_id": null }, { - "id": 35, - "build_id": 78, + "id": 34, + "build_id": 158, "number": null, "name": null, "state": null, "started_at": null, - "finished_at": null + "finished_at": null, + "org_id": null, + "com_id": null }, { - "id": 36, - "build_id": 83, + "id": 35, + "build_id": 163, "number": null, "name": null, "state": null, "started_at": null, - "finished_at": null + "finished_at": null, + "org_id": null, + "com_id": null }, { - "id": 37, - "build_id": 88, + "id": 36, + "build_id": 166, "number": null, "name": null, "state": null, "started_at": null, - "finished_at": null + "finished_at": null, + "org_id": null, + "com_id": null } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/stage_38-50.json b/spec/support/expected_files/remove_org_with_dependencies/stage_37-49.json similarity index 53% rename from spec/support/expected_files/remove_org_with_dependencies/stage_38-50.json rename to spec/support/expected_files/remove_org_with_dependencies/stage_37-49.json index 40a0031..0de26d1 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/stage_38-50.json +++ b/spec/support/expected_files/remove_org_with_dependencies/stage_37-49.json @@ -2,49 +2,59 @@ "table_name": "stages", "data": [ { - "id": 38, - "build_id": 88, + "id": 37, + "build_id": 173, "number": null, "name": null, "state": null, "started_at": null, - "finished_at": null + "finished_at": null, + "org_id": null, + "com_id": null }, { - "id": 47, - "build_id": 138, + "id": 38, + "build_id": 178, "number": null, "name": null, "state": null, "started_at": null, - "finished_at": null + "finished_at": null, + "org_id": null, + "com_id": null }, { - "id": 48, - "build_id": 143, + "id": 39, + "build_id": 178, "number": null, "name": null, "state": null, "started_at": null, - "finished_at": null + "finished_at": null, + "org_id": null, + "com_id": null }, { - "id": 49, - "build_id": 146, + "id": 40, + "build_id": 178, "number": null, "name": null, "state": null, "started_at": null, - "finished_at": null + "finished_at": null, + "org_id": null, + "com_id": null }, { - "id": 50, - "build_id": 151, + "id": 49, + "build_id": 229, "number": null, "name": null, "state": null, "started_at": null, - "finished_at": null + "finished_at": null, + "org_id": null, + "com_id": null } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/stage_51-63.json b/spec/support/expected_files/remove_org_with_dependencies/stage_50-61.json similarity index 52% rename from spec/support/expected_files/remove_org_with_dependencies/stage_51-63.json rename to spec/support/expected_files/remove_org_with_dependencies/stage_50-61.json index 944cb8b..6043e7d 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/stage_51-63.json +++ b/spec/support/expected_files/remove_org_with_dependencies/stage_50-61.json @@ -2,49 +2,48 @@ "table_name": "stages", "data": [ { - "id": 51, - "build_id": 156, - "number": null, - "name": null, - "state": null, - "started_at": null, - "finished_at": null - }, - { - "id": 52, - "build_id": 161, + "id": 50, + "build_id": 229, "number": null, "name": null, "state": null, "started_at": null, - "finished_at": null + "finished_at": null, + "org_id": null, + "com_id": null }, { - "id": 53, - "build_id": 161, + "id": 51, + "build_id": 229, "number": null, "name": null, "state": null, "started_at": null, - "finished_at": null + "finished_at": null, + "org_id": null, + "com_id": null }, { - "id": 62, - "build_id": 211, + "id": 60, + "build_id": 280, "number": null, "name": null, "state": null, "started_at": null, - "finished_at": null + "finished_at": null, + "org_id": null, + "com_id": null }, { - "id": 63, - "build_id": 211, + "id": 61, + "build_id": 285, "number": null, "name": null, "state": null, "started_at": null, - "finished_at": null + "finished_at": null, + "org_id": null, + "com_id": null } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/stage_72-73.json b/spec/support/expected_files/remove_org_with_dependencies/stage_72-73.json deleted file mode 100644 index 5fe27f1..0000000 --- a/spec/support/expected_files/remove_org_with_dependencies/stage_72-73.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "table_name": "stages", - "data": [ - { - "id": 72, - "build_id": 261, - "number": null, - "name": null, - "state": null, - "started_at": null, - "finished_at": null - }, - { - "id": 73, - "build_id": 266, - "number": null, - "name": null, - "state": null, - "started_at": null, - "finished_at": null - } - ] -} \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/star_3-4.json b/spec/support/expected_files/remove_org_with_dependencies/star_3-4.json index b61a1da..ed70c92 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/star_3-4.json +++ b/spec/support/expected_files/remove_org_with_dependencies/star_3-4.json @@ -5,15 +5,15 @@ "id": 3, "repository_id": 1, "user_id": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC" + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC" }, { "id": 4, "repository_id": 1, "user_id": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC" + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC" } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/subscription_1-2.json b/spec/support/expected_files/remove_org_with_dependencies/subscription_1-2.json index 2b06806..0c6521b 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/subscription_1-2.json +++ b/spec/support/expected_files/remove_org_with_dependencies/subscription_1-2.json @@ -5,8 +5,8 @@ "id": 1, "cc_token": null, "valid_to": null, - "owner_id": 1, "owner_type": "Organization", + "owner_id": 1, "first_name": null, "last_name": null, "company": null, @@ -18,8 +18,8 @@ "country": null, "vat_id": null, "customer_id": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", "cc_owner": null, "cc_last_digits": null, "cc_expiration_date": null, @@ -37,8 +37,8 @@ "id": 2, "cc_token": null, "valid_to": null, - "owner_id": 1, "owner_type": "Organization", + "owner_id": 1, "first_name": null, "last_name": null, "company": null, @@ -50,8 +50,8 @@ "country": null, "vat_id": null, "customer_id": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", "cc_owner": null, "cc_last_digits": null, "cc_expiration_date": null, diff --git a/spec/support/expected_files/remove_org_with_dependencies/tag_33-38.json b/spec/support/expected_files/remove_org_with_dependencies/tag_33-38.json index 0dab47f..65c0f22 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/tag_33-38.json +++ b/spec/support/expected_files/remove_org_with_dependencies/tag_33-38.json @@ -7,8 +7,10 @@ "name": null, "last_build_id": null, "exists_on_github": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC" + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "org_id": null, + "com_id": null }, { "id": 38, @@ -16,8 +18,10 @@ "name": null, "last_build_id": null, "exists_on_github": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC" + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC", + "org_id": null, + "com_id": null } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/trial_1-2.json b/spec/support/expected_files/remove_org_with_dependencies/trial_1-2.json index 87b63a1..0d52748 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/trial_1-2.json +++ b/spec/support/expected_files/remove_org_with_dependencies/trial_1-2.json @@ -3,25 +3,25 @@ "data": [ { "id": 1, - "owner_id": 1, "owner_type": "Organization", + "owner_id": 1, "chartmogul_customer_uuids": [ ], "status": "new", - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC" + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC" }, { "id": 2, - "owner_id": 1, "owner_type": "Organization", + "owner_id": 1, "chartmogul_customer_uuids": [ ], "status": "new", - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC" + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC" } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/trial_allowance_1-5.json b/spec/support/expected_files/remove_org_with_dependencies/trial_allowance_1-5.json index 16ca1a7..36bd0f8 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/trial_allowance_1-5.json +++ b/spec/support/expected_files/remove_org_with_dependencies/trial_allowance_1-5.json @@ -8,8 +8,8 @@ "creator_type": null, "builds_allowed": null, "builds_remaining": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC" + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC" }, { "id": 2, @@ -18,8 +18,8 @@ "creator_type": null, "builds_allowed": null, "builds_remaining": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC" + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC" }, { "id": 3, @@ -28,8 +28,8 @@ "creator_type": null, "builds_allowed": null, "builds_remaining": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC" + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC" }, { "id": 4, @@ -38,8 +38,8 @@ "creator_type": null, "builds_allowed": null, "builds_remaining": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC" + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC" }, { "id": 5, @@ -48,8 +48,8 @@ "creator_type": "Organization", "builds_allowed": null, "builds_remaining": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC" + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC" } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/trial_allowance_6-6.json b/spec/support/expected_files/remove_org_with_dependencies/trial_allowance_6-6.json index 5423e48..f133745 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/trial_allowance_6-6.json +++ b/spec/support/expected_files/remove_org_with_dependencies/trial_allowance_6-6.json @@ -8,8 +8,8 @@ "creator_type": "Organization", "builds_allowed": null, "builds_remaining": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC" + "created_at": "2021-08-31 07:45:37 UTC", + "updated_at": "2021-08-31 07:45:37 UTC" } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/abuse_14-26.json b/spec/support/expected_files/remove_repo_with_dependencies/abuse_14-26.json index 6f61d3a..c9689e1 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/abuse_14-26.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/abuse_14-26.json @@ -8,8 +8,8 @@ "request_id": 15, "level": 14, "reason": "some text", - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC" + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC" }, { "id": 15, @@ -18,8 +18,8 @@ "request_id": 17, "level": 15, "reason": "some text", - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC" + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC" }, { "id": 16, @@ -28,8 +28,8 @@ "request_id": 17, "level": 16, "reason": "some text", - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC" + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC" }, { "id": 25, @@ -38,8 +38,8 @@ "request_id": 29, "level": 25, "reason": "some text", - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC" + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC" }, { "id": 26, @@ -48,8 +48,8 @@ "request_id": 29, "level": 26, "reason": "some text", - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC" + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC" } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/abuse_27-31.json b/spec/support/expected_files/remove_repo_with_dependencies/abuse_27-31.json index 10e17d4..e9d321f 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/abuse_27-31.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/abuse_27-31.json @@ -8,8 +8,8 @@ "request_id": 31, "level": 27, "reason": "some text", - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC" + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC" }, { "id": 28, @@ -18,8 +18,8 @@ "request_id": 31, "level": 28, "reason": "some text", - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC" + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC" }, { "id": 29, @@ -28,8 +28,8 @@ "request_id": 33, "level": 29, "reason": "some text", - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC" + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC" }, { "id": 30, @@ -38,8 +38,8 @@ "request_id": 33, "level": 30, "reason": "some text", - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC" + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC" }, { "id": 31, @@ -48,8 +48,8 @@ "request_id": 35, "level": 31, "reason": "some text", - "created_at": "2022-03-30 23:31:18 UTC", - "updated_at": "2022-03-30 23:31:18 UTC" + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC" } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/abuse_32-34.json b/spec/support/expected_files/remove_repo_with_dependencies/abuse_32-34.json index ba3ce2e..82f2bbc 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/abuse_32-34.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/abuse_32-34.json @@ -8,8 +8,8 @@ "request_id": 35, "level": 32, "reason": "some text", - "created_at": "2022-03-30 23:31:18 UTC", - "updated_at": "2022-03-30 23:31:18 UTC" + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC" }, { "id": 33, @@ -18,8 +18,8 @@ "request_id": 37, "level": 33, "reason": "some text", - "created_at": "2022-03-30 23:31:19 UTC", - "updated_at": "2022-03-30 23:31:19 UTC" + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC" }, { "id": 34, @@ -28,8 +28,8 @@ "request_id": 37, "level": 34, "reason": "some text", - "created_at": "2022-03-30 23:31:19 UTC", - "updated_at": "2022-03-30 23:31:19 UTC" + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC" } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/abuse_9-13.json b/spec/support/expected_files/remove_repo_with_dependencies/abuse_9-13.json index dd9f0f2..7df5e69 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/abuse_9-13.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/abuse_9-13.json @@ -8,8 +8,8 @@ "request_id": 11, "level": 9, "reason": "some text", - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC" + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC" }, { "id": 10, @@ -18,8 +18,8 @@ "request_id": 11, "level": 10, "reason": "some text", - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC" + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC" }, { "id": 11, @@ -28,8 +28,8 @@ "request_id": 13, "level": 11, "reason": "some text", - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC" + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC" }, { "id": 12, @@ -38,8 +38,8 @@ "request_id": 13, "level": 12, "reason": "some text", - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC" + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC" }, { "id": 13, @@ -48,8 +48,8 @@ "request_id": 15, "level": 13, "reason": "some text", - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC" + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC" } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/branch_14-19.json b/spec/support/expected_files/remove_repo_with_dependencies/branch_14-19.json index b6ccc0b..de77a5e 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/branch_14-19.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/branch_14-19.json @@ -7,8 +7,8 @@ "last_build_id": null, "name": "branch_14", "exists_on_github": true, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "org_id": null, "com_id": null }, @@ -18,8 +18,8 @@ "last_build_id": null, "name": "branch_19", "exists_on_github": true, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "org_id": null, "com_id": null } diff --git a/spec/support/expected_files/remove_repo_with_dependencies/build_1-59.json b/spec/support/expected_files/remove_repo_with_dependencies/build_1-59.json index 7dfde1e..25aba99 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/build_1-59.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/build_1-59.json @@ -14,8 +14,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "ref": null, "branch": null, "github_payload": null, @@ -59,8 +59,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "ref": null, "branch": null, "github_payload": null, @@ -104,8 +104,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "ref": null, "branch": null, "github_payload": null, @@ -149,8 +149,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "ref": null, "branch": null, "github_payload": null, @@ -194,8 +194,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "ref": null, "branch": null, "github_payload": null, diff --git a/spec/support/expected_files/remove_repo_with_dependencies/build_145-153.json b/spec/support/expected_files/remove_repo_with_dependencies/build_145-153.json index 5ab6a92..68b9f08 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/build_145-153.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/build_145-153.json @@ -14,8 +14,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "ref": null, "branch": null, "github_payload": null, @@ -59,8 +59,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "ref": null, "branch": null, "github_payload": null, @@ -104,8 +104,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "ref": null, "branch": null, "github_payload": null, @@ -149,8 +149,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "ref": null, "branch": null, "github_payload": null, @@ -194,8 +194,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "ref": null, "branch": null, "github_payload": null, diff --git a/spec/support/expected_files/remove_repo_with_dependencies/build_155-165.json b/spec/support/expected_files/remove_repo_with_dependencies/build_155-165.json index 7358cbd..4c922a9 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/build_155-165.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/build_155-165.json @@ -14,8 +14,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "ref": null, "branch": null, "github_payload": null, @@ -59,8 +59,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "ref": null, "branch": null, "github_payload": null, @@ -104,8 +104,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "ref": null, "branch": null, "github_payload": null, @@ -149,8 +149,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2022-03-30 23:31:18 UTC", - "updated_at": "2022-03-30 23:31:18 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "ref": null, "branch": null, "github_payload": null, @@ -194,8 +194,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2022-03-30 23:31:18 UTC", - "updated_at": "2022-03-30 23:31:18 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "ref": null, "branch": null, "github_payload": null, diff --git a/spec/support/expected_files/remove_repo_with_dependencies/build_166-175.json b/spec/support/expected_files/remove_repo_with_dependencies/build_166-175.json index e1cb89b..9e54a56 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/build_166-175.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/build_166-175.json @@ -14,8 +14,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2022-03-30 23:31:18 UTC", - "updated_at": "2022-03-30 23:31:18 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "ref": null, "branch": null, "github_payload": null, @@ -59,8 +59,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2022-03-30 23:31:18 UTC", - "updated_at": "2022-03-30 23:31:18 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "ref": null, "branch": null, "github_payload": null, @@ -104,8 +104,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2022-03-30 23:31:19 UTC", - "updated_at": "2022-03-30 23:31:19 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "ref": null, "branch": null, "github_payload": null, @@ -149,8 +149,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2022-03-30 23:31:19 UTC", - "updated_at": "2022-03-30 23:31:19 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "ref": null, "branch": null, "github_payload": null, diff --git a/spec/support/expected_files/remove_repo_with_dependencies/build_61-71.json b/spec/support/expected_files/remove_repo_with_dependencies/build_61-71.json index ce7334e..8a89fe8 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/build_61-71.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/build_61-71.json @@ -14,8 +14,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "ref": null, "branch": null, "github_payload": null, @@ -59,8 +59,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "ref": null, "branch": null, "github_payload": null, @@ -104,8 +104,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "ref": null, "branch": null, "github_payload": null, @@ -149,8 +149,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "ref": null, "branch": null, "github_payload": null, @@ -194,8 +194,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "ref": null, "branch": null, "github_payload": null, diff --git a/spec/support/expected_files/remove_repo_with_dependencies/build_74-84.json b/spec/support/expected_files/remove_repo_with_dependencies/build_74-84.json index 2438050..61f1e87 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/build_74-84.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/build_74-84.json @@ -14,8 +14,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "ref": null, "branch": null, "github_payload": null, @@ -59,8 +59,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "ref": null, "branch": null, "github_payload": null, @@ -104,8 +104,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "ref": null, "branch": null, "github_payload": null, @@ -149,8 +149,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "ref": null, "branch": null, "github_payload": null, @@ -194,8 +194,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "ref": null, "branch": null, "github_payload": null, diff --git a/spec/support/expected_files/remove_repo_with_dependencies/build_86-142.json b/spec/support/expected_files/remove_repo_with_dependencies/build_86-142.json index 8f5cb1a..6e260e3 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/build_86-142.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/build_86-142.json @@ -14,8 +14,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "ref": null, "branch": null, "github_payload": null, @@ -59,8 +59,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "ref": null, "branch": null, "github_payload": null, @@ -104,8 +104,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "ref": null, "branch": null, "github_payload": null, @@ -149,8 +149,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "ref": null, "branch": null, "github_payload": null, @@ -194,8 +194,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "ref": null, "branch": null, "github_payload": null, diff --git a/spec/support/expected_files/remove_repo_with_dependencies/commit_18-18.json b/spec/support/expected_files/remove_repo_with_dependencies/commit_18-18.json index 6a4828c..146785d 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/commit_18-18.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/commit_18-18.json @@ -14,8 +14,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "branch_id": null, "tag_id": 33, "org_id": null, diff --git a/spec/support/expected_files/remove_repo_with_dependencies/commit_7-17.json b/spec/support/expected_files/remove_repo_with_dependencies/commit_7-17.json index 9cbb01e..d85c3d4 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/commit_7-17.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/commit_7-17.json @@ -14,8 +14,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "branch_id": 14, "tag_id": null, "org_id": null, @@ -34,8 +34,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "branch_id": 14, "tag_id": null, "org_id": null, @@ -54,8 +54,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "branch_id": null, "tag_id": null, "org_id": null, @@ -74,8 +74,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "branch_id": null, "tag_id": null, "org_id": null, @@ -94,8 +94,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "branch_id": null, "tag_id": 33, "org_id": null, diff --git a/spec/support/expected_files/remove_repo_with_dependencies/cron_2-2.json b/spec/support/expected_files/remove_repo_with_dependencies/cron_2-2.json index 59ee14a..dbfd3b6 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/cron_2-2.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/cron_2-2.json @@ -5,8 +5,8 @@ "id": 2, "branch_id": 14, "interval": "test", - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "next_run": null, "last_run": null, "dont_run_if_recent_build_exists": false, diff --git a/spec/support/expected_files/remove_repo_with_dependencies/deleted_build_17-21.json b/spec/support/expected_files/remove_repo_with_dependencies/deleted_build_17-21.json index ba3aaad..7154b71 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/deleted_build_17-21.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/deleted_build_17-21.json @@ -14,8 +14,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "ref": null, "branch": null, "github_payload": null, @@ -59,8 +59,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "ref": null, "branch": null, "github_payload": null, @@ -104,8 +104,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "ref": null, "branch": null, "github_payload": null, @@ -149,8 +149,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "ref": null, "branch": null, "github_payload": null, @@ -194,8 +194,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "ref": null, "branch": null, "github_payload": null, diff --git a/spec/support/expected_files/remove_repo_with_dependencies/deleted_build_22-26.json b/spec/support/expected_files/remove_repo_with_dependencies/deleted_build_22-26.json index cd7c12b..fdb5435 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/deleted_build_22-26.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/deleted_build_22-26.json @@ -14,8 +14,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "ref": null, "branch": null, "github_payload": null, @@ -59,8 +59,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "ref": null, "branch": null, "github_payload": null, @@ -104,8 +104,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "ref": null, "branch": null, "github_payload": null, @@ -149,8 +149,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "ref": null, "branch": null, "github_payload": null, @@ -194,8 +194,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "ref": null, "branch": null, "github_payload": null, diff --git a/spec/support/expected_files/remove_repo_with_dependencies/deleted_build_27-47.json b/spec/support/expected_files/remove_repo_with_dependencies/deleted_build_27-47.json index 2a4f953..dfbd850 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/deleted_build_27-47.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/deleted_build_27-47.json @@ -14,8 +14,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "ref": null, "branch": null, "github_payload": null, @@ -59,8 +59,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "ref": null, "branch": null, "github_payload": null, @@ -104,8 +104,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "ref": null, "branch": null, "github_payload": null, @@ -149,8 +149,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "ref": null, "branch": null, "github_payload": null, @@ -194,8 +194,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "ref": null, "branch": null, "github_payload": null, diff --git a/spec/support/expected_files/remove_repo_with_dependencies/deleted_build_48-52.json b/spec/support/expected_files/remove_repo_with_dependencies/deleted_build_48-52.json index 5d510c9..b2c882f 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/deleted_build_48-52.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/deleted_build_48-52.json @@ -14,8 +14,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "ref": null, "branch": null, "github_payload": null, @@ -59,8 +59,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "ref": null, "branch": null, "github_payload": null, @@ -104,8 +104,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "ref": null, "branch": null, "github_payload": null, @@ -149,8 +149,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "ref": null, "branch": null, "github_payload": null, @@ -194,8 +194,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "ref": null, "branch": null, "github_payload": null, diff --git a/spec/support/expected_files/remove_repo_with_dependencies/deleted_build_53-57.json b/spec/support/expected_files/remove_repo_with_dependencies/deleted_build_53-57.json index 12bafa1..05c0411 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/deleted_build_53-57.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/deleted_build_53-57.json @@ -14,8 +14,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "ref": null, "branch": null, "github_payload": null, @@ -59,8 +59,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "ref": null, "branch": null, "github_payload": null, @@ -104,8 +104,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "ref": null, "branch": null, "github_payload": null, @@ -149,8 +149,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "ref": null, "branch": null, "github_payload": null, @@ -194,8 +194,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "ref": null, "branch": null, "github_payload": null, diff --git a/spec/support/expected_files/remove_repo_with_dependencies/deleted_build_58-62.json b/spec/support/expected_files/remove_repo_with_dependencies/deleted_build_58-62.json index ab4a76d..6faaf20 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/deleted_build_58-62.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/deleted_build_58-62.json @@ -14,8 +14,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "ref": null, "branch": null, "github_payload": null, @@ -59,8 +59,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2022-03-30 23:31:18 UTC", - "updated_at": "2022-03-30 23:31:18 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "ref": null, "branch": null, "github_payload": null, @@ -104,8 +104,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2022-03-30 23:31:18 UTC", - "updated_at": "2022-03-30 23:31:18 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "ref": null, "branch": null, "github_payload": null, @@ -149,8 +149,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2022-03-30 23:31:18 UTC", - "updated_at": "2022-03-30 23:31:18 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "ref": null, "branch": null, "github_payload": null, @@ -194,8 +194,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2022-03-30 23:31:18 UTC", - "updated_at": "2022-03-30 23:31:18 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "ref": null, "branch": null, "github_payload": null, diff --git a/spec/support/expected_files/remove_repo_with_dependencies/deleted_build_63-66.json b/spec/support/expected_files/remove_repo_with_dependencies/deleted_build_63-66.json index c90d220..32e7906 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/deleted_build_63-66.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/deleted_build_63-66.json @@ -14,8 +14,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2022-03-30 23:31:19 UTC", - "updated_at": "2022-03-30 23:31:19 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "ref": null, "branch": null, "github_payload": null, @@ -59,8 +59,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2022-03-30 23:31:19 UTC", - "updated_at": "2022-03-30 23:31:19 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "ref": null, "branch": null, "github_payload": null, @@ -104,8 +104,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "ref": null, "branch": null, "github_payload": null, @@ -149,8 +149,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "ref": null, "branch": null, "github_payload": null, diff --git a/spec/support/expected_files/remove_repo_with_dependencies/deleted_commit_14-14.json b/spec/support/expected_files/remove_repo_with_dependencies/deleted_commit_14-14.json index 3714df3..19d3b7f 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/deleted_commit_14-14.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/deleted_commit_14-14.json @@ -14,8 +14,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "branch_id": null, "tag_id": null, "org_id": null, diff --git a/spec/support/expected_files/remove_repo_with_dependencies/deleted_commit_5-13.json b/spec/support/expected_files/remove_repo_with_dependencies/deleted_commit_5-13.json index 6f26149..bc20b55 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/deleted_commit_5-13.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/deleted_commit_5-13.json @@ -14,8 +14,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "branch_id": 14, "tag_id": null, "org_id": null, @@ -34,8 +34,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "branch_id": 14, "tag_id": null, "org_id": null, @@ -54,8 +54,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "branch_id": null, "tag_id": 33, "org_id": null, @@ -74,8 +74,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "branch_id": null, "tag_id": 33, "org_id": null, @@ -94,8 +94,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "branch_id": null, "tag_id": null, "org_id": null, diff --git a/spec/support/expected_files/remove_repo_with_dependencies/deleted_job_15-19.json b/spec/support/expected_files/remove_repo_with_dependencies/deleted_job_15-19.json index 51b24a4..97128af 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/deleted_job_15-19.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/deleted_job_15-19.json @@ -15,8 +15,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "tags": null, "allow_failure": null, "owner_type": null, @@ -49,8 +49,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "tags": null, "allow_failure": null, "owner_type": null, @@ -83,8 +83,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "tags": null, "allow_failure": null, "owner_type": null, @@ -117,8 +117,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "tags": null, "allow_failure": null, "owner_type": null, @@ -151,8 +151,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "tags": null, "allow_failure": null, "owner_type": null, diff --git a/spec/support/expected_files/remove_repo_with_dependencies/deleted_job_20-24.json b/spec/support/expected_files/remove_repo_with_dependencies/deleted_job_20-24.json index 054eb0c..aec3a01 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/deleted_job_20-24.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/deleted_job_20-24.json @@ -15,8 +15,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "tags": null, "allow_failure": null, "owner_type": null, @@ -49,8 +49,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "tags": null, "allow_failure": null, "owner_type": null, @@ -83,8 +83,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "tags": null, "allow_failure": null, "owner_type": null, @@ -117,8 +117,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "tags": null, "allow_failure": null, "owner_type": null, @@ -151,8 +151,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "tags": null, "allow_failure": null, "owner_type": null, diff --git a/spec/support/expected_files/remove_repo_with_dependencies/deleted_job_25-29.json b/spec/support/expected_files/remove_repo_with_dependencies/deleted_job_25-29.json index 294120d..27dd3bf 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/deleted_job_25-29.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/deleted_job_25-29.json @@ -15,8 +15,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "tags": null, "allow_failure": null, "owner_type": null, @@ -49,8 +49,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "tags": null, "allow_failure": null, "owner_type": null, @@ -83,8 +83,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "tags": null, "allow_failure": null, "owner_type": null, @@ -117,8 +117,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "tags": null, "allow_failure": null, "owner_type": null, @@ -151,8 +151,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "tags": null, "allow_failure": null, "owner_type": null, diff --git a/spec/support/expected_files/remove_repo_with_dependencies/deleted_job_44-48.json b/spec/support/expected_files/remove_repo_with_dependencies/deleted_job_44-48.json index 96fc69e..88e3a3a 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/deleted_job_44-48.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/deleted_job_44-48.json @@ -15,8 +15,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "tags": null, "allow_failure": null, "owner_type": null, @@ -49,8 +49,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "tags": null, "allow_failure": null, "owner_type": null, @@ -83,8 +83,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "tags": null, "allow_failure": null, "owner_type": null, @@ -117,8 +117,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "tags": null, "allow_failure": null, "owner_type": null, @@ -151,8 +151,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "tags": null, "allow_failure": null, "owner_type": null, diff --git a/spec/support/expected_files/remove_repo_with_dependencies/deleted_job_49-53.json b/spec/support/expected_files/remove_repo_with_dependencies/deleted_job_49-53.json index c41db80..496c79a 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/deleted_job_49-53.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/deleted_job_49-53.json @@ -15,8 +15,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "tags": null, "allow_failure": null, "owner_type": null, @@ -49,8 +49,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "tags": null, "allow_failure": null, "owner_type": null, @@ -83,8 +83,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "tags": null, "allow_failure": null, "owner_type": null, @@ -117,8 +117,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "tags": null, "allow_failure": null, "owner_type": null, @@ -151,8 +151,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2022-03-30 23:31:18 UTC", - "updated_at": "2022-03-30 23:31:18 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "tags": null, "allow_failure": null, "owner_type": null, diff --git a/spec/support/expected_files/remove_repo_with_dependencies/deleted_job_54-58.json b/spec/support/expected_files/remove_repo_with_dependencies/deleted_job_54-58.json index 5da7e66..474fc8f 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/deleted_job_54-58.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/deleted_job_54-58.json @@ -15,8 +15,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2022-03-30 23:31:18 UTC", - "updated_at": "2022-03-30 23:31:18 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "tags": null, "allow_failure": null, "owner_type": null, @@ -49,8 +49,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2022-03-30 23:31:19 UTC", - "updated_at": "2022-03-30 23:31:19 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "tags": null, "allow_failure": null, "owner_type": null, @@ -83,8 +83,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2022-03-30 23:31:19 UTC", - "updated_at": "2022-03-30 23:31:19 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "tags": null, "allow_failure": null, "owner_type": null, @@ -117,8 +117,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2022-03-30 23:31:19 UTC", - "updated_at": "2022-03-30 23:31:19 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "tags": null, "allow_failure": null, "owner_type": null, @@ -151,8 +151,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2022-03-30 23:31:19 UTC", - "updated_at": "2022-03-30 23:31:19 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "tags": null, "allow_failure": null, "owner_type": null, diff --git a/spec/support/expected_files/remove_repo_with_dependencies/deleted_job_59-60.json b/spec/support/expected_files/remove_repo_with_dependencies/deleted_job_59-60.json index 322ed33..dd499a8 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/deleted_job_59-60.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/deleted_job_59-60.json @@ -15,8 +15,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "tags": null, "allow_failure": null, "owner_type": null, @@ -49,8 +49,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "tags": null, "allow_failure": null, "owner_type": null, diff --git a/spec/support/expected_files/remove_repo_with_dependencies/deleted_pull_request_1-2.json b/spec/support/expected_files/remove_repo_with_dependencies/deleted_pull_request_1-2.json index e2e4fd7..5e2e926 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/deleted_pull_request_1-2.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/deleted_pull_request_1-2.json @@ -10,8 +10,8 @@ "head_repo_github_id": null, "head_repo_slug": null, "head_ref": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "org_id": null, "com_id": null, "mergeable_state": null, @@ -29,8 +29,8 @@ "head_repo_github_id": null, "head_repo_slug": null, "head_ref": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "org_id": null, "com_id": null, "mergeable_state": null, diff --git a/spec/support/expected_files/remove_repo_with_dependencies/deleted_request_14-26.json b/spec/support/expected_files/remove_repo_with_dependencies/deleted_request_14-26.json index d6c0ae1..f820557 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/deleted_request_14-26.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/deleted_request_14-26.json @@ -10,8 +10,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "event_type": null, "comments_url": null, "base_commit": null, @@ -42,8 +42,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "event_type": null, "comments_url": null, "base_commit": null, @@ -74,8 +74,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "event_type": null, "comments_url": null, "base_commit": null, @@ -106,8 +106,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "event_type": null, "comments_url": null, "base_commit": null, @@ -138,8 +138,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "event_type": null, "comments_url": null, "base_commit": null, diff --git a/spec/support/expected_files/remove_repo_with_dependencies/deleted_request_27-31.json b/spec/support/expected_files/remove_repo_with_dependencies/deleted_request_27-31.json index c1057c9..d91b540 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/deleted_request_27-31.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/deleted_request_27-31.json @@ -10,8 +10,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "event_type": null, "comments_url": null, "base_commit": null, @@ -42,8 +42,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "event_type": null, "comments_url": null, "base_commit": null, @@ -74,8 +74,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2022-03-30 23:31:19 UTC", - "updated_at": "2022-03-30 23:31:19 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "event_type": null, "comments_url": null, "base_commit": null, @@ -106,8 +106,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2022-03-30 23:31:19 UTC", - "updated_at": "2022-03-30 23:31:19 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "event_type": null, "comments_url": null, "base_commit": null, @@ -138,8 +138,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2022-03-30 23:31:19 UTC", - "updated_at": "2022-03-30 23:31:19 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "event_type": null, "comments_url": null, "base_commit": null, @@ -156,8 +156,8 @@ "sender_id": null, "org_id": null, "com_id": null, - "config_id": null, - "yaml_config_id": 1, + "config_id": 1, + "yaml_config_id": null, "github_guid": null, "pull_request_mergeable": null } diff --git a/spec/support/expected_files/remove_repo_with_dependencies/deleted_request_32-34.json b/spec/support/expected_files/remove_repo_with_dependencies/deleted_request_32-34.json index 199d24e..a9430c3 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/deleted_request_32-34.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/deleted_request_32-34.json @@ -10,8 +10,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2022-03-30 23:31:19 UTC", - "updated_at": "2022-03-30 23:31:19 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "event_type": null, "comments_url": null, "base_commit": null, @@ -28,8 +28,8 @@ "sender_id": null, "org_id": null, "com_id": null, - "config_id": null, - "yaml_config_id": 1, + "config_id": 1, + "yaml_config_id": null, "github_guid": null, "pull_request_mergeable": null }, @@ -42,8 +42,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "event_type": null, "comments_url": null, "base_commit": null, @@ -74,8 +74,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "event_type": null, "comments_url": null, "base_commit": null, diff --git a/spec/support/expected_files/remove_repo_with_dependencies/deleted_request_9-13.json b/spec/support/expected_files/remove_repo_with_dependencies/deleted_request_9-13.json index 8f203f4..57bd428 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/deleted_request_9-13.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/deleted_request_9-13.json @@ -10,8 +10,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "event_type": null, "comments_url": null, "base_commit": null, @@ -42,8 +42,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "event_type": null, "comments_url": null, "base_commit": null, @@ -74,8 +74,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "event_type": null, "comments_url": null, "base_commit": null, @@ -106,8 +106,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "event_type": null, "comments_url": null, "base_commit": null, @@ -138,8 +138,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "event_type": null, "comments_url": null, "base_commit": null, diff --git a/spec/support/expected_files/remove_repo_with_dependencies/deleted_request_payload_14-26.json b/spec/support/expected_files/remove_repo_with_dependencies/deleted_request_payload_14-26.json index c86b331..f740029 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/deleted_request_payload_14-26.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/deleted_request_payload_14-26.json @@ -6,7 +6,7 @@ "request_id": 15, "payload": null, "archived": null, - "created_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", "org_id": null }, { @@ -14,7 +14,7 @@ "request_id": 17, "payload": null, "archived": null, - "created_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", "org_id": null }, { @@ -22,7 +22,7 @@ "request_id": 17, "payload": null, "archived": null, - "created_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", "org_id": null }, { @@ -30,7 +30,7 @@ "request_id": 29, "payload": null, "archived": null, - "created_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", "org_id": null }, { @@ -38,7 +38,7 @@ "request_id": 29, "payload": null, "archived": null, - "created_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", "org_id": null } ] diff --git a/spec/support/expected_files/remove_repo_with_dependencies/deleted_request_payload_27-31.json b/spec/support/expected_files/remove_repo_with_dependencies/deleted_request_payload_27-31.json index f469acf..4ae7d5d 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/deleted_request_payload_27-31.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/deleted_request_payload_27-31.json @@ -6,7 +6,7 @@ "request_id": 31, "payload": null, "archived": null, - "created_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", "org_id": null }, { @@ -14,7 +14,7 @@ "request_id": 31, "payload": null, "archived": null, - "created_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", "org_id": null }, { @@ -22,7 +22,7 @@ "request_id": 33, "payload": null, "archived": null, - "created_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", "org_id": null }, { @@ -30,7 +30,7 @@ "request_id": 33, "payload": null, "archived": null, - "created_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", "org_id": null }, { @@ -38,7 +38,7 @@ "request_id": 35, "payload": null, "archived": null, - "created_at": "2022-03-30 23:31:18 UTC", + "created_at": "2021-08-31 01:29:32 UTC", "org_id": null } ] diff --git a/spec/support/expected_files/remove_repo_with_dependencies/deleted_request_payload_32-34.json b/spec/support/expected_files/remove_repo_with_dependencies/deleted_request_payload_32-34.json index becf9be..06ba3f8 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/deleted_request_payload_32-34.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/deleted_request_payload_32-34.json @@ -6,7 +6,7 @@ "request_id": 35, "payload": null, "archived": null, - "created_at": "2022-03-30 23:31:18 UTC", + "created_at": "2021-08-31 01:29:32 UTC", "org_id": null }, { @@ -14,7 +14,7 @@ "request_id": 37, "payload": null, "archived": null, - "created_at": "2022-03-30 23:31:19 UTC", + "created_at": "2021-08-31 01:29:32 UTC", "org_id": null }, { @@ -22,7 +22,7 @@ "request_id": 37, "payload": null, "archived": null, - "created_at": "2022-03-30 23:31:19 UTC", + "created_at": "2021-08-31 01:29:32 UTC", "org_id": null } ] diff --git a/spec/support/expected_files/remove_repo_with_dependencies/deleted_request_payload_9-13.json b/spec/support/expected_files/remove_repo_with_dependencies/deleted_request_payload_9-13.json index f3829b4..590fc92 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/deleted_request_payload_9-13.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/deleted_request_payload_9-13.json @@ -6,7 +6,7 @@ "request_id": 11, "payload": null, "archived": null, - "created_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", "org_id": null }, { @@ -14,7 +14,7 @@ "request_id": 11, "payload": null, "archived": null, - "created_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", "org_id": null }, { @@ -22,7 +22,7 @@ "request_id": 13, "payload": null, "archived": null, - "created_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", "org_id": null }, { @@ -30,7 +30,7 @@ "request_id": 13, "payload": null, "archived": null, - "created_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", "org_id": null }, { @@ -38,7 +38,7 @@ "request_id": 15, "payload": null, "archived": null, - "created_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", "org_id": null } ] diff --git a/spec/support/expected_files/remove_repo_with_dependencies/deleted_ssl_key_1-2.json b/spec/support/expected_files/remove_repo_with_dependencies/deleted_ssl_key_1-2.json index aeb78ad..a2852f7 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/deleted_ssl_key_1-2.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/deleted_ssl_key_1-2.json @@ -6,8 +6,8 @@ "repository_id": 1, "public_key": null, "private_key": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "org_id": null, "com_id": null }, @@ -16,8 +16,8 @@ "repository_id": 1, "public_key": null, "private_key": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "org_id": null, "com_id": null } diff --git a/spec/support/expected_files/remove_repo_with_dependencies/deleted_tag_3-4.json b/spec/support/expected_files/remove_repo_with_dependencies/deleted_tag_3-4.json index 6d2528a..5e92366 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/deleted_tag_3-4.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/deleted_tag_3-4.json @@ -7,8 +7,8 @@ "name": null, "last_build_id": null, "exists_on_github": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "org_id": null, "com_id": null }, @@ -18,8 +18,8 @@ "name": null, "last_build_id": null, "exists_on_github": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "org_id": null, "com_id": null } diff --git a/spec/support/expected_files/remove_repo_with_dependencies/email_unsubscribe_1-2.json b/spec/support/expected_files/remove_repo_with_dependencies/email_unsubscribe_1-2.json index 82908aa..f389e4f 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/email_unsubscribe_1-2.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/email_unsubscribe_1-2.json @@ -5,15 +5,15 @@ "id": 1, "user_id": null, "repository_id": 1, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC" + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC" }, { "id": 2, "user_id": null, "repository_id": 1, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC" + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC" } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/job_146-154.json b/spec/support/expected_files/remove_repo_with_dependencies/job_146-154.json index 2a4fc64..f9527a7 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/job_146-154.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/job_146-154.json @@ -15,8 +15,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -49,8 +49,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -83,8 +83,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -117,8 +117,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -151,8 +151,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "tags": null, "allow_failure": false, "owner_type": null, diff --git a/spec/support/expected_files/remove_repo_with_dependencies/job_156-162.json b/spec/support/expected_files/remove_repo_with_dependencies/job_156-162.json index ee2593c..6397d4f 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/job_156-162.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/job_156-162.json @@ -15,8 +15,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -49,8 +49,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -83,8 +83,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -117,8 +117,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -151,8 +151,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "tags": null, "allow_failure": false, "owner_type": null, diff --git a/spec/support/expected_files/remove_repo_with_dependencies/job_164-171.json b/spec/support/expected_files/remove_repo_with_dependencies/job_164-171.json index 0aeba3d..b723494 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/job_164-171.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/job_164-171.json @@ -15,8 +15,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2022-03-30 23:31:18 UTC", - "updated_at": "2022-03-30 23:31:18 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -49,8 +49,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2022-03-30 23:31:18 UTC", - "updated_at": "2022-03-30 23:31:18 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -83,8 +83,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2022-03-30 23:31:18 UTC", - "updated_at": "2022-03-30 23:31:18 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -117,8 +117,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2022-03-30 23:31:18 UTC", - "updated_at": "2022-03-30 23:31:18 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -151,8 +151,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2022-03-30 23:31:19 UTC", - "updated_at": "2022-03-30 23:31:19 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "tags": null, "allow_failure": false, "owner_type": null, diff --git a/spec/support/expected_files/remove_repo_with_dependencies/job_172-177.json b/spec/support/expected_files/remove_repo_with_dependencies/job_172-177.json index 1715e24..cff217f 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/job_172-177.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/job_172-177.json @@ -15,8 +15,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2022-03-30 23:31:19 UTC", - "updated_at": "2022-03-30 23:31:19 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -49,8 +49,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2022-03-30 23:31:19 UTC", - "updated_at": "2022-03-30 23:31:19 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -83,8 +83,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2022-03-30 23:31:19 UTC", - "updated_at": "2022-03-30 23:31:19 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -117,8 +117,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2022-03-30 23:31:19 UTC", - "updated_at": "2022-03-30 23:31:19 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "tags": null, "allow_failure": false, "owner_type": null, diff --git a/spec/support/expected_files/remove_repo_with_dependencies/job_2-6.json b/spec/support/expected_files/remove_repo_with_dependencies/job_2-6.json index f22f7c7..63db1b0 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/job_2-6.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/job_2-6.json @@ -15,8 +15,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -49,8 +49,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -83,8 +83,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -117,8 +117,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -151,8 +151,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "tags": null, "allow_failure": false, "owner_type": null, diff --git a/spec/support/expected_files/remove_repo_with_dependencies/job_57-63.json b/spec/support/expected_files/remove_repo_with_dependencies/job_57-63.json index 344dc95..d48ef18 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/job_57-63.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/job_57-63.json @@ -15,8 +15,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -49,8 +49,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -83,8 +83,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -117,8 +117,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -151,8 +151,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "tags": null, "allow_failure": false, "owner_type": null, diff --git a/spec/support/expected_files/remove_repo_with_dependencies/job_65-72.json b/spec/support/expected_files/remove_repo_with_dependencies/job_65-72.json index 826e410..31f3c2a 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/job_65-72.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/job_65-72.json @@ -15,8 +15,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -49,8 +49,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -83,8 +83,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -117,8 +117,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -151,8 +151,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "tags": null, "allow_failure": false, "owner_type": null, diff --git a/spec/support/expected_files/remove_repo_with_dependencies/job_7-56.json b/spec/support/expected_files/remove_repo_with_dependencies/job_7-56.json index f166245..ae31d66 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/job_7-56.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/job_7-56.json @@ -15,8 +15,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -49,8 +49,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -83,8 +83,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -117,8 +117,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -151,8 +151,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "tags": null, "allow_failure": false, "owner_type": null, diff --git a/spec/support/expected_files/remove_repo_with_dependencies/job_73-80.json b/spec/support/expected_files/remove_repo_with_dependencies/job_73-80.json index 1b819bf..7f273cf 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/job_73-80.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/job_73-80.json @@ -15,8 +15,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -49,8 +49,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -83,8 +83,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -117,8 +117,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -151,8 +151,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "tags": null, "allow_failure": false, "owner_type": null, diff --git a/spec/support/expected_files/remove_repo_with_dependencies/job_82-88.json b/spec/support/expected_files/remove_repo_with_dependencies/job_82-88.json index cdd95e2..affe9ee 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/job_82-88.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/job_82-88.json @@ -15,8 +15,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -49,8 +49,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -83,8 +83,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -117,8 +117,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -151,8 +151,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "tags": null, "allow_failure": false, "owner_type": null, diff --git a/spec/support/expected_files/remove_repo_with_dependencies/job_90-94.json b/spec/support/expected_files/remove_repo_with_dependencies/job_90-94.json index b1d7a2f..a92c52b 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/job_90-94.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/job_90-94.json @@ -15,8 +15,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -49,8 +49,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -83,8 +83,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -117,8 +117,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -151,8 +151,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "tags": null, "allow_failure": false, "owner_type": null, diff --git a/spec/support/expected_files/remove_repo_with_dependencies/job_95-144.json b/spec/support/expected_files/remove_repo_with_dependencies/job_95-144.json index aca5304..ff3d603 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/job_95-144.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/job_95-144.json @@ -15,8 +15,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -49,8 +49,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -83,8 +83,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -117,8 +117,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -151,8 +151,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "tags": null, "allow_failure": false, "owner_type": null, diff --git a/spec/support/expected_files/remove_repo_with_dependencies/job_version_1-19.json b/spec/support/expected_files/remove_repo_with_dependencies/job_version_1-19.json index 3e98b70..35fe5b2 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/job_version_1-19.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/job_version_1-19.json @@ -6,7 +6,7 @@ "job_id": 6, "number": null, "state": null, - "created_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", "queued_at": null, "received_at": null, "started_at": null, @@ -18,7 +18,7 @@ "job_id": 6, "number": null, "state": null, - "created_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", "queued_at": null, "received_at": null, "started_at": null, @@ -30,7 +30,7 @@ "job_id": 55, "number": null, "state": null, - "created_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", "queued_at": null, "received_at": null, "started_at": null, @@ -42,7 +42,7 @@ "job_id": 55, "number": null, "state": null, - "created_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", "queued_at": null, "received_at": null, "started_at": null, @@ -54,7 +54,7 @@ "job_id": 57, "number": null, "state": null, - "created_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", "queued_at": null, "received_at": null, "started_at": null, diff --git a/spec/support/expected_files/remove_repo_with_dependencies/job_version_20-24.json b/spec/support/expected_files/remove_repo_with_dependencies/job_version_20-24.json index 3ffd948..28c27a1 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/job_version_20-24.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/job_version_20-24.json @@ -6,7 +6,7 @@ "job_id": 57, "number": null, "state": null, - "created_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", "queued_at": null, "received_at": null, "started_at": null, @@ -18,7 +18,7 @@ "job_id": 62, "number": null, "state": null, - "created_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", "queued_at": null, "received_at": null, "started_at": null, @@ -30,7 +30,7 @@ "job_id": 62, "number": null, "state": null, - "created_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", "queued_at": null, "received_at": null, "started_at": null, @@ -42,7 +42,7 @@ "job_id": 67, "number": null, "state": null, - "created_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", "queued_at": null, "received_at": null, "started_at": null, @@ -54,7 +54,7 @@ "job_id": 67, "number": null, "state": null, - "created_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", "queued_at": null, "received_at": null, "started_at": null, diff --git a/spec/support/expected_files/remove_repo_with_dependencies/job_version_25-29.json b/spec/support/expected_files/remove_repo_with_dependencies/job_version_25-29.json index fdb3ac0..75530fe 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/job_version_25-29.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/job_version_25-29.json @@ -6,7 +6,7 @@ "job_id": 72, "number": null, "state": null, - "created_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", "queued_at": null, "received_at": null, "started_at": null, @@ -18,7 +18,7 @@ "job_id": 72, "number": null, "state": null, - "created_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", "queued_at": null, "received_at": null, "started_at": null, @@ -30,7 +30,7 @@ "job_id": 77, "number": null, "state": null, - "created_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", "queued_at": null, "received_at": null, "started_at": null, @@ -42,7 +42,7 @@ "job_id": 77, "number": null, "state": null, - "created_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", "queued_at": null, "received_at": null, "started_at": null, @@ -54,7 +54,7 @@ "job_id": 82, "number": null, "state": null, - "created_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", "queued_at": null, "received_at": null, "started_at": null, diff --git a/spec/support/expected_files/remove_repo_with_dependencies/job_version_30-34.json b/spec/support/expected_files/remove_repo_with_dependencies/job_version_30-34.json index e744c18..067bb2f 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/job_version_30-34.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/job_version_30-34.json @@ -6,7 +6,7 @@ "job_id": 82, "number": null, "state": null, - "created_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", "queued_at": null, "received_at": null, "started_at": null, @@ -18,7 +18,7 @@ "job_id": 87, "number": null, "state": null, - "created_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", "queued_at": null, "received_at": null, "started_at": null, @@ -30,7 +30,7 @@ "job_id": 87, "number": null, "state": null, - "created_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", "queued_at": null, "received_at": null, "started_at": null, @@ -42,7 +42,7 @@ "job_id": 94, "number": null, "state": null, - "created_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", "queued_at": null, "received_at": null, "started_at": null, @@ -54,7 +54,7 @@ "job_id": 94, "number": null, "state": null, - "created_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", "queued_at": null, "received_at": null, "started_at": null, diff --git a/spec/support/expected_files/remove_repo_with_dependencies/job_version_49-53.json b/spec/support/expected_files/remove_repo_with_dependencies/job_version_49-53.json index 785d6a3..8215260 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/job_version_49-53.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/job_version_49-53.json @@ -6,7 +6,7 @@ "job_id": 143, "number": null, "state": null, - "created_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", "queued_at": null, "received_at": null, "started_at": null, @@ -18,7 +18,7 @@ "job_id": 143, "number": null, "state": null, - "created_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", "queued_at": null, "received_at": null, "started_at": null, @@ -30,7 +30,7 @@ "job_id": 151, "number": null, "state": null, - "created_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", "queued_at": null, "received_at": null, "started_at": null, @@ -42,7 +42,7 @@ "job_id": 151, "number": null, "state": null, - "created_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", "queued_at": null, "received_at": null, "started_at": null, @@ -54,7 +54,7 @@ "job_id": 156, "number": null, "state": null, - "created_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", "queued_at": null, "received_at": null, "started_at": null, diff --git a/spec/support/expected_files/remove_repo_with_dependencies/job_version_54-58.json b/spec/support/expected_files/remove_repo_with_dependencies/job_version_54-58.json index d1f7253..5d7c54f 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/job_version_54-58.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/job_version_54-58.json @@ -6,7 +6,7 @@ "job_id": 156, "number": null, "state": null, - "created_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", "queued_at": null, "received_at": null, "started_at": null, @@ -18,7 +18,7 @@ "job_id": 161, "number": null, "state": null, - "created_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", "queued_at": null, "received_at": null, "started_at": null, @@ -30,7 +30,7 @@ "job_id": 161, "number": null, "state": null, - "created_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", "queued_at": null, "received_at": null, "started_at": null, @@ -42,7 +42,7 @@ "job_id": 169, "number": null, "state": null, - "created_at": "2022-03-30 23:31:18 UTC", + "created_at": "2021-08-31 01:29:32 UTC", "queued_at": null, "received_at": null, "started_at": null, @@ -54,7 +54,7 @@ "job_id": 169, "number": null, "state": null, - "created_at": "2022-03-30 23:31:18 UTC", + "created_at": "2021-08-31 01:29:32 UTC", "queued_at": null, "received_at": null, "started_at": null, diff --git a/spec/support/expected_files/remove_repo_with_dependencies/job_version_59-62.json b/spec/support/expected_files/remove_repo_with_dependencies/job_version_59-62.json index 5c27fd5..47d589a 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/job_version_59-62.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/job_version_59-62.json @@ -6,7 +6,7 @@ "job_id": 171, "number": null, "state": null, - "created_at": "2022-03-30 23:31:19 UTC", + "created_at": "2021-08-31 01:29:32 UTC", "queued_at": null, "received_at": null, "started_at": null, @@ -18,7 +18,7 @@ "job_id": 171, "number": null, "state": null, - "created_at": "2022-03-30 23:31:19 UTC", + "created_at": "2021-08-31 01:29:32 UTC", "queued_at": null, "received_at": null, "started_at": null, @@ -30,7 +30,7 @@ "job_id": 176, "number": null, "state": null, - "created_at": "2022-03-30 23:31:19 UTC", + "created_at": "2021-08-31 01:29:32 UTC", "queued_at": null, "received_at": null, "started_at": null, @@ -42,7 +42,7 @@ "job_id": 176, "number": null, "state": null, - "created_at": "2022-03-30 23:31:19 UTC", + "created_at": "2021-08-31 01:29:32 UTC", "queued_at": null, "received_at": null, "started_at": null, diff --git a/spec/support/expected_files/remove_repo_with_dependencies/message_14-26.json b/spec/support/expected_files/remove_repo_with_dependencies/message_14-26.json index 14b81e4..1ddbf2e 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/message_14-26.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/message_14-26.json @@ -9,8 +9,8 @@ "key": null, "code": null, "args": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "type": null, "src": null, "line": null @@ -23,8 +23,8 @@ "key": null, "code": null, "args": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "type": null, "src": null, "line": null @@ -37,8 +37,8 @@ "key": null, "code": null, "args": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "type": null, "src": null, "line": null @@ -51,8 +51,8 @@ "key": null, "code": null, "args": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "type": null, "src": null, "line": null @@ -65,8 +65,8 @@ "key": null, "code": null, "args": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "type": null, "src": null, "line": null diff --git a/spec/support/expected_files/remove_repo_with_dependencies/message_27-31.json b/spec/support/expected_files/remove_repo_with_dependencies/message_27-31.json index 624fc7e..0d57de4 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/message_27-31.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/message_27-31.json @@ -9,8 +9,8 @@ "key": null, "code": null, "args": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "type": null, "src": null, "line": null @@ -23,8 +23,8 @@ "key": null, "code": null, "args": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "type": null, "src": null, "line": null @@ -37,8 +37,8 @@ "key": null, "code": null, "args": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "type": null, "src": null, "line": null @@ -51,8 +51,8 @@ "key": null, "code": null, "args": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "type": null, "src": null, "line": null @@ -65,8 +65,8 @@ "key": null, "code": null, "args": null, - "created_at": "2022-03-30 23:31:18 UTC", - "updated_at": "2022-03-30 23:31:18 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "type": null, "src": null, "line": null diff --git a/spec/support/expected_files/remove_repo_with_dependencies/message_32-34.json b/spec/support/expected_files/remove_repo_with_dependencies/message_32-34.json index 3111494..3fbc997 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/message_32-34.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/message_32-34.json @@ -9,8 +9,8 @@ "key": null, "code": null, "args": null, - "created_at": "2022-03-30 23:31:18 UTC", - "updated_at": "2022-03-30 23:31:18 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "type": null, "src": null, "line": null @@ -23,8 +23,8 @@ "key": null, "code": null, "args": null, - "created_at": "2022-03-30 23:31:19 UTC", - "updated_at": "2022-03-30 23:31:19 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "type": null, "src": null, "line": null @@ -37,8 +37,8 @@ "key": null, "code": null, "args": null, - "created_at": "2022-03-30 23:31:19 UTC", - "updated_at": "2022-03-30 23:31:19 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "type": null, "src": null, "line": null diff --git a/spec/support/expected_files/remove_repo_with_dependencies/message_9-13.json b/spec/support/expected_files/remove_repo_with_dependencies/message_9-13.json index d6f4ecb..6a183b4 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/message_9-13.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/message_9-13.json @@ -9,8 +9,8 @@ "key": null, "code": null, "args": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "type": null, "src": null, "line": null @@ -23,8 +23,8 @@ "key": null, "code": null, "args": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "type": null, "src": null, "line": null @@ -37,8 +37,8 @@ "key": null, "code": null, "args": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "type": null, "src": null, "line": null @@ -51,8 +51,8 @@ "key": null, "code": null, "args": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "type": null, "src": null, "line": null @@ -65,8 +65,8 @@ "key": null, "code": null, "args": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "type": null, "src": null, "line": null diff --git a/spec/support/expected_files/remove_repo_with_dependencies/pull_request_3-6.json b/spec/support/expected_files/remove_repo_with_dependencies/pull_request_3-6.json index 02cbd3a..4fbc849 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/pull_request_3-6.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/pull_request_3-6.json @@ -10,8 +10,8 @@ "head_repo_github_id": null, "head_repo_slug": null, "head_ref": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "org_id": null, "com_id": null, "mergeable_state": null, @@ -29,8 +29,8 @@ "head_repo_github_id": null, "head_repo_slug": null, "head_ref": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "org_id": null, "com_id": null, "mergeable_state": null, diff --git a/spec/support/expected_files/remove_repo_with_dependencies/repository_1-1.json b/spec/support/expected_files/remove_repo_with_dependencies/repository_1-1.json index 37790ca..7bd6088 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/repository_1-1.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/repository_1-1.json @@ -5,8 +5,8 @@ "id": 1, "name": null, "url": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "last_build_id": null, "last_build_number": null, "last_build_started_at": null, diff --git a/spec/support/expected_files/remove_repo_with_dependencies/request_11-15.json b/spec/support/expected_files/remove_repo_with_dependencies/request_11-15.json index 3416ce3..c07b98a 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/request_11-15.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/request_11-15.json @@ -10,8 +10,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "event_type": null, "comments_url": null, "base_commit": null, @@ -42,8 +42,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "event_type": null, "comments_url": null, "base_commit": null, @@ -74,8 +74,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "event_type": null, "comments_url": null, "base_commit": null, @@ -106,8 +106,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "event_type": null, "comments_url": null, "base_commit": null, @@ -138,8 +138,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "event_type": null, "comments_url": null, "base_commit": null, diff --git a/spec/support/expected_files/remove_repo_with_dependencies/request_16-30.json b/spec/support/expected_files/remove_repo_with_dependencies/request_16-30.json index 0f98ba2..4c824b7 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/request_16-30.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/request_16-30.json @@ -10,8 +10,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "event_type": null, "comments_url": null, "base_commit": null, @@ -42,8 +42,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "event_type": null, "comments_url": null, "base_commit": null, @@ -74,8 +74,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "event_type": null, "comments_url": null, "base_commit": null, @@ -106,8 +106,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "event_type": null, "comments_url": null, "base_commit": null, @@ -138,8 +138,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "event_type": null, "comments_url": null, "base_commit": null, diff --git a/spec/support/expected_files/remove_repo_with_dependencies/request_31-35.json b/spec/support/expected_files/remove_repo_with_dependencies/request_31-35.json index 1baf2f7..c8b47e3 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/request_31-35.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/request_31-35.json @@ -10,8 +10,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "event_type": null, "comments_url": null, "base_commit": null, @@ -42,8 +42,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "event_type": null, "comments_url": null, "base_commit": null, @@ -74,8 +74,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "event_type": null, "comments_url": null, "base_commit": null, @@ -106,8 +106,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "event_type": null, "comments_url": null, "base_commit": null, @@ -138,8 +138,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2022-03-30 23:31:18 UTC", - "updated_at": "2022-03-30 23:31:18 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "event_type": null, "comments_url": null, "base_commit": null, diff --git a/spec/support/expected_files/remove_repo_with_dependencies/request_36-38.json b/spec/support/expected_files/remove_repo_with_dependencies/request_36-38.json index 6c5b9c7..5b625dc 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/request_36-38.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/request_36-38.json @@ -10,8 +10,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2022-03-30 23:31:18 UTC", - "updated_at": "2022-03-30 23:31:18 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "event_type": null, "comments_url": null, "base_commit": null, @@ -42,8 +42,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2022-03-30 23:31:19 UTC", - "updated_at": "2022-03-30 23:31:19 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "event_type": null, "comments_url": null, "base_commit": null, @@ -60,8 +60,8 @@ "sender_id": null, "org_id": null, "com_id": null, - "config_id": null, - "yaml_config_id": 1, + "config_id": 1, + "yaml_config_id": null, "github_guid": null, "pull_request_mergeable": null }, @@ -74,8 +74,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2022-03-30 23:31:19 UTC", - "updated_at": "2022-03-30 23:31:19 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "event_type": null, "comments_url": null, "base_commit": null, @@ -92,8 +92,8 @@ "sender_id": null, "org_id": null, "com_id": null, - "config_id": null, - "yaml_config_id": 1, + "config_id": 1, + "yaml_config_id": null, "github_guid": null, "pull_request_mergeable": null } diff --git a/spec/support/expected_files/remove_repo_with_dependencies/request_payload_14-26.json b/spec/support/expected_files/remove_repo_with_dependencies/request_payload_14-26.json index 1163b64..04f1321 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/request_payload_14-26.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/request_payload_14-26.json @@ -6,7 +6,7 @@ "request_id": 15, "payload": null, "archived": false, - "created_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", "org_id": null }, { @@ -14,7 +14,7 @@ "request_id": 17, "payload": null, "archived": false, - "created_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", "org_id": null }, { @@ -22,7 +22,7 @@ "request_id": 17, "payload": null, "archived": false, - "created_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", "org_id": null }, { @@ -30,7 +30,7 @@ "request_id": 29, "payload": null, "archived": false, - "created_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", "org_id": null }, { @@ -38,7 +38,7 @@ "request_id": 29, "payload": null, "archived": false, - "created_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", "org_id": null } ] diff --git a/spec/support/expected_files/remove_repo_with_dependencies/request_payload_27-31.json b/spec/support/expected_files/remove_repo_with_dependencies/request_payload_27-31.json index bd8d548..926df05 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/request_payload_27-31.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/request_payload_27-31.json @@ -6,7 +6,7 @@ "request_id": 31, "payload": null, "archived": false, - "created_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", "org_id": null }, { @@ -14,7 +14,7 @@ "request_id": 31, "payload": null, "archived": false, - "created_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", "org_id": null }, { @@ -22,7 +22,7 @@ "request_id": 33, "payload": null, "archived": false, - "created_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", "org_id": null }, { @@ -30,7 +30,7 @@ "request_id": 33, "payload": null, "archived": false, - "created_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", "org_id": null }, { @@ -38,7 +38,7 @@ "request_id": 35, "payload": null, "archived": false, - "created_at": "2022-03-30 23:31:18 UTC", + "created_at": "2021-08-31 01:29:32 UTC", "org_id": null } ] diff --git a/spec/support/expected_files/remove_repo_with_dependencies/request_payload_32-34.json b/spec/support/expected_files/remove_repo_with_dependencies/request_payload_32-34.json index 99d9cc4..26ff8cd 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/request_payload_32-34.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/request_payload_32-34.json @@ -6,7 +6,7 @@ "request_id": 35, "payload": null, "archived": false, - "created_at": "2022-03-30 23:31:18 UTC", + "created_at": "2021-08-31 01:29:32 UTC", "org_id": null }, { @@ -14,7 +14,7 @@ "request_id": 37, "payload": null, "archived": false, - "created_at": "2022-03-30 23:31:19 UTC", + "created_at": "2021-08-31 01:29:32 UTC", "org_id": null }, { @@ -22,7 +22,7 @@ "request_id": 37, "payload": null, "archived": false, - "created_at": "2022-03-30 23:31:19 UTC", + "created_at": "2021-08-31 01:29:32 UTC", "org_id": null } ] diff --git a/spec/support/expected_files/remove_repo_with_dependencies/request_payload_9-13.json b/spec/support/expected_files/remove_repo_with_dependencies/request_payload_9-13.json index 1f746c7..f1ffc08 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/request_payload_9-13.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/request_payload_9-13.json @@ -6,7 +6,7 @@ "request_id": 11, "payload": null, "archived": false, - "created_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", "org_id": null }, { @@ -14,7 +14,7 @@ "request_id": 11, "payload": null, "archived": false, - "created_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", "org_id": null }, { @@ -22,7 +22,7 @@ "request_id": 13, "payload": null, "archived": false, - "created_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", "org_id": null }, { @@ -30,7 +30,7 @@ "request_id": 13, "payload": null, "archived": false, - "created_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", "org_id": null }, { @@ -38,7 +38,7 @@ "request_id": 15, "payload": null, "archived": false, - "created_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", "org_id": null } ] diff --git a/spec/support/expected_files/remove_repo_with_dependencies/ssl_key_3-4.json b/spec/support/expected_files/remove_repo_with_dependencies/ssl_key_3-4.json index ef6c765..54a5754 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/ssl_key_3-4.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/ssl_key_3-4.json @@ -6,8 +6,8 @@ "repository_id": 1, "public_key": null, "private_key": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "org_id": null, "com_id": null }, @@ -16,8 +16,8 @@ "repository_id": 1, "public_key": null, "private_key": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "org_id": null, "com_id": null } diff --git a/spec/support/expected_files/remove_repo_with_dependencies/star_3-4.json b/spec/support/expected_files/remove_repo_with_dependencies/star_3-4.json index e4413fd..0e04859 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/star_3-4.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/star_3-4.json @@ -5,15 +5,15 @@ "id": 3, "repository_id": 1, "user_id": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC" + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC" }, { "id": 4, "repository_id": 1, "user_id": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC" + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC" } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/tag_33-38.json b/spec/support/expected_files/remove_repo_with_dependencies/tag_33-38.json index 2c042b2..d526ba7 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/tag_33-38.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/tag_33-38.json @@ -7,8 +7,8 @@ "name": null, "last_build_id": null, "exists_on_github": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "org_id": null, "com_id": null }, @@ -18,8 +18,8 @@ "name": null, "last_build_id": null, "exists_on_github": null, - "created_at": "2021-08-30 23:31:15 UTC", - "updated_at": "2021-08-30 23:31:15 UTC", + "created_at": "2021-08-31 01:29:32 UTC", + "updated_at": "2021-08-31 01:29:32 UTC", "org_id": null, "com_id": null } diff --git a/spec/support/expected_files/remove_user_with_dependencies/abuse_14-26.json b/spec/support/expected_files/remove_user_with_dependencies/abuse_14-26.json index 7f20e54..8180c85 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/abuse_14-26.json +++ b/spec/support/expected_files/remove_user_with_dependencies/abuse_14-26.json @@ -3,53 +3,53 @@ "data": [ { "id": 14, - "owner_id": null, "owner_type": null, + "owner_id": null, "request_id": 15, "level": 14, "reason": "some text", - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC" + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC" }, { "id": 15, - "owner_id": null, "owner_type": null, + "owner_id": null, "request_id": 17, "level": 15, "reason": "some text", - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC" + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC" }, { "id": 16, - "owner_id": null, "owner_type": null, + "owner_id": null, "request_id": 17, "level": 16, "reason": "some text", - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC" + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC" }, { "id": 25, - "owner_id": null, "owner_type": null, + "owner_id": null, "request_id": 29, "level": 25, "reason": "some text", - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC" + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC" }, { "id": 26, - "owner_id": null, "owner_type": null, + "owner_id": null, "request_id": 29, "level": 26, "reason": "some text", - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC" + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC" } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/abuse_27-47.json b/spec/support/expected_files/remove_user_with_dependencies/abuse_27-31.json similarity index 58% rename from spec/support/expected_files/remove_user_with_dependencies/abuse_27-47.json rename to spec/support/expected_files/remove_user_with_dependencies/abuse_27-31.json index a502371..1a115b5 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/abuse_27-47.json +++ b/spec/support/expected_files/remove_user_with_dependencies/abuse_27-31.json @@ -3,53 +3,53 @@ "data": [ { "id": 27, - "owner_id": null, "owner_type": null, + "owner_id": null, "request_id": 31, "level": 27, "reason": "some text", - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC" + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC" }, { "id": 28, - "owner_id": null, "owner_type": null, + "owner_id": null, "request_id": 31, "level": 28, "reason": "some text", - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC" + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC" }, { "id": 29, - "owner_id": null, "owner_type": null, + "owner_id": null, "request_id": 33, "level": 29, "reason": "some text", - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC" + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC" }, { "id": 30, - "owner_id": null, "owner_type": null, + "owner_id": null, "request_id": 33, "level": 30, "reason": "some text", - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC" + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC" }, { - "id": 47, - "owner_id": null, + "id": 31, "owner_type": null, - "request_id": 55, - "level": 47, + "owner_id": null, + "request_id": 35, + "level": 31, "reason": "some text", - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC" + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC" } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/abuse_32-52.json b/spec/support/expected_files/remove_user_with_dependencies/abuse_32-52.json new file mode 100644 index 0000000..5581caf --- /dev/null +++ b/spec/support/expected_files/remove_user_with_dependencies/abuse_32-52.json @@ -0,0 +1,55 @@ +{ + "table_name": "abuses", + "data": [ + { + "id": 32, + "owner_type": null, + "owner_id": null, + "request_id": 35, + "level": 32, + "reason": "some text", + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC" + }, + { + "id": 33, + "owner_type": null, + "owner_id": null, + "request_id": 37, + "level": 33, + "reason": "some text", + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC" + }, + { + "id": 34, + "owner_type": null, + "owner_id": null, + "request_id": 37, + "level": 34, + "reason": "some text", + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC" + }, + { + "id": 51, + "owner_type": null, + "owner_id": null, + "request_id": 59, + "level": 51, + "reason": "some text", + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC" + }, + { + "id": 52, + "owner_type": null, + "owner_id": null, + "request_id": 59, + "level": 52, + "reason": "some text", + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC" + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/abuse_48-52.json b/spec/support/expected_files/remove_user_with_dependencies/abuse_48-52.json deleted file mode 100644 index fbe53d3..0000000 --- a/spec/support/expected_files/remove_user_with_dependencies/abuse_48-52.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "table_name": "abuses", - "data": [ - { - "id": 48, - "owner_id": null, - "owner_type": null, - "request_id": 55, - "level": 48, - "reason": "some text", - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC" - }, - { - "id": 49, - "owner_id": null, - "owner_type": null, - "request_id": 57, - "level": 49, - "reason": "some text", - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC" - }, - { - "id": 50, - "owner_id": null, - "owner_type": null, - "request_id": 57, - "level": 50, - "reason": "some text", - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC" - }, - { - "id": 51, - "owner_id": 9, - "owner_type": "User", - "request_id": null, - "level": 51, - "reason": "some text", - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC" - }, - { - "id": 52, - "owner_id": 9, - "owner_type": "User", - "request_id": null, - "level": 52, - "reason": "some text", - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC" - } - ] -} \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/abuse_53-56.json b/spec/support/expected_files/remove_user_with_dependencies/abuse_53-56.json new file mode 100644 index 0000000..d3d0ab6 --- /dev/null +++ b/spec/support/expected_files/remove_user_with_dependencies/abuse_53-56.json @@ -0,0 +1,45 @@ +{ + "table_name": "abuses", + "data": [ + { + "id": 53, + "owner_type": null, + "owner_id": null, + "request_id": 61, + "level": 53, + "reason": "some text", + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC" + }, + { + "id": 54, + "owner_type": null, + "owner_id": null, + "request_id": 61, + "level": 54, + "reason": "some text", + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC" + }, + { + "id": 55, + "owner_type": "User", + "owner_id": 1, + "request_id": null, + "level": 55, + "reason": "some text", + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC" + }, + { + "id": 56, + "owner_type": "User", + "owner_id": 1, + "request_id": null, + "level": 56, + "reason": "some text", + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC" + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/abuse_9-13.json b/spec/support/expected_files/remove_user_with_dependencies/abuse_9-13.json index 88eac13..6712b1f 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/abuse_9-13.json +++ b/spec/support/expected_files/remove_user_with_dependencies/abuse_9-13.json @@ -3,53 +3,53 @@ "data": [ { "id": 9, - "owner_id": null, "owner_type": null, + "owner_id": null, "request_id": 11, "level": 9, "reason": "some text", - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC" + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC" }, { "id": 10, - "owner_id": null, "owner_type": null, + "owner_id": null, "request_id": 11, "level": 10, "reason": "some text", - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC" + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC" }, { "id": 11, - "owner_id": null, "owner_type": null, + "owner_id": null, "request_id": 13, "level": 11, "reason": "some text", - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC" + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC" }, { "id": 12, - "owner_id": null, "owner_type": null, + "owner_id": null, "request_id": 13, "level": 12, "reason": "some text", - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC" + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC" }, { "id": 13, - "owner_id": null, "owner_type": null, + "owner_id": null, "request_id": 15, "level": 13, "reason": "some text", - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC" + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC" } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/annotation_1-19.json b/spec/support/expected_files/remove_user_with_dependencies/annotation_1-19.json deleted file mode 100644 index eee2379..0000000 --- a/spec/support/expected_files/remove_user_with_dependencies/annotation_1-19.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "table_name": "annotations", - "data": [ - { - "id": 1, - "job_id": 6, - "url": null, - "description": "some text", - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", - "annotation_provider_id": 0, - "status": null - }, - { - "id": 2, - "job_id": 6, - "url": null, - "description": "some text", - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", - "annotation_provider_id": 0, - "status": null - }, - { - "id": 17, - "job_id": 54, - "url": null, - "description": "some text", - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", - "annotation_provider_id": 0, - "status": null - }, - { - "id": 18, - "job_id": 54, - "url": null, - "description": "some text", - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", - "annotation_provider_id": 0, - "status": null - }, - { - "id": 19, - "job_id": 56, - "url": null, - "description": "some text", - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", - "annotation_provider_id": 0, - "status": null - } - ] -} \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/annotation_20-24.json b/spec/support/expected_files/remove_user_with_dependencies/annotation_20-24.json deleted file mode 100644 index 167cb99..0000000 --- a/spec/support/expected_files/remove_user_with_dependencies/annotation_20-24.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "table_name": "annotations", - "data": [ - { - "id": 20, - "job_id": 56, - "url": null, - "description": "some text", - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", - "annotation_provider_id": 0, - "status": null - }, - { - "id": 21, - "job_id": 61, - "url": null, - "description": "some text", - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", - "annotation_provider_id": 0, - "status": null - }, - { - "id": 22, - "job_id": 61, - "url": null, - "description": "some text", - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", - "annotation_provider_id": 0, - "status": null - }, - { - "id": 23, - "job_id": 66, - "url": null, - "description": "some text", - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", - "annotation_provider_id": 0, - "status": null - }, - { - "id": 24, - "job_id": 66, - "url": null, - "description": "some text", - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", - "annotation_provider_id": 0, - "status": null - } - ] -} \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/annotation_25-29.json b/spec/support/expected_files/remove_user_with_dependencies/annotation_25-29.json deleted file mode 100644 index 5a81945..0000000 --- a/spec/support/expected_files/remove_user_with_dependencies/annotation_25-29.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "table_name": "annotations", - "data": [ - { - "id": 25, - "job_id": 71, - "url": null, - "description": "some text", - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", - "annotation_provider_id": 0, - "status": null - }, - { - "id": 26, - "job_id": 71, - "url": null, - "description": "some text", - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", - "annotation_provider_id": 0, - "status": null - }, - { - "id": 27, - "job_id": 76, - "url": null, - "description": "some text", - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", - "annotation_provider_id": 0, - "status": null - }, - { - "id": 28, - "job_id": 76, - "url": null, - "description": "some text", - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", - "annotation_provider_id": 0, - "status": null - }, - { - "id": 29, - "job_id": 81, - "url": null, - "description": "some text", - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", - "annotation_provider_id": 0, - "status": null - } - ] -} \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/annotation_30-34.json b/spec/support/expected_files/remove_user_with_dependencies/annotation_30-34.json deleted file mode 100644 index 72f09bd..0000000 --- a/spec/support/expected_files/remove_user_with_dependencies/annotation_30-34.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "table_name": "annotations", - "data": [ - { - "id": 30, - "job_id": 81, - "url": null, - "description": "some text", - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", - "annotation_provider_id": 0, - "status": null - }, - { - "id": 31, - "job_id": 86, - "url": null, - "description": "some text", - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", - "annotation_provider_id": 0, - "status": null - }, - { - "id": 32, - "job_id": 86, - "url": null, - "description": "some text", - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", - "annotation_provider_id": 0, - "status": null - }, - { - "id": 33, - "job_id": 93, - "url": null, - "description": "some text", - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", - "annotation_provider_id": 0, - "status": null - }, - { - "id": 34, - "job_id": 93, - "url": null, - "description": "some text", - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", - "annotation_provider_id": 0, - "status": null - } - ] -} \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/annotation_49-53.json b/spec/support/expected_files/remove_user_with_dependencies/annotation_49-53.json deleted file mode 100644 index 0b67fd6..0000000 --- a/spec/support/expected_files/remove_user_with_dependencies/annotation_49-53.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "table_name": "annotations", - "data": [ - { - "id": 49, - "job_id": 141, - "url": null, - "description": "some text", - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", - "annotation_provider_id": 0, - "status": null - }, - { - "id": 50, - "job_id": 141, - "url": null, - "description": "some text", - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", - "annotation_provider_id": 0, - "status": null - }, - { - "id": 51, - "job_id": 149, - "url": null, - "description": "some text", - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", - "annotation_provider_id": 0, - "status": null - }, - { - "id": 52, - "job_id": 149, - "url": null, - "description": "some text", - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", - "annotation_provider_id": 0, - "status": null - }, - { - "id": 53, - "job_id": 154, - "url": null, - "description": "some text", - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", - "annotation_provider_id": 0, - "status": null - } - ] -} \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/annotation_54-58.json b/spec/support/expected_files/remove_user_with_dependencies/annotation_54-58.json deleted file mode 100644 index 343cd5f..0000000 --- a/spec/support/expected_files/remove_user_with_dependencies/annotation_54-58.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "table_name": "annotations", - "data": [ - { - "id": 54, - "job_id": 154, - "url": null, - "description": "some text", - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", - "annotation_provider_id": 0, - "status": null - }, - { - "id": 55, - "job_id": 159, - "url": null, - "description": "some text", - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", - "annotation_provider_id": 0, - "status": null - }, - { - "id": 56, - "job_id": 159, - "url": null, - "description": "some text", - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", - "annotation_provider_id": 0, - "status": null - }, - { - "id": 57, - "job_id": 166, - "url": null, - "description": "some text", - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", - "annotation_provider_id": 0, - "status": null - }, - { - "id": 58, - "job_id": 166, - "url": null, - "description": "some text", - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", - "annotation_provider_id": 0, - "status": null - } - ] -} \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/annotation_73-91.json b/spec/support/expected_files/remove_user_with_dependencies/annotation_73-91.json deleted file mode 100644 index 30d0825..0000000 --- a/spec/support/expected_files/remove_user_with_dependencies/annotation_73-91.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "table_name": "annotations", - "data": [ - { - "id": 73, - "job_id": 216, - "url": null, - "description": "some text", - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", - "annotation_provider_id": 0, - "status": null - }, - { - "id": 74, - "job_id": 216, - "url": null, - "description": "some text", - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", - "annotation_provider_id": 0, - "status": null - }, - { - "id": 89, - "job_id": 264, - "url": null, - "description": "some text", - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", - "annotation_provider_id": 0, - "status": null - }, - { - "id": 90, - "job_id": 264, - "url": null, - "description": "some text", - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", - "annotation_provider_id": 0, - "status": null - }, - { - "id": 91, - "job_id": 269, - "url": null, - "description": "some text", - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", - "annotation_provider_id": 0, - "status": null - } - ] -} \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/annotation_92-94.json b/spec/support/expected_files/remove_user_with_dependencies/annotation_92-94.json deleted file mode 100644 index a79a8b5..0000000 --- a/spec/support/expected_files/remove_user_with_dependencies/annotation_92-94.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "table_name": "annotations", - "data": [ - { - "id": 92, - "job_id": 269, - "url": null, - "description": "some text", - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", - "annotation_provider_id": 0, - "status": null - }, - { - "id": 93, - "job_id": 271, - "url": null, - "description": "some text", - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", - "annotation_provider_id": 0, - "status": null - }, - { - "id": 94, - "job_id": 271, - "url": null, - "description": "some text", - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", - "annotation_provider_id": 0, - "status": null - } - ] -} \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/branch_14-19.json b/spec/support/expected_files/remove_user_with_dependencies/branch_14-19.json new file mode 100644 index 0000000..2538958 --- /dev/null +++ b/spec/support/expected_files/remove_user_with_dependencies/branch_14-19.json @@ -0,0 +1,27 @@ +{ + "table_name": "branches", + "data": [ + { + "id": 14, + "repository_id": 1, + "last_build_id": null, + "name": "branch_14", + "exists_on_github": true, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "org_id": null, + "com_id": null + }, + { + "id": 19, + "repository_id": 1, + "last_build_id": null, + "name": "branch_19", + "exists_on_github": true, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "org_id": null, + "com_id": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/branch_86-91.json b/spec/support/expected_files/remove_user_with_dependencies/branch_86-91.json deleted file mode 100644 index 9378d54..0000000 --- a/spec/support/expected_files/remove_user_with_dependencies/branch_86-91.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "table_name": "branches", - "data": [ - { - "id": 86, - "repository_id": 1, - "last_build_id": null, - "name": "branch_14", - "exists_on_github": true, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC" - }, - { - "id": 91, - "repository_id": 1, - "last_build_id": null, - "name": "branch_19", - "exists_on_github": true, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC" - } - ] -} \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/broadcast_1-2.json b/spec/support/expected_files/remove_user_with_dependencies/broadcast_1-2.json index 727a751..1c2b9ca 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/broadcast_1-2.json +++ b/spec/support/expected_files/remove_user_with_dependencies/broadcast_1-2.json @@ -3,24 +3,24 @@ "data": [ { "id": 1, - "recipient_id": 9, "recipient_type": "User", + "recipient_id": 1, "kind": null, "message": null, "expired": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", "category": null }, { "id": 2, - "recipient_id": 9, "recipient_type": "User", + "recipient_id": 1, "kind": null, "message": null, "expired": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", "category": null } ] diff --git a/spec/support/expected_files/remove_user_with_dependencies/build_1-58.json b/spec/support/expected_files/remove_user_with_dependencies/build_1-59.json similarity index 53% rename from spec/support/expected_files/remove_user_with_dependencies/build_1-58.json rename to spec/support/expected_files/remove_user_with_dependencies/build_1-59.json index cc29e05..7141e23 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/build_1-58.json +++ b/spec/support/expected_files/remove_user_with_dependencies/build_1-59.json @@ -7,20 +7,30 @@ "number": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", - "config": null, + "log": "", + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, "commit_id": null, "request_id": null, "state": null, "duration": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "event_type": null, "previous_state": null, "pull_request_title": null, "pull_request_number": null, - "branch": null, "canceled_at": null, "cached_matrix_ids": null, "received_at": null, @@ -28,29 +38,44 @@ "pull_request_id": null, "branch_id": null, "tag_id": null, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null }, { - "id": 50, + "id": 51, "repository_id": 1, "number": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", - "config": null, + "log": "", + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, "commit_id": null, "request_id": null, "state": null, "duration": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "event_type": null, "previous_state": null, "pull_request_title": null, "pull_request_number": null, - "branch": null, "canceled_at": null, "cached_matrix_ids": null, "received_at": null, @@ -58,29 +83,44 @@ "pull_request_id": null, "branch_id": null, "tag_id": null, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null }, { - "id": 51, + "id": 52, "repository_id": null, "number": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", - "config": null, + "log": "", + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, "commit_id": null, "request_id": 11, "state": null, "duration": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "event_type": null, "previous_state": null, "pull_request_title": null, "pull_request_number": null, - "branch": null, "canceled_at": null, "cached_matrix_ids": null, "received_at": null, @@ -88,29 +128,44 @@ "pull_request_id": null, "branch_id": null, "tag_id": null, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null }, { - "id": 53, + "id": 54, "repository_id": null, "number": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", - "config": null, + "log": "", + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, "commit_id": null, "request_id": 11, "state": null, "duration": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "event_type": null, "previous_state": null, "pull_request_title": null, "pull_request_number": null, - "branch": null, "canceled_at": null, "cached_matrix_ids": null, "received_at": null, @@ -118,38 +173,58 @@ "pull_request_id": null, "branch_id": null, "tag_id": null, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null }, { - "id": 58, + "id": 59, "repository_id": null, "number": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", - "config": null, + "log": "", + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, "commit_id": null, "request_id": null, "state": null, "duration": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "event_type": null, "previous_state": null, "pull_request_title": null, "pull_request_number": null, - "branch": null, "canceled_at": null, "cached_matrix_ids": null, "received_at": null, "private": null, "pull_request_id": null, - "branch_id": 86, + "branch_id": 14, "tag_id": null, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/build_143-151.json b/spec/support/expected_files/remove_user_with_dependencies/build_145-153.json similarity index 53% rename from spec/support/expected_files/remove_user_with_dependencies/build_143-151.json rename to spec/support/expected_files/remove_user_with_dependencies/build_145-153.json index baa2575..070c85f 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/build_143-151.json +++ b/spec/support/expected_files/remove_user_with_dependencies/build_145-153.json @@ -2,25 +2,35 @@ "table_name": "builds", "data": [ { - "id": 143, + "id": 145, "repository_id": null, "number": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", - "config": null, + "log": "", + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, "commit_id": null, "request_id": null, "state": null, "duration": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "event_type": null, "previous_state": null, "pull_request_title": null, "pull_request_number": null, - "branch": null, "canceled_at": null, "cached_matrix_ids": null, "received_at": null, @@ -28,29 +38,44 @@ "pull_request_id": null, "branch_id": null, "tag_id": 33, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null }, { - "id": 145, + "id": 147, "repository_id": null, "number": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", - "config": null, + "log": "", + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, "commit_id": null, "request_id": null, "state": null, "duration": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "event_type": null, "previous_state": null, "pull_request_title": null, "pull_request_number": null, - "branch": null, "canceled_at": null, "cached_matrix_ids": null, "received_at": null, @@ -58,29 +83,44 @@ "pull_request_id": null, "branch_id": null, "tag_id": 33, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null }, { - "id": 146, + "id": 148, "repository_id": null, "number": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", - "config": null, - "commit_id": 227, + "log": "", + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": 17, "request_id": null, "state": null, "duration": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "event_type": null, "previous_state": null, "pull_request_title": null, "pull_request_number": null, - "branch": null, "canceled_at": null, "cached_matrix_ids": null, "received_at": null, @@ -88,29 +128,44 @@ "pull_request_id": null, "branch_id": null, "tag_id": null, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null }, { - "id": 148, + "id": 150, "repository_id": null, "number": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", - "config": null, - "commit_id": 227, + "log": "", + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": 17, "request_id": null, "state": null, "duration": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "event_type": null, "previous_state": null, "pull_request_title": null, "pull_request_number": null, - "branch": null, "canceled_at": null, "cached_matrix_ids": null, "received_at": null, @@ -118,29 +173,44 @@ "pull_request_id": null, "branch_id": null, "tag_id": null, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null }, { - "id": 151, + "id": 153, "repository_id": null, "number": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", - "config": null, + "log": "", + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, "commit_id": null, "request_id": 31, "state": null, "duration": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "event_type": null, "previous_state": null, "pull_request_title": null, "pull_request_number": null, - "branch": null, "canceled_at": null, "cached_matrix_ids": null, "received_at": null, @@ -148,8 +218,13 @@ "pull_request_id": null, "branch_id": null, "tag_id": null, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/build_153-210.json b/spec/support/expected_files/remove_user_with_dependencies/build_155-165.json similarity index 52% rename from spec/support/expected_files/remove_org_with_dependencies/build_153-210.json rename to spec/support/expected_files/remove_user_with_dependencies/build_155-165.json index 31f1a77..eedd021 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/build_153-210.json +++ b/spec/support/expected_files/remove_user_with_dependencies/build_155-165.json @@ -2,25 +2,35 @@ "table_name": "builds", "data": [ { - "id": 153, + "id": 155, "repository_id": null, "number": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", - "config": null, + "log": "", + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, "commit_id": null, "request_id": 31, "state": null, "duration": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "event_type": null, "previous_state": null, "pull_request_title": null, "pull_request_number": null, - "branch": null, "canceled_at": null, "cached_matrix_ids": null, "received_at": null, @@ -28,29 +38,44 @@ "pull_request_id": null, "branch_id": null, "tag_id": null, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null }, { - "id": 156, + "id": 158, "repository_id": null, "number": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", - "config": null, + "log": "", + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, "commit_id": null, "request_id": 33, "state": null, "duration": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "event_type": null, "previous_state": null, "pull_request_title": null, "pull_request_number": null, - "branch": null, "canceled_at": null, "cached_matrix_ids": null, "received_at": null, @@ -58,29 +83,44 @@ "pull_request_id": null, "branch_id": null, "tag_id": null, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null }, { - "id": 158, + "id": 160, "repository_id": null, "number": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", - "config": null, + "log": "", + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, "commit_id": null, "request_id": 33, "state": null, "duration": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "event_type": null, "previous_state": null, "pull_request_title": null, "pull_request_number": null, - "branch": null, "canceled_at": null, "cached_matrix_ids": null, "received_at": null, @@ -88,29 +128,44 @@ "pull_request_id": null, "branch_id": null, "tag_id": null, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null }, { - "id": 161, + "id": 163, "repository_id": null, "number": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", - "config": null, + "log": "", + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, "commit_id": null, "request_id": null, "state": null, "duration": null, - "owner_id": 1, - "owner_type": "Organization", + "owner_type": null, + "owner_id": null, "event_type": null, "previous_state": null, "pull_request_title": null, "pull_request_number": null, - "branch": null, "canceled_at": null, "cached_matrix_ids": null, "received_at": null, @@ -118,29 +173,44 @@ "pull_request_id": null, "branch_id": null, "tag_id": null, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": 1, + "restarted_at": null, + "unique_number": null }, { - "id": 210, + "id": 165, "repository_id": null, "number": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", - "config": null, + "log": "", + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, "commit_id": null, "request_id": null, "state": null, "duration": null, - "owner_id": 1, - "owner_type": "Organization", + "owner_type": null, + "owner_id": null, "event_type": null, "previous_state": null, "pull_request_title": null, "pull_request_number": null, - "branch": null, "canceled_at": null, "cached_matrix_ids": null, "received_at": null, @@ -148,8 +218,13 @@ "pull_request_id": null, "branch_id": null, "tag_id": null, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": 1, + "restarted_at": null, + "unique_number": null } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/build_166-178.json b/spec/support/expected_files/remove_user_with_dependencies/build_166-178.json new file mode 100644 index 0000000..25a5635 --- /dev/null +++ b/spec/support/expected_files/remove_user_with_dependencies/build_166-178.json @@ -0,0 +1,230 @@ +{ + "table_name": "builds", + "data": [ + { + "id": 166, + "repository_id": null, + "number": null, + "started_at": null, + "finished_at": null, + "log": "", + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": null, + "request_id": 35, + "state": null, + "duration": null, + "owner_type": null, + "owner_id": null, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null + }, + { + "id": 168, + "repository_id": null, + "number": null, + "started_at": null, + "finished_at": null, + "log": "", + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": null, + "request_id": 35, + "state": null, + "duration": null, + "owner_type": null, + "owner_id": null, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null + }, + { + "id": 173, + "repository_id": null, + "number": null, + "started_at": null, + "finished_at": null, + "log": "", + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": null, + "request_id": 37, + "state": null, + "duration": null, + "owner_type": null, + "owner_id": null, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null + }, + { + "id": 175, + "repository_id": null, + "number": null, + "started_at": null, + "finished_at": null, + "log": "", + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": null, + "request_id": 37, + "state": null, + "duration": null, + "owner_type": null, + "owner_id": null, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null + }, + { + "id": 178, + "repository_id": null, + "number": null, + "started_at": null, + "finished_at": null, + "log": "", + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": null, + "request_id": null, + "state": null, + "duration": null, + "owner_type": "User", + "owner_id": 1, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/build_211-266.json b/spec/support/expected_files/remove_user_with_dependencies/build_228-282.json similarity index 51% rename from spec/support/expected_files/remove_org_with_dependencies/build_211-266.json rename to spec/support/expected_files/remove_user_with_dependencies/build_228-282.json index fec42d9..6d4b1f2 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/build_211-266.json +++ b/spec/support/expected_files/remove_user_with_dependencies/build_228-282.json @@ -2,25 +2,35 @@ "table_name": "builds", "data": [ { - "id": 211, + "id": 228, "repository_id": null, "number": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", - "config": null, + "log": "", + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, "commit_id": null, "request_id": null, "state": null, "duration": null, - "owner_id": null, - "owner_type": null, + "owner_type": "User", + "owner_id": 1, "event_type": null, "previous_state": null, "pull_request_title": null, "pull_request_number": null, - "branch": null, "canceled_at": null, "cached_matrix_ids": null, "received_at": null, @@ -28,29 +38,44 @@ "pull_request_id": null, "branch_id": null, "tag_id": null, - "sender_id": 1, - "sender_type": "Organization" + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null }, { - "id": 260, + "id": 229, "repository_id": null, "number": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", - "config": null, + "log": "", + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, "commit_id": null, "request_id": null, "state": null, "duration": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "event_type": null, "previous_state": null, "pull_request_title": null, "pull_request_number": null, - "branch": null, "canceled_at": null, "cached_matrix_ids": null, "received_at": null, @@ -58,29 +83,44 @@ "pull_request_id": null, "branch_id": null, "tag_id": null, + "sender_type": "User", "sender_id": 1, - "sender_type": "Organization" + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null }, { - "id": 261, + "id": 279, "repository_id": null, "number": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", - "config": null, + "log": "", + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, "commit_id": null, - "request_id": 55, + "request_id": null, "state": null, "duration": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "event_type": null, "previous_state": null, "pull_request_title": null, "pull_request_number": null, - "branch": null, "canceled_at": null, "cached_matrix_ids": null, "received_at": null, @@ -88,29 +128,44 @@ "pull_request_id": null, "branch_id": null, "tag_id": null, - "sender_id": null, - "sender_type": null + "sender_type": "User", + "sender_id": 1, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null }, { - "id": 263, + "id": 280, "repository_id": null, "number": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", - "config": null, + "log": "", + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, "commit_id": null, - "request_id": 55, + "request_id": 59, "state": null, "duration": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "event_type": null, "previous_state": null, "pull_request_title": null, "pull_request_number": null, - "branch": null, "canceled_at": null, "cached_matrix_ids": null, "received_at": null, @@ -118,29 +173,44 @@ "pull_request_id": null, "branch_id": null, "tag_id": null, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null }, { - "id": 266, + "id": 282, "repository_id": null, "number": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", - "config": null, + "log": "", + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, "commit_id": null, - "request_id": 57, + "request_id": 59, "state": null, "duration": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "event_type": null, "previous_state": null, "pull_request_title": null, "pull_request_number": null, - "branch": null, "canceled_at": null, "cached_matrix_ids": null, "received_at": null, @@ -148,8 +218,13 @@ "pull_request_id": null, "branch_id": null, "tag_id": null, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/build_268-268.json b/spec/support/expected_files/remove_user_with_dependencies/build_268-268.json deleted file mode 100644 index 4a201a7..0000000 --- a/spec/support/expected_files/remove_user_with_dependencies/build_268-268.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "table_name": "builds", - "data": [ - { - "id": 268, - "repository_id": null, - "number": null, - "started_at": null, - "finished_at": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", - "config": null, - "commit_id": null, - "request_id": 57, - "state": null, - "duration": null, - "owner_id": null, - "owner_type": null, - "event_type": null, - "previous_state": null, - "pull_request_title": null, - "pull_request_number": null, - "branch": null, - "canceled_at": null, - "cached_matrix_ids": null, - "received_at": null, - "private": null, - "pull_request_id": null, - "branch_id": null, - "tag_id": null, - "sender_id": null, - "sender_type": null - } - ] -} \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/build_285-287.json b/spec/support/expected_files/remove_user_with_dependencies/build_285-287.json new file mode 100644 index 0000000..ca25242 --- /dev/null +++ b/spec/support/expected_files/remove_user_with_dependencies/build_285-287.json @@ -0,0 +1,95 @@ +{ + "table_name": "builds", + "data": [ + { + "id": 285, + "repository_id": null, + "number": null, + "started_at": null, + "finished_at": null, + "log": "", + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": null, + "request_id": 61, + "state": null, + "duration": null, + "owner_type": null, + "owner_id": null, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null + }, + { + "id": 287, + "repository_id": null, + "number": null, + "started_at": null, + "finished_at": null, + "log": "", + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": null, + "request_id": 61, + "state": null, + "duration": null, + "owner_type": null, + "owner_id": null, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/build_60-70.json b/spec/support/expected_files/remove_user_with_dependencies/build_61-71.json similarity index 52% rename from spec/support/expected_files/remove_org_with_dependencies/build_60-70.json rename to spec/support/expected_files/remove_user_with_dependencies/build_61-71.json index 30dd45c..fef4504 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/build_60-70.json +++ b/spec/support/expected_files/remove_user_with_dependencies/build_61-71.json @@ -2,55 +2,80 @@ "table_name": "builds", "data": [ { - "id": 60, + "id": 61, "repository_id": null, "number": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", - "config": null, + "log": "", + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, "commit_id": null, "request_id": null, "state": null, "duration": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "event_type": null, "previous_state": null, "pull_request_title": null, "pull_request_number": null, - "branch": null, "canceled_at": null, "cached_matrix_ids": null, "received_at": null, "private": null, "pull_request_id": null, - "branch_id": 86, + "branch_id": 14, "tag_id": null, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null }, { - "id": 63, + "id": 64, "repository_id": null, "number": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", - "config": null, - "commit_id": 217, + "log": "", + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": 7, "request_id": null, "state": null, "duration": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "event_type": null, "previous_state": null, "pull_request_title": null, "pull_request_number": null, - "branch": null, "canceled_at": null, "cached_matrix_ids": null, "received_at": null, @@ -58,29 +83,44 @@ "pull_request_id": null, "branch_id": null, "tag_id": null, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null }, { - "id": 65, + "id": 66, "repository_id": null, "number": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", - "config": null, - "commit_id": 217, + "log": "", + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": 7, "request_id": null, "state": null, "duration": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "event_type": null, "previous_state": null, "pull_request_title": null, "pull_request_number": null, - "branch": null, "canceled_at": null, "cached_matrix_ids": null, "received_at": null, @@ -88,29 +128,44 @@ "pull_request_id": null, "branch_id": null, "tag_id": null, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null }, { - "id": 68, + "id": 69, "repository_id": null, "number": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", - "config": null, + "log": "", + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, "commit_id": null, "request_id": 13, "state": null, "duration": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "event_type": null, "previous_state": null, "pull_request_title": null, "pull_request_number": null, - "branch": null, "canceled_at": null, "cached_matrix_ids": null, "received_at": null, @@ -118,29 +173,44 @@ "pull_request_id": null, "branch_id": null, "tag_id": null, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null }, { - "id": 70, + "id": 71, "repository_id": null, "number": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", - "config": null, + "log": "", + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, "commit_id": null, "request_id": 13, "state": null, "duration": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "event_type": null, "previous_state": null, "pull_request_title": null, "pull_request_number": null, - "branch": null, "canceled_at": null, "cached_matrix_ids": null, "received_at": null, @@ -148,8 +218,13 @@ "pull_request_id": null, "branch_id": null, "tag_id": null, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/build_73-83.json b/spec/support/expected_files/remove_user_with_dependencies/build_74-84.json similarity index 52% rename from spec/support/expected_files/remove_user_with_dependencies/build_73-83.json rename to spec/support/expected_files/remove_user_with_dependencies/build_74-84.json index c297d51..d4f0c02 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/build_73-83.json +++ b/spec/support/expected_files/remove_user_with_dependencies/build_74-84.json @@ -2,25 +2,35 @@ "table_name": "builds", "data": [ { - "id": 73, + "id": 74, "repository_id": null, "number": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", - "config": null, + "log": "", + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, "commit_id": null, "request_id": 15, "state": null, "duration": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "event_type": null, "previous_state": null, "pull_request_title": null, "pull_request_number": null, - "branch": null, "canceled_at": null, "cached_matrix_ids": null, "received_at": null, @@ -28,29 +38,44 @@ "pull_request_id": null, "branch_id": null, "tag_id": null, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null }, { - "id": 75, + "id": 76, "repository_id": null, "number": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", - "config": null, + "log": "", + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, "commit_id": null, "request_id": 15, "state": null, "duration": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "event_type": null, "previous_state": null, "pull_request_title": null, "pull_request_number": null, - "branch": null, "canceled_at": null, "cached_matrix_ids": null, "received_at": null, @@ -58,29 +83,44 @@ "pull_request_id": null, "branch_id": null, "tag_id": null, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null }, { - "id": 78, + "id": 79, "repository_id": null, "number": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", - "config": null, - "commit_id": 219, + "log": "", + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": 9, "request_id": null, "state": null, "duration": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "event_type": null, "previous_state": null, "pull_request_title": null, "pull_request_number": null, - "branch": null, "canceled_at": null, "cached_matrix_ids": null, "received_at": null, @@ -88,29 +128,44 @@ "pull_request_id": null, "branch_id": null, "tag_id": null, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null }, { - "id": 80, + "id": 81, "repository_id": null, "number": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", - "config": null, - "commit_id": 219, + "log": "", + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": 9, "request_id": null, "state": null, "duration": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "event_type": null, "previous_state": null, "pull_request_title": null, "pull_request_number": null, - "branch": null, "canceled_at": null, "cached_matrix_ids": null, "received_at": null, @@ -118,29 +173,44 @@ "pull_request_id": null, "branch_id": null, "tag_id": null, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null }, { - "id": 83, + "id": 84, "repository_id": null, "number": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", - "config": null, + "log": "", + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, "commit_id": null, "request_id": 17, "state": null, "duration": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "event_type": null, "previous_state": null, "pull_request_title": null, "pull_request_number": null, - "branch": null, "canceled_at": null, "cached_matrix_ids": null, "received_at": null, @@ -148,8 +218,13 @@ "pull_request_id": null, "branch_id": null, "tag_id": null, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/build_85-140.json b/spec/support/expected_files/remove_user_with_dependencies/build_86-142.json similarity index 53% rename from spec/support/expected_files/remove_user_with_dependencies/build_85-140.json rename to spec/support/expected_files/remove_user_with_dependencies/build_86-142.json index ace42b0..33a0575 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/build_85-140.json +++ b/spec/support/expected_files/remove_user_with_dependencies/build_86-142.json @@ -2,25 +2,35 @@ "table_name": "builds", "data": [ { - "id": 85, + "id": 86, "repository_id": null, "number": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", - "config": null, + "log": "", + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, "commit_id": null, "request_id": 17, "state": null, "duration": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "event_type": null, "previous_state": null, "pull_request_title": null, "pull_request_number": null, - "branch": null, "canceled_at": null, "cached_matrix_ids": null, "received_at": null, @@ -28,29 +38,44 @@ "pull_request_id": null, "branch_id": null, "tag_id": null, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null }, { - "id": 88, + "id": 89, "repository_id": null, "number": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", - "config": null, + "log": "", + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, "commit_id": null, "request_id": null, "state": null, "duration": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "event_type": null, "previous_state": null, "pull_request_title": null, "pull_request_number": null, - "branch": null, "canceled_at": null, "cached_matrix_ids": null, "received_at": null, @@ -58,29 +83,44 @@ "pull_request_id": 3, "branch_id": null, "tag_id": null, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null }, { - "id": 137, + "id": 139, "repository_id": null, "number": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", - "config": null, + "log": "", + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, "commit_id": null, "request_id": null, "state": null, "duration": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "event_type": null, "previous_state": null, "pull_request_title": null, "pull_request_number": null, - "branch": null, "canceled_at": null, "cached_matrix_ids": null, "received_at": null, @@ -88,29 +128,44 @@ "pull_request_id": 3, "branch_id": null, "tag_id": null, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null }, { - "id": 138, + "id": 140, "repository_id": null, "number": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", - "config": null, + "log": "", + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, "commit_id": null, "request_id": 29, "state": null, "duration": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "event_type": null, "previous_state": null, "pull_request_title": null, "pull_request_number": null, - "branch": null, "canceled_at": null, "cached_matrix_ids": null, "received_at": null, @@ -118,29 +173,44 @@ "pull_request_id": null, "branch_id": null, "tag_id": null, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null }, { - "id": 140, + "id": 142, "repository_id": null, "number": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", - "config": null, + "log": "", + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, "commit_id": null, "request_id": 29, "state": null, "duration": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "event_type": null, "previous_state": null, "pull_request_title": null, "pull_request_number": null, - "branch": null, "canceled_at": null, "cached_matrix_ids": null, "received_at": null, @@ -148,8 +218,13 @@ "pull_request_id": null, "branch_id": null, "tag_id": null, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/build_config_1-2.json b/spec/support/expected_files/remove_user_with_dependencies/build_config_1-2.json new file mode 100644 index 0000000..d314a1a --- /dev/null +++ b/spec/support/expected_files/remove_user_with_dependencies/build_config_1-2.json @@ -0,0 +1,21 @@ +{ + "table_name": "build_configs", + "data": [ + { + "id": 1, + "repository_id": 1, + "key": "some_test_key", + "org_id": null, + "com_id": null, + "config": null + }, + { + "id": 2, + "repository_id": 1, + "key": "some_test_key", + "org_id": null, + "com_id": null, + "config": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/commit_228-228.json b/spec/support/expected_files/remove_user_with_dependencies/commit_18-18.json similarity index 68% rename from spec/support/expected_files/remove_org_with_dependencies/commit_228-228.json rename to spec/support/expected_files/remove_user_with_dependencies/commit_18-18.json index 4317644..637ff1f 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/commit_228-228.json +++ b/spec/support/expected_files/remove_user_with_dependencies/commit_18-18.json @@ -2,7 +2,7 @@ "table_name": "commits", "data": [ { - "id": 228, + "id": 18, "repository_id": null, "commit": null, "ref": null, @@ -14,10 +14,12 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", "branch_id": null, - "tag_id": 33 + "tag_id": 33, + "org_id": null, + "com_id": null } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/commit_217-227.json b/spec/support/expected_files/remove_user_with_dependencies/commit_7-17.json similarity index 63% rename from spec/support/expected_files/remove_org_with_dependencies/commit_217-227.json rename to spec/support/expected_files/remove_user_with_dependencies/commit_7-17.json index b10f234..ec39e33 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/commit_217-227.json +++ b/spec/support/expected_files/remove_user_with_dependencies/commit_7-17.json @@ -2,7 +2,7 @@ "table_name": "commits", "data": [ { - "id": 217, + "id": 7, "repository_id": null, "commit": null, "ref": null, @@ -14,13 +14,15 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", - "branch_id": 86, - "tag_id": null + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "branch_id": 14, + "tag_id": null, + "org_id": null, + "com_id": null }, { - "id": 218, + "id": 8, "repository_id": null, "commit": null, "ref": null, @@ -32,13 +34,15 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", - "branch_id": 86, - "tag_id": null + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "branch_id": 14, + "tag_id": null, + "org_id": null, + "com_id": null }, { - "id": 219, + "id": 9, "repository_id": 1, "commit": null, "ref": null, @@ -50,13 +54,15 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", "branch_id": null, - "tag_id": null + "tag_id": null, + "org_id": null, + "com_id": null }, { - "id": 220, + "id": 10, "repository_id": 1, "commit": null, "ref": null, @@ -68,13 +74,15 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", "branch_id": null, - "tag_id": null + "tag_id": null, + "org_id": null, + "com_id": null }, { - "id": 227, + "id": 17, "repository_id": null, "commit": null, "ref": null, @@ -86,10 +94,12 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", "branch_id": null, - "tag_id": 33 + "tag_id": 33, + "org_id": null, + "com_id": null } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/cron_2-2.json b/spec/support/expected_files/remove_user_with_dependencies/cron_2-2.json new file mode 100644 index 0000000..683af06 --- /dev/null +++ b/spec/support/expected_files/remove_user_with_dependencies/cron_2-2.json @@ -0,0 +1,18 @@ +{ + "table_name": "crons", + "data": [ + { + "id": 2, + "branch_id": 14, + "interval": "test", + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "next_run": null, + "last_run": null, + "dont_run_if_recent_build_exists": false, + "org_id": null, + "com_id": null, + "active": true + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/cron_3-4.json b/spec/support/expected_files/remove_user_with_dependencies/cron_3-4.json deleted file mode 100644 index f85171a..0000000 --- a/spec/support/expected_files/remove_user_with_dependencies/cron_3-4.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "table_name": "crons", - "data": [ - { - "id": 3, - "branch_id": 86, - "interval": "test", - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", - "next_run": null, - "last_run": null, - "dont_run_if_recent_build_exists": false - }, - { - "id": 4, - "branch_id": 86, - "interval": "test", - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", - "next_run": null, - "last_run": null, - "dont_run_if_recent_build_exists": false - } - ] -} \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/deleted_build_100-102.json b/spec/support/expected_files/remove_user_with_dependencies/deleted_build_100-102.json new file mode 100644 index 0000000..e7158da --- /dev/null +++ b/spec/support/expected_files/remove_user_with_dependencies/deleted_build_100-102.json @@ -0,0 +1,140 @@ +{ + "table_name": "deleted_builds", + "data": [ + { + "id": 100, + "repository_id": null, + "number": null, + "started_at": null, + "finished_at": null, + "log": null, + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": null, + "request_id": 59, + "state": null, + "duration": null, + "owner_type": null, + "owner_id": null, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null + }, + { + "id": 101, + "repository_id": null, + "number": null, + "started_at": null, + "finished_at": null, + "log": null, + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": null, + "request_id": 61, + "state": null, + "duration": null, + "owner_type": null, + "owner_id": null, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null + }, + { + "id": 102, + "repository_id": null, + "number": null, + "started_at": null, + "finished_at": null, + "log": null, + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": null, + "request_id": 61, + "state": null, + "duration": null, + "owner_type": null, + "owner_id": null, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/deleted_build_17-21.json b/spec/support/expected_files/remove_user_with_dependencies/deleted_build_17-21.json new file mode 100644 index 0000000..a553bcc --- /dev/null +++ b/spec/support/expected_files/remove_user_with_dependencies/deleted_build_17-21.json @@ -0,0 +1,230 @@ +{ + "table_name": "deleted_builds", + "data": [ + { + "id": 17, + "repository_id": null, + "number": null, + "started_at": null, + "finished_at": null, + "log": null, + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": null, + "request_id": 11, + "state": null, + "duration": null, + "owner_type": null, + "owner_id": null, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null + }, + { + "id": 18, + "repository_id": null, + "number": null, + "started_at": null, + "finished_at": null, + "log": null, + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": null, + "request_id": 11, + "state": null, + "duration": null, + "owner_type": null, + "owner_id": null, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null + }, + { + "id": 19, + "repository_id": null, + "number": null, + "started_at": null, + "finished_at": null, + "log": null, + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": null, + "request_id": null, + "state": null, + "duration": null, + "owner_type": null, + "owner_id": null, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": null, + "branch_id": 14, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null + }, + { + "id": 20, + "repository_id": null, + "number": null, + "started_at": null, + "finished_at": null, + "log": null, + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": null, + "request_id": null, + "state": null, + "duration": null, + "owner_type": null, + "owner_id": null, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": null, + "branch_id": 14, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null + }, + { + "id": 21, + "repository_id": null, + "number": null, + "started_at": null, + "finished_at": null, + "log": null, + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": null, + "request_id": 13, + "state": null, + "duration": null, + "owner_type": null, + "owner_id": null, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/deleted_build_22-26.json b/spec/support/expected_files/remove_user_with_dependencies/deleted_build_22-26.json new file mode 100644 index 0000000..0ed7b2c --- /dev/null +++ b/spec/support/expected_files/remove_user_with_dependencies/deleted_build_22-26.json @@ -0,0 +1,230 @@ +{ + "table_name": "deleted_builds", + "data": [ + { + "id": 22, + "repository_id": null, + "number": null, + "started_at": null, + "finished_at": null, + "log": null, + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": null, + "request_id": 13, + "state": null, + "duration": null, + "owner_type": null, + "owner_id": null, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null + }, + { + "id": 23, + "repository_id": null, + "number": null, + "started_at": null, + "finished_at": null, + "log": null, + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": 7, + "request_id": null, + "state": null, + "duration": null, + "owner_type": null, + "owner_id": null, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null + }, + { + "id": 24, + "repository_id": null, + "number": null, + "started_at": null, + "finished_at": null, + "log": null, + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": 7, + "request_id": null, + "state": null, + "duration": null, + "owner_type": null, + "owner_id": null, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null + }, + { + "id": 25, + "repository_id": null, + "number": null, + "started_at": null, + "finished_at": null, + "log": null, + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": null, + "request_id": 15, + "state": null, + "duration": null, + "owner_type": null, + "owner_id": null, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null + }, + { + "id": 26, + "repository_id": null, + "number": null, + "started_at": null, + "finished_at": null, + "log": null, + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": null, + "request_id": 15, + "state": null, + "duration": null, + "owner_type": null, + "owner_id": null, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/deleted_build_27-47.json b/spec/support/expected_files/remove_user_with_dependencies/deleted_build_27-47.json new file mode 100644 index 0000000..e22b24e --- /dev/null +++ b/spec/support/expected_files/remove_user_with_dependencies/deleted_build_27-47.json @@ -0,0 +1,230 @@ +{ + "table_name": "deleted_builds", + "data": [ + { + "id": 27, + "repository_id": null, + "number": null, + "started_at": null, + "finished_at": null, + "log": null, + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": null, + "request_id": 17, + "state": null, + "duration": null, + "owner_type": null, + "owner_id": null, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null + }, + { + "id": 28, + "repository_id": null, + "number": null, + "started_at": null, + "finished_at": null, + "log": null, + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": null, + "request_id": 17, + "state": null, + "duration": null, + "owner_type": null, + "owner_id": null, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null + }, + { + "id": 29, + "repository_id": null, + "number": null, + "started_at": null, + "finished_at": null, + "log": null, + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": 9, + "request_id": null, + "state": null, + "duration": null, + "owner_type": null, + "owner_id": null, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null + }, + { + "id": 30, + "repository_id": null, + "number": null, + "started_at": null, + "finished_at": null, + "log": null, + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": 9, + "request_id": null, + "state": null, + "duration": null, + "owner_type": null, + "owner_id": null, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null + }, + { + "id": 47, + "repository_id": null, + "number": null, + "started_at": null, + "finished_at": null, + "log": null, + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": null, + "request_id": 29, + "state": null, + "duration": null, + "owner_type": null, + "owner_id": null, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/deleted_build_48-52.json b/spec/support/expected_files/remove_user_with_dependencies/deleted_build_48-52.json new file mode 100644 index 0000000..c609721 --- /dev/null +++ b/spec/support/expected_files/remove_user_with_dependencies/deleted_build_48-52.json @@ -0,0 +1,230 @@ +{ + "table_name": "deleted_builds", + "data": [ + { + "id": 48, + "repository_id": null, + "number": null, + "started_at": null, + "finished_at": null, + "log": null, + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": null, + "request_id": 29, + "state": null, + "duration": null, + "owner_type": null, + "owner_id": null, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null + }, + { + "id": 49, + "repository_id": null, + "number": null, + "started_at": null, + "finished_at": null, + "log": null, + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": null, + "request_id": null, + "state": null, + "duration": null, + "owner_type": null, + "owner_id": null, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": 3, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null + }, + { + "id": 50, + "repository_id": null, + "number": null, + "started_at": null, + "finished_at": null, + "log": null, + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": null, + "request_id": null, + "state": null, + "duration": null, + "owner_type": null, + "owner_id": null, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": 3, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null + }, + { + "id": 51, + "repository_id": null, + "number": null, + "started_at": null, + "finished_at": null, + "log": null, + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": null, + "request_id": 31, + "state": null, + "duration": null, + "owner_type": null, + "owner_id": null, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null + }, + { + "id": 52, + "repository_id": null, + "number": null, + "started_at": null, + "finished_at": null, + "log": null, + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": null, + "request_id": 31, + "state": null, + "duration": null, + "owner_type": null, + "owner_id": null, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/deleted_build_53-57.json b/spec/support/expected_files/remove_user_with_dependencies/deleted_build_53-57.json new file mode 100644 index 0000000..3f2d5c2 --- /dev/null +++ b/spec/support/expected_files/remove_user_with_dependencies/deleted_build_53-57.json @@ -0,0 +1,230 @@ +{ + "table_name": "deleted_builds", + "data": [ + { + "id": 53, + "repository_id": null, + "number": null, + "started_at": null, + "finished_at": null, + "log": null, + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": 17, + "request_id": null, + "state": null, + "duration": null, + "owner_type": null, + "owner_id": null, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null + }, + { + "id": 54, + "repository_id": null, + "number": null, + "started_at": null, + "finished_at": null, + "log": null, + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": 17, + "request_id": null, + "state": null, + "duration": null, + "owner_type": null, + "owner_id": null, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null + }, + { + "id": 55, + "repository_id": null, + "number": null, + "started_at": null, + "finished_at": null, + "log": null, + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": null, + "request_id": 33, + "state": null, + "duration": null, + "owner_type": null, + "owner_id": null, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null + }, + { + "id": 56, + "repository_id": null, + "number": null, + "started_at": null, + "finished_at": null, + "log": null, + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": null, + "request_id": 33, + "state": null, + "duration": null, + "owner_type": null, + "owner_id": null, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null + }, + { + "id": 57, + "repository_id": null, + "number": null, + "started_at": null, + "finished_at": null, + "log": null, + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": null, + "request_id": null, + "state": null, + "duration": null, + "owner_type": null, + "owner_id": null, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": 33, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/deleted_build_58-62.json b/spec/support/expected_files/remove_user_with_dependencies/deleted_build_58-62.json new file mode 100644 index 0000000..db39ce6 --- /dev/null +++ b/spec/support/expected_files/remove_user_with_dependencies/deleted_build_58-62.json @@ -0,0 +1,230 @@ +{ + "table_name": "deleted_builds", + "data": [ + { + "id": 58, + "repository_id": null, + "number": null, + "started_at": null, + "finished_at": null, + "log": null, + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": null, + "request_id": null, + "state": null, + "duration": null, + "owner_type": null, + "owner_id": null, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": 33, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null + }, + { + "id": 59, + "repository_id": null, + "number": null, + "started_at": null, + "finished_at": null, + "log": null, + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": null, + "request_id": null, + "state": null, + "duration": null, + "owner_type": null, + "owner_id": null, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": 1, + "restarted_at": null, + "unique_number": null + }, + { + "id": 60, + "repository_id": null, + "number": null, + "started_at": null, + "finished_at": null, + "log": null, + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": null, + "request_id": null, + "state": null, + "duration": null, + "owner_type": null, + "owner_id": null, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": 1, + "restarted_at": null, + "unique_number": null + }, + { + "id": 61, + "repository_id": null, + "number": null, + "started_at": null, + "finished_at": null, + "log": null, + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": null, + "request_id": 35, + "state": null, + "duration": null, + "owner_type": null, + "owner_id": null, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null + }, + { + "id": 62, + "repository_id": null, + "number": null, + "started_at": null, + "finished_at": null, + "log": null, + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": null, + "request_id": 35, + "state": null, + "duration": null, + "owner_type": null, + "owner_id": null, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/deleted_build_63-99.json b/spec/support/expected_files/remove_user_with_dependencies/deleted_build_63-99.json new file mode 100644 index 0000000..abdf9bb --- /dev/null +++ b/spec/support/expected_files/remove_user_with_dependencies/deleted_build_63-99.json @@ -0,0 +1,230 @@ +{ + "table_name": "deleted_builds", + "data": [ + { + "id": 63, + "repository_id": null, + "number": null, + "started_at": null, + "finished_at": null, + "log": null, + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": null, + "request_id": 37, + "state": null, + "duration": null, + "owner_type": null, + "owner_id": null, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null + }, + { + "id": 64, + "repository_id": null, + "number": null, + "started_at": null, + "finished_at": null, + "log": null, + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": null, + "request_id": 37, + "state": null, + "duration": null, + "owner_type": null, + "owner_id": null, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null + }, + { + "id": 65, + "repository_id": 1, + "number": null, + "started_at": null, + "finished_at": null, + "log": null, + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": null, + "request_id": null, + "state": null, + "duration": null, + "owner_type": null, + "owner_id": null, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null + }, + { + "id": 66, + "repository_id": 1, + "number": null, + "started_at": null, + "finished_at": null, + "log": null, + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": null, + "request_id": null, + "state": null, + "duration": null, + "owner_type": null, + "owner_id": null, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null + }, + { + "id": 99, + "repository_id": null, + "number": null, + "started_at": null, + "finished_at": null, + "log": null, + "message": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "ref": null, + "branch": null, + "github_payload": null, + "compare_url": null, + "token": null, + "commit_id": null, + "request_id": 59, + "state": null, + "duration": null, + "owner_type": null, + "owner_id": null, + "event_type": null, + "previous_state": null, + "pull_request_title": null, + "pull_request_number": null, + "canceled_at": null, + "cached_matrix_ids": null, + "received_at": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "unique_number": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/deleted_build_config_1-2.json b/spec/support/expected_files/remove_user_with_dependencies/deleted_build_config_1-2.json new file mode 100644 index 0000000..6e20cc6 --- /dev/null +++ b/spec/support/expected_files/remove_user_with_dependencies/deleted_build_config_1-2.json @@ -0,0 +1,21 @@ +{ + "table_name": "deleted_build_configs", + "data": [ + { + "id": 1, + "repository_id": 1, + "key": "some_test_key", + "org_id": null, + "com_id": null, + "config": null + }, + { + "id": 2, + "repository_id": 1, + "key": "some_test_key", + "org_id": null, + "com_id": null, + "config": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/deleted_commit_14-14.json b/spec/support/expected_files/remove_user_with_dependencies/deleted_commit_14-14.json new file mode 100644 index 0000000..18ab3ee --- /dev/null +++ b/spec/support/expected_files/remove_user_with_dependencies/deleted_commit_14-14.json @@ -0,0 +1,25 @@ +{ + "table_name": "deleted_commits", + "data": [ + { + "id": 14, + "repository_id": 1, + "commit": null, + "ref": null, + "branch": null, + "message": null, + "compare_url": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "branch_id": null, + "tag_id": null, + "org_id": null, + "com_id": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/deleted_commit_5-13.json b/spec/support/expected_files/remove_user_with_dependencies/deleted_commit_5-13.json new file mode 100644 index 0000000..297cdb4 --- /dev/null +++ b/spec/support/expected_files/remove_user_with_dependencies/deleted_commit_5-13.json @@ -0,0 +1,105 @@ +{ + "table_name": "deleted_commits", + "data": [ + { + "id": 5, + "repository_id": null, + "commit": null, + "ref": null, + "branch": null, + "message": null, + "compare_url": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "branch_id": 14, + "tag_id": null, + "org_id": null, + "com_id": null + }, + { + "id": 6, + "repository_id": null, + "commit": null, + "ref": null, + "branch": null, + "message": null, + "compare_url": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "branch_id": 14, + "tag_id": null, + "org_id": null, + "com_id": null + }, + { + "id": 11, + "repository_id": null, + "commit": null, + "ref": null, + "branch": null, + "message": null, + "compare_url": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "branch_id": null, + "tag_id": 33, + "org_id": null, + "com_id": null + }, + { + "id": 12, + "repository_id": null, + "commit": null, + "ref": null, + "branch": null, + "message": null, + "compare_url": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "branch_id": null, + "tag_id": 33, + "org_id": null, + "com_id": null + }, + { + "id": 13, + "repository_id": 1, + "commit": null, + "ref": null, + "branch": null, + "message": null, + "compare_url": null, + "committed_at": null, + "committer_name": null, + "committer_email": null, + "author_name": null, + "author_email": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "branch_id": null, + "tag_id": null, + "org_id": null, + "com_id": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/deleted_job_15-19.json b/spec/support/expected_files/remove_user_with_dependencies/deleted_job_15-19.json new file mode 100644 index 0000000..ee8c4d1 --- /dev/null +++ b/spec/support/expected_files/remove_user_with_dependencies/deleted_job_15-19.json @@ -0,0 +1,175 @@ +{ + "table_name": "deleted_jobs", + "data": [ + { + "id": 15, + "repository_id": null, + "commit_id": null, + "source_type": "Build", + "source_id": 1, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": null, + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "tags": null, + "allow_failure": null, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + }, + { + "id": 16, + "repository_id": null, + "commit_id": null, + "source_type": "Request", + "source_id": 11, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": null, + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "tags": null, + "allow_failure": null, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + }, + { + "id": 17, + "repository_id": null, + "commit_id": null, + "source_type": "Request", + "source_id": 11, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": null, + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "tags": null, + "allow_failure": null, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + }, + { + "id": 18, + "repository_id": null, + "commit_id": null, + "source_type": "Branch", + "source_id": 14, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": null, + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "tags": null, + "allow_failure": null, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + }, + { + "id": 19, + "repository_id": null, + "commit_id": null, + "source_type": "Branch", + "source_id": 14, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": null, + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "tags": null, + "allow_failure": null, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/deleted_job_20-24.json b/spec/support/expected_files/remove_user_with_dependencies/deleted_job_20-24.json new file mode 100644 index 0000000..105167a --- /dev/null +++ b/spec/support/expected_files/remove_user_with_dependencies/deleted_job_20-24.json @@ -0,0 +1,175 @@ +{ + "table_name": "deleted_jobs", + "data": [ + { + "id": 20, + "repository_id": null, + "commit_id": null, + "source_type": "Request", + "source_id": 13, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": null, + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "tags": null, + "allow_failure": null, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + }, + { + "id": 21, + "repository_id": null, + "commit_id": null, + "source_type": "Request", + "source_id": 13, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": null, + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "tags": null, + "allow_failure": null, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + }, + { + "id": 22, + "repository_id": null, + "commit_id": 7, + "source_type": null, + "source_id": null, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": null, + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "tags": null, + "allow_failure": null, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + }, + { + "id": 23, + "repository_id": null, + "commit_id": 7, + "source_type": null, + "source_id": null, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": null, + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "tags": null, + "allow_failure": null, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + }, + { + "id": 24, + "repository_id": null, + "commit_id": null, + "source_type": "Request", + "source_id": 15, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": null, + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "tags": null, + "allow_failure": null, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/deleted_job_25-29.json b/spec/support/expected_files/remove_user_with_dependencies/deleted_job_25-29.json new file mode 100644 index 0000000..cae1c21 --- /dev/null +++ b/spec/support/expected_files/remove_user_with_dependencies/deleted_job_25-29.json @@ -0,0 +1,175 @@ +{ + "table_name": "deleted_jobs", + "data": [ + { + "id": 25, + "repository_id": null, + "commit_id": null, + "source_type": "Request", + "source_id": 15, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": null, + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "tags": null, + "allow_failure": null, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + }, + { + "id": 26, + "repository_id": null, + "commit_id": null, + "source_type": "Request", + "source_id": 17, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": null, + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "tags": null, + "allow_failure": null, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + }, + { + "id": 27, + "repository_id": null, + "commit_id": null, + "source_type": "Request", + "source_id": 17, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": null, + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "tags": null, + "allow_failure": null, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + }, + { + "id": 28, + "repository_id": null, + "commit_id": 9, + "source_type": null, + "source_id": null, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": null, + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "tags": null, + "allow_failure": null, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + }, + { + "id": 29, + "repository_id": null, + "commit_id": 9, + "source_type": null, + "source_id": null, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": null, + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "tags": null, + "allow_failure": null, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/deleted_job_44-48.json b/spec/support/expected_files/remove_user_with_dependencies/deleted_job_44-48.json new file mode 100644 index 0000000..fe73ff3 --- /dev/null +++ b/spec/support/expected_files/remove_user_with_dependencies/deleted_job_44-48.json @@ -0,0 +1,175 @@ +{ + "table_name": "deleted_jobs", + "data": [ + { + "id": 44, + "repository_id": null, + "commit_id": null, + "source_type": "Build", + "source_id": 89, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": null, + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "tags": null, + "allow_failure": null, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + }, + { + "id": 45, + "repository_id": null, + "commit_id": null, + "source_type": "Request", + "source_id": 29, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": null, + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "tags": null, + "allow_failure": null, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + }, + { + "id": 46, + "repository_id": null, + "commit_id": null, + "source_type": "Request", + "source_id": 29, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": null, + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "tags": null, + "allow_failure": null, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + }, + { + "id": 47, + "repository_id": null, + "commit_id": null, + "source_type": "Request", + "source_id": 31, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": null, + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "tags": null, + "allow_failure": null, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + }, + { + "id": 48, + "repository_id": null, + "commit_id": null, + "source_type": "Request", + "source_id": 31, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": null, + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "tags": null, + "allow_failure": null, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/deleted_job_49-53.json b/spec/support/expected_files/remove_user_with_dependencies/deleted_job_49-53.json new file mode 100644 index 0000000..cfada4e --- /dev/null +++ b/spec/support/expected_files/remove_user_with_dependencies/deleted_job_49-53.json @@ -0,0 +1,175 @@ +{ + "table_name": "deleted_jobs", + "data": [ + { + "id": 49, + "repository_id": null, + "commit_id": 17, + "source_type": null, + "source_id": null, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": null, + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "tags": null, + "allow_failure": null, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + }, + { + "id": 50, + "repository_id": null, + "commit_id": 17, + "source_type": null, + "source_id": null, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": null, + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "tags": null, + "allow_failure": null, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + }, + { + "id": 51, + "repository_id": null, + "commit_id": null, + "source_type": "Request", + "source_id": 33, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": null, + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "tags": null, + "allow_failure": null, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + }, + { + "id": 52, + "repository_id": null, + "commit_id": null, + "source_type": "Request", + "source_id": 33, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": null, + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "tags": null, + "allow_failure": null, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + }, + { + "id": 53, + "repository_id": null, + "commit_id": null, + "source_type": "Request", + "source_id": 35, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": null, + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "tags": null, + "allow_failure": null, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/deleted_job_54-58.json b/spec/support/expected_files/remove_user_with_dependencies/deleted_job_54-58.json new file mode 100644 index 0000000..d5c25e8 --- /dev/null +++ b/spec/support/expected_files/remove_user_with_dependencies/deleted_job_54-58.json @@ -0,0 +1,175 @@ +{ + "table_name": "deleted_jobs", + "data": [ + { + "id": 54, + "repository_id": null, + "commit_id": null, + "source_type": "Request", + "source_id": 35, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": null, + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "tags": null, + "allow_failure": null, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + }, + { + "id": 55, + "repository_id": null, + "commit_id": null, + "source_type": null, + "source_id": null, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": null, + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "tags": null, + "allow_failure": null, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": 1, + "restarted_at": null, + "priority": null + }, + { + "id": 56, + "repository_id": null, + "commit_id": null, + "source_type": null, + "source_id": null, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": null, + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "tags": null, + "allow_failure": null, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": 1, + "restarted_at": null, + "priority": null + }, + { + "id": 57, + "repository_id": null, + "commit_id": null, + "source_type": "Request", + "source_id": 37, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": null, + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "tags": null, + "allow_failure": null, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + }, + { + "id": 58, + "repository_id": null, + "commit_id": null, + "source_type": "Request", + "source_id": 37, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": null, + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "tags": null, + "allow_failure": null, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/deleted_job_59-91.json b/spec/support/expected_files/remove_user_with_dependencies/deleted_job_59-91.json new file mode 100644 index 0000000..8db2fbc --- /dev/null +++ b/spec/support/expected_files/remove_user_with_dependencies/deleted_job_59-91.json @@ -0,0 +1,175 @@ +{ + "table_name": "deleted_jobs", + "data": [ + { + "id": 59, + "repository_id": 1, + "commit_id": null, + "source_type": null, + "source_id": null, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": null, + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "tags": null, + "allow_failure": null, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + }, + { + "id": 60, + "repository_id": 1, + "commit_id": null, + "source_type": null, + "source_id": null, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": null, + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "tags": null, + "allow_failure": null, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + }, + { + "id": 75, + "repository_id": null, + "commit_id": null, + "source_type": "Build", + "source_id": 178, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": null, + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "tags": null, + "allow_failure": null, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + }, + { + "id": 90, + "repository_id": null, + "commit_id": null, + "source_type": "Build", + "source_id": 229, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": null, + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "tags": null, + "allow_failure": null, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + }, + { + "id": 91, + "repository_id": null, + "commit_id": null, + "source_type": "Request", + "source_id": 59, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": null, + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "tags": null, + "allow_failure": null, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/job_270-272.json b/spec/support/expected_files/remove_user_with_dependencies/deleted_job_92-94.json similarity index 54% rename from spec/support/expected_files/remove_user_with_dependencies/job_270-272.json rename to spec/support/expected_files/remove_user_with_dependencies/deleted_job_92-94.json index 2bb3c45..3042010 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/job_270-272.json +++ b/spec/support/expected_files/remove_user_with_dependencies/deleted_job_92-94.json @@ -1,26 +1,26 @@ { - "table_name": "jobs", + "table_name": "deleted_jobs", "data": [ { - "id": 270, + "id": 92, "repository_id": null, "commit_id": null, - "source_id": 57, "source_type": "Request", + "source_id": 59, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": null, "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", "tags": null, - "allow_failure": false, - "owner_id": null, + "allow_failure": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -28,28 +28,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { - "id": 271, + "id": 93, "repository_id": null, "commit_id": null, - "source_id": null, - "source_type": null, + "source_type": "Request", + "source_id": 61, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": null, "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", "tags": null, - "allow_failure": false, - "owner_id": 9, - "owner_type": "User", + "allow_failure": null, + "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -57,28 +62,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { - "id": 272, + "id": 94, "repository_id": null, "commit_id": null, - "source_id": null, - "source_type": null, + "source_type": "Request", + "source_id": 61, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": null, "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", "tags": null, - "allow_failure": false, - "owner_id": 9, - "owner_type": "User", + "allow_failure": null, + "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -86,7 +96,12 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/deleted_job_config_1-2.json b/spec/support/expected_files/remove_user_with_dependencies/deleted_job_config_1-2.json new file mode 100644 index 0000000..49f6d54 --- /dev/null +++ b/spec/support/expected_files/remove_user_with_dependencies/deleted_job_config_1-2.json @@ -0,0 +1,21 @@ +{ + "table_name": "deleted_job_configs", + "data": [ + { + "id": 1, + "repository_id": 1, + "key": "some_test_key", + "org_id": null, + "com_id": null, + "config": null + }, + { + "id": 2, + "repository_id": 1, + "key": "some_test_key", + "org_id": null, + "com_id": null, + "config": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/deleted_pull_request_1-2.json b/spec/support/expected_files/remove_user_with_dependencies/deleted_pull_request_1-2.json new file mode 100644 index 0000000..94f18bb --- /dev/null +++ b/spec/support/expected_files/remove_user_with_dependencies/deleted_pull_request_1-2.json @@ -0,0 +1,43 @@ +{ + "table_name": "deleted_pull_requests", + "data": [ + { + "id": 1, + "repository_id": 1, + "number": null, + "title": null, + "state": null, + "head_repo_github_id": null, + "head_repo_slug": null, + "head_ref": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "org_id": null, + "com_id": null, + "mergeable_state": null, + "head_repo_vcs_id": null, + "base_repo_slug": null, + "base_repo_vcs_id": null, + "base_ref": null + }, + { + "id": 2, + "repository_id": 1, + "number": null, + "title": null, + "state": null, + "head_repo_github_id": null, + "head_repo_slug": null, + "head_ref": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "org_id": null, + "com_id": null, + "mergeable_state": null, + "head_repo_vcs_id": null, + "base_repo_slug": null, + "base_repo_vcs_id": null, + "base_ref": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/deleted_request_14-26.json b/spec/support/expected_files/remove_user_with_dependencies/deleted_request_14-26.json new file mode 100644 index 0000000..1e8b24b --- /dev/null +++ b/spec/support/expected_files/remove_user_with_dependencies/deleted_request_14-26.json @@ -0,0 +1,165 @@ +{ + "table_name": "deleted_requests", + "data": [ + { + "id": 14, + "repository_id": null, + "commit_id": 9, + "state": null, + "source": null, + "token": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "event_type": null, + "comments_url": null, + "base_commit": null, + "head_commit": null, + "owner_type": null, + "owner_id": null, + "result": null, + "message": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "yaml_config_id": null, + "github_guid": null, + "pull_request_mergeable": null + }, + { + "id": 23, + "repository_id": null, + "commit_id": null, + "state": null, + "source": null, + "token": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "event_type": null, + "comments_url": null, + "base_commit": null, + "head_commit": null, + "owner_type": null, + "owner_id": null, + "result": null, + "message": null, + "private": null, + "pull_request_id": 3, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "yaml_config_id": null, + "github_guid": null, + "pull_request_mergeable": null + }, + { + "id": 24, + "repository_id": null, + "commit_id": null, + "state": null, + "source": null, + "token": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "event_type": null, + "comments_url": null, + "base_commit": null, + "head_commit": null, + "owner_type": null, + "owner_id": null, + "result": null, + "message": null, + "private": null, + "pull_request_id": 3, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "yaml_config_id": null, + "github_guid": null, + "pull_request_mergeable": null + }, + { + "id": 25, + "repository_id": null, + "commit_id": 17, + "state": null, + "source": null, + "token": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "event_type": null, + "comments_url": null, + "base_commit": null, + "head_commit": null, + "owner_type": null, + "owner_id": null, + "result": null, + "message": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "yaml_config_id": null, + "github_guid": null, + "pull_request_mergeable": null + }, + { + "id": 26, + "repository_id": null, + "commit_id": 17, + "state": null, + "source": null, + "token": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "event_type": null, + "comments_url": null, + "base_commit": null, + "head_commit": null, + "owner_type": null, + "owner_id": null, + "result": null, + "message": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "yaml_config_id": null, + "github_guid": null, + "pull_request_mergeable": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/deleted_request_27-31.json b/spec/support/expected_files/remove_user_with_dependencies/deleted_request_27-31.json new file mode 100644 index 0000000..7fc5f81 --- /dev/null +++ b/spec/support/expected_files/remove_user_with_dependencies/deleted_request_27-31.json @@ -0,0 +1,165 @@ +{ + "table_name": "deleted_requests", + "data": [ + { + "id": 27, + "repository_id": null, + "commit_id": null, + "state": null, + "source": null, + "token": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "event_type": null, + "comments_url": null, + "base_commit": null, + "head_commit": null, + "owner_type": null, + "owner_id": null, + "result": null, + "message": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": 33, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "yaml_config_id": null, + "github_guid": null, + "pull_request_mergeable": null + }, + { + "id": 28, + "repository_id": null, + "commit_id": null, + "state": null, + "source": null, + "token": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "event_type": null, + "comments_url": null, + "base_commit": null, + "head_commit": null, + "owner_type": null, + "owner_id": null, + "result": null, + "message": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": 33, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "yaml_config_id": null, + "github_guid": null, + "pull_request_mergeable": null + }, + { + "id": 29, + "repository_id": null, + "commit_id": null, + "state": null, + "source": null, + "token": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "event_type": null, + "comments_url": null, + "base_commit": null, + "head_commit": null, + "owner_type": null, + "owner_id": null, + "result": null, + "message": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": 1, + "yaml_config_id": null, + "github_guid": null, + "pull_request_mergeable": null + }, + { + "id": 30, + "repository_id": null, + "commit_id": null, + "state": null, + "source": null, + "token": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "event_type": null, + "comments_url": null, + "base_commit": null, + "head_commit": null, + "owner_type": null, + "owner_id": null, + "result": null, + "message": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": 1, + "yaml_config_id": null, + "github_guid": null, + "pull_request_mergeable": null + }, + { + "id": 31, + "repository_id": null, + "commit_id": null, + "state": null, + "source": null, + "token": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "event_type": null, + "comments_url": null, + "base_commit": null, + "head_commit": null, + "owner_type": null, + "owner_id": null, + "result": null, + "message": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": 1, + "yaml_config_id": null, + "github_guid": null, + "pull_request_mergeable": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/request_56-58.json b/spec/support/expected_files/remove_user_with_dependencies/deleted_request_32-34.json similarity index 55% rename from spec/support/expected_files/remove_user_with_dependencies/request_56-58.json rename to spec/support/expected_files/remove_user_with_dependencies/deleted_request_32-34.json index eb2d24d..a54d310 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/request_56-58.json +++ b/spec/support/expected_files/remove_user_with_dependencies/deleted_request_32-34.json @@ -1,89 +1,101 @@ { - "table_name": "requests", + "table_name": "deleted_requests", "data": [ { - "id": 56, + "id": 32, "repository_id": null, "commit_id": null, "state": null, "source": null, - "payload": null, "token": null, - "config": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", "event_type": null, "comments_url": null, "base_commit": null, "head_commit": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "message": null, "private": null, "pull_request_id": null, "branch_id": null, "tag_id": null, - "sender_id": 9, - "sender_type": "User" + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": 1, + "yaml_config_id": null, + "github_guid": null, + "pull_request_mergeable": null }, { - "id": 57, - "repository_id": null, + "id": 33, + "repository_id": 1, "commit_id": null, "state": null, "source": null, - "payload": null, "token": null, - "config": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", "event_type": null, "comments_url": null, "base_commit": null, "head_commit": null, - "owner_id": 9, - "owner_type": "User", + "owner_type": null, + "owner_id": null, "result": null, "message": null, "private": null, "pull_request_id": null, "branch_id": null, "tag_id": null, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": null, + "yaml_config_id": null, + "github_guid": null, + "pull_request_mergeable": null }, { - "id": 58, - "repository_id": null, + "id": 34, + "repository_id": 1, "commit_id": null, "state": null, "source": null, - "payload": null, "token": null, - "config": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", "event_type": null, "comments_url": null, "base_commit": null, "head_commit": null, - "owner_id": 9, - "owner_type": "User", + "owner_type": null, + "owner_id": null, "result": null, "message": null, "private": null, "pull_request_id": null, "branch_id": null, "tag_id": null, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": null, + "yaml_config_id": null, + "github_guid": null, + "pull_request_mergeable": null } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/deleted_request_9-13.json b/spec/support/expected_files/remove_user_with_dependencies/deleted_request_9-13.json new file mode 100644 index 0000000..5e80e79 --- /dev/null +++ b/spec/support/expected_files/remove_user_with_dependencies/deleted_request_9-13.json @@ -0,0 +1,165 @@ +{ + "table_name": "deleted_requests", + "data": [ + { + "id": 9, + "repository_id": null, + "commit_id": 7, + "state": null, + "source": null, + "token": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "event_type": null, + "comments_url": null, + "base_commit": null, + "head_commit": null, + "owner_type": null, + "owner_id": null, + "result": null, + "message": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "yaml_config_id": null, + "github_guid": null, + "pull_request_mergeable": null + }, + { + "id": 10, + "repository_id": null, + "commit_id": 7, + "state": null, + "source": null, + "token": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "event_type": null, + "comments_url": null, + "base_commit": null, + "head_commit": null, + "owner_type": null, + "owner_id": null, + "result": null, + "message": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "yaml_config_id": null, + "github_guid": null, + "pull_request_mergeable": null + }, + { + "id": 11, + "repository_id": null, + "commit_id": null, + "state": null, + "source": null, + "token": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "event_type": null, + "comments_url": null, + "base_commit": null, + "head_commit": null, + "owner_type": null, + "owner_id": null, + "result": null, + "message": null, + "private": null, + "pull_request_id": null, + "branch_id": 14, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "yaml_config_id": null, + "github_guid": null, + "pull_request_mergeable": null + }, + { + "id": 12, + "repository_id": null, + "commit_id": null, + "state": null, + "source": null, + "token": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "event_type": null, + "comments_url": null, + "base_commit": null, + "head_commit": null, + "owner_type": null, + "owner_id": null, + "result": null, + "message": null, + "private": null, + "pull_request_id": null, + "branch_id": 14, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "yaml_config_id": null, + "github_guid": null, + "pull_request_mergeable": null + }, + { + "id": 13, + "repository_id": null, + "commit_id": 9, + "state": null, + "source": null, + "token": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "event_type": null, + "comments_url": null, + "base_commit": null, + "head_commit": null, + "owner_type": null, + "owner_id": null, + "result": null, + "message": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "yaml_config_id": null, + "github_guid": null, + "pull_request_mergeable": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/deleted_request_config_1-2.json b/spec/support/expected_files/remove_user_with_dependencies/deleted_request_config_1-2.json new file mode 100644 index 0000000..f441c10 --- /dev/null +++ b/spec/support/expected_files/remove_user_with_dependencies/deleted_request_config_1-2.json @@ -0,0 +1,21 @@ +{ + "table_name": "deleted_request_configs", + "data": [ + { + "id": 1, + "repository_id": 1, + "key": "some_test_key", + "org_id": null, + "com_id": null, + "config": null + }, + { + "id": 2, + "repository_id": 1, + "key": "some_test_key", + "org_id": null, + "com_id": null, + "config": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/deleted_request_payload_14-26.json b/spec/support/expected_files/remove_user_with_dependencies/deleted_request_payload_14-26.json new file mode 100644 index 0000000..fe38126 --- /dev/null +++ b/spec/support/expected_files/remove_user_with_dependencies/deleted_request_payload_14-26.json @@ -0,0 +1,45 @@ +{ + "table_name": "deleted_request_payloads", + "data": [ + { + "id": 14, + "request_id": 15, + "payload": null, + "archived": null, + "created_at": "2021-08-31 07:51:57 UTC", + "org_id": null + }, + { + "id": 15, + "request_id": 17, + "payload": null, + "archived": null, + "created_at": "2021-08-31 07:51:57 UTC", + "org_id": null + }, + { + "id": 16, + "request_id": 17, + "payload": null, + "archived": null, + "created_at": "2021-08-31 07:51:57 UTC", + "org_id": null + }, + { + "id": 25, + "request_id": 29, + "payload": null, + "archived": null, + "created_at": "2021-08-31 07:51:57 UTC", + "org_id": null + }, + { + "id": 26, + "request_id": 29, + "payload": null, + "archived": null, + "created_at": "2021-08-31 07:51:57 UTC", + "org_id": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/deleted_request_payload_27-31.json b/spec/support/expected_files/remove_user_with_dependencies/deleted_request_payload_27-31.json new file mode 100644 index 0000000..f49dc57 --- /dev/null +++ b/spec/support/expected_files/remove_user_with_dependencies/deleted_request_payload_27-31.json @@ -0,0 +1,45 @@ +{ + "table_name": "deleted_request_payloads", + "data": [ + { + "id": 27, + "request_id": 31, + "payload": null, + "archived": null, + "created_at": "2021-08-31 07:51:57 UTC", + "org_id": null + }, + { + "id": 28, + "request_id": 31, + "payload": null, + "archived": null, + "created_at": "2021-08-31 07:51:57 UTC", + "org_id": null + }, + { + "id": 29, + "request_id": 33, + "payload": null, + "archived": null, + "created_at": "2021-08-31 07:51:57 UTC", + "org_id": null + }, + { + "id": 30, + "request_id": 33, + "payload": null, + "archived": null, + "created_at": "2021-08-31 07:51:57 UTC", + "org_id": null + }, + { + "id": 31, + "request_id": 35, + "payload": null, + "archived": null, + "created_at": "2021-08-31 07:51:57 UTC", + "org_id": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/deleted_request_payload_32-52.json b/spec/support/expected_files/remove_user_with_dependencies/deleted_request_payload_32-52.json new file mode 100644 index 0000000..3950bb3 --- /dev/null +++ b/spec/support/expected_files/remove_user_with_dependencies/deleted_request_payload_32-52.json @@ -0,0 +1,45 @@ +{ + "table_name": "deleted_request_payloads", + "data": [ + { + "id": 32, + "request_id": 35, + "payload": null, + "archived": null, + "created_at": "2021-08-31 07:51:57 UTC", + "org_id": null + }, + { + "id": 33, + "request_id": 37, + "payload": null, + "archived": null, + "created_at": "2021-08-31 07:51:57 UTC", + "org_id": null + }, + { + "id": 34, + "request_id": 37, + "payload": null, + "archived": null, + "created_at": "2021-08-31 07:51:57 UTC", + "org_id": null + }, + { + "id": 51, + "request_id": 59, + "payload": null, + "archived": null, + "created_at": "2021-08-31 07:51:57 UTC", + "org_id": null + }, + { + "id": 52, + "request_id": 59, + "payload": null, + "archived": null, + "created_at": "2021-08-31 07:51:57 UTC", + "org_id": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/deleted_request_payload_53-54.json b/spec/support/expected_files/remove_user_with_dependencies/deleted_request_payload_53-54.json new file mode 100644 index 0000000..d713c88 --- /dev/null +++ b/spec/support/expected_files/remove_user_with_dependencies/deleted_request_payload_53-54.json @@ -0,0 +1,21 @@ +{ + "table_name": "deleted_request_payloads", + "data": [ + { + "id": 53, + "request_id": 61, + "payload": null, + "archived": null, + "created_at": "2021-08-31 07:51:57 UTC", + "org_id": null + }, + { + "id": 54, + "request_id": 61, + "payload": null, + "archived": null, + "created_at": "2021-08-31 07:51:57 UTC", + "org_id": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/deleted_request_payload_9-13.json b/spec/support/expected_files/remove_user_with_dependencies/deleted_request_payload_9-13.json new file mode 100644 index 0000000..4df8bc4 --- /dev/null +++ b/spec/support/expected_files/remove_user_with_dependencies/deleted_request_payload_9-13.json @@ -0,0 +1,45 @@ +{ + "table_name": "deleted_request_payloads", + "data": [ + { + "id": 9, + "request_id": 11, + "payload": null, + "archived": null, + "created_at": "2021-08-31 07:51:57 UTC", + "org_id": null + }, + { + "id": 10, + "request_id": 11, + "payload": null, + "archived": null, + "created_at": "2021-08-31 07:51:57 UTC", + "org_id": null + }, + { + "id": 11, + "request_id": 13, + "payload": null, + "archived": null, + "created_at": "2021-08-31 07:51:57 UTC", + "org_id": null + }, + { + "id": 12, + "request_id": 13, + "payload": null, + "archived": null, + "created_at": "2021-08-31 07:51:57 UTC", + "org_id": null + }, + { + "id": 13, + "request_id": 15, + "payload": null, + "archived": null, + "created_at": "2021-08-31 07:51:57 UTC", + "org_id": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/deleted_request_raw_config_1-2.json b/spec/support/expected_files/remove_user_with_dependencies/deleted_request_raw_config_1-2.json new file mode 100644 index 0000000..410650c --- /dev/null +++ b/spec/support/expected_files/remove_user_with_dependencies/deleted_request_raw_config_1-2.json @@ -0,0 +1,19 @@ +{ + "table_name": "deleted_request_raw_configs", + "data": [ + { + "id": 1, + "config": null, + "repository_id": 1, + "key": "some_test_key", + "org_id": null + }, + { + "id": 2, + "config": null, + "repository_id": 1, + "key": "some_test_key", + "org_id": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/deleted_request_raw_configuration_14-26.json b/spec/support/expected_files/remove_user_with_dependencies/deleted_request_raw_configuration_14-26.json new file mode 100644 index 0000000..564a58f --- /dev/null +++ b/spec/support/expected_files/remove_user_with_dependencies/deleted_request_raw_configuration_14-26.json @@ -0,0 +1,45 @@ +{ + "table_name": "deleted_request_raw_configurations", + "data": [ + { + "id": 14, + "request_id": 15, + "request_raw_config_id": null, + "source": null, + "org_id": null, + "merge_mode": null + }, + { + "id": 15, + "request_id": 17, + "request_raw_config_id": null, + "source": null, + "org_id": null, + "merge_mode": null + }, + { + "id": 16, + "request_id": 17, + "request_raw_config_id": null, + "source": null, + "org_id": null, + "merge_mode": null + }, + { + "id": 25, + "request_id": 29, + "request_raw_config_id": null, + "source": null, + "org_id": null, + "merge_mode": null + }, + { + "id": 26, + "request_id": 29, + "request_raw_config_id": null, + "source": null, + "org_id": null, + "merge_mode": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/deleted_request_raw_configuration_27-31.json b/spec/support/expected_files/remove_user_with_dependencies/deleted_request_raw_configuration_27-31.json new file mode 100644 index 0000000..8a2c909 --- /dev/null +++ b/spec/support/expected_files/remove_user_with_dependencies/deleted_request_raw_configuration_27-31.json @@ -0,0 +1,45 @@ +{ + "table_name": "deleted_request_raw_configurations", + "data": [ + { + "id": 27, + "request_id": 31, + "request_raw_config_id": null, + "source": null, + "org_id": null, + "merge_mode": null + }, + { + "id": 28, + "request_id": 31, + "request_raw_config_id": null, + "source": null, + "org_id": null, + "merge_mode": null + }, + { + "id": 29, + "request_id": 33, + "request_raw_config_id": null, + "source": null, + "org_id": null, + "merge_mode": null + }, + { + "id": 30, + "request_id": 33, + "request_raw_config_id": null, + "source": null, + "org_id": null, + "merge_mode": null + }, + { + "id": 31, + "request_id": 35, + "request_raw_config_id": null, + "source": null, + "org_id": null, + "merge_mode": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/deleted_request_raw_configuration_32-36.json b/spec/support/expected_files/remove_user_with_dependencies/deleted_request_raw_configuration_32-36.json new file mode 100644 index 0000000..cbf91f2 --- /dev/null +++ b/spec/support/expected_files/remove_user_with_dependencies/deleted_request_raw_configuration_32-36.json @@ -0,0 +1,45 @@ +{ + "table_name": "deleted_request_raw_configurations", + "data": [ + { + "id": 32, + "request_id": 35, + "request_raw_config_id": null, + "source": null, + "org_id": null, + "merge_mode": null + }, + { + "id": 33, + "request_id": null, + "request_raw_config_id": 1, + "source": null, + "org_id": null, + "merge_mode": null + }, + { + "id": 34, + "request_id": null, + "request_raw_config_id": 1, + "source": null, + "org_id": null, + "merge_mode": null + }, + { + "id": 35, + "request_id": 37, + "request_raw_config_id": null, + "source": null, + "org_id": null, + "merge_mode": null + }, + { + "id": 36, + "request_id": 37, + "request_raw_config_id": null, + "source": null, + "org_id": null, + "merge_mode": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/deleted_request_raw_configuration_53-56.json b/spec/support/expected_files/remove_user_with_dependencies/deleted_request_raw_configuration_53-56.json new file mode 100644 index 0000000..cac04de --- /dev/null +++ b/spec/support/expected_files/remove_user_with_dependencies/deleted_request_raw_configuration_53-56.json @@ -0,0 +1,37 @@ +{ + "table_name": "deleted_request_raw_configurations", + "data": [ + { + "id": 53, + "request_id": 59, + "request_raw_config_id": null, + "source": null, + "org_id": null, + "merge_mode": null + }, + { + "id": 54, + "request_id": 59, + "request_raw_config_id": null, + "source": null, + "org_id": null, + "merge_mode": null + }, + { + "id": 55, + "request_id": 61, + "request_raw_config_id": null, + "source": null, + "org_id": null, + "merge_mode": null + }, + { + "id": 56, + "request_id": 61, + "request_raw_config_id": null, + "source": null, + "org_id": null, + "merge_mode": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/deleted_request_raw_configuration_9-13.json b/spec/support/expected_files/remove_user_with_dependencies/deleted_request_raw_configuration_9-13.json new file mode 100644 index 0000000..d0c3e3a --- /dev/null +++ b/spec/support/expected_files/remove_user_with_dependencies/deleted_request_raw_configuration_9-13.json @@ -0,0 +1,45 @@ +{ + "table_name": "deleted_request_raw_configurations", + "data": [ + { + "id": 9, + "request_id": 11, + "request_raw_config_id": null, + "source": null, + "org_id": null, + "merge_mode": null + }, + { + "id": 10, + "request_id": 11, + "request_raw_config_id": null, + "source": null, + "org_id": null, + "merge_mode": null + }, + { + "id": 11, + "request_id": 13, + "request_raw_config_id": null, + "source": null, + "org_id": null, + "merge_mode": null + }, + { + "id": 12, + "request_id": 13, + "request_raw_config_id": null, + "source": null, + "org_id": null, + "merge_mode": null + }, + { + "id": 13, + "request_id": 15, + "request_raw_config_id": null, + "source": null, + "org_id": null, + "merge_mode": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/deleted_request_yaml_config_1-2.json b/spec/support/expected_files/remove_user_with_dependencies/deleted_request_yaml_config_1-2.json new file mode 100644 index 0000000..c35bead --- /dev/null +++ b/spec/support/expected_files/remove_user_with_dependencies/deleted_request_yaml_config_1-2.json @@ -0,0 +1,21 @@ +{ + "table_name": "deleted_request_yaml_configs", + "data": [ + { + "id": 1, + "yaml": null, + "repository_id": 1, + "key": "some_test_key", + "org_id": null, + "com_id": null + }, + { + "id": 2, + "yaml": null, + "repository_id": 1, + "key": "some_test_key", + "org_id": null, + "com_id": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/deleted_ssl_key_1-2.json b/spec/support/expected_files/remove_user_with_dependencies/deleted_ssl_key_1-2.json new file mode 100644 index 0000000..49e5ac9 --- /dev/null +++ b/spec/support/expected_files/remove_user_with_dependencies/deleted_ssl_key_1-2.json @@ -0,0 +1,25 @@ +{ + "table_name": "deleted_ssl_keys", + "data": [ + { + "id": 1, + "repository_id": 1, + "public_key": null, + "private_key": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "org_id": null, + "com_id": null + }, + { + "id": 2, + "repository_id": 1, + "public_key": null, + "private_key": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "org_id": null, + "com_id": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/deleted_stage_1-4.json b/spec/support/expected_files/remove_user_with_dependencies/deleted_stage_1-4.json new file mode 100644 index 0000000..fb1f496 --- /dev/null +++ b/spec/support/expected_files/remove_user_with_dependencies/deleted_stage_1-4.json @@ -0,0 +1,49 @@ +{ + "table_name": "deleted_stages", + "data": [ + { + "id": 1, + "build_id": 1, + "number": null, + "name": null, + "state": null, + "started_at": null, + "finished_at": null, + "org_id": null, + "com_id": null + }, + { + "id": 2, + "build_id": 89, + "number": null, + "name": null, + "state": null, + "started_at": null, + "finished_at": null, + "org_id": null, + "com_id": null + }, + { + "id": 3, + "build_id": 178, + "number": null, + "name": null, + "state": null, + "started_at": null, + "finished_at": null, + "org_id": null, + "com_id": null + }, + { + "id": 4, + "build_id": 229, + "number": null, + "name": null, + "state": null, + "started_at": null, + "finished_at": null, + "org_id": null, + "com_id": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/deleted_tag_3-4.json b/spec/support/expected_files/remove_user_with_dependencies/deleted_tag_3-4.json new file mode 100644 index 0000000..520c040 --- /dev/null +++ b/spec/support/expected_files/remove_user_with_dependencies/deleted_tag_3-4.json @@ -0,0 +1,27 @@ +{ + "table_name": "deleted_tags", + "data": [ + { + "id": 3, + "repository_id": 1, + "name": null, + "last_build_id": null, + "exists_on_github": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "org_id": null, + "com_id": null + }, + { + "id": 4, + "repository_id": 1, + "name": null, + "last_build_id": null, + "exists_on_github": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "org_id": null, + "com_id": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/email_1-2.json b/spec/support/expected_files/remove_user_with_dependencies/email_1-2.json new file mode 100644 index 0000000..5f94293 --- /dev/null +++ b/spec/support/expected_files/remove_user_with_dependencies/email_1-2.json @@ -0,0 +1,19 @@ +{ + "table_name": "emails", + "data": [ + { + "id": 1, + "user_id": 1, + "email": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC" + }, + { + "id": 2, + "user_id": 1, + "email": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC" + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/email_9-10.json b/spec/support/expected_files/remove_user_with_dependencies/email_9-10.json deleted file mode 100644 index 3264925..0000000 --- a/spec/support/expected_files/remove_user_with_dependencies/email_9-10.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "table_name": "emails", - "data": [ - { - "id": 9, - "user_id": 9, - "email": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC" - }, - { - "id": 10, - "user_id": 9, - "email": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC" - } - ] -} \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/email_unsubscribe_1-2.json b/spec/support/expected_files/remove_user_with_dependencies/email_unsubscribe_1-2.json new file mode 100644 index 0000000..f6a4c10 --- /dev/null +++ b/spec/support/expected_files/remove_user_with_dependencies/email_unsubscribe_1-2.json @@ -0,0 +1,19 @@ +{ + "table_name": "email_unsubscribes", + "data": [ + { + "id": 1, + "user_id": null, + "repository_id": 1, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC" + }, + { + "id": 2, + "user_id": null, + "repository_id": 1, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC" + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/invoice_1-4.json b/spec/support/expected_files/remove_user_with_dependencies/invoice_1-4.json index 501d6b6..eb0193d 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/invoice_1-4.json +++ b/spec/support/expected_files/remove_user_with_dependencies/invoice_1-4.json @@ -4,8 +4,8 @@ { "id": 1, "object": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", "subscription_id": 1, "invoice_id": null, "stripe_id": null, @@ -14,8 +14,8 @@ { "id": 2, "object": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", "subscription_id": 1, "invoice_id": null, "stripe_id": null, @@ -24,8 +24,8 @@ { "id": 3, "object": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", "subscription_id": 2, "invoice_id": null, "stripe_id": null, @@ -34,8 +34,8 @@ { "id": 4, "object": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", "subscription_id": 2, "invoice_id": null, "stripe_id": null, diff --git a/spec/support/expected_files/remove_user_with_dependencies/job_149-155.json b/spec/support/expected_files/remove_user_with_dependencies/job_146-154.json similarity index 64% rename from spec/support/expected_files/remove_user_with_dependencies/job_149-155.json rename to spec/support/expected_files/remove_user_with_dependencies/job_146-154.json index a53d3a0..4164e01 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/job_149-155.json +++ b/spec/support/expected_files/remove_user_with_dependencies/job_146-154.json @@ -2,25 +2,25 @@ "table_name": "jobs", "data": [ { - "id": 149, + "id": 146, "repository_id": null, - "commit_id": 227, - "source_id": null, - "source_type": null, + "commit_id": null, + "source_type": "Build", + "source_id": 145, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -28,28 +28,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { - "id": 150, + "id": 149, "repository_id": null, - "commit_id": 227, - "source_id": null, - "source_type": null, + "commit_id": null, + "source_type": "Build", + "source_id": 148, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -57,28 +62,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { - "id": 152, + "id": 151, "repository_id": null, - "commit_id": null, - "source_id": 151, - "source_type": "Build", + "commit_id": 17, + "source_type": null, + "source_id": null, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -86,28 +96,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { - "id": 154, + "id": 152, "repository_id": null, - "commit_id": null, - "source_id": 31, - "source_type": "Request", + "commit_id": 17, + "source_type": null, + "source_id": null, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -115,28 +130,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { - "id": 155, + "id": 154, "repository_id": null, "commit_id": null, - "source_id": 31, - "source_type": "Request", + "source_type": "Build", + "source_id": 153, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -144,7 +164,12 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/job_262-269.json b/spec/support/expected_files/remove_user_with_dependencies/job_156-162.json similarity index 64% rename from spec/support/expected_files/remove_org_with_dependencies/job_262-269.json rename to spec/support/expected_files/remove_user_with_dependencies/job_156-162.json index 74f1b52..2ad31b1 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/job_262-269.json +++ b/spec/support/expected_files/remove_user_with_dependencies/job_156-162.json @@ -2,25 +2,25 @@ "table_name": "jobs", "data": [ { - "id": 262, + "id": 156, "repository_id": null, "commit_id": null, - "source_id": 261, - "source_type": "Build", + "source_type": "Request", + "source_id": 31, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -28,28 +28,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { - "id": 264, + "id": 157, "repository_id": null, "commit_id": null, - "source_id": 55, "source_type": "Request", + "source_id": 31, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -57,28 +62,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { - "id": 265, + "id": 159, "repository_id": null, "commit_id": null, - "source_id": 55, - "source_type": "Request", + "source_type": "Build", + "source_id": 158, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -86,28 +96,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { - "id": 267, + "id": 161, "repository_id": null, "commit_id": null, - "source_id": 266, - "source_type": "Build", + "source_type": "Request", + "source_id": 33, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -115,28 +130,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { - "id": 269, + "id": 162, "repository_id": null, "commit_id": null, - "source_id": 57, "source_type": "Request", + "source_id": 33, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -144,7 +164,12 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/job_164-171.json b/spec/support/expected_files/remove_user_with_dependencies/job_164-171.json new file mode 100644 index 0000000..74306fc --- /dev/null +++ b/spec/support/expected_files/remove_user_with_dependencies/job_164-171.json @@ -0,0 +1,175 @@ +{ + "table_name": "jobs", + "data": [ + { + "id": 164, + "repository_id": null, + "commit_id": null, + "source_type": "Build", + "source_id": 163, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": "", + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "tags": null, + "allow_failure": false, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + }, + { + "id": 167, + "repository_id": null, + "commit_id": null, + "source_type": "Build", + "source_id": 166, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": "", + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "tags": null, + "allow_failure": false, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + }, + { + "id": 169, + "repository_id": null, + "commit_id": null, + "source_type": "Request", + "source_id": 35, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": "", + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "tags": null, + "allow_failure": false, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + }, + { + "id": 170, + "repository_id": null, + "commit_id": null, + "source_type": "Request", + "source_id": 35, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": "", + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "tags": null, + "allow_failure": false, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + }, + { + "id": 171, + "repository_id": null, + "commit_id": null, + "source_type": null, + "source_id": null, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": "", + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "tags": null, + "allow_failure": false, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": 1, + "restarted_at": null, + "priority": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/job_157-163.json b/spec/support/expected_files/remove_user_with_dependencies/job_172-179.json similarity index 66% rename from spec/support/expected_files/remove_user_with_dependencies/job_157-163.json rename to spec/support/expected_files/remove_user_with_dependencies/job_172-179.json index bd79d52..da73fe5 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/job_157-163.json +++ b/spec/support/expected_files/remove_user_with_dependencies/job_172-179.json @@ -2,25 +2,25 @@ "table_name": "jobs", "data": [ { - "id": 157, + "id": 172, "repository_id": null, "commit_id": null, - "source_id": 156, - "source_type": "Build", + "source_type": null, + "source_id": null, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -28,28 +28,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": 1, + "restarted_at": null, + "priority": null }, { - "id": 159, + "id": 174, "repository_id": null, "commit_id": null, - "source_id": 33, - "source_type": "Request", + "source_type": "Build", + "source_id": 173, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -57,28 +62,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { - "id": 160, + "id": 176, "repository_id": null, "commit_id": null, - "source_id": 33, "source_type": "Request", + "source_id": 37, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -86,28 +96,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { - "id": 162, + "id": 177, "repository_id": null, "commit_id": null, - "source_id": null, - "source_type": null, + "source_type": "Request", + "source_id": 37, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -115,28 +130,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": 52 + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { - "id": 163, + "id": 179, "repository_id": null, "commit_id": null, - "source_id": null, "source_type": null, + "source_id": null, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -144,7 +164,12 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": 52 + "stage_id": 38, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/job_213-217.json b/spec/support/expected_files/remove_user_with_dependencies/job_180-184.json similarity index 66% rename from spec/support/expected_files/remove_org_with_dependencies/job_213-217.json rename to spec/support/expected_files/remove_user_with_dependencies/job_180-184.json index 9d87609..2c9cc94 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/job_213-217.json +++ b/spec/support/expected_files/remove_user_with_dependencies/job_180-184.json @@ -2,25 +2,25 @@ "table_name": "jobs", "data": [ { - "id": 213, + "id": 180, "repository_id": null, "commit_id": null, - "source_id": null, "source_type": null, + "source_id": null, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -28,28 +28,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": 62 + "stage_id": 38, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { - "id": 214, + "id": 181, "repository_id": null, "commit_id": null, - "source_id": null, "source_type": null, + "source_id": null, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -57,28 +62,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": 63 + "stage_id": 39, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { - "id": 215, + "id": 182, "repository_id": null, "commit_id": null, - "source_id": null, "source_type": null, + "source_id": null, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -86,28 +96,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": 63 + "stage_id": 39, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { - "id": 216, + "id": 183, "repository_id": null, "commit_id": null, - "source_id": 211, "source_type": "Build", + "source_id": 178, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -115,28 +130,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { - "id": 217, + "id": 184, "repository_id": null, "commit_id": null, - "source_id": 211, "source_type": "Build", + "source_id": 178, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -144,7 +164,12 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/job_164-212.json b/spec/support/expected_files/remove_user_with_dependencies/job_185-233.json similarity index 65% rename from spec/support/expected_files/remove_org_with_dependencies/job_164-212.json rename to spec/support/expected_files/remove_user_with_dependencies/job_185-233.json index 6574272..7a4efdc 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/job_164-212.json +++ b/spec/support/expected_files/remove_user_with_dependencies/job_185-233.json @@ -2,25 +2,25 @@ "table_name": "jobs", "data": [ { - "id": 164, + "id": 185, "repository_id": null, "commit_id": null, - "source_id": null, - "source_type": null, + "source_type": "Build", + "source_id": 178, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -28,28 +28,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": 53 + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { - "id": 165, + "id": 230, "repository_id": null, "commit_id": null, - "source_id": null, "source_type": null, + "source_id": null, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -57,28 +62,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": 53 + "stage_id": 49, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { - "id": 166, + "id": 231, "repository_id": null, "commit_id": null, - "source_id": 161, - "source_type": "Build", + "source_type": null, + "source_id": null, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -86,28 +96,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": 49, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { - "id": 167, + "id": 232, "repository_id": null, "commit_id": null, - "source_id": 161, - "source_type": "Build", + "source_type": null, + "source_id": null, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -115,28 +130,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": 50, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { - "id": 212, + "id": 233, "repository_id": null, "commit_id": null, - "source_id": null, "source_type": null, + "source_id": null, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -144,7 +164,12 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": 62 + "stage_id": 50, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/job_2-6.json b/spec/support/expected_files/remove_user_with_dependencies/job_2-6.json index 5dd3fec..39b261b 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/job_2-6.json +++ b/spec/support/expected_files/remove_user_with_dependencies/job_2-6.json @@ -5,22 +5,22 @@ "id": 2, "repository_id": null, "commit_id": null, - "source_id": null, "source_type": null, + "source_id": null, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -28,28 +28,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": 20 + "stage_id": 1, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { "id": 3, "repository_id": null, "commit_id": null, - "source_id": null, "source_type": null, + "source_id": null, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -57,28 +62,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": 20 + "stage_id": 1, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { "id": 4, "repository_id": null, "commit_id": null, - "source_id": null, "source_type": null, + "source_id": null, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -86,28 +96,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": 21 + "stage_id": 2, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { "id": 5, "repository_id": null, "commit_id": null, - "source_id": null, "source_type": null, + "source_id": null, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -115,28 +130,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": 21 + "stage_id": 2, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { "id": 6, "repository_id": null, "commit_id": null, - "source_id": 1, "source_type": "Build", + "source_id": 1, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -144,7 +164,12 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/job_234-283.json b/spec/support/expected_files/remove_user_with_dependencies/job_234-283.json new file mode 100644 index 0000000..da8b907 --- /dev/null +++ b/spec/support/expected_files/remove_user_with_dependencies/job_234-283.json @@ -0,0 +1,175 @@ +{ + "table_name": "jobs", + "data": [ + { + "id": 234, + "repository_id": null, + "commit_id": null, + "source_type": "Build", + "source_id": 229, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": "", + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "tags": null, + "allow_failure": false, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + }, + { + "id": 235, + "repository_id": null, + "commit_id": null, + "source_type": "Build", + "source_id": 229, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": "", + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "tags": null, + "allow_failure": false, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + }, + { + "id": 236, + "repository_id": null, + "commit_id": null, + "source_type": "Build", + "source_id": 229, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": "", + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "tags": null, + "allow_failure": false, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + }, + { + "id": 281, + "repository_id": null, + "commit_id": null, + "source_type": "Build", + "source_id": 280, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": "", + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "tags": null, + "allow_failure": false, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + }, + { + "id": 283, + "repository_id": null, + "commit_id": null, + "source_type": "Request", + "source_id": 59, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": "", + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "tags": null, + "allow_failure": false, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/job_284-290.json b/spec/support/expected_files/remove_user_with_dependencies/job_284-290.json new file mode 100644 index 0000000..5930a19 --- /dev/null +++ b/spec/support/expected_files/remove_user_with_dependencies/job_284-290.json @@ -0,0 +1,175 @@ +{ + "table_name": "jobs", + "data": [ + { + "id": 284, + "repository_id": null, + "commit_id": null, + "source_type": "Request", + "source_id": 59, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": "", + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "tags": null, + "allow_failure": false, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + }, + { + "id": 286, + "repository_id": null, + "commit_id": null, + "source_type": "Build", + "source_id": 285, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": "", + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "tags": null, + "allow_failure": false, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + }, + { + "id": 288, + "repository_id": null, + "commit_id": null, + "source_type": "Request", + "source_id": 61, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": "", + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "tags": null, + "allow_failure": false, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + }, + { + "id": 289, + "repository_id": null, + "commit_id": null, + "source_type": "Request", + "source_id": 61, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": "", + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "tags": null, + "allow_failure": false, + "owner_type": null, + "owner_id": null, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + }, + { + "id": 290, + "repository_id": null, + "commit_id": null, + "source_type": null, + "source_id": null, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": "", + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "tags": null, + "allow_failure": false, + "owner_type": "User", + "owner_id": 1, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/job_291-291.json b/spec/support/expected_files/remove_user_with_dependencies/job_291-291.json new file mode 100644 index 0000000..4310734 --- /dev/null +++ b/spec/support/expected_files/remove_user_with_dependencies/job_291-291.json @@ -0,0 +1,39 @@ +{ + "table_name": "jobs", + "data": [ + { + "id": 291, + "repository_id": null, + "commit_id": null, + "source_type": null, + "source_id": null, + "queue": null, + "type": null, + "state": null, + "number": null, + "log": "", + "worker": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "tags": null, + "allow_failure": false, + "owner_type": "User", + "owner_id": 1, + "result": null, + "queued_at": null, + "canceled_at": null, + "received_at": null, + "debug_options": null, + "private": null, + "stage_number": null, + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/job_57-64.json b/spec/support/expected_files/remove_user_with_dependencies/job_57-63.json similarity index 64% rename from spec/support/expected_files/remove_org_with_dependencies/job_57-64.json rename to spec/support/expected_files/remove_user_with_dependencies/job_57-63.json index e3d232a..e10fec6 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/job_57-64.json +++ b/spec/support/expected_files/remove_user_with_dependencies/job_57-63.json @@ -5,22 +5,22 @@ "id": 57, "repository_id": 1, "commit_id": null, - "source_id": null, "source_type": null, + "source_id": null, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -28,28 +28,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { - "id": 59, - "repository_id": null, + "id": 58, + "repository_id": 1, "commit_id": null, - "source_id": 58, - "source_type": "Build", + "source_type": null, + "source_id": null, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -57,28 +62,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { - "id": 61, + "id": 60, "repository_id": null, "commit_id": null, - "source_id": 86, - "source_type": "Branch", + "source_type": "Build", + "source_id": 59, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -86,28 +96,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { "id": 62, "repository_id": null, "commit_id": null, - "source_id": 86, "source_type": "Branch", + "source_id": 14, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -115,28 +130,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { - "id": 64, + "id": 63, "repository_id": null, "commit_id": null, - "source_id": 63, - "source_type": "Build", + "source_type": "Branch", + "source_id": 14, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -144,7 +164,12 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/job_66-72.json b/spec/support/expected_files/remove_user_with_dependencies/job_65-72.json similarity index 65% rename from spec/support/expected_files/remove_user_with_dependencies/job_66-72.json rename to spec/support/expected_files/remove_user_with_dependencies/job_65-72.json index c0d7e0d..18cafa5 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/job_66-72.json +++ b/spec/support/expected_files/remove_user_with_dependencies/job_65-72.json @@ -2,25 +2,25 @@ "table_name": "jobs", "data": [ { - "id": 66, + "id": 65, "repository_id": null, - "commit_id": 217, - "source_id": null, - "source_type": null, + "commit_id": null, + "source_type": "Build", + "source_id": 64, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -28,28 +28,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { "id": 67, "repository_id": null, - "commit_id": 217, - "source_id": null, + "commit_id": 7, "source_type": null, + "source_id": null, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -57,28 +62,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { - "id": 69, + "id": 68, "repository_id": null, - "commit_id": null, - "source_id": 68, - "source_type": "Build", + "commit_id": 7, + "source_type": null, + "source_id": null, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -86,28 +96,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { - "id": 71, + "id": 70, "repository_id": null, "commit_id": null, - "source_id": 13, - "source_type": "Request", + "source_type": "Build", + "source_id": 69, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -115,28 +130,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { "id": 72, "repository_id": null, "commit_id": null, - "source_id": 13, "source_type": "Request", + "source_id": 13, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -144,7 +164,12 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/job_7-56.json b/spec/support/expected_files/remove_user_with_dependencies/job_7-56.json index cefdb14..74d2e25 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/job_7-56.json +++ b/spec/support/expected_files/remove_user_with_dependencies/job_7-56.json @@ -5,22 +5,22 @@ "id": 7, "repository_id": null, "commit_id": null, - "source_id": 1, "source_type": "Build", + "source_id": 1, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -28,28 +28,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { - "id": 52, + "id": 8, "repository_id": null, "commit_id": null, - "source_id": 51, "source_type": "Build", + "source_id": 1, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -57,28 +62,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { - "id": 54, + "id": 53, "repository_id": null, "commit_id": null, - "source_id": 11, - "source_type": "Request", + "source_type": "Build", + "source_id": 52, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -86,28 +96,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { "id": 55, "repository_id": null, "commit_id": null, - "source_id": 11, "source_type": "Request", + "source_id": 11, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -115,28 +130,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { "id": 56, - "repository_id": 1, + "repository_id": null, "commit_id": null, - "source_id": null, - "source_type": null, + "source_type": "Request", + "source_id": 11, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -144,7 +164,12 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/job_74-81.json b/spec/support/expected_files/remove_user_with_dependencies/job_73-80.json similarity index 65% rename from spec/support/expected_files/remove_user_with_dependencies/job_74-81.json rename to spec/support/expected_files/remove_user_with_dependencies/job_73-80.json index 2d95aad..9183b0e 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/job_74-81.json +++ b/spec/support/expected_files/remove_user_with_dependencies/job_73-80.json @@ -2,25 +2,25 @@ "table_name": "jobs", "data": [ { - "id": 74, + "id": 73, "repository_id": null, "commit_id": null, - "source_id": 73, - "source_type": "Build", + "source_type": "Request", + "source_id": 13, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -28,28 +28,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { - "id": 76, + "id": 75, "repository_id": null, "commit_id": null, - "source_id": 15, - "source_type": "Request", + "source_type": "Build", + "source_id": 74, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -57,28 +62,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { "id": 77, "repository_id": null, "commit_id": null, - "source_id": 15, "source_type": "Request", + "source_id": 15, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -86,28 +96,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { - "id": 79, + "id": 78, "repository_id": null, "commit_id": null, - "source_id": 78, - "source_type": "Build", + "source_type": "Request", + "source_id": 15, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -115,28 +130,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { - "id": 81, + "id": 80, "repository_id": null, - "commit_id": 219, - "source_id": null, - "source_type": null, + "commit_id": null, + "source_type": "Build", + "source_id": 79, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -144,7 +164,12 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/job_82-89.json b/spec/support/expected_files/remove_user_with_dependencies/job_82-88.json similarity index 66% rename from spec/support/expected_files/remove_org_with_dependencies/job_82-89.json rename to spec/support/expected_files/remove_user_with_dependencies/job_82-88.json index 3305b4d..6f78b56 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/job_82-89.json +++ b/spec/support/expected_files/remove_user_with_dependencies/job_82-88.json @@ -4,23 +4,23 @@ { "id": 82, "repository_id": null, - "commit_id": 219, - "source_id": null, + "commit_id": 9, "source_type": null, + "source_id": null, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -28,28 +28,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { - "id": 84, + "id": 83, "repository_id": null, - "commit_id": null, - "source_id": 83, - "source_type": "Build", + "commit_id": 9, + "source_type": null, + "source_id": null, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -57,28 +62,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { - "id": 86, + "id": 85, "repository_id": null, "commit_id": null, - "source_id": 17, - "source_type": "Request", + "source_type": "Build", + "source_id": 84, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -86,28 +96,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { "id": 87, "repository_id": null, "commit_id": null, - "source_id": 17, "source_type": "Request", + "source_id": 17, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -115,28 +130,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { - "id": 89, + "id": 88, "repository_id": null, "commit_id": null, - "source_id": null, - "source_type": null, + "source_type": "Request", + "source_id": 17, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -144,7 +164,12 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": 37 + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/job_90-94.json b/spec/support/expected_files/remove_user_with_dependencies/job_90-94.json index 69c50e6..b36cf86 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/job_90-94.json +++ b/spec/support/expected_files/remove_user_with_dependencies/job_90-94.json @@ -5,22 +5,22 @@ "id": 90, "repository_id": null, "commit_id": null, - "source_id": null, "source_type": null, + "source_id": null, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -28,28 +28,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": 37 + "stage_id": 19, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { "id": 91, "repository_id": null, "commit_id": null, - "source_id": null, "source_type": null, + "source_id": null, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -57,28 +62,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": 38 + "stage_id": 19, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { "id": 92, "repository_id": null, "commit_id": null, - "source_id": null, "source_type": null, + "source_id": null, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -86,28 +96,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": 38 + "stage_id": 20, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { "id": 93, "repository_id": null, "commit_id": null, - "source_id": 88, - "source_type": "Build", + "source_type": null, + "source_id": null, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -115,28 +130,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": 20, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { "id": 94, "repository_id": null, "commit_id": null, - "source_id": 88, "source_type": "Build", + "source_id": 89, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -144,7 +164,12 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/job_139-147.json b/spec/support/expected_files/remove_user_with_dependencies/job_95-144.json similarity index 66% rename from spec/support/expected_files/remove_org_with_dependencies/job_139-147.json rename to spec/support/expected_files/remove_user_with_dependencies/job_95-144.json index b406dc8..de8f8c8 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/job_139-147.json +++ b/spec/support/expected_files/remove_user_with_dependencies/job_95-144.json @@ -2,25 +2,25 @@ "table_name": "jobs", "data": [ { - "id": 139, + "id": 95, "repository_id": null, "commit_id": null, - "source_id": 138, "source_type": "Build", + "source_id": 89, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -28,28 +28,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { - "id": 141, + "id": 96, "repository_id": null, "commit_id": null, - "source_id": 29, - "source_type": "Request", + "source_type": "Build", + "source_id": 89, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -57,28 +62,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { - "id": 142, + "id": 141, "repository_id": null, "commit_id": null, - "source_id": 29, - "source_type": "Request", + "source_type": "Build", + "source_id": 140, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -86,28 +96,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { - "id": 144, + "id": 143, "repository_id": null, "commit_id": null, - "source_id": 143, - "source_type": "Build", + "source_type": "Request", + "source_id": 29, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -115,28 +130,33 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null }, { - "id": 147, + "id": 144, "repository_id": null, "commit_id": null, - "source_id": 146, - "source_type": "Build", + "source_type": "Request", + "source_id": 29, "queue": null, "type": null, "state": null, "number": null, - "config": null, + "log": "", "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", "tags": null, "allow_failure": false, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "queued_at": null, "canceled_at": null, @@ -144,7 +164,12 @@ "debug_options": null, "private": null, "stage_number": null, - "stage_id": null + "stage_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "restarted_at": null, + "priority": null } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/job_config_1-2.json b/spec/support/expected_files/remove_user_with_dependencies/job_config_1-2.json new file mode 100644 index 0000000..381267e --- /dev/null +++ b/spec/support/expected_files/remove_user_with_dependencies/job_config_1-2.json @@ -0,0 +1,21 @@ +{ + "table_name": "job_configs", + "data": [ + { + "id": 1, + "repository_id": 1, + "key": "some_test_key", + "org_id": null, + "com_id": null, + "config": null + }, + { + "id": 2, + "repository_id": 1, + "key": "some_test_key", + "org_id": null, + "com_id": null, + "config": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/job_version_1-19.json b/spec/support/expected_files/remove_user_with_dependencies/job_version_1-19.json new file mode 100644 index 0000000..50e01eb --- /dev/null +++ b/spec/support/expected_files/remove_user_with_dependencies/job_version_1-19.json @@ -0,0 +1,65 @@ +{ + "table_name": "job_versions", + "data": [ + { + "id": 1, + "job_id": 6, + "number": null, + "state": null, + "created_at": "2021-08-31 07:51:57 UTC", + "queued_at": null, + "received_at": null, + "started_at": null, + "finished_at": null, + "restarted_at": null + }, + { + "id": 2, + "job_id": 6, + "number": null, + "state": null, + "created_at": "2021-08-31 07:51:57 UTC", + "queued_at": null, + "received_at": null, + "started_at": null, + "finished_at": null, + "restarted_at": null + }, + { + "id": 17, + "job_id": 55, + "number": null, + "state": null, + "created_at": "2021-08-31 07:51:57 UTC", + "queued_at": null, + "received_at": null, + "started_at": null, + "finished_at": null, + "restarted_at": null + }, + { + "id": 18, + "job_id": 55, + "number": null, + "state": null, + "created_at": "2021-08-31 07:51:57 UTC", + "queued_at": null, + "received_at": null, + "started_at": null, + "finished_at": null, + "restarted_at": null + }, + { + "id": 19, + "job_id": 57, + "number": null, + "state": null, + "created_at": "2021-08-31 07:51:57 UTC", + "queued_at": null, + "received_at": null, + "started_at": null, + "finished_at": null, + "restarted_at": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/job_version_20-24.json b/spec/support/expected_files/remove_user_with_dependencies/job_version_20-24.json new file mode 100644 index 0000000..8b6f537 --- /dev/null +++ b/spec/support/expected_files/remove_user_with_dependencies/job_version_20-24.json @@ -0,0 +1,65 @@ +{ + "table_name": "job_versions", + "data": [ + { + "id": 20, + "job_id": 57, + "number": null, + "state": null, + "created_at": "2021-08-31 07:51:57 UTC", + "queued_at": null, + "received_at": null, + "started_at": null, + "finished_at": null, + "restarted_at": null + }, + { + "id": 21, + "job_id": 62, + "number": null, + "state": null, + "created_at": "2021-08-31 07:51:57 UTC", + "queued_at": null, + "received_at": null, + "started_at": null, + "finished_at": null, + "restarted_at": null + }, + { + "id": 22, + "job_id": 62, + "number": null, + "state": null, + "created_at": "2021-08-31 07:51:57 UTC", + "queued_at": null, + "received_at": null, + "started_at": null, + "finished_at": null, + "restarted_at": null + }, + { + "id": 23, + "job_id": 67, + "number": null, + "state": null, + "created_at": "2021-08-31 07:51:57 UTC", + "queued_at": null, + "received_at": null, + "started_at": null, + "finished_at": null, + "restarted_at": null + }, + { + "id": 24, + "job_id": 67, + "number": null, + "state": null, + "created_at": "2021-08-31 07:51:57 UTC", + "queued_at": null, + "received_at": null, + "started_at": null, + "finished_at": null, + "restarted_at": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/job_version_25-29.json b/spec/support/expected_files/remove_user_with_dependencies/job_version_25-29.json new file mode 100644 index 0000000..a66831e --- /dev/null +++ b/spec/support/expected_files/remove_user_with_dependencies/job_version_25-29.json @@ -0,0 +1,65 @@ +{ + "table_name": "job_versions", + "data": [ + { + "id": 25, + "job_id": 72, + "number": null, + "state": null, + "created_at": "2021-08-31 07:51:57 UTC", + "queued_at": null, + "received_at": null, + "started_at": null, + "finished_at": null, + "restarted_at": null + }, + { + "id": 26, + "job_id": 72, + "number": null, + "state": null, + "created_at": "2021-08-31 07:51:57 UTC", + "queued_at": null, + "received_at": null, + "started_at": null, + "finished_at": null, + "restarted_at": null + }, + { + "id": 27, + "job_id": 77, + "number": null, + "state": null, + "created_at": "2021-08-31 07:51:57 UTC", + "queued_at": null, + "received_at": null, + "started_at": null, + "finished_at": null, + "restarted_at": null + }, + { + "id": 28, + "job_id": 77, + "number": null, + "state": null, + "created_at": "2021-08-31 07:51:57 UTC", + "queued_at": null, + "received_at": null, + "started_at": null, + "finished_at": null, + "restarted_at": null + }, + { + "id": 29, + "job_id": 82, + "number": null, + "state": null, + "created_at": "2021-08-31 07:51:57 UTC", + "queued_at": null, + "received_at": null, + "started_at": null, + "finished_at": null, + "restarted_at": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/job_version_30-34.json b/spec/support/expected_files/remove_user_with_dependencies/job_version_30-34.json new file mode 100644 index 0000000..590d2f2 --- /dev/null +++ b/spec/support/expected_files/remove_user_with_dependencies/job_version_30-34.json @@ -0,0 +1,65 @@ +{ + "table_name": "job_versions", + "data": [ + { + "id": 30, + "job_id": 82, + "number": null, + "state": null, + "created_at": "2021-08-31 07:51:57 UTC", + "queued_at": null, + "received_at": null, + "started_at": null, + "finished_at": null, + "restarted_at": null + }, + { + "id": 31, + "job_id": 87, + "number": null, + "state": null, + "created_at": "2021-08-31 07:51:57 UTC", + "queued_at": null, + "received_at": null, + "started_at": null, + "finished_at": null, + "restarted_at": null + }, + { + "id": 32, + "job_id": 87, + "number": null, + "state": null, + "created_at": "2021-08-31 07:51:57 UTC", + "queued_at": null, + "received_at": null, + "started_at": null, + "finished_at": null, + "restarted_at": null + }, + { + "id": 33, + "job_id": 94, + "number": null, + "state": null, + "created_at": "2021-08-31 07:51:57 UTC", + "queued_at": null, + "received_at": null, + "started_at": null, + "finished_at": null, + "restarted_at": null + }, + { + "id": 34, + "job_id": 94, + "number": null, + "state": null, + "created_at": "2021-08-31 07:51:57 UTC", + "queued_at": null, + "received_at": null, + "started_at": null, + "finished_at": null, + "restarted_at": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/job_version_49-53.json b/spec/support/expected_files/remove_user_with_dependencies/job_version_49-53.json new file mode 100644 index 0000000..459018b --- /dev/null +++ b/spec/support/expected_files/remove_user_with_dependencies/job_version_49-53.json @@ -0,0 +1,65 @@ +{ + "table_name": "job_versions", + "data": [ + { + "id": 49, + "job_id": 143, + "number": null, + "state": null, + "created_at": "2021-08-31 07:51:57 UTC", + "queued_at": null, + "received_at": null, + "started_at": null, + "finished_at": null, + "restarted_at": null + }, + { + "id": 50, + "job_id": 143, + "number": null, + "state": null, + "created_at": "2021-08-31 07:51:57 UTC", + "queued_at": null, + "received_at": null, + "started_at": null, + "finished_at": null, + "restarted_at": null + }, + { + "id": 51, + "job_id": 151, + "number": null, + "state": null, + "created_at": "2021-08-31 07:51:57 UTC", + "queued_at": null, + "received_at": null, + "started_at": null, + "finished_at": null, + "restarted_at": null + }, + { + "id": 52, + "job_id": 151, + "number": null, + "state": null, + "created_at": "2021-08-31 07:51:57 UTC", + "queued_at": null, + "received_at": null, + "started_at": null, + "finished_at": null, + "restarted_at": null + }, + { + "id": 53, + "job_id": 156, + "number": null, + "state": null, + "created_at": "2021-08-31 07:51:57 UTC", + "queued_at": null, + "received_at": null, + "started_at": null, + "finished_at": null, + "restarted_at": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/job_version_54-58.json b/spec/support/expected_files/remove_user_with_dependencies/job_version_54-58.json new file mode 100644 index 0000000..dc1943d --- /dev/null +++ b/spec/support/expected_files/remove_user_with_dependencies/job_version_54-58.json @@ -0,0 +1,65 @@ +{ + "table_name": "job_versions", + "data": [ + { + "id": 54, + "job_id": 156, + "number": null, + "state": null, + "created_at": "2021-08-31 07:51:57 UTC", + "queued_at": null, + "received_at": null, + "started_at": null, + "finished_at": null, + "restarted_at": null + }, + { + "id": 55, + "job_id": 161, + "number": null, + "state": null, + "created_at": "2021-08-31 07:51:57 UTC", + "queued_at": null, + "received_at": null, + "started_at": null, + "finished_at": null, + "restarted_at": null + }, + { + "id": 56, + "job_id": 161, + "number": null, + "state": null, + "created_at": "2021-08-31 07:51:57 UTC", + "queued_at": null, + "received_at": null, + "started_at": null, + "finished_at": null, + "restarted_at": null + }, + { + "id": 57, + "job_id": 169, + "number": null, + "state": null, + "created_at": "2021-08-31 07:51:57 UTC", + "queued_at": null, + "received_at": null, + "started_at": null, + "finished_at": null, + "restarted_at": null + }, + { + "id": 58, + "job_id": 169, + "number": null, + "state": null, + "created_at": "2021-08-31 07:51:57 UTC", + "queued_at": null, + "received_at": null, + "started_at": null, + "finished_at": null, + "restarted_at": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/job_version_59-63.json b/spec/support/expected_files/remove_user_with_dependencies/job_version_59-63.json new file mode 100644 index 0000000..c597cbb --- /dev/null +++ b/spec/support/expected_files/remove_user_with_dependencies/job_version_59-63.json @@ -0,0 +1,65 @@ +{ + "table_name": "job_versions", + "data": [ + { + "id": 59, + "job_id": 171, + "number": null, + "state": null, + "created_at": "2021-08-31 07:51:57 UTC", + "queued_at": null, + "received_at": null, + "started_at": null, + "finished_at": null, + "restarted_at": null + }, + { + "id": 60, + "job_id": 171, + "number": null, + "state": null, + "created_at": "2021-08-31 07:51:57 UTC", + "queued_at": null, + "received_at": null, + "started_at": null, + "finished_at": null, + "restarted_at": null + }, + { + "id": 61, + "job_id": 176, + "number": null, + "state": null, + "created_at": "2021-08-31 07:51:57 UTC", + "queued_at": null, + "received_at": null, + "started_at": null, + "finished_at": null, + "restarted_at": null + }, + { + "id": 62, + "job_id": 176, + "number": null, + "state": null, + "created_at": "2021-08-31 07:51:57 UTC", + "queued_at": null, + "received_at": null, + "started_at": null, + "finished_at": null, + "restarted_at": null + }, + { + "id": 63, + "job_id": 183, + "number": null, + "state": null, + "created_at": "2021-08-31 07:51:57 UTC", + "queued_at": null, + "received_at": null, + "started_at": null, + "finished_at": null, + "restarted_at": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/job_version_64-96.json b/spec/support/expected_files/remove_user_with_dependencies/job_version_64-96.json new file mode 100644 index 0000000..0c5cc9c --- /dev/null +++ b/spec/support/expected_files/remove_user_with_dependencies/job_version_64-96.json @@ -0,0 +1,65 @@ +{ + "table_name": "job_versions", + "data": [ + { + "id": 64, + "job_id": 183, + "number": null, + "state": null, + "created_at": "2021-08-31 07:51:57 UTC", + "queued_at": null, + "received_at": null, + "started_at": null, + "finished_at": null, + "restarted_at": null + }, + { + "id": 79, + "job_id": 234, + "number": null, + "state": null, + "created_at": "2021-08-31 07:51:57 UTC", + "queued_at": null, + "received_at": null, + "started_at": null, + "finished_at": null, + "restarted_at": null + }, + { + "id": 80, + "job_id": 234, + "number": null, + "state": null, + "created_at": "2021-08-31 07:51:57 UTC", + "queued_at": null, + "received_at": null, + "started_at": null, + "finished_at": null, + "restarted_at": null + }, + { + "id": 95, + "job_id": 283, + "number": null, + "state": null, + "created_at": "2021-08-31 07:51:57 UTC", + "queued_at": null, + "received_at": null, + "started_at": null, + "finished_at": null, + "restarted_at": null + }, + { + "id": 96, + "job_id": 283, + "number": null, + "state": null, + "created_at": "2021-08-31 07:51:57 UTC", + "queued_at": null, + "received_at": null, + "started_at": null, + "finished_at": null, + "restarted_at": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/job_version_97-100.json b/spec/support/expected_files/remove_user_with_dependencies/job_version_97-100.json new file mode 100644 index 0000000..206eca1 --- /dev/null +++ b/spec/support/expected_files/remove_user_with_dependencies/job_version_97-100.json @@ -0,0 +1,53 @@ +{ + "table_name": "job_versions", + "data": [ + { + "id": 97, + "job_id": 288, + "number": null, + "state": null, + "created_at": "2021-08-31 07:51:57 UTC", + "queued_at": null, + "received_at": null, + "started_at": null, + "finished_at": null, + "restarted_at": null + }, + { + "id": 98, + "job_id": 288, + "number": null, + "state": null, + "created_at": "2021-08-31 07:51:57 UTC", + "queued_at": null, + "received_at": null, + "started_at": null, + "finished_at": null, + "restarted_at": null + }, + { + "id": 99, + "job_id": 290, + "number": null, + "state": null, + "created_at": "2021-08-31 07:51:57 UTC", + "queued_at": null, + "received_at": null, + "started_at": null, + "finished_at": null, + "restarted_at": null + }, + { + "id": 100, + "job_id": 290, + "number": null, + "state": null, + "created_at": "2021-08-31 07:51:57 UTC", + "queued_at": null, + "received_at": null, + "started_at": null, + "finished_at": null, + "restarted_at": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/log_1-19.json b/spec/support/expected_files/remove_user_with_dependencies/log_1-19.json deleted file mode 100644 index 4440de1..0000000 --- a/spec/support/expected_files/remove_user_with_dependencies/log_1-19.json +++ /dev/null @@ -1,75 +0,0 @@ -{ - "table_name": "logs", - "data": [ - { - "id": 1, - "job_id": 6, - "content": "some log content", - "removed_by": 1, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", - "aggregated_at": null, - "archived_at": null, - "purged_at": null, - "removed_at": null, - "archiving": false, - "archive_verified": true - }, - { - "id": 2, - "job_id": 6, - "content": "some log content", - "removed_by": 1, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", - "aggregated_at": null, - "archived_at": null, - "purged_at": null, - "removed_at": null, - "archiving": false, - "archive_verified": true - }, - { - "id": 17, - "job_id": 54, - "content": "some log content", - "removed_by": 1, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", - "aggregated_at": null, - "archived_at": null, - "purged_at": null, - "removed_at": null, - "archiving": false, - "archive_verified": true - }, - { - "id": 18, - "job_id": 54, - "content": "some log content", - "removed_by": 1, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", - "aggregated_at": null, - "archived_at": null, - "purged_at": null, - "removed_at": null, - "archiving": false, - "archive_verified": true - }, - { - "id": 19, - "job_id": 56, - "content": "some log content", - "removed_by": 1, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", - "aggregated_at": null, - "archived_at": null, - "purged_at": null, - "removed_at": null, - "archiving": false, - "archive_verified": true - } - ] -} \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/log_20-24.json b/spec/support/expected_files/remove_user_with_dependencies/log_20-24.json deleted file mode 100644 index 8f4bcbe..0000000 --- a/spec/support/expected_files/remove_user_with_dependencies/log_20-24.json +++ /dev/null @@ -1,75 +0,0 @@ -{ - "table_name": "logs", - "data": [ - { - "id": 20, - "job_id": 56, - "content": "some log content", - "removed_by": 1, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", - "aggregated_at": null, - "archived_at": null, - "purged_at": null, - "removed_at": null, - "archiving": false, - "archive_verified": true - }, - { - "id": 21, - "job_id": 61, - "content": "some log content", - "removed_by": 1, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", - "aggregated_at": null, - "archived_at": null, - "purged_at": null, - "removed_at": null, - "archiving": false, - "archive_verified": true - }, - { - "id": 22, - "job_id": 61, - "content": "some log content", - "removed_by": 1, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", - "aggregated_at": null, - "archived_at": null, - "purged_at": null, - "removed_at": null, - "archiving": false, - "archive_verified": true - }, - { - "id": 23, - "job_id": 66, - "content": "some log content", - "removed_by": 1, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", - "aggregated_at": null, - "archived_at": null, - "purged_at": null, - "removed_at": null, - "archiving": false, - "archive_verified": true - }, - { - "id": 24, - "job_id": 66, - "content": "some log content", - "removed_by": 1, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", - "aggregated_at": null, - "archived_at": null, - "purged_at": null, - "removed_at": null, - "archiving": false, - "archive_verified": true - } - ] -} \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/log_25-29.json b/spec/support/expected_files/remove_user_with_dependencies/log_25-29.json deleted file mode 100644 index a6b717a..0000000 --- a/spec/support/expected_files/remove_user_with_dependencies/log_25-29.json +++ /dev/null @@ -1,75 +0,0 @@ -{ - "table_name": "logs", - "data": [ - { - "id": 25, - "job_id": 71, - "content": "some log content", - "removed_by": 1, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", - "aggregated_at": null, - "archived_at": null, - "purged_at": null, - "removed_at": null, - "archiving": false, - "archive_verified": true - }, - { - "id": 26, - "job_id": 71, - "content": "some log content", - "removed_by": 1, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", - "aggregated_at": null, - "archived_at": null, - "purged_at": null, - "removed_at": null, - "archiving": false, - "archive_verified": true - }, - { - "id": 27, - "job_id": 76, - "content": "some log content", - "removed_by": 1, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", - "aggregated_at": null, - "archived_at": null, - "purged_at": null, - "removed_at": null, - "archiving": false, - "archive_verified": true - }, - { - "id": 28, - "job_id": 76, - "content": "some log content", - "removed_by": 1, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", - "aggregated_at": null, - "archived_at": null, - "purged_at": null, - "removed_at": null, - "archiving": false, - "archive_verified": true - }, - { - "id": 29, - "job_id": 81, - "content": "some log content", - "removed_by": 1, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", - "aggregated_at": null, - "archived_at": null, - "purged_at": null, - "removed_at": null, - "archiving": false, - "archive_verified": true - } - ] -} \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/log_30-34.json b/spec/support/expected_files/remove_user_with_dependencies/log_30-34.json deleted file mode 100644 index f6ab46c..0000000 --- a/spec/support/expected_files/remove_user_with_dependencies/log_30-34.json +++ /dev/null @@ -1,75 +0,0 @@ -{ - "table_name": "logs", - "data": [ - { - "id": 30, - "job_id": 81, - "content": "some log content", - "removed_by": 1, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", - "aggregated_at": null, - "archived_at": null, - "purged_at": null, - "removed_at": null, - "archiving": false, - "archive_verified": true - }, - { - "id": 31, - "job_id": 86, - "content": "some log content", - "removed_by": 1, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", - "aggregated_at": null, - "archived_at": null, - "purged_at": null, - "removed_at": null, - "archiving": false, - "archive_verified": true - }, - { - "id": 32, - "job_id": 86, - "content": "some log content", - "removed_by": 1, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", - "aggregated_at": null, - "archived_at": null, - "purged_at": null, - "removed_at": null, - "archiving": false, - "archive_verified": true - }, - { - "id": 33, - "job_id": 93, - "content": "some log content", - "removed_by": 1, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", - "aggregated_at": null, - "archived_at": null, - "purged_at": null, - "removed_at": null, - "archiving": false, - "archive_verified": true - }, - { - "id": 34, - "job_id": 93, - "content": "some log content", - "removed_by": 1, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", - "aggregated_at": null, - "archived_at": null, - "purged_at": null, - "removed_at": null, - "archiving": false, - "archive_verified": true - } - ] -} \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/log_49-53.json b/spec/support/expected_files/remove_user_with_dependencies/log_49-53.json deleted file mode 100644 index b64808d..0000000 --- a/spec/support/expected_files/remove_user_with_dependencies/log_49-53.json +++ /dev/null @@ -1,75 +0,0 @@ -{ - "table_name": "logs", - "data": [ - { - "id": 49, - "job_id": 141, - "content": "some log content", - "removed_by": 1, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", - "aggregated_at": null, - "archived_at": null, - "purged_at": null, - "removed_at": null, - "archiving": false, - "archive_verified": true - }, - { - "id": 50, - "job_id": 141, - "content": "some log content", - "removed_by": 1, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", - "aggregated_at": null, - "archived_at": null, - "purged_at": null, - "removed_at": null, - "archiving": false, - "archive_verified": true - }, - { - "id": 51, - "job_id": 149, - "content": "some log content", - "removed_by": 1, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", - "aggregated_at": null, - "archived_at": null, - "purged_at": null, - "removed_at": null, - "archiving": false, - "archive_verified": true - }, - { - "id": 52, - "job_id": 149, - "content": "some log content", - "removed_by": 1, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", - "aggregated_at": null, - "archived_at": null, - "purged_at": null, - "removed_at": null, - "archiving": false, - "archive_verified": true - }, - { - "id": 53, - "job_id": 154, - "content": "some log content", - "removed_by": 1, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", - "aggregated_at": null, - "archived_at": null, - "purged_at": null, - "removed_at": null, - "archiving": false, - "archive_verified": true - } - ] -} \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/log_54-58.json b/spec/support/expected_files/remove_user_with_dependencies/log_54-58.json deleted file mode 100644 index c74ef9e..0000000 --- a/spec/support/expected_files/remove_user_with_dependencies/log_54-58.json +++ /dev/null @@ -1,75 +0,0 @@ -{ - "table_name": "logs", - "data": [ - { - "id": 54, - "job_id": 154, - "content": "some log content", - "removed_by": 1, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", - "aggregated_at": null, - "archived_at": null, - "purged_at": null, - "removed_at": null, - "archiving": false, - "archive_verified": true - }, - { - "id": 55, - "job_id": 159, - "content": "some log content", - "removed_by": 1, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", - "aggregated_at": null, - "archived_at": null, - "purged_at": null, - "removed_at": null, - "archiving": false, - "archive_verified": true - }, - { - "id": 56, - "job_id": 159, - "content": "some log content", - "removed_by": 1, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", - "aggregated_at": null, - "archived_at": null, - "purged_at": null, - "removed_at": null, - "archiving": false, - "archive_verified": true - }, - { - "id": 57, - "job_id": 166, - "content": "some log content", - "removed_by": 1, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", - "aggregated_at": null, - "archived_at": null, - "purged_at": null, - "removed_at": null, - "archiving": false, - "archive_verified": true - }, - { - "id": 58, - "job_id": 166, - "content": "some log content", - "removed_by": 1, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", - "aggregated_at": null, - "archived_at": null, - "purged_at": null, - "removed_at": null, - "archiving": false, - "archive_verified": true - } - ] -} \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/log_73-91.json b/spec/support/expected_files/remove_user_with_dependencies/log_73-91.json deleted file mode 100644 index d681e65..0000000 --- a/spec/support/expected_files/remove_user_with_dependencies/log_73-91.json +++ /dev/null @@ -1,75 +0,0 @@ -{ - "table_name": "logs", - "data": [ - { - "id": 73, - "job_id": 216, - "content": "some log content", - "removed_by": 1, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", - "aggregated_at": null, - "archived_at": null, - "purged_at": null, - "removed_at": null, - "archiving": false, - "archive_verified": true - }, - { - "id": 74, - "job_id": 216, - "content": "some log content", - "removed_by": 1, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", - "aggregated_at": null, - "archived_at": null, - "purged_at": null, - "removed_at": null, - "archiving": false, - "archive_verified": true - }, - { - "id": 89, - "job_id": 264, - "content": "some log content", - "removed_by": 1, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", - "aggregated_at": null, - "archived_at": null, - "purged_at": null, - "removed_at": null, - "archiving": false, - "archive_verified": true - }, - { - "id": 90, - "job_id": 264, - "content": "some log content", - "removed_by": 1, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", - "aggregated_at": null, - "archived_at": null, - "purged_at": null, - "removed_at": null, - "archiving": false, - "archive_verified": true - }, - { - "id": 91, - "job_id": 269, - "content": "some log content", - "removed_by": 1, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", - "aggregated_at": null, - "archived_at": null, - "purged_at": null, - "removed_at": null, - "archiving": false, - "archive_verified": true - } - ] -} \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/log_92-94.json b/spec/support/expected_files/remove_user_with_dependencies/log_92-94.json deleted file mode 100644 index a377b42..0000000 --- a/spec/support/expected_files/remove_user_with_dependencies/log_92-94.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "table_name": "logs", - "data": [ - { - "id": 92, - "job_id": 269, - "content": "some log content", - "removed_by": 1, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", - "aggregated_at": null, - "archived_at": null, - "purged_at": null, - "removed_at": null, - "archiving": false, - "archive_verified": true - }, - { - "id": 93, - "job_id": 271, - "content": "some log content", - "removed_by": 1, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", - "aggregated_at": null, - "archived_at": null, - "purged_at": null, - "removed_at": null, - "archiving": false, - "archive_verified": true - }, - { - "id": 94, - "job_id": 271, - "content": "some log content", - "removed_by": 1, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", - "aggregated_at": null, - "archived_at": null, - "purged_at": null, - "removed_at": null, - "archiving": false, - "archive_verified": true - } - ] -} \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/membership_1-2.json b/spec/support/expected_files/remove_user_with_dependencies/membership_1-2.json index a019065..d34a25a 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/membership_1-2.json +++ b/spec/support/expected_files/remove_user_with_dependencies/membership_1-2.json @@ -4,13 +4,13 @@ { "id": 1, "organization_id": null, - "user_id": 9, + "user_id": 1, "role": null }, { "id": 2, "organization_id": null, - "user_id": 9, + "user_id": 1, "role": null } ] diff --git a/spec/support/expected_files/remove_user_with_dependencies/message_14-26.json b/spec/support/expected_files/remove_user_with_dependencies/message_14-26.json index 103c456..e687db1 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/message_14-26.json +++ b/spec/support/expected_files/remove_user_with_dependencies/message_14-26.json @@ -9,8 +9,11 @@ "key": null, "code": null, "args": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC" + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "type": null, + "src": null, + "line": null }, { "id": 15, @@ -20,8 +23,11 @@ "key": null, "code": null, "args": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC" + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "type": null, + "src": null, + "line": null }, { "id": 16, @@ -31,8 +37,11 @@ "key": null, "code": null, "args": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC" + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "type": null, + "src": null, + "line": null }, { "id": 25, @@ -42,8 +51,11 @@ "key": null, "code": null, "args": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC" + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "type": null, + "src": null, + "line": null }, { "id": 26, @@ -53,8 +65,11 @@ "key": null, "code": null, "args": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC" + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "type": null, + "src": null, + "line": null } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/message_27-47.json b/spec/support/expected_files/remove_user_with_dependencies/message_27-31.json similarity index 51% rename from spec/support/expected_files/remove_org_with_dependencies/message_27-47.json rename to spec/support/expected_files/remove_user_with_dependencies/message_27-31.json index c215996..b09af41 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/message_27-47.json +++ b/spec/support/expected_files/remove_user_with_dependencies/message_27-31.json @@ -9,8 +9,11 @@ "key": null, "code": null, "args": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC" + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "type": null, + "src": null, + "line": null }, { "id": 28, @@ -20,8 +23,11 @@ "key": null, "code": null, "args": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC" + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "type": null, + "src": null, + "line": null }, { "id": 29, @@ -31,8 +37,11 @@ "key": null, "code": null, "args": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC" + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "type": null, + "src": null, + "line": null }, { "id": 30, @@ -42,19 +51,25 @@ "key": null, "code": null, "args": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC" + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "type": null, + "src": null, + "line": null }, { - "id": 47, - "subject_id": 55, + "id": 31, + "subject_id": 35, "subject_type": "Request", "level": null, "key": null, "code": null, "args": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC" + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "type": null, + "src": null, + "line": null } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/message_32-52.json b/spec/support/expected_files/remove_user_with_dependencies/message_32-52.json new file mode 100644 index 0000000..5c1ae1e --- /dev/null +++ b/spec/support/expected_files/remove_user_with_dependencies/message_32-52.json @@ -0,0 +1,75 @@ +{ + "table_name": "messages", + "data": [ + { + "id": 32, + "subject_id": 35, + "subject_type": "Request", + "level": null, + "key": null, + "code": null, + "args": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "type": null, + "src": null, + "line": null + }, + { + "id": 33, + "subject_id": 37, + "subject_type": "Request", + "level": null, + "key": null, + "code": null, + "args": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "type": null, + "src": null, + "line": null + }, + { + "id": 34, + "subject_id": 37, + "subject_type": "Request", + "level": null, + "key": null, + "code": null, + "args": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "type": null, + "src": null, + "line": null + }, + { + "id": 51, + "subject_id": 59, + "subject_type": "Request", + "level": null, + "key": null, + "code": null, + "args": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "type": null, + "src": null, + "line": null + }, + { + "id": 52, + "subject_id": 59, + "subject_type": "Request", + "level": null, + "key": null, + "code": null, + "args": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "type": null, + "src": null, + "line": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/message_48-50.json b/spec/support/expected_files/remove_user_with_dependencies/message_48-50.json deleted file mode 100644 index 47cec7d..0000000 --- a/spec/support/expected_files/remove_user_with_dependencies/message_48-50.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "table_name": "messages", - "data": [ - { - "id": 48, - "subject_id": 55, - "subject_type": "Request", - "level": null, - "key": null, - "code": null, - "args": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC" - }, - { - "id": 49, - "subject_id": 57, - "subject_type": "Request", - "level": null, - "key": null, - "code": null, - "args": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC" - }, - { - "id": 50, - "subject_id": 57, - "subject_type": "Request", - "level": null, - "key": null, - "code": null, - "args": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC" - } - ] -} \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/message_53-54.json b/spec/support/expected_files/remove_user_with_dependencies/message_53-54.json new file mode 100644 index 0000000..c9464aa --- /dev/null +++ b/spec/support/expected_files/remove_user_with_dependencies/message_53-54.json @@ -0,0 +1,33 @@ +{ + "table_name": "messages", + "data": [ + { + "id": 53, + "subject_id": 61, + "subject_type": "Request", + "level": null, + "key": null, + "code": null, + "args": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "type": null, + "src": null, + "line": null + }, + { + "id": 54, + "subject_id": 61, + "subject_type": "Request", + "level": null, + "key": null, + "code": null, + "args": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "type": null, + "src": null, + "line": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/message_9-13.json b/spec/support/expected_files/remove_user_with_dependencies/message_9-13.json index 69dbf15..7347ab5 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/message_9-13.json +++ b/spec/support/expected_files/remove_user_with_dependencies/message_9-13.json @@ -9,8 +9,11 @@ "key": null, "code": null, "args": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC" + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "type": null, + "src": null, + "line": null }, { "id": 10, @@ -20,8 +23,11 @@ "key": null, "code": null, "args": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC" + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "type": null, + "src": null, + "line": null }, { "id": 11, @@ -31,8 +37,11 @@ "key": null, "code": null, "args": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC" + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "type": null, + "src": null, + "line": null }, { "id": 12, @@ -42,8 +51,11 @@ "key": null, "code": null, "args": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC" + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "type": null, + "src": null, + "line": null }, { "id": 13, @@ -53,8 +65,11 @@ "key": null, "code": null, "args": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC" + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "type": null, + "src": null, + "line": null } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_10.json b/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_10.json index 101c4f1..22c945b 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_10.json +++ b/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_10.json @@ -2,34 +2,34 @@ "table_name": "builds", "nullified_relationships": [ { - "related_table": "repositories", - "foreign_key": "last_build_id", - "parent_id": 138, - "related_id": 56 - }, - { - "related_table": "tags", + "related_table": "branches", "foreign_key": "last_build_id", - "parent_id": 138, - "related_id": 32 + "parent_id": 140, + "related_id": 34 }, { "related_table": "branches", "foreign_key": "last_build_id", - "parent_id": 138, - "related_id": 106 + "parent_id": 89, + "related_id": 31 }, { "related_table": "repositories", "foreign_key": "current_build_id", - "parent_id": 143, - "related_id": 59 + "parent_id": 140, + "related_id": 57 }, { "related_table": "repositories", "foreign_key": "last_build_id", - "parent_id": 143, - "related_id": 58 + "parent_id": 140, + "related_id": 56 + }, + { + "related_table": "tags", + "foreign_key": "last_build_id", + "parent_id": 140, + "related_id": 32 } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_11.json b/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_11.json index b3dbda1..c3ea315 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_11.json +++ b/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_11.json @@ -2,34 +2,34 @@ "table_name": "builds", "nullified_relationships": [ { - "related_table": "tags", + "related_table": "branches", "foreign_key": "last_build_id", - "parent_id": 143, - "related_id": 34 + "parent_id": 145, + "related_id": 35 }, { - "related_table": "branches", - "foreign_key": "last_build_id", - "parent_id": 143, - "related_id": 107 + "related_table": "repositories", + "foreign_key": "current_build_id", + "parent_id": 145, + "related_id": 59 }, { "related_table": "repositories", "foreign_key": "current_build_id", - "parent_id": 146, + "parent_id": 148, "related_id": 61 }, { "related_table": "repositories", "foreign_key": "last_build_id", - "parent_id": 146, - "related_id": 60 + "parent_id": 145, + "related_id": 58 }, { "related_table": "tags", "foreign_key": "last_build_id", - "parent_id": 146, - "related_id": 35 + "parent_id": 145, + "related_id": 34 } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_12.json b/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_12.json index b73dca0..32ef1f9 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_12.json +++ b/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_12.json @@ -4,32 +4,32 @@ { "related_table": "branches", "foreign_key": "last_build_id", - "parent_id": 146, - "related_id": 108 + "parent_id": 148, + "related_id": 36 }, { "related_table": "repositories", "foreign_key": "current_build_id", - "parent_id": 151, + "parent_id": 153, "related_id": 63 }, { "related_table": "repositories", "foreign_key": "last_build_id", - "parent_id": 151, - "related_id": 62 + "parent_id": 148, + "related_id": 60 }, { - "related_table": "tags", + "related_table": "repositories", "foreign_key": "last_build_id", - "parent_id": 151, - "related_id": 36 + "parent_id": 153, + "related_id": 62 }, { - "related_table": "branches", + "related_table": "tags", "foreign_key": "last_build_id", - "parent_id": 151, - "related_id": 109 + "parent_id": 148, + "related_id": 35 } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_13.json b/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_13.json index b0ab2c0..ab750d0 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_13.json +++ b/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_13.json @@ -1,35 +1,35 @@ { "table_name": "builds", "nullified_relationships": [ + { + "related_table": "branches", + "foreign_key": "last_build_id", + "parent_id": 153, + "related_id": 37 + }, { "related_table": "repositories", "foreign_key": "current_build_id", - "parent_id": 156, + "parent_id": 158, "related_id": 65 }, { "related_table": "repositories", "foreign_key": "last_build_id", - "parent_id": 156, + "parent_id": 158, "related_id": 64 }, { "related_table": "tags", "foreign_key": "last_build_id", - "parent_id": 156, - "related_id": 37 + "parent_id": 153, + "related_id": 36 }, { - "related_table": "branches", + "related_table": "tags", "foreign_key": "last_build_id", - "parent_id": 156, - "related_id": 110 - }, - { - "related_table": "repositories", - "foreign_key": "current_build_id", - "parent_id": 161, - "related_id": 85 + "parent_id": 158, + "related_id": 37 } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_14.json b/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_14.json index a8b087e..8ca7a1a 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_14.json +++ b/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_14.json @@ -2,34 +2,34 @@ "table_name": "builds", "nullified_relationships": [ { - "related_table": "repositories", - "foreign_key": "current_build_id", - "parent_id": 161, - "related_id": 86 + "related_table": "branches", + "foreign_key": "last_build_id", + "parent_id": 158, + "related_id": 38 }, { - "related_table": "repositories", + "related_table": "branches", "foreign_key": "last_build_id", - "parent_id": 161, - "related_id": 83 + "parent_id": 163, + "related_id": 39 }, { "related_table": "repositories", - "foreign_key": "last_build_id", - "parent_id": 161, - "related_id": 84 + "foreign_key": "current_build_id", + "parent_id": 163, + "related_id": 67 }, { - "related_table": "tags", + "related_table": "repositories", "foreign_key": "last_build_id", - "parent_id": 161, - "related_id": 39 + "parent_id": 163, + "related_id": 66 }, { "related_table": "tags", "foreign_key": "last_build_id", - "parent_id": 161, - "related_id": 44 + "parent_id": 163, + "related_id": 39 } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_15.json b/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_15.json index 90f0626..d190613 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_15.json +++ b/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_15.json @@ -4,32 +4,32 @@ { "related_table": "branches", "foreign_key": "last_build_id", - "parent_id": 161, - "related_id": 115 - }, - { - "related_table": "branches", - "foreign_key": "last_build_id", - "parent_id": 161, - "related_id": 120 + "parent_id": 166, + "related_id": 40 }, { "related_table": "repositories", "foreign_key": "current_build_id", - "parent_id": 211, - "related_id": 105 + "parent_id": 166, + "related_id": 69 }, { "related_table": "repositories", "foreign_key": "current_build_id", - "parent_id": 211, - "related_id": 106 + "parent_id": 173, + "related_id": 71 }, { "related_table": "repositories", "foreign_key": "last_build_id", - "parent_id": 211, - "related_id": 103 + "parent_id": 166, + "related_id": 68 + }, + { + "related_table": "tags", + "foreign_key": "last_build_id", + "parent_id": 166, + "related_id": 40 } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_16.json b/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_16.json index 98a736a..9f3b148 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_16.json +++ b/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_16.json @@ -2,34 +2,34 @@ "table_name": "builds", "nullified_relationships": [ { - "related_table": "repositories", + "related_table": "branches", "foreign_key": "last_build_id", - "parent_id": 211, - "related_id": 104 + "parent_id": 173, + "related_id": 41 }, { - "related_table": "tags", - "foreign_key": "last_build_id", - "parent_id": 211, - "related_id": 51 + "related_table": "repositories", + "foreign_key": "current_build_id", + "parent_id": 178, + "related_id": 91 }, { - "related_table": "tags", - "foreign_key": "last_build_id", - "parent_id": 211, - "related_id": 56 + "related_table": "repositories", + "foreign_key": "current_build_id", + "parent_id": 178, + "related_id": 92 }, { - "related_table": "branches", + "related_table": "repositories", "foreign_key": "last_build_id", - "parent_id": 211, - "related_id": 127 + "parent_id": 173, + "related_id": 70 }, { - "related_table": "branches", + "related_table": "tags", "foreign_key": "last_build_id", - "parent_id": 211, - "related_id": 132 + "parent_id": 173, + "related_id": 41 } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_17.json b/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_17.json index d2e2aa9..54b0a7c 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_17.json +++ b/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_17.json @@ -2,34 +2,34 @@ "table_name": "builds", "nullified_relationships": [ { - "related_table": "repositories", - "foreign_key": "current_build_id", - "parent_id": 261, - "related_id": 108 + "related_table": "deleted_tags", + "foreign_key": "last_build_id", + "parent_id": 178, + "related_id": 5 }, { "related_table": "repositories", "foreign_key": "last_build_id", - "parent_id": 261, - "related_id": 107 + "parent_id": 178, + "related_id": 89 }, { - "related_table": "tags", + "related_table": "repositories", "foreign_key": "last_build_id", - "parent_id": 261, - "related_id": 63 + "parent_id": 178, + "related_id": 90 }, { - "related_table": "branches", + "related_table": "tags", "foreign_key": "last_build_id", - "parent_id": 261, - "related_id": 135 + "parent_id": 178, + "related_id": 42 }, { - "related_table": "repositories", - "foreign_key": "current_build_id", - "parent_id": 266, - "related_id": 110 + "related_table": "tags", + "foreign_key": "last_build_id", + "parent_id": 178, + "related_id": 47 } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_18.json b/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_18.json index 803d6f6..63e3e95 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_18.json +++ b/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_18.json @@ -2,22 +2,34 @@ "table_name": "builds", "nullified_relationships": [ { - "related_table": "repositories", + "related_table": "branches", "foreign_key": "last_build_id", - "parent_id": 266, - "related_id": 109 + "parent_id": 178, + "related_id": 46 }, { - "related_table": "tags", + "related_table": "branches", "foreign_key": "last_build_id", - "parent_id": 266, - "related_id": 64 + "parent_id": 178, + "related_id": 51 }, { - "related_table": "branches", + "related_table": "repositories", + "foreign_key": "current_build_id", + "parent_id": 229, + "related_id": 111 + }, + { + "related_table": "repositories", + "foreign_key": "current_build_id", + "parent_id": 229, + "related_id": 112 + }, + { + "related_table": "repositories", "foreign_key": "last_build_id", - "parent_id": 266, - "related_id": 136 + "parent_id": 229, + "related_id": 109 } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_19.json b/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_19.json new file mode 100644 index 0000000..eba0b4d --- /dev/null +++ b/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_19.json @@ -0,0 +1,35 @@ +{ + "table_name": "builds", + "nullified_relationships": [ + { + "related_table": "branches", + "foreign_key": "last_build_id", + "parent_id": 229, + "related_id": 58 + }, + { + "related_table": "deleted_tags", + "foreign_key": "last_build_id", + "parent_id": 229, + "related_id": 6 + }, + { + "related_table": "repositories", + "foreign_key": "last_build_id", + "parent_id": 229, + "related_id": 110 + }, + { + "related_table": "tags", + "foreign_key": "last_build_id", + "parent_id": 229, + "related_id": 54 + }, + { + "related_table": "tags", + "foreign_key": "last_build_id", + "parent_id": 229, + "related_id": 59 + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_2.json b/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_2.json index be7794f..25141a6 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_2.json +++ b/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_2.json @@ -2,34 +2,34 @@ "table_name": "builds", "nullified_relationships": [ { - "related_table": "tags", + "related_table": "branches", "foreign_key": "last_build_id", "parent_id": 1, - "related_id": 6 + "related_id": 10 }, { "related_table": "branches", "foreign_key": "last_build_id", "parent_id": 1, - "related_id": 77 + "related_id": 5 }, { - "related_table": "branches", + "related_table": "deleted_tags", "foreign_key": "last_build_id", "parent_id": 1, - "related_id": 82 + "related_id": 1 }, { "related_table": "repositories", "foreign_key": "current_build_id", - "parent_id": 51, + "parent_id": 52, "related_id": 23 }, { - "related_table": "repositories", + "related_table": "tags", "foreign_key": "last_build_id", - "parent_id": 51, - "related_id": 22 + "parent_id": 1, + "related_id": 6 } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_20.json b/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_20.json new file mode 100644 index 0000000..f102c79 --- /dev/null +++ b/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_20.json @@ -0,0 +1,35 @@ +{ + "table_name": "builds", + "nullified_relationships": [ + { + "related_table": "branches", + "foreign_key": "last_build_id", + "parent_id": 229, + "related_id": 63 + }, + { + "related_table": "branches", + "foreign_key": "last_build_id", + "parent_id": 280, + "related_id": 66 + }, + { + "related_table": "repositories", + "foreign_key": "current_build_id", + "parent_id": 280, + "related_id": 114 + }, + { + "related_table": "repositories", + "foreign_key": "last_build_id", + "parent_id": 280, + "related_id": 113 + }, + { + "related_table": "tags", + "foreign_key": "last_build_id", + "parent_id": 280, + "related_id": 66 + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_21.json b/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_21.json new file mode 100644 index 0000000..0164962 --- /dev/null +++ b/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_21.json @@ -0,0 +1,29 @@ +{ + "table_name": "builds", + "nullified_relationships": [ + { + "related_table": "branches", + "foreign_key": "last_build_id", + "parent_id": 285, + "related_id": 67 + }, + { + "related_table": "repositories", + "foreign_key": "current_build_id", + "parent_id": 285, + "related_id": 116 + }, + { + "related_table": "repositories", + "foreign_key": "last_build_id", + "parent_id": 285, + "related_id": 115 + }, + { + "related_table": "tags", + "foreign_key": "last_build_id", + "parent_id": 285, + "related_id": 67 + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_3.json b/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_3.json index 9187a39..38e8b28 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_3.json +++ b/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_3.json @@ -1,35 +1,35 @@ { "table_name": "builds", "nullified_relationships": [ - { - "related_table": "tags", - "foreign_key": "last_build_id", - "parent_id": 51, - "related_id": 13 - }, { "related_table": "branches", "foreign_key": "last_build_id", - "parent_id": 51, - "related_id": 85 + "parent_id": 52, + "related_id": 13 }, { "related_table": "repositories", "foreign_key": "current_build_id", - "parent_id": 58, + "parent_id": 59, "related_id": 25 }, { "related_table": "repositories", "foreign_key": "last_build_id", - "parent_id": 58, + "parent_id": 52, + "related_id": 22 + }, + { + "related_table": "repositories", + "foreign_key": "last_build_id", + "parent_id": 59, "related_id": 24 }, { "related_table": "tags", "foreign_key": "last_build_id", - "parent_id": 58, - "related_id": 14 + "parent_id": 52, + "related_id": 13 } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_4.json b/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_4.json index 0369249..5d98c71 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_4.json +++ b/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_4.json @@ -4,32 +4,32 @@ { "related_table": "branches", "foreign_key": "last_build_id", - "parent_id": 58, - "related_id": 87 + "parent_id": 59, + "related_id": 15 }, { "related_table": "repositories", "foreign_key": "current_build_id", - "parent_id": 63, + "parent_id": 64, "related_id": 27 }, { "related_table": "repositories", "foreign_key": "last_build_id", - "parent_id": 63, + "parent_id": 64, "related_id": 26 }, { "related_table": "tags", "foreign_key": "last_build_id", - "parent_id": 63, - "related_id": 15 + "parent_id": 59, + "related_id": 14 }, { - "related_table": "branches", + "related_table": "tags", "foreign_key": "last_build_id", - "parent_id": 63, - "related_id": 88 + "parent_id": 64, + "related_id": 15 } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_5.json b/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_5.json index c056257..2ed1f7b 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_5.json +++ b/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_5.json @@ -1,35 +1,35 @@ { "table_name": "builds", "nullified_relationships": [ + { + "related_table": "branches", + "foreign_key": "last_build_id", + "parent_id": 64, + "related_id": 16 + }, + { + "related_table": "branches", + "foreign_key": "last_build_id", + "parent_id": 69, + "related_id": 17 + }, { "related_table": "repositories", "foreign_key": "current_build_id", - "parent_id": 68, + "parent_id": 69, "related_id": 29 }, { "related_table": "repositories", "foreign_key": "last_build_id", - "parent_id": 68, + "parent_id": 69, "related_id": 28 }, { "related_table": "tags", "foreign_key": "last_build_id", - "parent_id": 68, + "parent_id": 69, "related_id": 16 - }, - { - "related_table": "branches", - "foreign_key": "last_build_id", - "parent_id": 68, - "related_id": 89 - }, - { - "related_table": "repositories", - "foreign_key": "current_build_id", - "parent_id": 73, - "related_id": 31 } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_6.json b/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_6.json index 2b3a562..9475ffd 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_6.json +++ b/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_6.json @@ -2,34 +2,34 @@ "table_name": "builds", "nullified_relationships": [ { - "related_table": "repositories", - "foreign_key": "last_build_id", - "parent_id": 73, - "related_id": 30 - }, - { - "related_table": "tags", + "related_table": "branches", "foreign_key": "last_build_id", - "parent_id": 73, - "related_id": 17 + "parent_id": 74, + "related_id": 18 }, { - "related_table": "branches", - "foreign_key": "last_build_id", - "parent_id": 73, - "related_id": 90 + "related_table": "repositories", + "foreign_key": "current_build_id", + "parent_id": 74, + "related_id": 31 }, { "related_table": "repositories", "foreign_key": "current_build_id", - "parent_id": 78, + "parent_id": 79, "related_id": 33 }, { "related_table": "repositories", "foreign_key": "last_build_id", - "parent_id": 78, - "related_id": 32 + "parent_id": 74, + "related_id": 30 + }, + { + "related_table": "tags", + "foreign_key": "last_build_id", + "parent_id": 74, + "related_id": 17 } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_7.json b/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_7.json index dda4205..1a6e1c1 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_7.json +++ b/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_7.json @@ -1,35 +1,35 @@ { "table_name": "builds", "nullified_relationships": [ - { - "related_table": "tags", - "foreign_key": "last_build_id", - "parent_id": 78, - "related_id": 18 - }, { "related_table": "branches", "foreign_key": "last_build_id", - "parent_id": 78, - "related_id": 92 + "parent_id": 79, + "related_id": 20 }, { "related_table": "repositories", "foreign_key": "current_build_id", - "parent_id": 83, + "parent_id": 84, "related_id": 35 }, { "related_table": "repositories", "foreign_key": "last_build_id", - "parent_id": 83, + "parent_id": 79, + "related_id": 32 + }, + { + "related_table": "repositories", + "foreign_key": "last_build_id", + "parent_id": 84, "related_id": 34 }, { "related_table": "tags", "foreign_key": "last_build_id", - "parent_id": 83, - "related_id": 19 + "parent_id": 79, + "related_id": 18 } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_8.json b/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_8.json index 33d14e6..f7185d8 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_8.json +++ b/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_8.json @@ -4,32 +4,32 @@ { "related_table": "branches", "foreign_key": "last_build_id", - "parent_id": 83, - "related_id": 93 + "parent_id": 84, + "related_id": 21 }, { "related_table": "repositories", "foreign_key": "current_build_id", - "parent_id": 88, + "parent_id": 89, "related_id": 54 }, { "related_table": "repositories", "foreign_key": "current_build_id", - "parent_id": 88, + "parent_id": 89, "related_id": 55 }, { "related_table": "repositories", "foreign_key": "last_build_id", - "parent_id": 88, + "parent_id": 89, "related_id": 52 }, { - "related_table": "repositories", + "related_table": "tags", "foreign_key": "last_build_id", - "parent_id": 88, - "related_id": 53 + "parent_id": 84, + "related_id": 19 } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_9.json b/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_9.json index 2cff1ec..0559dd2 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_9.json +++ b/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_9.json @@ -2,34 +2,34 @@ "table_name": "builds", "nullified_relationships": [ { - "related_table": "tags", + "related_table": "branches", "foreign_key": "last_build_id", - "parent_id": 88, - "related_id": 20 + "parent_id": 89, + "related_id": 26 }, { - "related_table": "tags", + "related_table": "deleted_tags", "foreign_key": "last_build_id", - "parent_id": 88, - "related_id": 25 + "parent_id": 89, + "related_id": 2 }, { - "related_table": "branches", + "related_table": "repositories", "foreign_key": "last_build_id", - "parent_id": 88, - "related_id": 98 + "parent_id": 89, + "related_id": 53 }, { - "related_table": "branches", + "related_table": "tags", "foreign_key": "last_build_id", - "parent_id": 88, - "related_id": 103 + "parent_id": 89, + "related_id": 20 }, { - "related_table": "repositories", - "foreign_key": "current_build_id", - "parent_id": 138, - "related_id": 57 + "related_table": "tags", + "foreign_key": "last_build_id", + "parent_id": 89, + "related_id": 25 } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/owner_group_1-2.json b/spec/support/expected_files/remove_user_with_dependencies/owner_group_1-2.json index e7f19a7..d8a94f7 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/owner_group_1-2.json +++ b/spec/support/expected_files/remove_user_with_dependencies/owner_group_1-2.json @@ -4,18 +4,18 @@ { "id": 1, "uuid": null, - "owner_id": 9, "owner_type": "User", - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC" + "owner_id": 1, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC" }, { "id": 2, "uuid": null, - "owner_id": 9, "owner_type": "User", - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC" + "owner_id": 1, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC" } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/permission_1-6.json b/spec/support/expected_files/remove_user_with_dependencies/permission_1-6.json index f0fb06f..b357157 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/permission_1-6.json +++ b/spec/support/expected_files/remove_user_with_dependencies/permission_1-6.json @@ -3,19 +3,23 @@ "data": [ { "id": 1, - "user_id": 9, + "user_id": 1, "repository_id": null, "admin": false, "push": false, - "pull": false + "pull": false, + "org_id": null, + "com_id": null }, { "id": 2, - "user_id": 9, + "user_id": 1, "repository_id": null, "admin": false, "push": false, - "pull": false + "pull": false, + "org_id": null, + "com_id": null }, { "id": 5, @@ -23,7 +27,9 @@ "repository_id": 1, "admin": false, "push": false, - "pull": false + "pull": false, + "org_id": null, + "com_id": null }, { "id": 6, @@ -31,7 +37,9 @@ "repository_id": 1, "admin": false, "push": false, - "pull": false + "pull": false, + "org_id": null, + "com_id": null } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/pull_request_3-6.json b/spec/support/expected_files/remove_user_with_dependencies/pull_request_3-6.json index b6bae33..18cd07e 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/pull_request_3-6.json +++ b/spec/support/expected_files/remove_user_with_dependencies/pull_request_3-6.json @@ -10,8 +10,15 @@ "head_repo_github_id": null, "head_repo_slug": null, "head_ref": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC" + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "org_id": null, + "com_id": null, + "mergeable_state": null, + "head_repo_vcs_id": null, + "base_repo_slug": null, + "base_repo_vcs_id": null, + "base_ref": null }, { "id": 6, @@ -22,8 +29,15 @@ "head_repo_github_id": null, "head_repo_slug": null, "head_ref": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC" + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "org_id": null, + "com_id": null, + "mergeable_state": null, + "head_repo_vcs_id": null, + "base_repo_slug": null, + "base_repo_vcs_id": null, + "base_ref": null } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/queueable_job_1-19.json b/spec/support/expected_files/remove_user_with_dependencies/queueable_job_1-19.json index 858cbb5..4e7316c 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/queueable_job_1-19.json +++ b/spec/support/expected_files/remove_user_with_dependencies/queueable_job_1-19.json @@ -11,15 +11,15 @@ }, { "id": 17, - "job_id": 54 + "job_id": 55 }, { "id": 18, - "job_id": 54 + "job_id": 55 }, { "id": 19, - "job_id": 56 + "job_id": 57 } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/queueable_job_20-24.json b/spec/support/expected_files/remove_user_with_dependencies/queueable_job_20-24.json index 5274e58..ed9d9e2 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/queueable_job_20-24.json +++ b/spec/support/expected_files/remove_user_with_dependencies/queueable_job_20-24.json @@ -3,23 +3,23 @@ "data": [ { "id": 20, - "job_id": 56 + "job_id": 57 }, { "id": 21, - "job_id": 61 + "job_id": 62 }, { "id": 22, - "job_id": 61 + "job_id": 62 }, { "id": 23, - "job_id": 66 + "job_id": 67 }, { "id": 24, - "job_id": 66 + "job_id": 67 } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/queueable_job_25-29.json b/spec/support/expected_files/remove_user_with_dependencies/queueable_job_25-29.json index 1fc2d88..af6eea8 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/queueable_job_25-29.json +++ b/spec/support/expected_files/remove_user_with_dependencies/queueable_job_25-29.json @@ -3,23 +3,23 @@ "data": [ { "id": 25, - "job_id": 71 + "job_id": 72 }, { "id": 26, - "job_id": 71 + "job_id": 72 }, { "id": 27, - "job_id": 76 + "job_id": 77 }, { "id": 28, - "job_id": 76 + "job_id": 77 }, { "id": 29, - "job_id": 81 + "job_id": 82 } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/queueable_job_30-34.json b/spec/support/expected_files/remove_user_with_dependencies/queueable_job_30-34.json index 38ef88d..a73a124 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/queueable_job_30-34.json +++ b/spec/support/expected_files/remove_user_with_dependencies/queueable_job_30-34.json @@ -3,23 +3,23 @@ "data": [ { "id": 30, - "job_id": 81 + "job_id": 82 }, { "id": 31, - "job_id": 86 + "job_id": 87 }, { "id": 32, - "job_id": 86 + "job_id": 87 }, { "id": 33, - "job_id": 93 + "job_id": 94 }, { "id": 34, - "job_id": 93 + "job_id": 94 } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/queueable_job_49-53.json b/spec/support/expected_files/remove_user_with_dependencies/queueable_job_49-53.json index 98c6643..2a5b437 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/queueable_job_49-53.json +++ b/spec/support/expected_files/remove_user_with_dependencies/queueable_job_49-53.json @@ -3,23 +3,23 @@ "data": [ { "id": 49, - "job_id": 141 + "job_id": 143 }, { "id": 50, - "job_id": 141 + "job_id": 143 }, { "id": 51, - "job_id": 149 + "job_id": 151 }, { "id": 52, - "job_id": 149 + "job_id": 151 }, { "id": 53, - "job_id": 154 + "job_id": 156 } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/queueable_job_54-58.json b/spec/support/expected_files/remove_user_with_dependencies/queueable_job_54-58.json index fdf0f32..318b4b8 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/queueable_job_54-58.json +++ b/spec/support/expected_files/remove_user_with_dependencies/queueable_job_54-58.json @@ -3,23 +3,23 @@ "data": [ { "id": 54, - "job_id": 154 + "job_id": 156 }, { "id": 55, - "job_id": 159 + "job_id": 161 }, { "id": 56, - "job_id": 159 + "job_id": 161 }, { "id": 57, - "job_id": 166 + "job_id": 169 }, { "id": 58, - "job_id": 166 + "job_id": 169 } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/queueable_job_59-63.json b/spec/support/expected_files/remove_user_with_dependencies/queueable_job_59-63.json new file mode 100644 index 0000000..b19fdd8 --- /dev/null +++ b/spec/support/expected_files/remove_user_with_dependencies/queueable_job_59-63.json @@ -0,0 +1,25 @@ +{ + "table_name": "queueable_jobs", + "data": [ + { + "id": 59, + "job_id": 171 + }, + { + "id": 60, + "job_id": 171 + }, + { + "id": 61, + "job_id": 176 + }, + { + "id": 62, + "job_id": 176 + }, + { + "id": 63, + "job_id": 183 + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/queueable_job_64-96.json b/spec/support/expected_files/remove_user_with_dependencies/queueable_job_64-96.json new file mode 100644 index 0000000..e3634b3 --- /dev/null +++ b/spec/support/expected_files/remove_user_with_dependencies/queueable_job_64-96.json @@ -0,0 +1,25 @@ +{ + "table_name": "queueable_jobs", + "data": [ + { + "id": 64, + "job_id": 183 + }, + { + "id": 79, + "job_id": 234 + }, + { + "id": 80, + "job_id": 234 + }, + { + "id": 95, + "job_id": 283 + }, + { + "id": 96, + "job_id": 283 + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/queueable_job_73-91.json b/spec/support/expected_files/remove_user_with_dependencies/queueable_job_73-91.json deleted file mode 100644 index ff4127a..0000000 --- a/spec/support/expected_files/remove_user_with_dependencies/queueable_job_73-91.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "table_name": "queueable_jobs", - "data": [ - { - "id": 73, - "job_id": 216 - }, - { - "id": 74, - "job_id": 216 - }, - { - "id": 89, - "job_id": 264 - }, - { - "id": 90, - "job_id": 264 - }, - { - "id": 91, - "job_id": 269 - } - ] -} \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/queueable_job_92-94.json b/spec/support/expected_files/remove_user_with_dependencies/queueable_job_92-94.json deleted file mode 100644 index 52bcc99..0000000 --- a/spec/support/expected_files/remove_user_with_dependencies/queueable_job_92-94.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "table_name": "queueable_jobs", - "data": [ - { - "id": 92, - "job_id": 269 - }, - { - "id": 93, - "job_id": 271 - }, - { - "id": 94, - "job_id": 271 - } - ] -} \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/queueable_job_97-100.json b/spec/support/expected_files/remove_user_with_dependencies/queueable_job_97-100.json new file mode 100644 index 0000000..4c9512f --- /dev/null +++ b/spec/support/expected_files/remove_user_with_dependencies/queueable_job_97-100.json @@ -0,0 +1,21 @@ +{ + "table_name": "queueable_jobs", + "data": [ + { + "id": 97, + "job_id": 288 + }, + { + "id": 98, + "job_id": 288 + }, + { + "id": 99, + "job_id": 290 + }, + { + "id": 100, + "job_id": 290 + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/repo_count_1-1.json b/spec/support/expected_files/remove_user_with_dependencies/repo_count_1-1.json new file mode 100644 index 0000000..31fee31 --- /dev/null +++ b/spec/support/expected_files/remove_user_with_dependencies/repo_count_1-1.json @@ -0,0 +1,17 @@ +{ + "table_name": "repo_counts", + "data": [ + { + "repository_id": 1, + "requests": null, + "commits": null, + "branches": null, + "pull_requests": null, + "tags": null, + "builds": null, + "stages": null, + "jobs": null, + "range": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/repository_1-66.json b/spec/support/expected_files/remove_user_with_dependencies/repository_1-72.json similarity index 52% rename from spec/support/expected_files/remove_user_with_dependencies/repository_1-66.json rename to spec/support/expected_files/remove_user_with_dependencies/repository_1-72.json index 7f8739e..08c4398 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/repository_1-66.json +++ b/spec/support/expected_files/remove_user_with_dependencies/repository_1-72.json @@ -5,9 +5,9 @@ "id": 1, "name": null, "url": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", - "last_build_id": 260, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "last_build_id": 279, "last_build_number": null, "last_build_started_at": null, "last_build_finished_at": null, @@ -16,8 +16,8 @@ "active": null, "description": null, "last_build_duration": null, - "owner_id": 9, "owner_type": "User", + "owner_id": 1, "private": false, "last_build_state": null, "github_id": null, @@ -26,14 +26,27 @@ "settings": null, "next_build_number": null, "invalidated_at": null, - "current_build_id": 210 + "current_build_id": 228, + "org_id": null, + "com_id": null, + "migrating": null, + "migrated_at": null, + "active_on_org": null, + "managed_by_installation_at": null, + "migration_status": null, + "history_migration_status": null, + "vcs_type": "GithubRepository", + "vcs_id": null, + "fork": null, + "vcs_slug": null, + "vcs_source_host": null }, { - "id": 66, + "id": 72, "name": null, "url": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", "last_build_id": null, "last_build_number": null, "last_build_started_at": null, @@ -43,8 +56,8 @@ "active": null, "description": null, "last_build_duration": null, - "owner_id": 9, "owner_type": "User", + "owner_id": 1, "private": false, "last_build_state": null, "github_id": null, @@ -53,7 +66,20 @@ "settings": null, "next_build_number": null, "invalidated_at": null, - "current_build_id": null + "current_build_id": null, + "org_id": null, + "com_id": null, + "migrating": null, + "migrated_at": null, + "active_on_org": null, + "managed_by_installation_at": null, + "migration_status": null, + "history_migration_status": null, + "vcs_type": "GithubRepository", + "vcs_id": null, + "fork": null, + "vcs_slug": null, + "vcs_source_host": null } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/request_11-15.json b/spec/support/expected_files/remove_user_with_dependencies/request_11-15.json index 551583b..412e222 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/request_11-15.json +++ b/spec/support/expected_files/remove_user_with_dependencies/request_11-15.json @@ -7,27 +7,31 @@ "commit_id": null, "state": null, "source": null, - "payload": null, "token": null, - "config": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", "event_type": null, "comments_url": null, "base_commit": null, "head_commit": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "message": null, "private": null, "pull_request_id": null, "branch_id": null, "tag_id": null, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": null, + "yaml_config_id": null, + "github_guid": null, + "pull_request_mergeable": null }, { "id": 12, @@ -35,83 +39,95 @@ "commit_id": null, "state": null, "source": null, - "payload": null, "token": null, - "config": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", "event_type": null, "comments_url": null, "base_commit": null, "head_commit": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "message": null, "private": null, "pull_request_id": null, "branch_id": null, "tag_id": null, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": null, + "yaml_config_id": null, + "github_guid": null, + "pull_request_mergeable": null }, { "id": 13, "repository_id": null, - "commit_id": 217, + "commit_id": 7, "state": null, "source": null, - "payload": null, "token": null, - "config": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", "event_type": null, "comments_url": null, "base_commit": null, "head_commit": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "message": null, "private": null, "pull_request_id": null, "branch_id": null, "tag_id": null, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": null, + "yaml_config_id": null, + "github_guid": null, + "pull_request_mergeable": null }, { "id": 14, "repository_id": null, - "commit_id": 217, + "commit_id": 7, "state": null, "source": null, - "payload": null, "token": null, - "config": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", "event_type": null, "comments_url": null, "base_commit": null, "head_commit": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "message": null, "private": null, "pull_request_id": null, "branch_id": null, "tag_id": null, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": null, + "yaml_config_id": null, + "github_guid": null, + "pull_request_mergeable": null }, { "id": 15, @@ -119,27 +135,31 @@ "commit_id": null, "state": null, "source": null, - "payload": null, "token": null, - "config": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", "event_type": null, "comments_url": null, "base_commit": null, "head_commit": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "message": null, "private": null, "pull_request_id": null, - "branch_id": 86, + "branch_id": 14, "tag_id": null, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": null, + "yaml_config_id": null, + "github_guid": null, + "pull_request_mergeable": null } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/request_16-30.json b/spec/support/expected_files/remove_user_with_dependencies/request_16-30.json index 4eeb8c5..8825bed 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/request_16-30.json +++ b/spec/support/expected_files/remove_user_with_dependencies/request_16-30.json @@ -7,83 +7,95 @@ "commit_id": null, "state": null, "source": null, - "payload": null, "token": null, - "config": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", "event_type": null, "comments_url": null, "base_commit": null, "head_commit": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "message": null, "private": null, "pull_request_id": null, - "branch_id": 86, + "branch_id": 14, "tag_id": null, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": null, + "yaml_config_id": null, + "github_guid": null, + "pull_request_mergeable": null }, { "id": 17, "repository_id": null, - "commit_id": 219, + "commit_id": 9, "state": null, "source": null, - "payload": null, "token": null, - "config": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", "event_type": null, "comments_url": null, "base_commit": null, "head_commit": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "message": null, "private": null, "pull_request_id": null, "branch_id": null, "tag_id": null, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": null, + "yaml_config_id": null, + "github_guid": null, + "pull_request_mergeable": null }, { "id": 18, "repository_id": null, - "commit_id": 219, + "commit_id": 9, "state": null, "source": null, - "payload": null, "token": null, - "config": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", "event_type": null, "comments_url": null, "base_commit": null, "head_commit": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "message": null, "private": null, "pull_request_id": null, "branch_id": null, "tag_id": null, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": null, + "yaml_config_id": null, + "github_guid": null, + "pull_request_mergeable": null }, { "id": 29, @@ -91,27 +103,31 @@ "commit_id": null, "state": null, "source": null, - "payload": null, "token": null, - "config": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", "event_type": null, "comments_url": null, "base_commit": null, "head_commit": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "message": null, "private": null, "pull_request_id": 3, "branch_id": null, "tag_id": null, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": null, + "yaml_config_id": null, + "github_guid": null, + "pull_request_mergeable": null }, { "id": 30, @@ -119,27 +135,31 @@ "commit_id": null, "state": null, "source": null, - "payload": null, "token": null, - "config": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", "event_type": null, "comments_url": null, "base_commit": null, "head_commit": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "message": null, "private": null, "pull_request_id": 3, "branch_id": null, "tag_id": null, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": null, + "yaml_config_id": null, + "github_guid": null, + "pull_request_mergeable": null } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/request_31-55.json b/spec/support/expected_files/remove_user_with_dependencies/request_31-35.json similarity index 63% rename from spec/support/expected_files/remove_org_with_dependencies/request_31-55.json rename to spec/support/expected_files/remove_user_with_dependencies/request_31-35.json index 2067bdf..a2a4518 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/request_31-55.json +++ b/spec/support/expected_files/remove_user_with_dependencies/request_31-35.json @@ -4,58 +4,66 @@ { "id": 31, "repository_id": null, - "commit_id": 227, + "commit_id": 17, "state": null, "source": null, - "payload": null, "token": null, - "config": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", "event_type": null, "comments_url": null, "base_commit": null, "head_commit": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "message": null, "private": null, "pull_request_id": null, "branch_id": null, "tag_id": null, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": null, + "yaml_config_id": null, + "github_guid": null, + "pull_request_mergeable": null }, { "id": 32, "repository_id": null, - "commit_id": 227, + "commit_id": 17, "state": null, "source": null, - "payload": null, "token": null, - "config": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", "event_type": null, "comments_url": null, "base_commit": null, "head_commit": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "message": null, "private": null, "pull_request_id": null, "branch_id": null, "tag_id": null, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": null, + "yaml_config_id": null, + "github_guid": null, + "pull_request_mergeable": null }, { "id": 33, @@ -63,27 +71,31 @@ "commit_id": null, "state": null, "source": null, - "payload": null, "token": null, - "config": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", "event_type": null, "comments_url": null, "base_commit": null, "head_commit": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "message": null, "private": null, "pull_request_id": null, "branch_id": null, "tag_id": 33, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": null, + "yaml_config_id": null, + "github_guid": null, + "pull_request_mergeable": null }, { "id": 34, @@ -91,55 +103,63 @@ "commit_id": null, "state": null, "source": null, - "payload": null, "token": null, - "config": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", "event_type": null, "comments_url": null, "base_commit": null, "head_commit": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "message": null, "private": null, "pull_request_id": null, "branch_id": null, "tag_id": 33, + "sender_type": null, "sender_id": null, - "sender_type": null + "org_id": null, + "com_id": null, + "config_id": null, + "yaml_config_id": null, + "github_guid": null, + "pull_request_mergeable": null }, { - "id": 55, + "id": 35, "repository_id": null, "commit_id": null, "state": null, "source": null, - "payload": null, "token": null, - "config": null, "started_at": null, "finished_at": null, - "created_at": "2021-04-11 21:59:33 UTC", - "updated_at": "2021-04-11 21:59:33 UTC", + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", "event_type": null, "comments_url": null, "base_commit": null, "head_commit": null, - "owner_id": null, "owner_type": null, + "owner_id": null, "result": null, "message": null, "private": null, "pull_request_id": null, "branch_id": null, "tag_id": null, - "sender_id": 1, - "sender_type": "Organization" + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": 1, + "yaml_config_id": null, + "github_guid": null, + "pull_request_mergeable": null } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/request_36-60.json b/spec/support/expected_files/remove_user_with_dependencies/request_36-60.json new file mode 100644 index 0000000..b0a005d --- /dev/null +++ b/spec/support/expected_files/remove_user_with_dependencies/request_36-60.json @@ -0,0 +1,165 @@ +{ + "table_name": "requests", + "data": [ + { + "id": 36, + "repository_id": null, + "commit_id": null, + "state": null, + "source": null, + "token": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "event_type": null, + "comments_url": null, + "base_commit": null, + "head_commit": null, + "owner_type": null, + "owner_id": null, + "result": null, + "message": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": 1, + "yaml_config_id": null, + "github_guid": null, + "pull_request_mergeable": null + }, + { + "id": 37, + "repository_id": null, + "commit_id": null, + "state": null, + "source": null, + "token": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "event_type": null, + "comments_url": null, + "base_commit": null, + "head_commit": null, + "owner_type": null, + "owner_id": null, + "result": null, + "message": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": 1, + "yaml_config_id": null, + "github_guid": null, + "pull_request_mergeable": null + }, + { + "id": 38, + "repository_id": null, + "commit_id": null, + "state": null, + "source": null, + "token": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "event_type": null, + "comments_url": null, + "base_commit": null, + "head_commit": null, + "owner_type": null, + "owner_id": null, + "result": null, + "message": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": 1, + "yaml_config_id": null, + "github_guid": null, + "pull_request_mergeable": null + }, + { + "id": 59, + "repository_id": null, + "commit_id": null, + "state": null, + "source": null, + "token": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "event_type": null, + "comments_url": null, + "base_commit": null, + "head_commit": null, + "owner_type": null, + "owner_id": null, + "result": null, + "message": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": "User", + "sender_id": 1, + "org_id": null, + "com_id": null, + "config_id": null, + "yaml_config_id": null, + "github_guid": null, + "pull_request_mergeable": null + }, + { + "id": 60, + "repository_id": null, + "commit_id": null, + "state": null, + "source": null, + "token": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "event_type": null, + "comments_url": null, + "base_commit": null, + "head_commit": null, + "owner_type": null, + "owner_id": null, + "result": null, + "message": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": "User", + "sender_id": 1, + "org_id": null, + "com_id": null, + "config_id": null, + "yaml_config_id": null, + "github_guid": null, + "pull_request_mergeable": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/request_61-62.json b/spec/support/expected_files/remove_user_with_dependencies/request_61-62.json new file mode 100644 index 0000000..ada54f9 --- /dev/null +++ b/spec/support/expected_files/remove_user_with_dependencies/request_61-62.json @@ -0,0 +1,69 @@ +{ + "table_name": "requests", + "data": [ + { + "id": 61, + "repository_id": null, + "commit_id": null, + "state": null, + "source": null, + "token": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "event_type": null, + "comments_url": null, + "base_commit": null, + "head_commit": null, + "owner_type": "User", + "owner_id": 1, + "result": null, + "message": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "yaml_config_id": null, + "github_guid": null, + "pull_request_mergeable": null + }, + { + "id": 62, + "repository_id": null, + "commit_id": null, + "state": null, + "source": null, + "token": null, + "started_at": null, + "finished_at": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "event_type": null, + "comments_url": null, + "base_commit": null, + "head_commit": null, + "owner_type": "User", + "owner_id": 1, + "result": null, + "message": null, + "private": null, + "pull_request_id": null, + "branch_id": null, + "tag_id": null, + "sender_type": null, + "sender_id": null, + "org_id": null, + "com_id": null, + "config_id": null, + "yaml_config_id": null, + "github_guid": null, + "pull_request_mergeable": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/request_config_1-2.json b/spec/support/expected_files/remove_user_with_dependencies/request_config_1-2.json new file mode 100644 index 0000000..3721f6a --- /dev/null +++ b/spec/support/expected_files/remove_user_with_dependencies/request_config_1-2.json @@ -0,0 +1,21 @@ +{ + "table_name": "request_configs", + "data": [ + { + "id": 1, + "repository_id": 1, + "key": "some_test_key", + "org_id": null, + "com_id": null, + "config": null + }, + { + "id": 2, + "repository_id": 1, + "key": "some_test_key", + "org_id": null, + "com_id": null, + "config": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/request_payload_14-26.json b/spec/support/expected_files/remove_user_with_dependencies/request_payload_14-26.json new file mode 100644 index 0000000..23c52ff --- /dev/null +++ b/spec/support/expected_files/remove_user_with_dependencies/request_payload_14-26.json @@ -0,0 +1,45 @@ +{ + "table_name": "request_payloads", + "data": [ + { + "id": 14, + "request_id": 15, + "payload": null, + "archived": false, + "created_at": "2021-08-31 07:51:57 UTC", + "org_id": null + }, + { + "id": 15, + "request_id": 17, + "payload": null, + "archived": false, + "created_at": "2021-08-31 07:51:57 UTC", + "org_id": null + }, + { + "id": 16, + "request_id": 17, + "payload": null, + "archived": false, + "created_at": "2021-08-31 07:51:57 UTC", + "org_id": null + }, + { + "id": 25, + "request_id": 29, + "payload": null, + "archived": false, + "created_at": "2021-08-31 07:51:57 UTC", + "org_id": null + }, + { + "id": 26, + "request_id": 29, + "payload": null, + "archived": false, + "created_at": "2021-08-31 07:51:57 UTC", + "org_id": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/request_payload_27-31.json b/spec/support/expected_files/remove_user_with_dependencies/request_payload_27-31.json new file mode 100644 index 0000000..0697299 --- /dev/null +++ b/spec/support/expected_files/remove_user_with_dependencies/request_payload_27-31.json @@ -0,0 +1,45 @@ +{ + "table_name": "request_payloads", + "data": [ + { + "id": 27, + "request_id": 31, + "payload": null, + "archived": false, + "created_at": "2021-08-31 07:51:57 UTC", + "org_id": null + }, + { + "id": 28, + "request_id": 31, + "payload": null, + "archived": false, + "created_at": "2021-08-31 07:51:57 UTC", + "org_id": null + }, + { + "id": 29, + "request_id": 33, + "payload": null, + "archived": false, + "created_at": "2021-08-31 07:51:57 UTC", + "org_id": null + }, + { + "id": 30, + "request_id": 33, + "payload": null, + "archived": false, + "created_at": "2021-08-31 07:51:57 UTC", + "org_id": null + }, + { + "id": 31, + "request_id": 35, + "payload": null, + "archived": false, + "created_at": "2021-08-31 07:51:57 UTC", + "org_id": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/request_payload_32-52.json b/spec/support/expected_files/remove_user_with_dependencies/request_payload_32-52.json new file mode 100644 index 0000000..e335997 --- /dev/null +++ b/spec/support/expected_files/remove_user_with_dependencies/request_payload_32-52.json @@ -0,0 +1,45 @@ +{ + "table_name": "request_payloads", + "data": [ + { + "id": 32, + "request_id": 35, + "payload": null, + "archived": false, + "created_at": "2021-08-31 07:51:57 UTC", + "org_id": null + }, + { + "id": 33, + "request_id": 37, + "payload": null, + "archived": false, + "created_at": "2021-08-31 07:51:57 UTC", + "org_id": null + }, + { + "id": 34, + "request_id": 37, + "payload": null, + "archived": false, + "created_at": "2021-08-31 07:51:57 UTC", + "org_id": null + }, + { + "id": 51, + "request_id": 59, + "payload": null, + "archived": false, + "created_at": "2021-08-31 07:51:57 UTC", + "org_id": null + }, + { + "id": 52, + "request_id": 59, + "payload": null, + "archived": false, + "created_at": "2021-08-31 07:51:57 UTC", + "org_id": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/request_payload_53-54.json b/spec/support/expected_files/remove_user_with_dependencies/request_payload_53-54.json new file mode 100644 index 0000000..5c07ed5 --- /dev/null +++ b/spec/support/expected_files/remove_user_with_dependencies/request_payload_53-54.json @@ -0,0 +1,21 @@ +{ + "table_name": "request_payloads", + "data": [ + { + "id": 53, + "request_id": 61, + "payload": null, + "archived": false, + "created_at": "2021-08-31 07:51:57 UTC", + "org_id": null + }, + { + "id": 54, + "request_id": 61, + "payload": null, + "archived": false, + "created_at": "2021-08-31 07:51:57 UTC", + "org_id": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/request_payload_9-13.json b/spec/support/expected_files/remove_user_with_dependencies/request_payload_9-13.json new file mode 100644 index 0000000..75850ac --- /dev/null +++ b/spec/support/expected_files/remove_user_with_dependencies/request_payload_9-13.json @@ -0,0 +1,45 @@ +{ + "table_name": "request_payloads", + "data": [ + { + "id": 9, + "request_id": 11, + "payload": null, + "archived": false, + "created_at": "2021-08-31 07:51:57 UTC", + "org_id": null + }, + { + "id": 10, + "request_id": 11, + "payload": null, + "archived": false, + "created_at": "2021-08-31 07:51:57 UTC", + "org_id": null + }, + { + "id": 11, + "request_id": 13, + "payload": null, + "archived": false, + "created_at": "2021-08-31 07:51:57 UTC", + "org_id": null + }, + { + "id": 12, + "request_id": 13, + "payload": null, + "archived": false, + "created_at": "2021-08-31 07:51:57 UTC", + "org_id": null + }, + { + "id": 13, + "request_id": 15, + "payload": null, + "archived": false, + "created_at": "2021-08-31 07:51:57 UTC", + "org_id": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/request_raw_config_1-2.json b/spec/support/expected_files/remove_user_with_dependencies/request_raw_config_1-2.json new file mode 100644 index 0000000..c72323d --- /dev/null +++ b/spec/support/expected_files/remove_user_with_dependencies/request_raw_config_1-2.json @@ -0,0 +1,19 @@ +{ + "table_name": "request_raw_configs", + "data": [ + { + "id": 1, + "config": null, + "repository_id": 1, + "key": "some_test_key", + "org_id": null + }, + { + "id": 2, + "config": null, + "repository_id": 1, + "key": "some_test_key", + "org_id": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/request_raw_configuration_14-26.json b/spec/support/expected_files/remove_user_with_dependencies/request_raw_configuration_14-26.json new file mode 100644 index 0000000..9590ef0 --- /dev/null +++ b/spec/support/expected_files/remove_user_with_dependencies/request_raw_configuration_14-26.json @@ -0,0 +1,45 @@ +{ + "table_name": "request_raw_configurations", + "data": [ + { + "id": 14, + "request_id": 15, + "request_raw_config_id": null, + "source": null, + "org_id": null, + "merge_mode": null + }, + { + "id": 15, + "request_id": 17, + "request_raw_config_id": null, + "source": null, + "org_id": null, + "merge_mode": null + }, + { + "id": 16, + "request_id": 17, + "request_raw_config_id": null, + "source": null, + "org_id": null, + "merge_mode": null + }, + { + "id": 25, + "request_id": 29, + "request_raw_config_id": null, + "source": null, + "org_id": null, + "merge_mode": null + }, + { + "id": 26, + "request_id": 29, + "request_raw_config_id": null, + "source": null, + "org_id": null, + "merge_mode": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/request_raw_configuration_27-31.json b/spec/support/expected_files/remove_user_with_dependencies/request_raw_configuration_27-31.json new file mode 100644 index 0000000..46d82ef --- /dev/null +++ b/spec/support/expected_files/remove_user_with_dependencies/request_raw_configuration_27-31.json @@ -0,0 +1,45 @@ +{ + "table_name": "request_raw_configurations", + "data": [ + { + "id": 27, + "request_id": 31, + "request_raw_config_id": null, + "source": null, + "org_id": null, + "merge_mode": null + }, + { + "id": 28, + "request_id": 31, + "request_raw_config_id": null, + "source": null, + "org_id": null, + "merge_mode": null + }, + { + "id": 29, + "request_id": 33, + "request_raw_config_id": null, + "source": null, + "org_id": null, + "merge_mode": null + }, + { + "id": 30, + "request_id": 33, + "request_raw_config_id": null, + "source": null, + "org_id": null, + "merge_mode": null + }, + { + "id": 31, + "request_id": 35, + "request_raw_config_id": null, + "source": null, + "org_id": null, + "merge_mode": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/request_raw_configuration_32-36.json b/spec/support/expected_files/remove_user_with_dependencies/request_raw_configuration_32-36.json new file mode 100644 index 0000000..fe9accd --- /dev/null +++ b/spec/support/expected_files/remove_user_with_dependencies/request_raw_configuration_32-36.json @@ -0,0 +1,45 @@ +{ + "table_name": "request_raw_configurations", + "data": [ + { + "id": 32, + "request_id": 35, + "request_raw_config_id": null, + "source": null, + "org_id": null, + "merge_mode": null + }, + { + "id": 33, + "request_id": null, + "request_raw_config_id": 1, + "source": null, + "org_id": null, + "merge_mode": null + }, + { + "id": 34, + "request_id": null, + "request_raw_config_id": 1, + "source": null, + "org_id": null, + "merge_mode": null + }, + { + "id": 35, + "request_id": 37, + "request_raw_config_id": null, + "source": null, + "org_id": null, + "merge_mode": null + }, + { + "id": 36, + "request_id": 37, + "request_raw_config_id": null, + "source": null, + "org_id": null, + "merge_mode": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/request_raw_configuration_53-56.json b/spec/support/expected_files/remove_user_with_dependencies/request_raw_configuration_53-56.json new file mode 100644 index 0000000..4de4d62 --- /dev/null +++ b/spec/support/expected_files/remove_user_with_dependencies/request_raw_configuration_53-56.json @@ -0,0 +1,37 @@ +{ + "table_name": "request_raw_configurations", + "data": [ + { + "id": 53, + "request_id": 59, + "request_raw_config_id": null, + "source": null, + "org_id": null, + "merge_mode": null + }, + { + "id": 54, + "request_id": 59, + "request_raw_config_id": null, + "source": null, + "org_id": null, + "merge_mode": null + }, + { + "id": 55, + "request_id": 61, + "request_raw_config_id": null, + "source": null, + "org_id": null, + "merge_mode": null + }, + { + "id": 56, + "request_id": 61, + "request_raw_config_id": null, + "source": null, + "org_id": null, + "merge_mode": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/request_raw_configuration_9-13.json b/spec/support/expected_files/remove_user_with_dependencies/request_raw_configuration_9-13.json new file mode 100644 index 0000000..613d490 --- /dev/null +++ b/spec/support/expected_files/remove_user_with_dependencies/request_raw_configuration_9-13.json @@ -0,0 +1,45 @@ +{ + "table_name": "request_raw_configurations", + "data": [ + { + "id": 9, + "request_id": 11, + "request_raw_config_id": null, + "source": null, + "org_id": null, + "merge_mode": null + }, + { + "id": 10, + "request_id": 11, + "request_raw_config_id": null, + "source": null, + "org_id": null, + "merge_mode": null + }, + { + "id": 11, + "request_id": 13, + "request_raw_config_id": null, + "source": null, + "org_id": null, + "merge_mode": null + }, + { + "id": 12, + "request_id": 13, + "request_raw_config_id": null, + "source": null, + "org_id": null, + "merge_mode": null + }, + { + "id": 13, + "request_id": 15, + "request_raw_config_id": null, + "source": null, + "org_id": null, + "merge_mode": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/request_yaml_config_1-2.json b/spec/support/expected_files/remove_user_with_dependencies/request_yaml_config_1-2.json new file mode 100644 index 0000000..568e31b --- /dev/null +++ b/spec/support/expected_files/remove_user_with_dependencies/request_yaml_config_1-2.json @@ -0,0 +1,21 @@ +{ + "table_name": "request_yaml_configs", + "data": [ + { + "id": 1, + "yaml": null, + "repository_id": 1, + "key": "some_test_key", + "org_id": null, + "com_id": null + }, + { + "id": 2, + "yaml": null, + "repository_id": 1, + "key": "some_test_key", + "org_id": null, + "com_id": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/ssl_key_3-4.json b/spec/support/expected_files/remove_user_with_dependencies/ssl_key_3-4.json new file mode 100644 index 0000000..cb6916f --- /dev/null +++ b/spec/support/expected_files/remove_user_with_dependencies/ssl_key_3-4.json @@ -0,0 +1,25 @@ +{ + "table_name": "ssl_keys", + "data": [ + { + "id": 3, + "repository_id": 1, + "public_key": null, + "private_key": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "org_id": null, + "com_id": null + }, + { + "id": 4, + "repository_id": 1, + "public_key": null, + "private_key": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "org_id": null, + "com_id": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/ssl_key_33-34.json b/spec/support/expected_files/remove_user_with_dependencies/ssl_key_33-34.json deleted file mode 100644 index 21cb89f..0000000 --- a/spec/support/expected_files/remove_user_with_dependencies/ssl_key_33-34.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "table_name": "ssl_keys", - "data": [ - { - "id": 33, - "repository_id": 1, - "public_key": null, - "private_key": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC" - }, - { - "id": 34, - "repository_id": 1, - "public_key": null, - "private_key": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC" - } - ] -} \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/stage_20-32.json b/spec/support/expected_files/remove_user_with_dependencies/stage_1-13.json similarity index 58% rename from spec/support/expected_files/remove_org_with_dependencies/stage_20-32.json rename to spec/support/expected_files/remove_user_with_dependencies/stage_1-13.json index 91fcb2e..ccba356 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/stage_20-32.json +++ b/spec/support/expected_files/remove_user_with_dependencies/stage_1-13.json @@ -2,49 +2,59 @@ "table_name": "stages", "data": [ { - "id": 20, + "id": 1, "build_id": 1, "number": null, "name": null, "state": null, "started_at": null, - "finished_at": null + "finished_at": null, + "org_id": null, + "com_id": null }, { - "id": 21, + "id": 2, "build_id": 1, "number": null, "name": null, "state": null, "started_at": null, - "finished_at": null + "finished_at": null, + "org_id": null, + "com_id": null }, { - "id": 30, - "build_id": 51, + "id": 3, + "build_id": 1, "number": null, "name": null, "state": null, "started_at": null, - "finished_at": null + "finished_at": null, + "org_id": null, + "com_id": null }, { - "id": 31, - "build_id": 58, + "id": 12, + "build_id": 52, "number": null, "name": null, "state": null, "started_at": null, - "finished_at": null + "finished_at": null, + "org_id": null, + "com_id": null }, { - "id": 32, - "build_id": 63, + "id": 13, + "build_id": 59, "number": null, "name": null, "state": null, "started_at": null, - "finished_at": null + "finished_at": null, + "org_id": null, + "com_id": null } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/stage_14-18.json b/spec/support/expected_files/remove_user_with_dependencies/stage_14-18.json new file mode 100644 index 0000000..56d9de4 --- /dev/null +++ b/spec/support/expected_files/remove_user_with_dependencies/stage_14-18.json @@ -0,0 +1,60 @@ +{ + "table_name": "stages", + "data": [ + { + "id": 14, + "build_id": 64, + "number": null, + "name": null, + "state": null, + "started_at": null, + "finished_at": null, + "org_id": null, + "com_id": null + }, + { + "id": 15, + "build_id": 69, + "number": null, + "name": null, + "state": null, + "started_at": null, + "finished_at": null, + "org_id": null, + "com_id": null + }, + { + "id": 16, + "build_id": 74, + "number": null, + "name": null, + "state": null, + "started_at": null, + "finished_at": null, + "org_id": null, + "com_id": null + }, + { + "id": 17, + "build_id": 79, + "number": null, + "name": null, + "state": null, + "started_at": null, + "finished_at": null, + "org_id": null, + "com_id": null + }, + { + "id": 18, + "build_id": 84, + "number": null, + "name": null, + "state": null, + "started_at": null, + "finished_at": null, + "org_id": null, + "com_id": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/stage_19-31.json b/spec/support/expected_files/remove_user_with_dependencies/stage_19-31.json new file mode 100644 index 0000000..1983714 --- /dev/null +++ b/spec/support/expected_files/remove_user_with_dependencies/stage_19-31.json @@ -0,0 +1,60 @@ +{ + "table_name": "stages", + "data": [ + { + "id": 19, + "build_id": 89, + "number": null, + "name": null, + "state": null, + "started_at": null, + "finished_at": null, + "org_id": null, + "com_id": null + }, + { + "id": 20, + "build_id": 89, + "number": null, + "name": null, + "state": null, + "started_at": null, + "finished_at": null, + "org_id": null, + "com_id": null + }, + { + "id": 21, + "build_id": 89, + "number": null, + "name": null, + "state": null, + "started_at": null, + "finished_at": null, + "org_id": null, + "com_id": null + }, + { + "id": 30, + "build_id": 140, + "number": null, + "name": null, + "state": null, + "started_at": null, + "finished_at": null, + "org_id": null, + "com_id": null + }, + { + "id": 31, + "build_id": 145, + "number": null, + "name": null, + "state": null, + "started_at": null, + "finished_at": null, + "org_id": null, + "com_id": null + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/stage_33-37.json b/spec/support/expected_files/remove_user_with_dependencies/stage_32-36.json similarity index 56% rename from spec/support/expected_files/remove_org_with_dependencies/stage_33-37.json rename to spec/support/expected_files/remove_user_with_dependencies/stage_32-36.json index 4b99471..f6c6757 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/stage_33-37.json +++ b/spec/support/expected_files/remove_user_with_dependencies/stage_32-36.json @@ -2,49 +2,59 @@ "table_name": "stages", "data": [ { - "id": 33, - "build_id": 68, + "id": 32, + "build_id": 148, "number": null, "name": null, "state": null, "started_at": null, - "finished_at": null + "finished_at": null, + "org_id": null, + "com_id": null }, { - "id": 34, - "build_id": 73, + "id": 33, + "build_id": 153, "number": null, "name": null, "state": null, "started_at": null, - "finished_at": null + "finished_at": null, + "org_id": null, + "com_id": null }, { - "id": 35, - "build_id": 78, + "id": 34, + "build_id": 158, "number": null, "name": null, "state": null, "started_at": null, - "finished_at": null + "finished_at": null, + "org_id": null, + "com_id": null }, { - "id": 36, - "build_id": 83, + "id": 35, + "build_id": 163, "number": null, "name": null, "state": null, "started_at": null, - "finished_at": null + "finished_at": null, + "org_id": null, + "com_id": null }, { - "id": 37, - "build_id": 88, + "id": 36, + "build_id": 166, "number": null, "name": null, "state": null, "started_at": null, - "finished_at": null + "finished_at": null, + "org_id": null, + "com_id": null } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/stage_38-50.json b/spec/support/expected_files/remove_user_with_dependencies/stage_37-49.json similarity index 53% rename from spec/support/expected_files/remove_user_with_dependencies/stage_38-50.json rename to spec/support/expected_files/remove_user_with_dependencies/stage_37-49.json index 40a0031..0de26d1 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/stage_38-50.json +++ b/spec/support/expected_files/remove_user_with_dependencies/stage_37-49.json @@ -2,49 +2,59 @@ "table_name": "stages", "data": [ { - "id": 38, - "build_id": 88, + "id": 37, + "build_id": 173, "number": null, "name": null, "state": null, "started_at": null, - "finished_at": null + "finished_at": null, + "org_id": null, + "com_id": null }, { - "id": 47, - "build_id": 138, + "id": 38, + "build_id": 178, "number": null, "name": null, "state": null, "started_at": null, - "finished_at": null + "finished_at": null, + "org_id": null, + "com_id": null }, { - "id": 48, - "build_id": 143, + "id": 39, + "build_id": 178, "number": null, "name": null, "state": null, "started_at": null, - "finished_at": null + "finished_at": null, + "org_id": null, + "com_id": null }, { - "id": 49, - "build_id": 146, + "id": 40, + "build_id": 178, "number": null, "name": null, "state": null, "started_at": null, - "finished_at": null + "finished_at": null, + "org_id": null, + "com_id": null }, { - "id": 50, - "build_id": 151, + "id": 49, + "build_id": 229, "number": null, "name": null, "state": null, "started_at": null, - "finished_at": null + "finished_at": null, + "org_id": null, + "com_id": null } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/stage_51-63.json b/spec/support/expected_files/remove_user_with_dependencies/stage_50-61.json similarity index 52% rename from spec/support/expected_files/remove_user_with_dependencies/stage_51-63.json rename to spec/support/expected_files/remove_user_with_dependencies/stage_50-61.json index 944cb8b..6043e7d 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/stage_51-63.json +++ b/spec/support/expected_files/remove_user_with_dependencies/stage_50-61.json @@ -2,49 +2,48 @@ "table_name": "stages", "data": [ { - "id": 51, - "build_id": 156, - "number": null, - "name": null, - "state": null, - "started_at": null, - "finished_at": null - }, - { - "id": 52, - "build_id": 161, + "id": 50, + "build_id": 229, "number": null, "name": null, "state": null, "started_at": null, - "finished_at": null + "finished_at": null, + "org_id": null, + "com_id": null }, { - "id": 53, - "build_id": 161, + "id": 51, + "build_id": 229, "number": null, "name": null, "state": null, "started_at": null, - "finished_at": null + "finished_at": null, + "org_id": null, + "com_id": null }, { - "id": 62, - "build_id": 211, + "id": 60, + "build_id": 280, "number": null, "name": null, "state": null, "started_at": null, - "finished_at": null + "finished_at": null, + "org_id": null, + "com_id": null }, { - "id": 63, - "build_id": 211, + "id": 61, + "build_id": 285, "number": null, "name": null, "state": null, "started_at": null, - "finished_at": null + "finished_at": null, + "org_id": null, + "com_id": null } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/stage_72-73.json b/spec/support/expected_files/remove_user_with_dependencies/stage_72-73.json deleted file mode 100644 index 5fe27f1..0000000 --- a/spec/support/expected_files/remove_user_with_dependencies/stage_72-73.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "table_name": "stages", - "data": [ - { - "id": 72, - "build_id": 261, - "number": null, - "name": null, - "state": null, - "started_at": null, - "finished_at": null - }, - { - "id": 73, - "build_id": 266, - "number": null, - "name": null, - "state": null, - "started_at": null, - "finished_at": null - } - ] -} \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/star_1-6.json b/spec/support/expected_files/remove_user_with_dependencies/star_1-6.json index f6a459b..ab2c3d3 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/star_1-6.json +++ b/spec/support/expected_files/remove_user_with_dependencies/star_1-6.json @@ -4,30 +4,30 @@ { "id": 1, "repository_id": null, - "user_id": 9, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC" + "user_id": 1, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC" }, { "id": 2, "repository_id": null, - "user_id": 9, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC" + "user_id": 1, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC" }, { "id": 5, "repository_id": 1, "user_id": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC" + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC" }, { "id": 6, "repository_id": 1, "user_id": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC" + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC" } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/subscription_1-2.json b/spec/support/expected_files/remove_user_with_dependencies/subscription_1-2.json index 30761cb..8239d64 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/subscription_1-2.json +++ b/spec/support/expected_files/remove_user_with_dependencies/subscription_1-2.json @@ -5,8 +5,8 @@ "id": 1, "cc_token": null, "valid_to": null, - "owner_id": 9, "owner_type": "User", + "owner_id": 1, "first_name": null, "last_name": null, "company": null, @@ -18,8 +18,8 @@ "country": null, "vat_id": null, "customer_id": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", "cc_owner": null, "cc_last_digits": null, "cc_expiration_date": null, @@ -37,8 +37,8 @@ "id": 2, "cc_token": null, "valid_to": null, - "owner_id": 9, "owner_type": "User", + "owner_id": 1, "first_name": null, "last_name": null, "company": null, @@ -50,8 +50,8 @@ "country": null, "vat_id": null, "customer_id": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", "cc_owner": null, "cc_last_digits": null, "cc_expiration_date": null, diff --git a/spec/support/expected_files/remove_user_with_dependencies/tag_33-38.json b/spec/support/expected_files/remove_user_with_dependencies/tag_33-38.json index e95f550..b8d3cde 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/tag_33-38.json +++ b/spec/support/expected_files/remove_user_with_dependencies/tag_33-38.json @@ -7,8 +7,10 @@ "name": null, "last_build_id": null, "exists_on_github": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC" + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "org_id": null, + "com_id": null }, { "id": 38, @@ -16,8 +18,10 @@ "name": null, "last_build_id": null, "exists_on_github": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC" + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", + "org_id": null, + "com_id": null } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/token_1-2.json b/spec/support/expected_files/remove_user_with_dependencies/token_1-2.json new file mode 100644 index 0000000..120760b --- /dev/null +++ b/spec/support/expected_files/remove_user_with_dependencies/token_1-2.json @@ -0,0 +1,19 @@ +{ + "table_name": "tokens", + "data": [ + { + "id": 1, + "user_id": 1, + "token": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC" + }, + { + "id": 2, + "user_id": 1, + "token": null, + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC" + } + ] +} \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/token_9-10.json b/spec/support/expected_files/remove_user_with_dependencies/token_9-10.json deleted file mode 100644 index 479096a..0000000 --- a/spec/support/expected_files/remove_user_with_dependencies/token_9-10.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "table_name": "tokens", - "data": [ - { - "id": 9, - "user_id": 9, - "token": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC" - }, - { - "id": 10, - "user_id": 9, - "token": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC" - } - ] -} \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/trial_1-2.json b/spec/support/expected_files/remove_user_with_dependencies/trial_1-2.json index 1bb0e18..d479096 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/trial_1-2.json +++ b/spec/support/expected_files/remove_user_with_dependencies/trial_1-2.json @@ -3,25 +3,25 @@ "data": [ { "id": 1, - "owner_id": 9, "owner_type": "User", + "owner_id": 1, "chartmogul_customer_uuids": [ ], "status": "new", - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC" + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC" }, { "id": 2, - "owner_id": 9, "owner_type": "User", + "owner_id": 1, "chartmogul_customer_uuids": [ ], "status": "new", - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC" + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC" } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/trial_allowance_1-5.json b/spec/support/expected_files/remove_user_with_dependencies/trial_allowance_1-5.json index b9a12bd..7ca7990 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/trial_allowance_1-5.json +++ b/spec/support/expected_files/remove_user_with_dependencies/trial_allowance_1-5.json @@ -8,8 +8,8 @@ "creator_type": null, "builds_allowed": null, "builds_remaining": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC" + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC" }, { "id": 2, @@ -18,8 +18,8 @@ "creator_type": null, "builds_allowed": null, "builds_remaining": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC" + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC" }, { "id": 3, @@ -28,8 +28,8 @@ "creator_type": null, "builds_allowed": null, "builds_remaining": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC" + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC" }, { "id": 4, @@ -38,18 +38,18 @@ "creator_type": null, "builds_allowed": null, "builds_remaining": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC" + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC" }, { "id": 5, "trial_id": null, - "creator_id": 9, + "creator_id": 1, "creator_type": "User", "builds_allowed": null, "builds_remaining": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC" + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC" } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/trial_allowance_6-6.json b/spec/support/expected_files/remove_user_with_dependencies/trial_allowance_6-6.json index 6c5e7cd..cf37dbe 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/trial_allowance_6-6.json +++ b/spec/support/expected_files/remove_user_with_dependencies/trial_allowance_6-6.json @@ -4,12 +4,12 @@ { "id": 6, "trial_id": null, - "creator_id": 9, + "creator_id": 1, "creator_type": "User", "builds_allowed": null, "builds_remaining": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC" + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC" } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/user_9-9.json b/spec/support/expected_files/remove_user_with_dependencies/user_1-1.json similarity index 56% rename from spec/support/expected_files/remove_user_with_dependencies/user_9-9.json rename to spec/support/expected_files/remove_user_with_dependencies/user_1-1.json index afbb7b4..4230c77 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/user_9-9.json +++ b/spec/support/expected_files/remove_user_with_dependencies/user_1-1.json @@ -2,12 +2,12 @@ "table_name": "users", "data": [ { - "id": 9, + "id": 1, "name": null, "login": null, "email": null, - "created_at": "2021-04-11 21:55:03 UTC", - "updated_at": "2021-04-11 21:55:03 UTC", + "created_at": "2021-08-31 07:51:57 UTC", + "updated_at": "2021-08-31 07:51:57 UTC", "is_admin": false, "github_id": null, "github_oauth_token": null, @@ -20,7 +20,16 @@ "first_logged_in_at": null, "avatar_url": null, "suspended": false, - "suspended_at": null + "suspended_at": null, + "org_id": null, + "com_id": null, + "migrating": null, + "migrated_at": null, + "redacted_at": null, + "preferences": { + }, + "vcs_type": "GithubUser", + "vcs_id": null } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/user_beta_feature_1-2.json b/spec/support/expected_files/remove_user_with_dependencies/user_beta_feature_1-2.json index f137909..51283dc 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/user_beta_feature_1-2.json +++ b/spec/support/expected_files/remove_user_with_dependencies/user_beta_feature_1-2.json @@ -3,7 +3,7 @@ "data": [ { "id": 1, - "user_id": 9, + "user_id": 1, "beta_feature_id": null, "enabled": null, "last_deactivated_at": null, @@ -11,7 +11,7 @@ }, { "id": 2, - "user_id": 9, + "user_id": 1, "beta_feature_id": null, "enabled": null, "last_deactivated_at": null, diff --git a/spec/support/factories/build_config.rb b/spec/support/factories/build_config.rb index f2369bf..4b1c135 100644 --- a/spec/support/factories/build_config.rb +++ b/spec/support/factories/build_config.rb @@ -8,14 +8,23 @@ key { 'some_test_key' } factory :build_config_with_all_dependencies do - after(:create) do |build_config| + transient do + created_at { nil } + updated_at { nil } + end + + after(:create) do |build_config, evaluator| create( :build_with_safe_dependencies_and_sibling, - config_id: build_config.id + config_id: build_config.id, + created_at: evaluator.created_at, + updated_at: evaluator.updated_at ) create_list( :deleted_build, 2, - config_id: build_config.id + config_id: build_config.id, + created_at: evaluator.created_at, + updated_at: evaluator.updated_at ) end @@ -23,7 +32,7 @@ after(:create) do |build_config| create(:build_config, build_config.attributes_without_id.symbolize_keys) end - end + end end end end \ No newline at end of file diff --git a/spec/support/factories/job_config.rb b/spec/support/factories/job_config.rb index d1e7b84..45fc761 100644 --- a/spec/support/factories/job_config.rb +++ b/spec/support/factories/job_config.rb @@ -8,17 +8,26 @@ key { 'some_test_key' } factory :job_config_with_all_dependencies do - after(:create) do |job_config| + transient do + created_at { nil } + updated_at { nil } + end + + after(:create) do |job_config, evaluator| create( :job_with_all_dependencies_and_sibling, - config_id: job_config.id + config_id: job_config.id, + created_at: evaluator.created_at, + updated_at: evaluator.updated_at ) create_list( :deleted_job, 2, - config_id: job_config.id + config_id: job_config.id, + created_at: evaluator.created_at, + updated_at: evaluator.updated_at ) end - + factory :job_config_with_all_dependencies_and_sibling do after(:create) do |job_config| create(:job_config, job_config.attributes_without_id.symbolize_keys) diff --git a/spec/support/factories/repository.rb b/spec/support/factories/repository.rb index c9ed55b..762defa 100644 --- a/spec/support/factories/repository.rb +++ b/spec/support/factories/repository.rb @@ -88,13 +88,13 @@ def create_for_repo(repository, what, how_many = 1) create_for_repo(repository, :pull_request_with_all_dependencies_and_sibling) create_for_repo(repository, :tag_with_all_dependencies_and_sibling) - create(:build_config_with_all_dependencies_and_sibling, repository_id: repository.id) + create_for_repo(repository, :build_config_with_all_dependencies_and_sibling) create_for_repo(repository, :email_unsubscribe, 2) - create(:request_config_with_all_dependencies_and_sibling, repository_id: repository.id) - create(:job_config_with_all_dependencies_and_sibling, repository_id: repository.id) + create_for_repo(repository, :request_config_with_all_dependencies_and_sibling) + create_for_repo(repository, :job_config_with_all_dependencies_and_sibling) create(:request_raw_config_with_all_dependencies_and_sibling, repository_id: repository.id) create_list(:repo_count, 2, repository_id: repository.id) - create(:request_yaml_config_with_all_dependencies_and_sibling, repository_id: repository.id) + create_for_repo(repository, :request_yaml_config_with_all_dependencies_and_sibling) create_for_repo(repository, :deleted_build, 2) create_for_repo(repository, :deleted_request, 2) diff --git a/spec/support/factories/request_config.rb b/spec/support/factories/request_config.rb index 6a7e8f0..5767407 100644 --- a/spec/support/factories/request_config.rb +++ b/spec/support/factories/request_config.rb @@ -8,14 +8,23 @@ key { 'some_test_key' } factory :request_config_with_all_dependencies do - after(:create) do |request_config| + transient do + created_at { nil } + updated_at { nil } + end + + after(:create) do |request_config, evaluator| create( :request_with_all_dependencies_and_sibling, - config_id: request_config.id + config_id: request_config.id, + created_at: evaluator.created_at, + updated_at: evaluator.updated_at ) create_list( :deleted_request, 2, - config_id: request_config.id + config_id: request_config.id, + created_at: evaluator.created_at, + updated_at: evaluator.updated_at ) end diff --git a/spec/support/factories/request_yaml_config.rb b/spec/support/factories/request_yaml_config.rb index 236674d..f21d1d6 100644 --- a/spec/support/factories/request_yaml_config.rb +++ b/spec/support/factories/request_yaml_config.rb @@ -8,14 +8,23 @@ key { 'some_test_key' } factory :request_yaml_config_with_all_dependencies do - after(:create) do |request_yaml_config| + transient do + created_at { nil } + updated_at { nil } + end + + after(:create) do |request_yaml_config, evaluator| create( :request_with_all_dependencies_and_sibling, - yaml_config_id: request_yaml_config.id + config_id: request_yaml_config.id, + created_at: evaluator.created_at, + updated_at: evaluator.updated_at ) create_list( :deleted_request, 2, - yaml_config_id: request_yaml_config.id + config_id: request_yaml_config.id, + created_at: evaluator.created_at, + updated_at: evaluator.updated_at ) end From d3eba7b21fb72ff041affe2828f2eb9aaac9a18b Mon Sep 17 00:00:00 2001 From: Karol Selak Travis Date: Thu, 31 Mar 2022 19:38:57 +0200 Subject: [PATCH 07/12] tests fixed --- .../remove_repo_builds.rb | 104 +++++++++--------- .../remove_repo_requests.rb | 104 +++++++++--------- 2 files changed, 98 insertions(+), 110 deletions(-) diff --git a/spec/support/expected_dependency_trees/remove_repo_builds.rb b/spec/support/expected_dependency_trees/remove_repo_builds.rb index e2c69d7..3584522 100644 --- a/spec/support/expected_dependency_trees/remove_repo_builds.rb +++ b/spec/support/expected_dependency_trees/remove_repo_builds.rb @@ -2282,61 +2282,7 @@ def self.remove_repo_builds "id 32, present" ] }, - "id 36, present" - ], - "deleted_request": [ - "id 29, present", - "id 30, present" - ] - }, - "id 2, present" - ], - "job_config": [ - { - "_": "id 1, present", - "job": [ - { - "_": "id 171, present", - "queueable_job": [ - "id 59, present", - "id 60, present" - ], - "job_version": [ - "id 59, present", - "id 60, present" - ] - }, - "id 172, present" - ], - "deleted_job": [ - "id 55, present", - "id 56, present" - ] - }, - "id 2, present" - ], - "request_raw_config": [ - { - "_": "id 1, present", - "request_raw_configuration": [ - "id 33, present", - "id 34, present" - ], - "deleted_request_raw_configuration": [ - "id 33, present", - "id 34, present" - ] - }, - "id 2, present" - ], - "repo_count": [ - "id 1, present", - "id 1, present, duplicate" - ], - "request_yaml_config": [ - { - "_": "id 1, present", - "request": [ + "id 36, present", { "_": "id 37, present", "abuse": [ @@ -2411,12 +2357,60 @@ def self.remove_repo_builds "id 38, present" ], "deleted_request": [ + "id 29, present", + "id 30, present", "id 31, present", "id 32, present" ] }, "id 2, present" ], + "job_config": [ + { + "_": "id 1, present", + "job": [ + { + "_": "id 171, present", + "queueable_job": [ + "id 59, present", + "id 60, present" + ], + "job_version": [ + "id 59, present", + "id 60, present" + ] + }, + "id 172, present" + ], + "deleted_job": [ + "id 55, present", + "id 56, present" + ] + }, + "id 2, present" + ], + "request_raw_config": [ + { + "_": "id 1, present", + "request_raw_configuration": [ + "id 33, present", + "id 34, present" + ], + "deleted_request_raw_configuration": [ + "id 33, present", + "id 34, present" + ] + }, + "id 2, present" + ], + "repo_count": [ + "id 1, present", + "id 1, present, duplicate" + ], + "request_yaml_config": [ + "id 1, present", + "id 2, present" + ], "deleted_build": [ "id 65, present", "id 66, present" diff --git a/spec/support/expected_dependency_trees/remove_repo_requests.rb b/spec/support/expected_dependency_trees/remove_repo_requests.rb index 4a6503c..498ba84 100644 --- a/spec/support/expected_dependency_trees/remove_repo_requests.rb +++ b/spec/support/expected_dependency_trees/remove_repo_requests.rb @@ -2282,61 +2282,7 @@ def self.remove_repo_requests "id 32, present" ] }, - "id 36, present" - ], - "deleted_request": [ - "id 29, present", - "id 30, present" - ] - }, - "id 2, present" - ], - "job_config": [ - { - "_": "id 1, present", - "job": [ - { - "_": "id 171, present", - "queueable_job": [ - "id 59, present", - "id 60, present" - ], - "job_version": [ - "id 59, present", - "id 60, present" - ] - }, - "id 172, present" - ], - "deleted_job": [ - "id 55, present", - "id 56, present" - ] - }, - "id 2, present" - ], - "request_raw_config": [ - { - "_": "id 1, present", - "request_raw_configuration": [ - "id 33, present", - "id 34, present" - ], - "deleted_request_raw_configuration": [ - "id 33, present", - "id 34, present" - ] - }, - "id 2, present" - ], - "repo_count": [ - "id 1, present", - "id 1, present, duplicate" - ], - "request_yaml_config": [ - { - "_": "id 1, present", - "request": [ + "id 36, present", { "_": "id 37, present", "abuse": [ @@ -2411,12 +2357,60 @@ def self.remove_repo_requests "id 38, present" ], "deleted_request": [ + "id 29, present", + "id 30, present", "id 31, present", "id 32, present" ] }, "id 2, present" ], + "job_config": [ + { + "_": "id 1, present", + "job": [ + { + "_": "id 171, present", + "queueable_job": [ + "id 59, present", + "id 60, present" + ], + "job_version": [ + "id 59, present", + "id 60, present" + ] + }, + "id 172, present" + ], + "deleted_job": [ + "id 55, present", + "id 56, present" + ] + }, + "id 2, present" + ], + "request_raw_config": [ + { + "_": "id 1, present", + "request_raw_configuration": [ + "id 33, present", + "id 34, present" + ], + "deleted_request_raw_configuration": [ + "id 33, present", + "id 34, present" + ] + }, + "id 2, present" + ], + "repo_count": [ + "id 1, present", + "id 1, present, duplicate" + ], + "request_yaml_config": [ + "id 1, present", + "id 2, present" + ], "deleted_build": [ "id 65, present", "id 66, present" From 5d11a0e925c172df175a60531cf1a61e33d8dc92 Mon Sep 17 00:00:00 2001 From: Karol Selak Travis Date: Fri, 1 Apr 2022 17:29:51 +0200 Subject: [PATCH 08/12] bug with yaml_config_id fixed --- .../remove_org_with_dependencies.rb | 104 +++++++++--------- .../remove_repo_builds.rb | 104 +++++++++--------- .../remove_repo_requests.rb | 104 +++++++++--------- .../remove_repo_with_dependencies.rb | 104 +++++++++--------- .../remove_user_with_dependencies.rb | 104 +++++++++--------- .../abuse_14-26.json | 20 ++-- .../abuse_27-31.json | 20 ++-- .../abuse_32-52.json | 20 ++-- .../abuse_53-56.json | 16 +-- .../abuse_9-13.json | 20 ++-- .../branch_14-19.json | 8 +- .../broadcast_1-2.json | 8 +- .../build_1-59.json | 20 ++-- .../build_145-153.json | 20 ++-- .../build_155-165.json | 20 ++-- .../build_166-178.json | 20 ++-- .../build_228-282.json | 20 ++-- .../build_285-287.json | 8 +- .../build_61-71.json | 20 ++-- .../build_74-84.json | 20 ++-- .../build_86-142.json | 20 ++-- .../commit_18-18.json | 4 +- .../commit_7-17.json | 20 ++-- .../cron_2-2.json | 4 +- .../deleted_build_100-102.json | 12 +- .../deleted_build_17-21.json | 20 ++-- .../deleted_build_22-26.json | 20 ++-- .../deleted_build_27-47.json | 20 ++-- .../deleted_build_48-52.json | 20 ++-- .../deleted_build_53-57.json | 20 ++-- .../deleted_build_58-62.json | 20 ++-- .../deleted_build_63-99.json | 20 ++-- .../deleted_commit_14-14.json | 4 +- .../deleted_commit_5-13.json | 20 ++-- .../deleted_job_15-19.json | 20 ++-- .../deleted_job_20-24.json | 20 ++-- .../deleted_job_25-29.json | 20 ++-- .../deleted_job_44-48.json | 20 ++-- .../deleted_job_49-53.json | 20 ++-- .../deleted_job_54-58.json | 20 ++-- .../deleted_job_59-91.json | 20 ++-- .../deleted_job_92-94.json | 12 +- .../deleted_pull_request_1-2.json | 8 +- .../deleted_request_14-26.json | 20 ++-- .../deleted_request_27-31.json | 24 ++-- .../deleted_request_32-34.json | 16 +-- .../deleted_request_9-13.json | 20 ++-- .../deleted_request_payload_14-26.json | 10 +- .../deleted_request_payload_27-31.json | 10 +- .../deleted_request_payload_32-52.json | 10 +- .../deleted_request_payload_53-54.json | 4 +- .../deleted_request_payload_9-13.json | 10 +- .../deleted_ssl_key_1-2.json | 8 +- .../deleted_tag_3-4.json | 8 +- .../email_unsubscribe_1-2.json | 8 +- .../invoice_1-4.json | 16 +-- .../job_146-154.json | 20 ++-- .../job_156-162.json | 20 ++-- .../job_164-171.json | 20 ++-- .../job_172-179.json | 20 ++-- .../job_180-184.json | 20 ++-- .../job_185-233.json | 20 ++-- .../remove_org_with_dependencies/job_2-6.json | 20 ++-- .../job_234-283.json | 20 ++-- .../job_284-290.json | 20 ++-- .../job_291-291.json | 4 +- .../job_57-63.json | 20 ++-- .../job_65-72.json | 20 ++-- .../job_7-56.json | 20 ++-- .../job_73-80.json | 20 ++-- .../job_82-88.json | 20 ++-- .../job_90-94.json | 20 ++-- .../job_95-144.json | 20 ++-- .../job_version_1-19.json | 10 +- .../job_version_20-24.json | 10 +- .../job_version_25-29.json | 10 +- .../job_version_30-34.json | 10 +- .../job_version_49-53.json | 10 +- .../job_version_54-58.json | 10 +- .../job_version_59-63.json | 10 +- .../job_version_64-96.json | 10 +- .../job_version_97-100.json | 8 +- .../message_14-26.json | 20 ++-- .../message_27-31.json | 20 ++-- .../message_32-52.json | 20 ++-- .../message_53-54.json | 8 +- .../message_9-13.json | 20 ++-- .../organization_1-1.json | 4 +- .../owner_group_1-2.json | 8 +- .../pull_request_3-6.json | 8 +- .../repository_1-72.json | 8 +- .../request_11-15.json | 20 ++-- .../request_16-30.json | 20 ++-- .../request_31-35.json | 20 ++-- .../request_36-60.json | 28 ++--- .../request_61-62.json | 8 +- .../request_payload_14-26.json | 10 +- .../request_payload_27-31.json | 10 +- .../request_payload_32-52.json | 10 +- .../request_payload_53-54.json | 4 +- .../request_payload_9-13.json | 10 +- .../ssl_key_3-4.json | 8 +- .../star_3-4.json | 8 +- .../subscription_1-2.json | 8 +- .../tag_33-38.json | 8 +- .../trial_1-2.json | 8 +- .../trial_allowance_1-5.json | 20 ++-- .../trial_allowance_6-6.json | 4 +- .../abuse_14-26.json | 20 ++-- .../abuse_27-31.json | 20 ++-- .../abuse_32-34.json | 12 +- .../abuse_9-13.json | 20 ++-- .../branch_14-19.json | 8 +- .../build_1-59.json | 20 ++-- .../build_145-153.json | 20 ++-- .../build_155-165.json | 20 ++-- .../build_166-175.json | 16 +-- .../build_61-71.json | 20 ++-- .../build_74-84.json | 20 ++-- .../build_86-142.json | 20 ++-- .../commit_18-18.json | 4 +- .../commit_7-17.json | 20 ++-- .../cron_2-2.json | 4 +- .../deleted_build_17-21.json | 20 ++-- .../deleted_build_22-26.json | 20 ++-- .../deleted_build_27-47.json | 20 ++-- .../deleted_build_48-52.json | 20 ++-- .../deleted_build_53-57.json | 20 ++-- .../deleted_build_58-62.json | 20 ++-- .../deleted_build_63-66.json | 16 +-- .../deleted_commit_14-14.json | 4 +- .../deleted_commit_5-13.json | 20 ++-- .../deleted_job_15-19.json | 20 ++-- .../deleted_job_20-24.json | 20 ++-- .../deleted_job_25-29.json | 20 ++-- .../deleted_job_44-48.json | 20 ++-- .../deleted_job_49-53.json | 20 ++-- .../deleted_job_54-58.json | 20 ++-- .../deleted_job_59-60.json | 8 +- .../deleted_pull_request_1-2.json | 8 +- .../deleted_request_14-26.json | 20 ++-- .../deleted_request_27-31.json | 24 ++-- .../deleted_request_32-34.json | 16 +-- .../deleted_request_9-13.json | 20 ++-- .../deleted_request_payload_14-26.json | 10 +- .../deleted_request_payload_27-31.json | 10 +- .../deleted_request_payload_32-34.json | 6 +- .../deleted_request_payload_9-13.json | 10 +- .../deleted_ssl_key_1-2.json | 8 +- .../deleted_tag_3-4.json | 8 +- .../email_unsubscribe_1-2.json | 8 +- .../job_146-154.json | 20 ++-- .../job_156-162.json | 20 ++-- .../job_164-171.json | 20 ++-- .../job_172-177.json | 16 +-- .../job_2-6.json | 20 ++-- .../job_57-63.json | 20 ++-- .../job_65-72.json | 20 ++-- .../job_7-56.json | 20 ++-- .../job_73-80.json | 20 ++-- .../job_82-88.json | 20 ++-- .../job_90-94.json | 20 ++-- .../job_95-144.json | 20 ++-- .../job_version_1-19.json | 10 +- .../job_version_20-24.json | 10 +- .../job_version_25-29.json | 10 +- .../job_version_30-34.json | 10 +- .../job_version_49-53.json | 10 +- .../job_version_54-58.json | 10 +- .../job_version_59-62.json | 8 +- .../message_14-26.json | 20 ++-- .../message_27-31.json | 20 ++-- .../message_32-34.json | 12 +- .../message_9-13.json | 20 ++-- .../pull_request_3-6.json | 8 +- .../repository_1-1.json | 4 +- .../request_11-15.json | 20 ++-- .../request_16-30.json | 20 ++-- .../request_31-35.json | 20 ++-- .../request_36-38.json | 20 ++-- .../request_payload_14-26.json | 10 +- .../request_payload_27-31.json | 10 +- .../request_payload_32-34.json | 6 +- .../request_payload_9-13.json | 10 +- .../ssl_key_3-4.json | 8 +- .../star_3-4.json | 8 +- .../tag_33-38.json | 8 +- .../abuse_14-26.json | 20 ++-- .../abuse_27-31.json | 20 ++-- .../abuse_32-52.json | 20 ++-- .../abuse_53-56.json | 16 +-- .../abuse_9-13.json | 20 ++-- .../branch_14-19.json | 8 +- .../broadcast_1-2.json | 8 +- .../build_1-59.json | 20 ++-- .../build_145-153.json | 20 ++-- .../build_155-165.json | 20 ++-- .../build_166-178.json | 20 ++-- .../build_228-282.json | 20 ++-- .../build_285-287.json | 8 +- .../build_61-71.json | 20 ++-- .../build_74-84.json | 20 ++-- .../build_86-142.json | 20 ++-- .../commit_18-18.json | 4 +- .../commit_7-17.json | 20 ++-- .../cron_2-2.json | 4 +- .../deleted_build_100-102.json | 12 +- .../deleted_build_17-21.json | 20 ++-- .../deleted_build_22-26.json | 20 ++-- .../deleted_build_27-47.json | 20 ++-- .../deleted_build_48-52.json | 20 ++-- .../deleted_build_53-57.json | 20 ++-- .../deleted_build_58-62.json | 20 ++-- .../deleted_build_63-99.json | 20 ++-- .../deleted_commit_14-14.json | 4 +- .../deleted_commit_5-13.json | 20 ++-- .../deleted_job_15-19.json | 20 ++-- .../deleted_job_20-24.json | 20 ++-- .../deleted_job_25-29.json | 20 ++-- .../deleted_job_44-48.json | 20 ++-- .../deleted_job_49-53.json | 20 ++-- .../deleted_job_54-58.json | 20 ++-- .../deleted_job_59-91.json | 20 ++-- .../deleted_job_92-94.json | 12 +- .../deleted_pull_request_1-2.json | 8 +- .../deleted_request_14-26.json | 20 ++-- .../deleted_request_27-31.json | 24 ++-- .../deleted_request_32-34.json | 16 +-- .../deleted_request_9-13.json | 20 ++-- .../deleted_request_payload_14-26.json | 10 +- .../deleted_request_payload_27-31.json | 10 +- .../deleted_request_payload_32-52.json | 10 +- .../deleted_request_payload_53-54.json | 4 +- .../deleted_request_payload_9-13.json | 10 +- .../deleted_ssl_key_1-2.json | 8 +- .../deleted_tag_3-4.json | 8 +- .../email_1-2.json | 8 +- .../email_unsubscribe_1-2.json | 8 +- .../invoice_1-4.json | 16 +-- .../job_146-154.json | 20 ++-- .../job_156-162.json | 20 ++-- .../job_164-171.json | 20 ++-- .../job_172-179.json | 20 ++-- .../job_180-184.json | 20 ++-- .../job_185-233.json | 20 ++-- .../job_2-6.json | 20 ++-- .../job_234-283.json | 20 ++-- .../job_284-290.json | 20 ++-- .../job_291-291.json | 4 +- .../job_57-63.json | 20 ++-- .../job_65-72.json | 20 ++-- .../job_7-56.json | 20 ++-- .../job_73-80.json | 20 ++-- .../job_82-88.json | 20 ++-- .../job_90-94.json | 20 ++-- .../job_95-144.json | 20 ++-- .../job_version_1-19.json | 10 +- .../job_version_20-24.json | 10 +- .../job_version_25-29.json | 10 +- .../job_version_30-34.json | 10 +- .../job_version_49-53.json | 10 +- .../job_version_54-58.json | 10 +- .../job_version_59-63.json | 10 +- .../job_version_64-96.json | 10 +- .../job_version_97-100.json | 8 +- .../message_14-26.json | 20 ++-- .../message_27-31.json | 20 ++-- .../message_32-52.json | 20 ++-- .../message_53-54.json | 8 +- .../message_9-13.json | 20 ++-- .../owner_group_1-2.json | 8 +- .../pull_request_3-6.json | 8 +- .../repository_1-72.json | 8 +- .../request_11-15.json | 20 ++-- .../request_16-30.json | 20 ++-- .../request_31-35.json | 20 ++-- .../request_36-60.json | 28 ++--- .../request_61-62.json | 8 +- .../request_payload_14-26.json | 10 +- .../request_payload_27-31.json | 10 +- .../request_payload_32-52.json | 10 +- .../request_payload_53-54.json | 4 +- .../request_payload_9-13.json | 10 +- .../ssl_key_3-4.json | 8 +- .../star_1-6.json | 16 +-- .../subscription_1-2.json | 8 +- .../tag_33-38.json | 8 +- .../token_1-2.json | 8 +- .../trial_1-2.json | 8 +- .../trial_allowance_1-5.json | 20 ++-- .../trial_allowance_6-6.json | 4 +- .../user_1-1.json | 4 +- spec/support/factories/request_yaml_config.rb | 4 +- 293 files changed, 2433 insertions(+), 2403 deletions(-) diff --git a/spec/support/expected_dependency_trees/remove_org_with_dependencies.rb b/spec/support/expected_dependency_trees/remove_org_with_dependencies.rb index f3b432e..7cb98d8 100644 --- a/spec/support/expected_dependency_trees/remove_org_with_dependencies.rb +++ b/spec/support/expected_dependency_trees/remove_org_with_dependencies.rb @@ -2803,7 +2803,61 @@ def self.remove_org_with_dependencies "id 32, removed" ] }, - "id 36, removed", + "id 36, removed" + ], + "deleted_request": [ + "id 29, removed", + "id 30, removed" + ] + }, + "id 2, removed" + ], + "job_config": [ + { + "_": "id 1, removed", + "job": [ + { + "_": "id 171, removed", + "queueable_job": [ + "id 59, removed", + "id 60, removed" + ], + "job_version": [ + "id 59, removed", + "id 60, removed" + ] + }, + "id 172, removed" + ], + "deleted_job": [ + "id 55, removed", + "id 56, removed" + ] + }, + "id 2, removed" + ], + "request_raw_config": [ + { + "_": "id 1, removed", + "request_raw_configuration": [ + "id 33, removed", + "id 34, removed" + ], + "deleted_request_raw_configuration": [ + "id 33, removed", + "id 34, removed" + ] + }, + "id 2, removed" + ], + "repo_count": [ + "id 1, removed", + "id 1, removed, duplicate" + ], + "request_yaml_config": [ + { + "_": "id 1, removed", + "request": [ { "_": "id 37, removed", "abuse": [ @@ -2878,60 +2932,12 @@ def self.remove_org_with_dependencies "id 38, removed" ], "deleted_request": [ - "id 29, removed", - "id 30, removed", "id 31, removed", "id 32, removed" ] }, "id 2, removed" ], - "job_config": [ - { - "_": "id 1, removed", - "job": [ - { - "_": "id 171, removed", - "queueable_job": [ - "id 59, removed", - "id 60, removed" - ], - "job_version": [ - "id 59, removed", - "id 60, removed" - ] - }, - "id 172, removed" - ], - "deleted_job": [ - "id 55, removed", - "id 56, removed" - ] - }, - "id 2, removed" - ], - "request_raw_config": [ - { - "_": "id 1, removed", - "request_raw_configuration": [ - "id 33, removed", - "id 34, removed" - ], - "deleted_request_raw_configuration": [ - "id 33, removed", - "id 34, removed" - ] - }, - "id 2, removed" - ], - "repo_count": [ - "id 1, removed", - "id 1, removed, duplicate" - ], - "request_yaml_config": [ - "id 1, removed", - "id 2, removed" - ], "deleted_build": [ "id 65, removed", "id 66, removed" diff --git a/spec/support/expected_dependency_trees/remove_repo_builds.rb b/spec/support/expected_dependency_trees/remove_repo_builds.rb index 3584522..e2c69d7 100644 --- a/spec/support/expected_dependency_trees/remove_repo_builds.rb +++ b/spec/support/expected_dependency_trees/remove_repo_builds.rb @@ -2282,7 +2282,61 @@ def self.remove_repo_builds "id 32, present" ] }, - "id 36, present", + "id 36, present" + ], + "deleted_request": [ + "id 29, present", + "id 30, present" + ] + }, + "id 2, present" + ], + "job_config": [ + { + "_": "id 1, present", + "job": [ + { + "_": "id 171, present", + "queueable_job": [ + "id 59, present", + "id 60, present" + ], + "job_version": [ + "id 59, present", + "id 60, present" + ] + }, + "id 172, present" + ], + "deleted_job": [ + "id 55, present", + "id 56, present" + ] + }, + "id 2, present" + ], + "request_raw_config": [ + { + "_": "id 1, present", + "request_raw_configuration": [ + "id 33, present", + "id 34, present" + ], + "deleted_request_raw_configuration": [ + "id 33, present", + "id 34, present" + ] + }, + "id 2, present" + ], + "repo_count": [ + "id 1, present", + "id 1, present, duplicate" + ], + "request_yaml_config": [ + { + "_": "id 1, present", + "request": [ { "_": "id 37, present", "abuse": [ @@ -2357,60 +2411,12 @@ def self.remove_repo_builds "id 38, present" ], "deleted_request": [ - "id 29, present", - "id 30, present", "id 31, present", "id 32, present" ] }, "id 2, present" ], - "job_config": [ - { - "_": "id 1, present", - "job": [ - { - "_": "id 171, present", - "queueable_job": [ - "id 59, present", - "id 60, present" - ], - "job_version": [ - "id 59, present", - "id 60, present" - ] - }, - "id 172, present" - ], - "deleted_job": [ - "id 55, present", - "id 56, present" - ] - }, - "id 2, present" - ], - "request_raw_config": [ - { - "_": "id 1, present", - "request_raw_configuration": [ - "id 33, present", - "id 34, present" - ], - "deleted_request_raw_configuration": [ - "id 33, present", - "id 34, present" - ] - }, - "id 2, present" - ], - "repo_count": [ - "id 1, present", - "id 1, present, duplicate" - ], - "request_yaml_config": [ - "id 1, present", - "id 2, present" - ], "deleted_build": [ "id 65, present", "id 66, present" diff --git a/spec/support/expected_dependency_trees/remove_repo_requests.rb b/spec/support/expected_dependency_trees/remove_repo_requests.rb index 498ba84..4a6503c 100644 --- a/spec/support/expected_dependency_trees/remove_repo_requests.rb +++ b/spec/support/expected_dependency_trees/remove_repo_requests.rb @@ -2282,7 +2282,61 @@ def self.remove_repo_requests "id 32, present" ] }, - "id 36, present", + "id 36, present" + ], + "deleted_request": [ + "id 29, present", + "id 30, present" + ] + }, + "id 2, present" + ], + "job_config": [ + { + "_": "id 1, present", + "job": [ + { + "_": "id 171, present", + "queueable_job": [ + "id 59, present", + "id 60, present" + ], + "job_version": [ + "id 59, present", + "id 60, present" + ] + }, + "id 172, present" + ], + "deleted_job": [ + "id 55, present", + "id 56, present" + ] + }, + "id 2, present" + ], + "request_raw_config": [ + { + "_": "id 1, present", + "request_raw_configuration": [ + "id 33, present", + "id 34, present" + ], + "deleted_request_raw_configuration": [ + "id 33, present", + "id 34, present" + ] + }, + "id 2, present" + ], + "repo_count": [ + "id 1, present", + "id 1, present, duplicate" + ], + "request_yaml_config": [ + { + "_": "id 1, present", + "request": [ { "_": "id 37, present", "abuse": [ @@ -2357,60 +2411,12 @@ def self.remove_repo_requests "id 38, present" ], "deleted_request": [ - "id 29, present", - "id 30, present", "id 31, present", "id 32, present" ] }, "id 2, present" ], - "job_config": [ - { - "_": "id 1, present", - "job": [ - { - "_": "id 171, present", - "queueable_job": [ - "id 59, present", - "id 60, present" - ], - "job_version": [ - "id 59, present", - "id 60, present" - ] - }, - "id 172, present" - ], - "deleted_job": [ - "id 55, present", - "id 56, present" - ] - }, - "id 2, present" - ], - "request_raw_config": [ - { - "_": "id 1, present", - "request_raw_configuration": [ - "id 33, present", - "id 34, present" - ], - "deleted_request_raw_configuration": [ - "id 33, present", - "id 34, present" - ] - }, - "id 2, present" - ], - "repo_count": [ - "id 1, present", - "id 1, present, duplicate" - ], - "request_yaml_config": [ - "id 1, present", - "id 2, present" - ], "deleted_build": [ "id 65, present", "id 66, present" diff --git a/spec/support/expected_dependency_trees/remove_repo_with_dependencies.rb b/spec/support/expected_dependency_trees/remove_repo_with_dependencies.rb index a4ae77a..68b3d88 100644 --- a/spec/support/expected_dependency_trees/remove_repo_with_dependencies.rb +++ b/spec/support/expected_dependency_trees/remove_repo_with_dependencies.rb @@ -2178,7 +2178,61 @@ def self.remove_repo_with_dependencies "id 32, removed" ] }, - "id 36, removed", + "id 36, removed" + ], + "deleted_request": [ + "id 29, removed", + "id 30, removed" + ] + }, + "id 2, removed" + ], + "job_config": [ + { + "_": "id 1, removed", + "job": [ + { + "_": "id 171, removed", + "queueable_job": [ + "id 59, removed", + "id 60, removed" + ], + "job_version": [ + "id 59, removed", + "id 60, removed" + ] + }, + "id 172, removed" + ], + "deleted_job": [ + "id 55, removed", + "id 56, removed" + ] + }, + "id 2, removed" + ], + "request_raw_config": [ + { + "_": "id 1, removed", + "request_raw_configuration": [ + "id 33, removed", + "id 34, removed" + ], + "deleted_request_raw_configuration": [ + "id 33, removed", + "id 34, removed" + ] + }, + "id 2, removed" + ], + "repo_count": [ + "id 1, present", + "id 1, present, duplicate" + ], + "request_yaml_config": [ + { + "_": "id 1, removed", + "request": [ { "_": "id 37, removed", "abuse": [ @@ -2253,60 +2307,12 @@ def self.remove_repo_with_dependencies "id 38, removed" ], "deleted_request": [ - "id 29, removed", - "id 30, removed", "id 31, removed", "id 32, removed" ] }, "id 2, removed" ], - "job_config": [ - { - "_": "id 1, removed", - "job": [ - { - "_": "id 171, removed", - "queueable_job": [ - "id 59, removed", - "id 60, removed" - ], - "job_version": [ - "id 59, removed", - "id 60, removed" - ] - }, - "id 172, removed" - ], - "deleted_job": [ - "id 55, removed", - "id 56, removed" - ] - }, - "id 2, removed" - ], - "request_raw_config": [ - { - "_": "id 1, removed", - "request_raw_configuration": [ - "id 33, removed", - "id 34, removed" - ], - "deleted_request_raw_configuration": [ - "id 33, removed", - "id 34, removed" - ] - }, - "id 2, removed" - ], - "repo_count": [ - "id 1, present", - "id 1, present, duplicate" - ], - "request_yaml_config": [ - "id 1, removed", - "id 2, removed" - ], "deleted_build": [ "id 65, removed", "id 66, removed" diff --git a/spec/support/expected_dependency_trees/remove_user_with_dependencies.rb b/spec/support/expected_dependency_trees/remove_user_with_dependencies.rb index 2e0c72e..985ec9f 100644 --- a/spec/support/expected_dependency_trees/remove_user_with_dependencies.rb +++ b/spec/support/expected_dependency_trees/remove_user_with_dependencies.rb @@ -2803,7 +2803,61 @@ def self.remove_user_with_dependencies "id 32, removed" ] }, - "id 36, removed", + "id 36, removed" + ], + "deleted_request": [ + "id 29, removed", + "id 30, removed" + ] + }, + "id 2, removed" + ], + "job_config": [ + { + "_": "id 1, removed", + "job": [ + { + "_": "id 171, removed", + "queueable_job": [ + "id 59, removed", + "id 60, removed" + ], + "job_version": [ + "id 59, removed", + "id 60, removed" + ] + }, + "id 172, removed" + ], + "deleted_job": [ + "id 55, removed", + "id 56, removed" + ] + }, + "id 2, removed" + ], + "request_raw_config": [ + { + "_": "id 1, removed", + "request_raw_configuration": [ + "id 33, removed", + "id 34, removed" + ], + "deleted_request_raw_configuration": [ + "id 33, removed", + "id 34, removed" + ] + }, + "id 2, removed" + ], + "repo_count": [ + "id 1, removed", + "id 1, removed, duplicate" + ], + "request_yaml_config": [ + { + "_": "id 1, removed", + "request": [ { "_": "id 37, removed", "abuse": [ @@ -2878,60 +2932,12 @@ def self.remove_user_with_dependencies "id 38, removed" ], "deleted_request": [ - "id 29, removed", - "id 30, removed", "id 31, removed", "id 32, removed" ] }, "id 2, removed" ], - "job_config": [ - { - "_": "id 1, removed", - "job": [ - { - "_": "id 171, removed", - "queueable_job": [ - "id 59, removed", - "id 60, removed" - ], - "job_version": [ - "id 59, removed", - "id 60, removed" - ] - }, - "id 172, removed" - ], - "deleted_job": [ - "id 55, removed", - "id 56, removed" - ] - }, - "id 2, removed" - ], - "request_raw_config": [ - { - "_": "id 1, removed", - "request_raw_configuration": [ - "id 33, removed", - "id 34, removed" - ], - "deleted_request_raw_configuration": [ - "id 33, removed", - "id 34, removed" - ] - }, - "id 2, removed" - ], - "repo_count": [ - "id 1, removed", - "id 1, removed, duplicate" - ], - "request_yaml_config": [ - "id 1, removed", - "id 2, removed" - ], "deleted_build": [ "id 65, removed", "id 66, removed" diff --git a/spec/support/expected_files/remove_org_with_dependencies/abuse_14-26.json b/spec/support/expected_files/remove_org_with_dependencies/abuse_14-26.json index 026848c..7d7422f 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/abuse_14-26.json +++ b/spec/support/expected_files/remove_org_with_dependencies/abuse_14-26.json @@ -8,8 +8,8 @@ "request_id": 15, "level": 14, "reason": "some text", - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC" + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC" }, { "id": 15, @@ -18,8 +18,8 @@ "request_id": 17, "level": 15, "reason": "some text", - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC" + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC" }, { "id": 16, @@ -28,8 +28,8 @@ "request_id": 17, "level": 16, "reason": "some text", - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC" + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC" }, { "id": 25, @@ -38,8 +38,8 @@ "request_id": 29, "level": 25, "reason": "some text", - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC" + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC" }, { "id": 26, @@ -48,8 +48,8 @@ "request_id": 29, "level": 26, "reason": "some text", - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC" + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC" } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/abuse_27-31.json b/spec/support/expected_files/remove_org_with_dependencies/abuse_27-31.json index c2e6ab5..a2a6ae9 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/abuse_27-31.json +++ b/spec/support/expected_files/remove_org_with_dependencies/abuse_27-31.json @@ -8,8 +8,8 @@ "request_id": 31, "level": 27, "reason": "some text", - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC" + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC" }, { "id": 28, @@ -18,8 +18,8 @@ "request_id": 31, "level": 28, "reason": "some text", - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC" + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC" }, { "id": 29, @@ -28,8 +28,8 @@ "request_id": 33, "level": 29, "reason": "some text", - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC" + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC" }, { "id": 30, @@ -38,8 +38,8 @@ "request_id": 33, "level": 30, "reason": "some text", - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC" + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC" }, { "id": 31, @@ -48,8 +48,8 @@ "request_id": 35, "level": 31, "reason": "some text", - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC" + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC" } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/abuse_32-52.json b/spec/support/expected_files/remove_org_with_dependencies/abuse_32-52.json index 5348e3f..a896c9f 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/abuse_32-52.json +++ b/spec/support/expected_files/remove_org_with_dependencies/abuse_32-52.json @@ -8,8 +8,8 @@ "request_id": 35, "level": 32, "reason": "some text", - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC" + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC" }, { "id": 33, @@ -18,8 +18,8 @@ "request_id": 37, "level": 33, "reason": "some text", - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC" + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC" }, { "id": 34, @@ -28,8 +28,8 @@ "request_id": 37, "level": 34, "reason": "some text", - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC" + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC" }, { "id": 51, @@ -38,8 +38,8 @@ "request_id": 59, "level": 51, "reason": "some text", - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC" + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC" }, { "id": 52, @@ -48,8 +48,8 @@ "request_id": 59, "level": 52, "reason": "some text", - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC" + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC" } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/abuse_53-56.json b/spec/support/expected_files/remove_org_with_dependencies/abuse_53-56.json index a40c4e1..814e5ad 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/abuse_53-56.json +++ b/spec/support/expected_files/remove_org_with_dependencies/abuse_53-56.json @@ -8,8 +8,8 @@ "request_id": 61, "level": 53, "reason": "some text", - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC" + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC" }, { "id": 54, @@ -18,8 +18,8 @@ "request_id": 61, "level": 54, "reason": "some text", - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC" + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC" }, { "id": 55, @@ -28,8 +28,8 @@ "request_id": null, "level": 55, "reason": "some text", - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC" + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC" }, { "id": 56, @@ -38,8 +38,8 @@ "request_id": null, "level": 56, "reason": "some text", - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC" + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC" } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/abuse_9-13.json b/spec/support/expected_files/remove_org_with_dependencies/abuse_9-13.json index 1833700..d655dae 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/abuse_9-13.json +++ b/spec/support/expected_files/remove_org_with_dependencies/abuse_9-13.json @@ -8,8 +8,8 @@ "request_id": 11, "level": 9, "reason": "some text", - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC" + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC" }, { "id": 10, @@ -18,8 +18,8 @@ "request_id": 11, "level": 10, "reason": "some text", - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC" + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC" }, { "id": 11, @@ -28,8 +28,8 @@ "request_id": 13, "level": 11, "reason": "some text", - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC" + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC" }, { "id": 12, @@ -38,8 +38,8 @@ "request_id": 13, "level": 12, "reason": "some text", - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC" + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC" }, { "id": 13, @@ -48,8 +48,8 @@ "request_id": 15, "level": 13, "reason": "some text", - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC" + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC" } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/branch_14-19.json b/spec/support/expected_files/remove_org_with_dependencies/branch_14-19.json index 0cc488a..0be3e28 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/branch_14-19.json +++ b/spec/support/expected_files/remove_org_with_dependencies/branch_14-19.json @@ -7,8 +7,8 @@ "last_build_id": null, "name": "branch_14", "exists_on_github": true, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "org_id": null, "com_id": null }, @@ -18,8 +18,8 @@ "last_build_id": null, "name": "branch_19", "exists_on_github": true, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "org_id": null, "com_id": null } diff --git a/spec/support/expected_files/remove_org_with_dependencies/broadcast_1-2.json b/spec/support/expected_files/remove_org_with_dependencies/broadcast_1-2.json index 5f2e88d..203bc97 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/broadcast_1-2.json +++ b/spec/support/expected_files/remove_org_with_dependencies/broadcast_1-2.json @@ -8,8 +8,8 @@ "kind": null, "message": null, "expired": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "category": null }, { @@ -19,8 +19,8 @@ "kind": null, "message": null, "expired": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "category": null } ] diff --git a/spec/support/expected_files/remove_org_with_dependencies/build_1-59.json b/spec/support/expected_files/remove_org_with_dependencies/build_1-59.json index d95d6da..34cf3fe 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/build_1-59.json +++ b/spec/support/expected_files/remove_org_with_dependencies/build_1-59.json @@ -14,8 +14,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "ref": null, "branch": null, "github_payload": null, @@ -59,8 +59,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "ref": null, "branch": null, "github_payload": null, @@ -104,8 +104,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "ref": null, "branch": null, "github_payload": null, @@ -149,8 +149,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "ref": null, "branch": null, "github_payload": null, @@ -194,8 +194,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "ref": null, "branch": null, "github_payload": null, diff --git a/spec/support/expected_files/remove_org_with_dependencies/build_145-153.json b/spec/support/expected_files/remove_org_with_dependencies/build_145-153.json index 4e3224f..937fa56 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/build_145-153.json +++ b/spec/support/expected_files/remove_org_with_dependencies/build_145-153.json @@ -14,8 +14,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "ref": null, "branch": null, "github_payload": null, @@ -59,8 +59,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "ref": null, "branch": null, "github_payload": null, @@ -104,8 +104,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "ref": null, "branch": null, "github_payload": null, @@ -149,8 +149,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "ref": null, "branch": null, "github_payload": null, @@ -194,8 +194,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "ref": null, "branch": null, "github_payload": null, diff --git a/spec/support/expected_files/remove_org_with_dependencies/build_155-165.json b/spec/support/expected_files/remove_org_with_dependencies/build_155-165.json index 3663d98..10793a2 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/build_155-165.json +++ b/spec/support/expected_files/remove_org_with_dependencies/build_155-165.json @@ -14,8 +14,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "ref": null, "branch": null, "github_payload": null, @@ -59,8 +59,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "ref": null, "branch": null, "github_payload": null, @@ -104,8 +104,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "ref": null, "branch": null, "github_payload": null, @@ -149,8 +149,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "ref": null, "branch": null, "github_payload": null, @@ -194,8 +194,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "ref": null, "branch": null, "github_payload": null, diff --git a/spec/support/expected_files/remove_org_with_dependencies/build_166-178.json b/spec/support/expected_files/remove_org_with_dependencies/build_166-178.json index 954d37f..1cad526 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/build_166-178.json +++ b/spec/support/expected_files/remove_org_with_dependencies/build_166-178.json @@ -14,8 +14,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "ref": null, "branch": null, "github_payload": null, @@ -59,8 +59,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "ref": null, "branch": null, "github_payload": null, @@ -104,8 +104,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "ref": null, "branch": null, "github_payload": null, @@ -149,8 +149,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "ref": null, "branch": null, "github_payload": null, @@ -194,8 +194,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "ref": null, "branch": null, "github_payload": null, diff --git a/spec/support/expected_files/remove_org_with_dependencies/build_228-282.json b/spec/support/expected_files/remove_org_with_dependencies/build_228-282.json index 040060a..f1c9b7c 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/build_228-282.json +++ b/spec/support/expected_files/remove_org_with_dependencies/build_228-282.json @@ -14,8 +14,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "ref": null, "branch": null, "github_payload": null, @@ -59,8 +59,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "ref": null, "branch": null, "github_payload": null, @@ -104,8 +104,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "ref": null, "branch": null, "github_payload": null, @@ -149,8 +149,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "ref": null, "branch": null, "github_payload": null, @@ -194,8 +194,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "ref": null, "branch": null, "github_payload": null, diff --git a/spec/support/expected_files/remove_org_with_dependencies/build_285-287.json b/spec/support/expected_files/remove_org_with_dependencies/build_285-287.json index ba8ac2f..775c388 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/build_285-287.json +++ b/spec/support/expected_files/remove_org_with_dependencies/build_285-287.json @@ -14,8 +14,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "ref": null, "branch": null, "github_payload": null, @@ -59,8 +59,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "ref": null, "branch": null, "github_payload": null, diff --git a/spec/support/expected_files/remove_org_with_dependencies/build_61-71.json b/spec/support/expected_files/remove_org_with_dependencies/build_61-71.json index 8953ab7..d087c7e 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/build_61-71.json +++ b/spec/support/expected_files/remove_org_with_dependencies/build_61-71.json @@ -14,8 +14,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "ref": null, "branch": null, "github_payload": null, @@ -59,8 +59,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "ref": null, "branch": null, "github_payload": null, @@ -104,8 +104,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "ref": null, "branch": null, "github_payload": null, @@ -149,8 +149,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "ref": null, "branch": null, "github_payload": null, @@ -194,8 +194,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "ref": null, "branch": null, "github_payload": null, diff --git a/spec/support/expected_files/remove_org_with_dependencies/build_74-84.json b/spec/support/expected_files/remove_org_with_dependencies/build_74-84.json index 6922153..646277f 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/build_74-84.json +++ b/spec/support/expected_files/remove_org_with_dependencies/build_74-84.json @@ -14,8 +14,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "ref": null, "branch": null, "github_payload": null, @@ -59,8 +59,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "ref": null, "branch": null, "github_payload": null, @@ -104,8 +104,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "ref": null, "branch": null, "github_payload": null, @@ -149,8 +149,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "ref": null, "branch": null, "github_payload": null, @@ -194,8 +194,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "ref": null, "branch": null, "github_payload": null, diff --git a/spec/support/expected_files/remove_org_with_dependencies/build_86-142.json b/spec/support/expected_files/remove_org_with_dependencies/build_86-142.json index 0777864..5ec9ca6 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/build_86-142.json +++ b/spec/support/expected_files/remove_org_with_dependencies/build_86-142.json @@ -14,8 +14,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "ref": null, "branch": null, "github_payload": null, @@ -59,8 +59,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "ref": null, "branch": null, "github_payload": null, @@ -104,8 +104,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "ref": null, "branch": null, "github_payload": null, @@ -149,8 +149,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "ref": null, "branch": null, "github_payload": null, @@ -194,8 +194,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "ref": null, "branch": null, "github_payload": null, diff --git a/spec/support/expected_files/remove_org_with_dependencies/commit_18-18.json b/spec/support/expected_files/remove_org_with_dependencies/commit_18-18.json index ca3b442..884c841 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/commit_18-18.json +++ b/spec/support/expected_files/remove_org_with_dependencies/commit_18-18.json @@ -14,8 +14,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "branch_id": null, "tag_id": 33, "org_id": null, diff --git a/spec/support/expected_files/remove_org_with_dependencies/commit_7-17.json b/spec/support/expected_files/remove_org_with_dependencies/commit_7-17.json index f67e189..5b3a1f0 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/commit_7-17.json +++ b/spec/support/expected_files/remove_org_with_dependencies/commit_7-17.json @@ -14,8 +14,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "branch_id": 14, "tag_id": null, "org_id": null, @@ -34,8 +34,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "branch_id": 14, "tag_id": null, "org_id": null, @@ -54,8 +54,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "branch_id": null, "tag_id": null, "org_id": null, @@ -74,8 +74,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "branch_id": null, "tag_id": null, "org_id": null, @@ -94,8 +94,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "branch_id": null, "tag_id": 33, "org_id": null, diff --git a/spec/support/expected_files/remove_org_with_dependencies/cron_2-2.json b/spec/support/expected_files/remove_org_with_dependencies/cron_2-2.json index 5fb1180..cf93f03 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/cron_2-2.json +++ b/spec/support/expected_files/remove_org_with_dependencies/cron_2-2.json @@ -5,8 +5,8 @@ "id": 2, "branch_id": 14, "interval": "test", - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "next_run": null, "last_run": null, "dont_run_if_recent_build_exists": false, diff --git a/spec/support/expected_files/remove_org_with_dependencies/deleted_build_100-102.json b/spec/support/expected_files/remove_org_with_dependencies/deleted_build_100-102.json index a06d13c..978c9cc 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/deleted_build_100-102.json +++ b/spec/support/expected_files/remove_org_with_dependencies/deleted_build_100-102.json @@ -14,8 +14,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "ref": null, "branch": null, "github_payload": null, @@ -59,8 +59,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "ref": null, "branch": null, "github_payload": null, @@ -104,8 +104,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "ref": null, "branch": null, "github_payload": null, diff --git a/spec/support/expected_files/remove_org_with_dependencies/deleted_build_17-21.json b/spec/support/expected_files/remove_org_with_dependencies/deleted_build_17-21.json index 5f39f72..d42207c 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/deleted_build_17-21.json +++ b/spec/support/expected_files/remove_org_with_dependencies/deleted_build_17-21.json @@ -14,8 +14,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "ref": null, "branch": null, "github_payload": null, @@ -59,8 +59,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "ref": null, "branch": null, "github_payload": null, @@ -104,8 +104,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "ref": null, "branch": null, "github_payload": null, @@ -149,8 +149,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "ref": null, "branch": null, "github_payload": null, @@ -194,8 +194,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "ref": null, "branch": null, "github_payload": null, diff --git a/spec/support/expected_files/remove_org_with_dependencies/deleted_build_22-26.json b/spec/support/expected_files/remove_org_with_dependencies/deleted_build_22-26.json index 3a3f8e6..7f787ed 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/deleted_build_22-26.json +++ b/spec/support/expected_files/remove_org_with_dependencies/deleted_build_22-26.json @@ -14,8 +14,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "ref": null, "branch": null, "github_payload": null, @@ -59,8 +59,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "ref": null, "branch": null, "github_payload": null, @@ -104,8 +104,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "ref": null, "branch": null, "github_payload": null, @@ -149,8 +149,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "ref": null, "branch": null, "github_payload": null, @@ -194,8 +194,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "ref": null, "branch": null, "github_payload": null, diff --git a/spec/support/expected_files/remove_org_with_dependencies/deleted_build_27-47.json b/spec/support/expected_files/remove_org_with_dependencies/deleted_build_27-47.json index 77ca9c3..07fce25 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/deleted_build_27-47.json +++ b/spec/support/expected_files/remove_org_with_dependencies/deleted_build_27-47.json @@ -14,8 +14,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "ref": null, "branch": null, "github_payload": null, @@ -59,8 +59,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "ref": null, "branch": null, "github_payload": null, @@ -104,8 +104,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "ref": null, "branch": null, "github_payload": null, @@ -149,8 +149,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "ref": null, "branch": null, "github_payload": null, @@ -194,8 +194,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "ref": null, "branch": null, "github_payload": null, diff --git a/spec/support/expected_files/remove_org_with_dependencies/deleted_build_48-52.json b/spec/support/expected_files/remove_org_with_dependencies/deleted_build_48-52.json index 86d6a1d..22afd8f 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/deleted_build_48-52.json +++ b/spec/support/expected_files/remove_org_with_dependencies/deleted_build_48-52.json @@ -14,8 +14,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "ref": null, "branch": null, "github_payload": null, @@ -59,8 +59,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "ref": null, "branch": null, "github_payload": null, @@ -104,8 +104,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "ref": null, "branch": null, "github_payload": null, @@ -149,8 +149,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "ref": null, "branch": null, "github_payload": null, @@ -194,8 +194,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "ref": null, "branch": null, "github_payload": null, diff --git a/spec/support/expected_files/remove_org_with_dependencies/deleted_build_53-57.json b/spec/support/expected_files/remove_org_with_dependencies/deleted_build_53-57.json index 9cb0385..149a6d1 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/deleted_build_53-57.json +++ b/spec/support/expected_files/remove_org_with_dependencies/deleted_build_53-57.json @@ -14,8 +14,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "ref": null, "branch": null, "github_payload": null, @@ -59,8 +59,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "ref": null, "branch": null, "github_payload": null, @@ -104,8 +104,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "ref": null, "branch": null, "github_payload": null, @@ -149,8 +149,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "ref": null, "branch": null, "github_payload": null, @@ -194,8 +194,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "ref": null, "branch": null, "github_payload": null, diff --git a/spec/support/expected_files/remove_org_with_dependencies/deleted_build_58-62.json b/spec/support/expected_files/remove_org_with_dependencies/deleted_build_58-62.json index 04c226e..9a2dbc3 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/deleted_build_58-62.json +++ b/spec/support/expected_files/remove_org_with_dependencies/deleted_build_58-62.json @@ -14,8 +14,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "ref": null, "branch": null, "github_payload": null, @@ -59,8 +59,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "ref": null, "branch": null, "github_payload": null, @@ -104,8 +104,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "ref": null, "branch": null, "github_payload": null, @@ -149,8 +149,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "ref": null, "branch": null, "github_payload": null, @@ -194,8 +194,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "ref": null, "branch": null, "github_payload": null, diff --git a/spec/support/expected_files/remove_org_with_dependencies/deleted_build_63-99.json b/spec/support/expected_files/remove_org_with_dependencies/deleted_build_63-99.json index 93dc568..c6851ac 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/deleted_build_63-99.json +++ b/spec/support/expected_files/remove_org_with_dependencies/deleted_build_63-99.json @@ -14,8 +14,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "ref": null, "branch": null, "github_payload": null, @@ -59,8 +59,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "ref": null, "branch": null, "github_payload": null, @@ -104,8 +104,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "ref": null, "branch": null, "github_payload": null, @@ -149,8 +149,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "ref": null, "branch": null, "github_payload": null, @@ -194,8 +194,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "ref": null, "branch": null, "github_payload": null, diff --git a/spec/support/expected_files/remove_org_with_dependencies/deleted_commit_14-14.json b/spec/support/expected_files/remove_org_with_dependencies/deleted_commit_14-14.json index 38d91ae..d03b166 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/deleted_commit_14-14.json +++ b/spec/support/expected_files/remove_org_with_dependencies/deleted_commit_14-14.json @@ -14,8 +14,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "branch_id": null, "tag_id": null, "org_id": null, diff --git a/spec/support/expected_files/remove_org_with_dependencies/deleted_commit_5-13.json b/spec/support/expected_files/remove_org_with_dependencies/deleted_commit_5-13.json index 45aa382..bccaf2b 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/deleted_commit_5-13.json +++ b/spec/support/expected_files/remove_org_with_dependencies/deleted_commit_5-13.json @@ -14,8 +14,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "branch_id": 14, "tag_id": null, "org_id": null, @@ -34,8 +34,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "branch_id": 14, "tag_id": null, "org_id": null, @@ -54,8 +54,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "branch_id": null, "tag_id": 33, "org_id": null, @@ -74,8 +74,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "branch_id": null, "tag_id": 33, "org_id": null, @@ -94,8 +94,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "branch_id": null, "tag_id": null, "org_id": null, diff --git a/spec/support/expected_files/remove_org_with_dependencies/deleted_job_15-19.json b/spec/support/expected_files/remove_org_with_dependencies/deleted_job_15-19.json index 4f7eb6b..4a6a472 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/deleted_job_15-19.json +++ b/spec/support/expected_files/remove_org_with_dependencies/deleted_job_15-19.json @@ -15,8 +15,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "tags": null, "allow_failure": null, "owner_type": null, @@ -49,8 +49,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "tags": null, "allow_failure": null, "owner_type": null, @@ -83,8 +83,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "tags": null, "allow_failure": null, "owner_type": null, @@ -117,8 +117,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "tags": null, "allow_failure": null, "owner_type": null, @@ -151,8 +151,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "tags": null, "allow_failure": null, "owner_type": null, diff --git a/spec/support/expected_files/remove_org_with_dependencies/deleted_job_20-24.json b/spec/support/expected_files/remove_org_with_dependencies/deleted_job_20-24.json index 0bd188e..97d128c 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/deleted_job_20-24.json +++ b/spec/support/expected_files/remove_org_with_dependencies/deleted_job_20-24.json @@ -15,8 +15,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "tags": null, "allow_failure": null, "owner_type": null, @@ -49,8 +49,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "tags": null, "allow_failure": null, "owner_type": null, @@ -83,8 +83,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "tags": null, "allow_failure": null, "owner_type": null, @@ -117,8 +117,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "tags": null, "allow_failure": null, "owner_type": null, @@ -151,8 +151,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "tags": null, "allow_failure": null, "owner_type": null, diff --git a/spec/support/expected_files/remove_org_with_dependencies/deleted_job_25-29.json b/spec/support/expected_files/remove_org_with_dependencies/deleted_job_25-29.json index ab78b28..1f1c345 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/deleted_job_25-29.json +++ b/spec/support/expected_files/remove_org_with_dependencies/deleted_job_25-29.json @@ -15,8 +15,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "tags": null, "allow_failure": null, "owner_type": null, @@ -49,8 +49,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "tags": null, "allow_failure": null, "owner_type": null, @@ -83,8 +83,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "tags": null, "allow_failure": null, "owner_type": null, @@ -117,8 +117,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "tags": null, "allow_failure": null, "owner_type": null, @@ -151,8 +151,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "tags": null, "allow_failure": null, "owner_type": null, diff --git a/spec/support/expected_files/remove_org_with_dependencies/deleted_job_44-48.json b/spec/support/expected_files/remove_org_with_dependencies/deleted_job_44-48.json index c4d5b48..380bbc8 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/deleted_job_44-48.json +++ b/spec/support/expected_files/remove_org_with_dependencies/deleted_job_44-48.json @@ -15,8 +15,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "tags": null, "allow_failure": null, "owner_type": null, @@ -49,8 +49,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "tags": null, "allow_failure": null, "owner_type": null, @@ -83,8 +83,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "tags": null, "allow_failure": null, "owner_type": null, @@ -117,8 +117,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "tags": null, "allow_failure": null, "owner_type": null, @@ -151,8 +151,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "tags": null, "allow_failure": null, "owner_type": null, diff --git a/spec/support/expected_files/remove_org_with_dependencies/deleted_job_49-53.json b/spec/support/expected_files/remove_org_with_dependencies/deleted_job_49-53.json index 8162f82..2fe17bc 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/deleted_job_49-53.json +++ b/spec/support/expected_files/remove_org_with_dependencies/deleted_job_49-53.json @@ -15,8 +15,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "tags": null, "allow_failure": null, "owner_type": null, @@ -49,8 +49,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "tags": null, "allow_failure": null, "owner_type": null, @@ -83,8 +83,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "tags": null, "allow_failure": null, "owner_type": null, @@ -117,8 +117,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "tags": null, "allow_failure": null, "owner_type": null, @@ -151,8 +151,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "tags": null, "allow_failure": null, "owner_type": null, diff --git a/spec/support/expected_files/remove_org_with_dependencies/deleted_job_54-58.json b/spec/support/expected_files/remove_org_with_dependencies/deleted_job_54-58.json index 0431853..3d2b92a 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/deleted_job_54-58.json +++ b/spec/support/expected_files/remove_org_with_dependencies/deleted_job_54-58.json @@ -15,8 +15,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "tags": null, "allow_failure": null, "owner_type": null, @@ -49,8 +49,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "tags": null, "allow_failure": null, "owner_type": null, @@ -83,8 +83,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "tags": null, "allow_failure": null, "owner_type": null, @@ -117,8 +117,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "tags": null, "allow_failure": null, "owner_type": null, @@ -151,8 +151,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "tags": null, "allow_failure": null, "owner_type": null, diff --git a/spec/support/expected_files/remove_org_with_dependencies/deleted_job_59-91.json b/spec/support/expected_files/remove_org_with_dependencies/deleted_job_59-91.json index f94d38b..6c64262 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/deleted_job_59-91.json +++ b/spec/support/expected_files/remove_org_with_dependencies/deleted_job_59-91.json @@ -15,8 +15,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "tags": null, "allow_failure": null, "owner_type": null, @@ -49,8 +49,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "tags": null, "allow_failure": null, "owner_type": null, @@ -83,8 +83,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "tags": null, "allow_failure": null, "owner_type": null, @@ -117,8 +117,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "tags": null, "allow_failure": null, "owner_type": null, @@ -151,8 +151,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "tags": null, "allow_failure": null, "owner_type": null, diff --git a/spec/support/expected_files/remove_org_with_dependencies/deleted_job_92-94.json b/spec/support/expected_files/remove_org_with_dependencies/deleted_job_92-94.json index 31a23ae..4e90baa 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/deleted_job_92-94.json +++ b/spec/support/expected_files/remove_org_with_dependencies/deleted_job_92-94.json @@ -15,8 +15,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "tags": null, "allow_failure": null, "owner_type": null, @@ -49,8 +49,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "tags": null, "allow_failure": null, "owner_type": null, @@ -83,8 +83,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "tags": null, "allow_failure": null, "owner_type": null, diff --git a/spec/support/expected_files/remove_org_with_dependencies/deleted_pull_request_1-2.json b/spec/support/expected_files/remove_org_with_dependencies/deleted_pull_request_1-2.json index 42ad603..e274117 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/deleted_pull_request_1-2.json +++ b/spec/support/expected_files/remove_org_with_dependencies/deleted_pull_request_1-2.json @@ -10,8 +10,8 @@ "head_repo_github_id": null, "head_repo_slug": null, "head_ref": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "org_id": null, "com_id": null, "mergeable_state": null, @@ -29,8 +29,8 @@ "head_repo_github_id": null, "head_repo_slug": null, "head_ref": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "org_id": null, "com_id": null, "mergeable_state": null, diff --git a/spec/support/expected_files/remove_org_with_dependencies/deleted_request_14-26.json b/spec/support/expected_files/remove_org_with_dependencies/deleted_request_14-26.json index f8e7fbc..a77aa4c 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/deleted_request_14-26.json +++ b/spec/support/expected_files/remove_org_with_dependencies/deleted_request_14-26.json @@ -10,8 +10,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "event_type": null, "comments_url": null, "base_commit": null, @@ -42,8 +42,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "event_type": null, "comments_url": null, "base_commit": null, @@ -74,8 +74,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "event_type": null, "comments_url": null, "base_commit": null, @@ -106,8 +106,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "event_type": null, "comments_url": null, "base_commit": null, @@ -138,8 +138,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "event_type": null, "comments_url": null, "base_commit": null, diff --git a/spec/support/expected_files/remove_org_with_dependencies/deleted_request_27-31.json b/spec/support/expected_files/remove_org_with_dependencies/deleted_request_27-31.json index a906f6c..10a56be 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/deleted_request_27-31.json +++ b/spec/support/expected_files/remove_org_with_dependencies/deleted_request_27-31.json @@ -10,8 +10,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "event_type": null, "comments_url": null, "base_commit": null, @@ -42,8 +42,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "event_type": null, "comments_url": null, "base_commit": null, @@ -74,8 +74,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "event_type": null, "comments_url": null, "base_commit": null, @@ -106,8 +106,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "event_type": null, "comments_url": null, "base_commit": null, @@ -138,8 +138,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "event_type": null, "comments_url": null, "base_commit": null, @@ -156,8 +156,8 @@ "sender_id": null, "org_id": null, "com_id": null, - "config_id": 1, - "yaml_config_id": null, + "config_id": null, + "yaml_config_id": 1, "github_guid": null, "pull_request_mergeable": null } diff --git a/spec/support/expected_files/remove_org_with_dependencies/deleted_request_32-34.json b/spec/support/expected_files/remove_org_with_dependencies/deleted_request_32-34.json index 658b930..1898e80 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/deleted_request_32-34.json +++ b/spec/support/expected_files/remove_org_with_dependencies/deleted_request_32-34.json @@ -10,8 +10,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "event_type": null, "comments_url": null, "base_commit": null, @@ -28,8 +28,8 @@ "sender_id": null, "org_id": null, "com_id": null, - "config_id": 1, - "yaml_config_id": null, + "config_id": null, + "yaml_config_id": 1, "github_guid": null, "pull_request_mergeable": null }, @@ -42,8 +42,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "event_type": null, "comments_url": null, "base_commit": null, @@ -74,8 +74,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "event_type": null, "comments_url": null, "base_commit": null, diff --git a/spec/support/expected_files/remove_org_with_dependencies/deleted_request_9-13.json b/spec/support/expected_files/remove_org_with_dependencies/deleted_request_9-13.json index 9b1173d..df1aa24 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/deleted_request_9-13.json +++ b/spec/support/expected_files/remove_org_with_dependencies/deleted_request_9-13.json @@ -10,8 +10,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "event_type": null, "comments_url": null, "base_commit": null, @@ -42,8 +42,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "event_type": null, "comments_url": null, "base_commit": null, @@ -74,8 +74,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "event_type": null, "comments_url": null, "base_commit": null, @@ -106,8 +106,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "event_type": null, "comments_url": null, "base_commit": null, @@ -138,8 +138,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "event_type": null, "comments_url": null, "base_commit": null, diff --git a/spec/support/expected_files/remove_org_with_dependencies/deleted_request_payload_14-26.json b/spec/support/expected_files/remove_org_with_dependencies/deleted_request_payload_14-26.json index f2f7c57..f6f2cb4 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/deleted_request_payload_14-26.json +++ b/spec/support/expected_files/remove_org_with_dependencies/deleted_request_payload_14-26.json @@ -6,7 +6,7 @@ "request_id": 15, "payload": null, "archived": null, - "created_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", "org_id": null }, { @@ -14,7 +14,7 @@ "request_id": 17, "payload": null, "archived": null, - "created_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", "org_id": null }, { @@ -22,7 +22,7 @@ "request_id": 17, "payload": null, "archived": null, - "created_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", "org_id": null }, { @@ -30,7 +30,7 @@ "request_id": 29, "payload": null, "archived": null, - "created_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", "org_id": null }, { @@ -38,7 +38,7 @@ "request_id": 29, "payload": null, "archived": null, - "created_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", "org_id": null } ] diff --git a/spec/support/expected_files/remove_org_with_dependencies/deleted_request_payload_27-31.json b/spec/support/expected_files/remove_org_with_dependencies/deleted_request_payload_27-31.json index 4575160..aead945 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/deleted_request_payload_27-31.json +++ b/spec/support/expected_files/remove_org_with_dependencies/deleted_request_payload_27-31.json @@ -6,7 +6,7 @@ "request_id": 31, "payload": null, "archived": null, - "created_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", "org_id": null }, { @@ -14,7 +14,7 @@ "request_id": 31, "payload": null, "archived": null, - "created_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", "org_id": null }, { @@ -22,7 +22,7 @@ "request_id": 33, "payload": null, "archived": null, - "created_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", "org_id": null }, { @@ -30,7 +30,7 @@ "request_id": 33, "payload": null, "archived": null, - "created_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", "org_id": null }, { @@ -38,7 +38,7 @@ "request_id": 35, "payload": null, "archived": null, - "created_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", "org_id": null } ] diff --git a/spec/support/expected_files/remove_org_with_dependencies/deleted_request_payload_32-52.json b/spec/support/expected_files/remove_org_with_dependencies/deleted_request_payload_32-52.json index 98af45d..b9ed4de 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/deleted_request_payload_32-52.json +++ b/spec/support/expected_files/remove_org_with_dependencies/deleted_request_payload_32-52.json @@ -6,7 +6,7 @@ "request_id": 35, "payload": null, "archived": null, - "created_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", "org_id": null }, { @@ -14,7 +14,7 @@ "request_id": 37, "payload": null, "archived": null, - "created_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", "org_id": null }, { @@ -22,7 +22,7 @@ "request_id": 37, "payload": null, "archived": null, - "created_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", "org_id": null }, { @@ -30,7 +30,7 @@ "request_id": 59, "payload": null, "archived": null, - "created_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", "org_id": null }, { @@ -38,7 +38,7 @@ "request_id": 59, "payload": null, "archived": null, - "created_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", "org_id": null } ] diff --git a/spec/support/expected_files/remove_org_with_dependencies/deleted_request_payload_53-54.json b/spec/support/expected_files/remove_org_with_dependencies/deleted_request_payload_53-54.json index 49ff03c..ad4fc35 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/deleted_request_payload_53-54.json +++ b/spec/support/expected_files/remove_org_with_dependencies/deleted_request_payload_53-54.json @@ -6,7 +6,7 @@ "request_id": 61, "payload": null, "archived": null, - "created_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", "org_id": null }, { @@ -14,7 +14,7 @@ "request_id": 61, "payload": null, "archived": null, - "created_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", "org_id": null } ] diff --git a/spec/support/expected_files/remove_org_with_dependencies/deleted_request_payload_9-13.json b/spec/support/expected_files/remove_org_with_dependencies/deleted_request_payload_9-13.json index d2dbdbb..7a26d0a 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/deleted_request_payload_9-13.json +++ b/spec/support/expected_files/remove_org_with_dependencies/deleted_request_payload_9-13.json @@ -6,7 +6,7 @@ "request_id": 11, "payload": null, "archived": null, - "created_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", "org_id": null }, { @@ -14,7 +14,7 @@ "request_id": 11, "payload": null, "archived": null, - "created_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", "org_id": null }, { @@ -22,7 +22,7 @@ "request_id": 13, "payload": null, "archived": null, - "created_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", "org_id": null }, { @@ -30,7 +30,7 @@ "request_id": 13, "payload": null, "archived": null, - "created_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", "org_id": null }, { @@ -38,7 +38,7 @@ "request_id": 15, "payload": null, "archived": null, - "created_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", "org_id": null } ] diff --git a/spec/support/expected_files/remove_org_with_dependencies/deleted_ssl_key_1-2.json b/spec/support/expected_files/remove_org_with_dependencies/deleted_ssl_key_1-2.json index 5c3e6de..6635139 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/deleted_ssl_key_1-2.json +++ b/spec/support/expected_files/remove_org_with_dependencies/deleted_ssl_key_1-2.json @@ -6,8 +6,8 @@ "repository_id": 1, "public_key": null, "private_key": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "org_id": null, "com_id": null }, @@ -16,8 +16,8 @@ "repository_id": 1, "public_key": null, "private_key": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "org_id": null, "com_id": null } diff --git a/spec/support/expected_files/remove_org_with_dependencies/deleted_tag_3-4.json b/spec/support/expected_files/remove_org_with_dependencies/deleted_tag_3-4.json index 1b4d923..e3cb7a8 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/deleted_tag_3-4.json +++ b/spec/support/expected_files/remove_org_with_dependencies/deleted_tag_3-4.json @@ -7,8 +7,8 @@ "name": null, "last_build_id": null, "exists_on_github": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "org_id": null, "com_id": null }, @@ -18,8 +18,8 @@ "name": null, "last_build_id": null, "exists_on_github": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "org_id": null, "com_id": null } diff --git a/spec/support/expected_files/remove_org_with_dependencies/email_unsubscribe_1-2.json b/spec/support/expected_files/remove_org_with_dependencies/email_unsubscribe_1-2.json index 913a996..15d58c0 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/email_unsubscribe_1-2.json +++ b/spec/support/expected_files/remove_org_with_dependencies/email_unsubscribe_1-2.json @@ -5,15 +5,15 @@ "id": 1, "user_id": null, "repository_id": 1, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC" + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC" }, { "id": 2, "user_id": null, "repository_id": 1, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC" + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC" } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/invoice_1-4.json b/spec/support/expected_files/remove_org_with_dependencies/invoice_1-4.json index f48847d..38eebe5 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/invoice_1-4.json +++ b/spec/support/expected_files/remove_org_with_dependencies/invoice_1-4.json @@ -4,8 +4,8 @@ { "id": 1, "object": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "subscription_id": 1, "invoice_id": null, "stripe_id": null, @@ -14,8 +14,8 @@ { "id": 2, "object": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "subscription_id": 1, "invoice_id": null, "stripe_id": null, @@ -24,8 +24,8 @@ { "id": 3, "object": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "subscription_id": 2, "invoice_id": null, "stripe_id": null, @@ -34,8 +34,8 @@ { "id": 4, "object": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "subscription_id": 2, "invoice_id": null, "stripe_id": null, diff --git a/spec/support/expected_files/remove_org_with_dependencies/job_146-154.json b/spec/support/expected_files/remove_org_with_dependencies/job_146-154.json index 1c19640..d8e13c4 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/job_146-154.json +++ b/spec/support/expected_files/remove_org_with_dependencies/job_146-154.json @@ -15,8 +15,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -49,8 +49,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -83,8 +83,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -117,8 +117,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -151,8 +151,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "tags": null, "allow_failure": false, "owner_type": null, diff --git a/spec/support/expected_files/remove_org_with_dependencies/job_156-162.json b/spec/support/expected_files/remove_org_with_dependencies/job_156-162.json index 4ff308b..f9e0283 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/job_156-162.json +++ b/spec/support/expected_files/remove_org_with_dependencies/job_156-162.json @@ -15,8 +15,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -49,8 +49,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -83,8 +83,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -117,8 +117,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -151,8 +151,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "tags": null, "allow_failure": false, "owner_type": null, diff --git a/spec/support/expected_files/remove_org_with_dependencies/job_164-171.json b/spec/support/expected_files/remove_org_with_dependencies/job_164-171.json index 9e8f9ff..8923046 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/job_164-171.json +++ b/spec/support/expected_files/remove_org_with_dependencies/job_164-171.json @@ -15,8 +15,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -49,8 +49,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -83,8 +83,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -117,8 +117,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -151,8 +151,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "tags": null, "allow_failure": false, "owner_type": null, diff --git a/spec/support/expected_files/remove_org_with_dependencies/job_172-179.json b/spec/support/expected_files/remove_org_with_dependencies/job_172-179.json index 72c2521..1f347d7 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/job_172-179.json +++ b/spec/support/expected_files/remove_org_with_dependencies/job_172-179.json @@ -15,8 +15,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -49,8 +49,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -83,8 +83,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -117,8 +117,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -151,8 +151,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "tags": null, "allow_failure": false, "owner_type": null, diff --git a/spec/support/expected_files/remove_org_with_dependencies/job_180-184.json b/spec/support/expected_files/remove_org_with_dependencies/job_180-184.json index a1ef5a5..f501eea 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/job_180-184.json +++ b/spec/support/expected_files/remove_org_with_dependencies/job_180-184.json @@ -15,8 +15,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -49,8 +49,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -83,8 +83,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -117,8 +117,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -151,8 +151,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "tags": null, "allow_failure": false, "owner_type": null, diff --git a/spec/support/expected_files/remove_org_with_dependencies/job_185-233.json b/spec/support/expected_files/remove_org_with_dependencies/job_185-233.json index d2eeeff..8864911 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/job_185-233.json +++ b/spec/support/expected_files/remove_org_with_dependencies/job_185-233.json @@ -15,8 +15,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -49,8 +49,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -83,8 +83,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -117,8 +117,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -151,8 +151,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "tags": null, "allow_failure": false, "owner_type": null, diff --git a/spec/support/expected_files/remove_org_with_dependencies/job_2-6.json b/spec/support/expected_files/remove_org_with_dependencies/job_2-6.json index 11db019..9e54cf4 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/job_2-6.json +++ b/spec/support/expected_files/remove_org_with_dependencies/job_2-6.json @@ -15,8 +15,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -49,8 +49,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -83,8 +83,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -117,8 +117,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -151,8 +151,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "tags": null, "allow_failure": false, "owner_type": null, diff --git a/spec/support/expected_files/remove_org_with_dependencies/job_234-283.json b/spec/support/expected_files/remove_org_with_dependencies/job_234-283.json index 4f4b035..f086c48 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/job_234-283.json +++ b/spec/support/expected_files/remove_org_with_dependencies/job_234-283.json @@ -15,8 +15,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -49,8 +49,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -83,8 +83,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -117,8 +117,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -151,8 +151,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "tags": null, "allow_failure": false, "owner_type": null, diff --git a/spec/support/expected_files/remove_org_with_dependencies/job_284-290.json b/spec/support/expected_files/remove_org_with_dependencies/job_284-290.json index b9f1ff3..90a447d 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/job_284-290.json +++ b/spec/support/expected_files/remove_org_with_dependencies/job_284-290.json @@ -15,8 +15,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -49,8 +49,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -83,8 +83,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -117,8 +117,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -151,8 +151,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "tags": null, "allow_failure": false, "owner_type": "Organization", diff --git a/spec/support/expected_files/remove_org_with_dependencies/job_291-291.json b/spec/support/expected_files/remove_org_with_dependencies/job_291-291.json index 849d666..1728f64 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/job_291-291.json +++ b/spec/support/expected_files/remove_org_with_dependencies/job_291-291.json @@ -15,8 +15,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "tags": null, "allow_failure": false, "owner_type": "Organization", diff --git a/spec/support/expected_files/remove_org_with_dependencies/job_57-63.json b/spec/support/expected_files/remove_org_with_dependencies/job_57-63.json index db69fa9..8a32056 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/job_57-63.json +++ b/spec/support/expected_files/remove_org_with_dependencies/job_57-63.json @@ -15,8 +15,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -49,8 +49,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -83,8 +83,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -117,8 +117,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -151,8 +151,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "tags": null, "allow_failure": false, "owner_type": null, diff --git a/spec/support/expected_files/remove_org_with_dependencies/job_65-72.json b/spec/support/expected_files/remove_org_with_dependencies/job_65-72.json index ba193e0..59ba20c 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/job_65-72.json +++ b/spec/support/expected_files/remove_org_with_dependencies/job_65-72.json @@ -15,8 +15,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -49,8 +49,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -83,8 +83,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -117,8 +117,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -151,8 +151,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "tags": null, "allow_failure": false, "owner_type": null, diff --git a/spec/support/expected_files/remove_org_with_dependencies/job_7-56.json b/spec/support/expected_files/remove_org_with_dependencies/job_7-56.json index 16159fd..ee10218 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/job_7-56.json +++ b/spec/support/expected_files/remove_org_with_dependencies/job_7-56.json @@ -15,8 +15,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -49,8 +49,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -83,8 +83,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -117,8 +117,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -151,8 +151,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "tags": null, "allow_failure": false, "owner_type": null, diff --git a/spec/support/expected_files/remove_org_with_dependencies/job_73-80.json b/spec/support/expected_files/remove_org_with_dependencies/job_73-80.json index b2ebb3e..0eefb65 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/job_73-80.json +++ b/spec/support/expected_files/remove_org_with_dependencies/job_73-80.json @@ -15,8 +15,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -49,8 +49,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -83,8 +83,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -117,8 +117,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -151,8 +151,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "tags": null, "allow_failure": false, "owner_type": null, diff --git a/spec/support/expected_files/remove_org_with_dependencies/job_82-88.json b/spec/support/expected_files/remove_org_with_dependencies/job_82-88.json index 44bcc14..e3b1fa2 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/job_82-88.json +++ b/spec/support/expected_files/remove_org_with_dependencies/job_82-88.json @@ -15,8 +15,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -49,8 +49,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -83,8 +83,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -117,8 +117,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -151,8 +151,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "tags": null, "allow_failure": false, "owner_type": null, diff --git a/spec/support/expected_files/remove_org_with_dependencies/job_90-94.json b/spec/support/expected_files/remove_org_with_dependencies/job_90-94.json index 4764473..dc04981 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/job_90-94.json +++ b/spec/support/expected_files/remove_org_with_dependencies/job_90-94.json @@ -15,8 +15,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -49,8 +49,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -83,8 +83,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -117,8 +117,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -151,8 +151,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "tags": null, "allow_failure": false, "owner_type": null, diff --git a/spec/support/expected_files/remove_org_with_dependencies/job_95-144.json b/spec/support/expected_files/remove_org_with_dependencies/job_95-144.json index 2df5751..6635e8a 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/job_95-144.json +++ b/spec/support/expected_files/remove_org_with_dependencies/job_95-144.json @@ -15,8 +15,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -49,8 +49,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -83,8 +83,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -117,8 +117,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -151,8 +151,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "tags": null, "allow_failure": false, "owner_type": null, diff --git a/spec/support/expected_files/remove_org_with_dependencies/job_version_1-19.json b/spec/support/expected_files/remove_org_with_dependencies/job_version_1-19.json index ec5e957..0767a0c 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/job_version_1-19.json +++ b/spec/support/expected_files/remove_org_with_dependencies/job_version_1-19.json @@ -6,7 +6,7 @@ "job_id": 6, "number": null, "state": null, - "created_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", "queued_at": null, "received_at": null, "started_at": null, @@ -18,7 +18,7 @@ "job_id": 6, "number": null, "state": null, - "created_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", "queued_at": null, "received_at": null, "started_at": null, @@ -30,7 +30,7 @@ "job_id": 55, "number": null, "state": null, - "created_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", "queued_at": null, "received_at": null, "started_at": null, @@ -42,7 +42,7 @@ "job_id": 55, "number": null, "state": null, - "created_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", "queued_at": null, "received_at": null, "started_at": null, @@ -54,7 +54,7 @@ "job_id": 57, "number": null, "state": null, - "created_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", "queued_at": null, "received_at": null, "started_at": null, diff --git a/spec/support/expected_files/remove_org_with_dependencies/job_version_20-24.json b/spec/support/expected_files/remove_org_with_dependencies/job_version_20-24.json index 2fcc351..63ae90a 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/job_version_20-24.json +++ b/spec/support/expected_files/remove_org_with_dependencies/job_version_20-24.json @@ -6,7 +6,7 @@ "job_id": 57, "number": null, "state": null, - "created_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", "queued_at": null, "received_at": null, "started_at": null, @@ -18,7 +18,7 @@ "job_id": 62, "number": null, "state": null, - "created_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", "queued_at": null, "received_at": null, "started_at": null, @@ -30,7 +30,7 @@ "job_id": 62, "number": null, "state": null, - "created_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", "queued_at": null, "received_at": null, "started_at": null, @@ -42,7 +42,7 @@ "job_id": 67, "number": null, "state": null, - "created_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", "queued_at": null, "received_at": null, "started_at": null, @@ -54,7 +54,7 @@ "job_id": 67, "number": null, "state": null, - "created_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", "queued_at": null, "received_at": null, "started_at": null, diff --git a/spec/support/expected_files/remove_org_with_dependencies/job_version_25-29.json b/spec/support/expected_files/remove_org_with_dependencies/job_version_25-29.json index 8b948be..1dafddf 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/job_version_25-29.json +++ b/spec/support/expected_files/remove_org_with_dependencies/job_version_25-29.json @@ -6,7 +6,7 @@ "job_id": 72, "number": null, "state": null, - "created_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", "queued_at": null, "received_at": null, "started_at": null, @@ -18,7 +18,7 @@ "job_id": 72, "number": null, "state": null, - "created_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", "queued_at": null, "received_at": null, "started_at": null, @@ -30,7 +30,7 @@ "job_id": 77, "number": null, "state": null, - "created_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", "queued_at": null, "received_at": null, "started_at": null, @@ -42,7 +42,7 @@ "job_id": 77, "number": null, "state": null, - "created_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", "queued_at": null, "received_at": null, "started_at": null, @@ -54,7 +54,7 @@ "job_id": 82, "number": null, "state": null, - "created_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", "queued_at": null, "received_at": null, "started_at": null, diff --git a/spec/support/expected_files/remove_org_with_dependencies/job_version_30-34.json b/spec/support/expected_files/remove_org_with_dependencies/job_version_30-34.json index 7e01f1f..a46e855 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/job_version_30-34.json +++ b/spec/support/expected_files/remove_org_with_dependencies/job_version_30-34.json @@ -6,7 +6,7 @@ "job_id": 82, "number": null, "state": null, - "created_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", "queued_at": null, "received_at": null, "started_at": null, @@ -18,7 +18,7 @@ "job_id": 87, "number": null, "state": null, - "created_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", "queued_at": null, "received_at": null, "started_at": null, @@ -30,7 +30,7 @@ "job_id": 87, "number": null, "state": null, - "created_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", "queued_at": null, "received_at": null, "started_at": null, @@ -42,7 +42,7 @@ "job_id": 94, "number": null, "state": null, - "created_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", "queued_at": null, "received_at": null, "started_at": null, @@ -54,7 +54,7 @@ "job_id": 94, "number": null, "state": null, - "created_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", "queued_at": null, "received_at": null, "started_at": null, diff --git a/spec/support/expected_files/remove_org_with_dependencies/job_version_49-53.json b/spec/support/expected_files/remove_org_with_dependencies/job_version_49-53.json index 1578ac1..57512dd 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/job_version_49-53.json +++ b/spec/support/expected_files/remove_org_with_dependencies/job_version_49-53.json @@ -6,7 +6,7 @@ "job_id": 143, "number": null, "state": null, - "created_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", "queued_at": null, "received_at": null, "started_at": null, @@ -18,7 +18,7 @@ "job_id": 143, "number": null, "state": null, - "created_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", "queued_at": null, "received_at": null, "started_at": null, @@ -30,7 +30,7 @@ "job_id": 151, "number": null, "state": null, - "created_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", "queued_at": null, "received_at": null, "started_at": null, @@ -42,7 +42,7 @@ "job_id": 151, "number": null, "state": null, - "created_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", "queued_at": null, "received_at": null, "started_at": null, @@ -54,7 +54,7 @@ "job_id": 156, "number": null, "state": null, - "created_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", "queued_at": null, "received_at": null, "started_at": null, diff --git a/spec/support/expected_files/remove_org_with_dependencies/job_version_54-58.json b/spec/support/expected_files/remove_org_with_dependencies/job_version_54-58.json index 5282dd6..5aa4281 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/job_version_54-58.json +++ b/spec/support/expected_files/remove_org_with_dependencies/job_version_54-58.json @@ -6,7 +6,7 @@ "job_id": 156, "number": null, "state": null, - "created_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", "queued_at": null, "received_at": null, "started_at": null, @@ -18,7 +18,7 @@ "job_id": 161, "number": null, "state": null, - "created_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", "queued_at": null, "received_at": null, "started_at": null, @@ -30,7 +30,7 @@ "job_id": 161, "number": null, "state": null, - "created_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", "queued_at": null, "received_at": null, "started_at": null, @@ -42,7 +42,7 @@ "job_id": 169, "number": null, "state": null, - "created_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", "queued_at": null, "received_at": null, "started_at": null, @@ -54,7 +54,7 @@ "job_id": 169, "number": null, "state": null, - "created_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", "queued_at": null, "received_at": null, "started_at": null, diff --git a/spec/support/expected_files/remove_org_with_dependencies/job_version_59-63.json b/spec/support/expected_files/remove_org_with_dependencies/job_version_59-63.json index 12db679..c98e66d 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/job_version_59-63.json +++ b/spec/support/expected_files/remove_org_with_dependencies/job_version_59-63.json @@ -6,7 +6,7 @@ "job_id": 171, "number": null, "state": null, - "created_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", "queued_at": null, "received_at": null, "started_at": null, @@ -18,7 +18,7 @@ "job_id": 171, "number": null, "state": null, - "created_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", "queued_at": null, "received_at": null, "started_at": null, @@ -30,7 +30,7 @@ "job_id": 176, "number": null, "state": null, - "created_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", "queued_at": null, "received_at": null, "started_at": null, @@ -42,7 +42,7 @@ "job_id": 176, "number": null, "state": null, - "created_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", "queued_at": null, "received_at": null, "started_at": null, @@ -54,7 +54,7 @@ "job_id": 183, "number": null, "state": null, - "created_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", "queued_at": null, "received_at": null, "started_at": null, diff --git a/spec/support/expected_files/remove_org_with_dependencies/job_version_64-96.json b/spec/support/expected_files/remove_org_with_dependencies/job_version_64-96.json index 9b129c3..edbbdbb 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/job_version_64-96.json +++ b/spec/support/expected_files/remove_org_with_dependencies/job_version_64-96.json @@ -6,7 +6,7 @@ "job_id": 183, "number": null, "state": null, - "created_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", "queued_at": null, "received_at": null, "started_at": null, @@ -18,7 +18,7 @@ "job_id": 234, "number": null, "state": null, - "created_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", "queued_at": null, "received_at": null, "started_at": null, @@ -30,7 +30,7 @@ "job_id": 234, "number": null, "state": null, - "created_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", "queued_at": null, "received_at": null, "started_at": null, @@ -42,7 +42,7 @@ "job_id": 283, "number": null, "state": null, - "created_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", "queued_at": null, "received_at": null, "started_at": null, @@ -54,7 +54,7 @@ "job_id": 283, "number": null, "state": null, - "created_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", "queued_at": null, "received_at": null, "started_at": null, diff --git a/spec/support/expected_files/remove_org_with_dependencies/job_version_97-100.json b/spec/support/expected_files/remove_org_with_dependencies/job_version_97-100.json index bb200d0..c2ec758 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/job_version_97-100.json +++ b/spec/support/expected_files/remove_org_with_dependencies/job_version_97-100.json @@ -6,7 +6,7 @@ "job_id": 288, "number": null, "state": null, - "created_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", "queued_at": null, "received_at": null, "started_at": null, @@ -18,7 +18,7 @@ "job_id": 288, "number": null, "state": null, - "created_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", "queued_at": null, "received_at": null, "started_at": null, @@ -30,7 +30,7 @@ "job_id": 290, "number": null, "state": null, - "created_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", "queued_at": null, "received_at": null, "started_at": null, @@ -42,7 +42,7 @@ "job_id": 290, "number": null, "state": null, - "created_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", "queued_at": null, "received_at": null, "started_at": null, diff --git a/spec/support/expected_files/remove_org_with_dependencies/message_14-26.json b/spec/support/expected_files/remove_org_with_dependencies/message_14-26.json index cf5f442..0052f6b 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/message_14-26.json +++ b/spec/support/expected_files/remove_org_with_dependencies/message_14-26.json @@ -9,8 +9,8 @@ "key": null, "code": null, "args": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "type": null, "src": null, "line": null @@ -23,8 +23,8 @@ "key": null, "code": null, "args": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "type": null, "src": null, "line": null @@ -37,8 +37,8 @@ "key": null, "code": null, "args": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "type": null, "src": null, "line": null @@ -51,8 +51,8 @@ "key": null, "code": null, "args": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "type": null, "src": null, "line": null @@ -65,8 +65,8 @@ "key": null, "code": null, "args": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "type": null, "src": null, "line": null diff --git a/spec/support/expected_files/remove_org_with_dependencies/message_27-31.json b/spec/support/expected_files/remove_org_with_dependencies/message_27-31.json index b4e97ea..086bbcd 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/message_27-31.json +++ b/spec/support/expected_files/remove_org_with_dependencies/message_27-31.json @@ -9,8 +9,8 @@ "key": null, "code": null, "args": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "type": null, "src": null, "line": null @@ -23,8 +23,8 @@ "key": null, "code": null, "args": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "type": null, "src": null, "line": null @@ -37,8 +37,8 @@ "key": null, "code": null, "args": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "type": null, "src": null, "line": null @@ -51,8 +51,8 @@ "key": null, "code": null, "args": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "type": null, "src": null, "line": null @@ -65,8 +65,8 @@ "key": null, "code": null, "args": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "type": null, "src": null, "line": null diff --git a/spec/support/expected_files/remove_org_with_dependencies/message_32-52.json b/spec/support/expected_files/remove_org_with_dependencies/message_32-52.json index 002505d..9ffd9e3 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/message_32-52.json +++ b/spec/support/expected_files/remove_org_with_dependencies/message_32-52.json @@ -9,8 +9,8 @@ "key": null, "code": null, "args": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "type": null, "src": null, "line": null @@ -23,8 +23,8 @@ "key": null, "code": null, "args": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "type": null, "src": null, "line": null @@ -37,8 +37,8 @@ "key": null, "code": null, "args": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "type": null, "src": null, "line": null @@ -51,8 +51,8 @@ "key": null, "code": null, "args": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "type": null, "src": null, "line": null @@ -65,8 +65,8 @@ "key": null, "code": null, "args": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "type": null, "src": null, "line": null diff --git a/spec/support/expected_files/remove_org_with_dependencies/message_53-54.json b/spec/support/expected_files/remove_org_with_dependencies/message_53-54.json index fb77a2a..292407e 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/message_53-54.json +++ b/spec/support/expected_files/remove_org_with_dependencies/message_53-54.json @@ -9,8 +9,8 @@ "key": null, "code": null, "args": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "type": null, "src": null, "line": null @@ -23,8 +23,8 @@ "key": null, "code": null, "args": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "type": null, "src": null, "line": null diff --git a/spec/support/expected_files/remove_org_with_dependencies/message_9-13.json b/spec/support/expected_files/remove_org_with_dependencies/message_9-13.json index b563432..6acd37e 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/message_9-13.json +++ b/spec/support/expected_files/remove_org_with_dependencies/message_9-13.json @@ -9,8 +9,8 @@ "key": null, "code": null, "args": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "type": null, "src": null, "line": null @@ -23,8 +23,8 @@ "key": null, "code": null, "args": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "type": null, "src": null, "line": null @@ -37,8 +37,8 @@ "key": null, "code": null, "args": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "type": null, "src": null, "line": null @@ -51,8 +51,8 @@ "key": null, "code": null, "args": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "type": null, "src": null, "line": null @@ -65,8 +65,8 @@ "key": null, "code": null, "args": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "type": null, "src": null, "line": null diff --git a/spec/support/expected_files/remove_org_with_dependencies/organization_1-1.json b/spec/support/expected_files/remove_org_with_dependencies/organization_1-1.json index 2173f9d..11f050c 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/organization_1-1.json +++ b/spec/support/expected_files/remove_org_with_dependencies/organization_1-1.json @@ -6,8 +6,8 @@ "name": null, "login": null, "github_id": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "avatar_url": null, "location": null, "email": null, diff --git a/spec/support/expected_files/remove_org_with_dependencies/owner_group_1-2.json b/spec/support/expected_files/remove_org_with_dependencies/owner_group_1-2.json index f16dcb7..a9f23de 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/owner_group_1-2.json +++ b/spec/support/expected_files/remove_org_with_dependencies/owner_group_1-2.json @@ -6,16 +6,16 @@ "uuid": null, "owner_type": "Organization", "owner_id": 1, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC" + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC" }, { "id": 2, "uuid": null, "owner_type": "Organization", "owner_id": 1, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC" + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC" } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/pull_request_3-6.json b/spec/support/expected_files/remove_org_with_dependencies/pull_request_3-6.json index ad7a101..14d9bd3 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/pull_request_3-6.json +++ b/spec/support/expected_files/remove_org_with_dependencies/pull_request_3-6.json @@ -10,8 +10,8 @@ "head_repo_github_id": null, "head_repo_slug": null, "head_ref": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "org_id": null, "com_id": null, "mergeable_state": null, @@ -29,8 +29,8 @@ "head_repo_github_id": null, "head_repo_slug": null, "head_ref": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "org_id": null, "com_id": null, "mergeable_state": null, diff --git a/spec/support/expected_files/remove_org_with_dependencies/repository_1-72.json b/spec/support/expected_files/remove_org_with_dependencies/repository_1-72.json index a34cb7c..6d6b095 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/repository_1-72.json +++ b/spec/support/expected_files/remove_org_with_dependencies/repository_1-72.json @@ -5,8 +5,8 @@ "id": 1, "name": null, "url": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "last_build_id": 279, "last_build_number": null, "last_build_started_at": null, @@ -45,8 +45,8 @@ "id": 72, "name": null, "url": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "last_build_id": null, "last_build_number": null, "last_build_started_at": null, diff --git a/spec/support/expected_files/remove_org_with_dependencies/request_11-15.json b/spec/support/expected_files/remove_org_with_dependencies/request_11-15.json index 3dc0608..0f94987 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/request_11-15.json +++ b/spec/support/expected_files/remove_org_with_dependencies/request_11-15.json @@ -10,8 +10,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "event_type": null, "comments_url": null, "base_commit": null, @@ -42,8 +42,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "event_type": null, "comments_url": null, "base_commit": null, @@ -74,8 +74,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "event_type": null, "comments_url": null, "base_commit": null, @@ -106,8 +106,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "event_type": null, "comments_url": null, "base_commit": null, @@ -138,8 +138,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "event_type": null, "comments_url": null, "base_commit": null, diff --git a/spec/support/expected_files/remove_org_with_dependencies/request_16-30.json b/spec/support/expected_files/remove_org_with_dependencies/request_16-30.json index e00325f..01e6fdf 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/request_16-30.json +++ b/spec/support/expected_files/remove_org_with_dependencies/request_16-30.json @@ -10,8 +10,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "event_type": null, "comments_url": null, "base_commit": null, @@ -42,8 +42,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "event_type": null, "comments_url": null, "base_commit": null, @@ -74,8 +74,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "event_type": null, "comments_url": null, "base_commit": null, @@ -106,8 +106,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "event_type": null, "comments_url": null, "base_commit": null, @@ -138,8 +138,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "event_type": null, "comments_url": null, "base_commit": null, diff --git a/spec/support/expected_files/remove_org_with_dependencies/request_31-35.json b/spec/support/expected_files/remove_org_with_dependencies/request_31-35.json index ea35bba..e87700d 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/request_31-35.json +++ b/spec/support/expected_files/remove_org_with_dependencies/request_31-35.json @@ -10,8 +10,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "event_type": null, "comments_url": null, "base_commit": null, @@ -42,8 +42,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "event_type": null, "comments_url": null, "base_commit": null, @@ -74,8 +74,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "event_type": null, "comments_url": null, "base_commit": null, @@ -106,8 +106,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "event_type": null, "comments_url": null, "base_commit": null, @@ -138,8 +138,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "event_type": null, "comments_url": null, "base_commit": null, diff --git a/spec/support/expected_files/remove_org_with_dependencies/request_36-60.json b/spec/support/expected_files/remove_org_with_dependencies/request_36-60.json index ca6b6d6..bac22b2 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/request_36-60.json +++ b/spec/support/expected_files/remove_org_with_dependencies/request_36-60.json @@ -10,8 +10,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "event_type": null, "comments_url": null, "base_commit": null, @@ -42,8 +42,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "event_type": null, "comments_url": null, "base_commit": null, @@ -60,8 +60,8 @@ "sender_id": null, "org_id": null, "com_id": null, - "config_id": 1, - "yaml_config_id": null, + "config_id": null, + "yaml_config_id": 1, "github_guid": null, "pull_request_mergeable": null }, @@ -74,8 +74,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "event_type": null, "comments_url": null, "base_commit": null, @@ -92,8 +92,8 @@ "sender_id": null, "org_id": null, "com_id": null, - "config_id": 1, - "yaml_config_id": null, + "config_id": null, + "yaml_config_id": 1, "github_guid": null, "pull_request_mergeable": null }, @@ -106,8 +106,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "event_type": null, "comments_url": null, "base_commit": null, @@ -138,8 +138,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "event_type": null, "comments_url": null, "base_commit": null, diff --git a/spec/support/expected_files/remove_org_with_dependencies/request_61-62.json b/spec/support/expected_files/remove_org_with_dependencies/request_61-62.json index 6d3ccb2..807cb4e 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/request_61-62.json +++ b/spec/support/expected_files/remove_org_with_dependencies/request_61-62.json @@ -10,8 +10,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "event_type": null, "comments_url": null, "base_commit": null, @@ -42,8 +42,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "event_type": null, "comments_url": null, "base_commit": null, diff --git a/spec/support/expected_files/remove_org_with_dependencies/request_payload_14-26.json b/spec/support/expected_files/remove_org_with_dependencies/request_payload_14-26.json index b656312..24086b5 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/request_payload_14-26.json +++ b/spec/support/expected_files/remove_org_with_dependencies/request_payload_14-26.json @@ -6,7 +6,7 @@ "request_id": 15, "payload": null, "archived": false, - "created_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", "org_id": null }, { @@ -14,7 +14,7 @@ "request_id": 17, "payload": null, "archived": false, - "created_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", "org_id": null }, { @@ -22,7 +22,7 @@ "request_id": 17, "payload": null, "archived": false, - "created_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", "org_id": null }, { @@ -30,7 +30,7 @@ "request_id": 29, "payload": null, "archived": false, - "created_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", "org_id": null }, { @@ -38,7 +38,7 @@ "request_id": 29, "payload": null, "archived": false, - "created_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", "org_id": null } ] diff --git a/spec/support/expected_files/remove_org_with_dependencies/request_payload_27-31.json b/spec/support/expected_files/remove_org_with_dependencies/request_payload_27-31.json index 47b7046..42d477b 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/request_payload_27-31.json +++ b/spec/support/expected_files/remove_org_with_dependencies/request_payload_27-31.json @@ -6,7 +6,7 @@ "request_id": 31, "payload": null, "archived": false, - "created_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", "org_id": null }, { @@ -14,7 +14,7 @@ "request_id": 31, "payload": null, "archived": false, - "created_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", "org_id": null }, { @@ -22,7 +22,7 @@ "request_id": 33, "payload": null, "archived": false, - "created_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", "org_id": null }, { @@ -30,7 +30,7 @@ "request_id": 33, "payload": null, "archived": false, - "created_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", "org_id": null }, { @@ -38,7 +38,7 @@ "request_id": 35, "payload": null, "archived": false, - "created_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", "org_id": null } ] diff --git a/spec/support/expected_files/remove_org_with_dependencies/request_payload_32-52.json b/spec/support/expected_files/remove_org_with_dependencies/request_payload_32-52.json index 714697a..7efc237 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/request_payload_32-52.json +++ b/spec/support/expected_files/remove_org_with_dependencies/request_payload_32-52.json @@ -6,7 +6,7 @@ "request_id": 35, "payload": null, "archived": false, - "created_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", "org_id": null }, { @@ -14,7 +14,7 @@ "request_id": 37, "payload": null, "archived": false, - "created_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", "org_id": null }, { @@ -22,7 +22,7 @@ "request_id": 37, "payload": null, "archived": false, - "created_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", "org_id": null }, { @@ -30,7 +30,7 @@ "request_id": 59, "payload": null, "archived": false, - "created_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", "org_id": null }, { @@ -38,7 +38,7 @@ "request_id": 59, "payload": null, "archived": false, - "created_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", "org_id": null } ] diff --git a/spec/support/expected_files/remove_org_with_dependencies/request_payload_53-54.json b/spec/support/expected_files/remove_org_with_dependencies/request_payload_53-54.json index 80322be..83df667 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/request_payload_53-54.json +++ b/spec/support/expected_files/remove_org_with_dependencies/request_payload_53-54.json @@ -6,7 +6,7 @@ "request_id": 61, "payload": null, "archived": false, - "created_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", "org_id": null }, { @@ -14,7 +14,7 @@ "request_id": 61, "payload": null, "archived": false, - "created_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", "org_id": null } ] diff --git a/spec/support/expected_files/remove_org_with_dependencies/request_payload_9-13.json b/spec/support/expected_files/remove_org_with_dependencies/request_payload_9-13.json index 32393b6..3b28b03 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/request_payload_9-13.json +++ b/spec/support/expected_files/remove_org_with_dependencies/request_payload_9-13.json @@ -6,7 +6,7 @@ "request_id": 11, "payload": null, "archived": false, - "created_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", "org_id": null }, { @@ -14,7 +14,7 @@ "request_id": 11, "payload": null, "archived": false, - "created_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", "org_id": null }, { @@ -22,7 +22,7 @@ "request_id": 13, "payload": null, "archived": false, - "created_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", "org_id": null }, { @@ -30,7 +30,7 @@ "request_id": 13, "payload": null, "archived": false, - "created_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", "org_id": null }, { @@ -38,7 +38,7 @@ "request_id": 15, "payload": null, "archived": false, - "created_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", "org_id": null } ] diff --git a/spec/support/expected_files/remove_org_with_dependencies/ssl_key_3-4.json b/spec/support/expected_files/remove_org_with_dependencies/ssl_key_3-4.json index c35a485..7b43209 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/ssl_key_3-4.json +++ b/spec/support/expected_files/remove_org_with_dependencies/ssl_key_3-4.json @@ -6,8 +6,8 @@ "repository_id": 1, "public_key": null, "private_key": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "org_id": null, "com_id": null }, @@ -16,8 +16,8 @@ "repository_id": 1, "public_key": null, "private_key": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "org_id": null, "com_id": null } diff --git a/spec/support/expected_files/remove_org_with_dependencies/star_3-4.json b/spec/support/expected_files/remove_org_with_dependencies/star_3-4.json index ed70c92..da8a40a 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/star_3-4.json +++ b/spec/support/expected_files/remove_org_with_dependencies/star_3-4.json @@ -5,15 +5,15 @@ "id": 3, "repository_id": 1, "user_id": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC" + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC" }, { "id": 4, "repository_id": 1, "user_id": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC" + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC" } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/subscription_1-2.json b/spec/support/expected_files/remove_org_with_dependencies/subscription_1-2.json index 0c6521b..679f63e 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/subscription_1-2.json +++ b/spec/support/expected_files/remove_org_with_dependencies/subscription_1-2.json @@ -18,8 +18,8 @@ "country": null, "vat_id": null, "customer_id": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "cc_owner": null, "cc_last_digits": null, "cc_expiration_date": null, @@ -50,8 +50,8 @@ "country": null, "vat_id": null, "customer_id": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "cc_owner": null, "cc_last_digits": null, "cc_expiration_date": null, diff --git a/spec/support/expected_files/remove_org_with_dependencies/tag_33-38.json b/spec/support/expected_files/remove_org_with_dependencies/tag_33-38.json index 65c0f22..1ebdeff 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/tag_33-38.json +++ b/spec/support/expected_files/remove_org_with_dependencies/tag_33-38.json @@ -7,8 +7,8 @@ "name": null, "last_build_id": null, "exists_on_github": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "org_id": null, "com_id": null }, @@ -18,8 +18,8 @@ "name": null, "last_build_id": null, "exists_on_github": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC", + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC", "org_id": null, "com_id": null } diff --git a/spec/support/expected_files/remove_org_with_dependencies/trial_1-2.json b/spec/support/expected_files/remove_org_with_dependencies/trial_1-2.json index 0d52748..8caa77f 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/trial_1-2.json +++ b/spec/support/expected_files/remove_org_with_dependencies/trial_1-2.json @@ -9,8 +9,8 @@ ], "status": "new", - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC" + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC" }, { "id": 2, @@ -20,8 +20,8 @@ ], "status": "new", - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC" + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC" } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/trial_allowance_1-5.json b/spec/support/expected_files/remove_org_with_dependencies/trial_allowance_1-5.json index 36bd0f8..aaac3e4 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/trial_allowance_1-5.json +++ b/spec/support/expected_files/remove_org_with_dependencies/trial_allowance_1-5.json @@ -8,8 +8,8 @@ "creator_type": null, "builds_allowed": null, "builds_remaining": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC" + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC" }, { "id": 2, @@ -18,8 +18,8 @@ "creator_type": null, "builds_allowed": null, "builds_remaining": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC" + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC" }, { "id": 3, @@ -28,8 +28,8 @@ "creator_type": null, "builds_allowed": null, "builds_remaining": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC" + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC" }, { "id": 4, @@ -38,8 +38,8 @@ "creator_type": null, "builds_allowed": null, "builds_remaining": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC" + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC" }, { "id": 5, @@ -48,8 +48,8 @@ "creator_type": "Organization", "builds_allowed": null, "builds_remaining": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC" + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC" } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/trial_allowance_6-6.json b/spec/support/expected_files/remove_org_with_dependencies/trial_allowance_6-6.json index f133745..7a9108e 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/trial_allowance_6-6.json +++ b/spec/support/expected_files/remove_org_with_dependencies/trial_allowance_6-6.json @@ -8,8 +8,8 @@ "creator_type": "Organization", "builds_allowed": null, "builds_remaining": null, - "created_at": "2021-08-31 07:45:37 UTC", - "updated_at": "2021-08-31 07:45:37 UTC" + "created_at": "2021-09-01 15:06:56 UTC", + "updated_at": "2021-09-01 15:06:56 UTC" } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/abuse_14-26.json b/spec/support/expected_files/remove_repo_with_dependencies/abuse_14-26.json index c9689e1..d5ca65a 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/abuse_14-26.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/abuse_14-26.json @@ -8,8 +8,8 @@ "request_id": 15, "level": 14, "reason": "some text", - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC" + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC" }, { "id": 15, @@ -18,8 +18,8 @@ "request_id": 17, "level": 15, "reason": "some text", - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC" + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC" }, { "id": 16, @@ -28,8 +28,8 @@ "request_id": 17, "level": 16, "reason": "some text", - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC" + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC" }, { "id": 25, @@ -38,8 +38,8 @@ "request_id": 29, "level": 25, "reason": "some text", - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC" + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC" }, { "id": 26, @@ -48,8 +48,8 @@ "request_id": 29, "level": 26, "reason": "some text", - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC" + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC" } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/abuse_27-31.json b/spec/support/expected_files/remove_repo_with_dependencies/abuse_27-31.json index e9d321f..6b6cab1 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/abuse_27-31.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/abuse_27-31.json @@ -8,8 +8,8 @@ "request_id": 31, "level": 27, "reason": "some text", - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC" + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC" }, { "id": 28, @@ -18,8 +18,8 @@ "request_id": 31, "level": 28, "reason": "some text", - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC" + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC" }, { "id": 29, @@ -28,8 +28,8 @@ "request_id": 33, "level": 29, "reason": "some text", - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC" + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC" }, { "id": 30, @@ -38,8 +38,8 @@ "request_id": 33, "level": 30, "reason": "some text", - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC" + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC" }, { "id": 31, @@ -48,8 +48,8 @@ "request_id": 35, "level": 31, "reason": "some text", - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC" + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC" } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/abuse_32-34.json b/spec/support/expected_files/remove_repo_with_dependencies/abuse_32-34.json index 82f2bbc..2b7b011 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/abuse_32-34.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/abuse_32-34.json @@ -8,8 +8,8 @@ "request_id": 35, "level": 32, "reason": "some text", - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC" + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC" }, { "id": 33, @@ -18,8 +18,8 @@ "request_id": 37, "level": 33, "reason": "some text", - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC" + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC" }, { "id": 34, @@ -28,8 +28,8 @@ "request_id": 37, "level": 34, "reason": "some text", - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC" + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC" } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/abuse_9-13.json b/spec/support/expected_files/remove_repo_with_dependencies/abuse_9-13.json index 7df5e69..42bc23f 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/abuse_9-13.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/abuse_9-13.json @@ -8,8 +8,8 @@ "request_id": 11, "level": 9, "reason": "some text", - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC" + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC" }, { "id": 10, @@ -18,8 +18,8 @@ "request_id": 11, "level": 10, "reason": "some text", - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC" + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC" }, { "id": 11, @@ -28,8 +28,8 @@ "request_id": 13, "level": 11, "reason": "some text", - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC" + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC" }, { "id": 12, @@ -38,8 +38,8 @@ "request_id": 13, "level": 12, "reason": "some text", - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC" + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC" }, { "id": 13, @@ -48,8 +48,8 @@ "request_id": 15, "level": 13, "reason": "some text", - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC" + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC" } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/branch_14-19.json b/spec/support/expected_files/remove_repo_with_dependencies/branch_14-19.json index de77a5e..9b1d11d 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/branch_14-19.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/branch_14-19.json @@ -7,8 +7,8 @@ "last_build_id": null, "name": "branch_14", "exists_on_github": true, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "org_id": null, "com_id": null }, @@ -18,8 +18,8 @@ "last_build_id": null, "name": "branch_19", "exists_on_github": true, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "org_id": null, "com_id": null } diff --git a/spec/support/expected_files/remove_repo_with_dependencies/build_1-59.json b/spec/support/expected_files/remove_repo_with_dependencies/build_1-59.json index 25aba99..c373543 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/build_1-59.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/build_1-59.json @@ -14,8 +14,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "ref": null, "branch": null, "github_payload": null, @@ -59,8 +59,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "ref": null, "branch": null, "github_payload": null, @@ -104,8 +104,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "ref": null, "branch": null, "github_payload": null, @@ -149,8 +149,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "ref": null, "branch": null, "github_payload": null, @@ -194,8 +194,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "ref": null, "branch": null, "github_payload": null, diff --git a/spec/support/expected_files/remove_repo_with_dependencies/build_145-153.json b/spec/support/expected_files/remove_repo_with_dependencies/build_145-153.json index 68b9f08..bdf0501 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/build_145-153.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/build_145-153.json @@ -14,8 +14,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "ref": null, "branch": null, "github_payload": null, @@ -59,8 +59,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "ref": null, "branch": null, "github_payload": null, @@ -104,8 +104,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "ref": null, "branch": null, "github_payload": null, @@ -149,8 +149,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "ref": null, "branch": null, "github_payload": null, @@ -194,8 +194,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "ref": null, "branch": null, "github_payload": null, diff --git a/spec/support/expected_files/remove_repo_with_dependencies/build_155-165.json b/spec/support/expected_files/remove_repo_with_dependencies/build_155-165.json index 4c922a9..d924627 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/build_155-165.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/build_155-165.json @@ -14,8 +14,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "ref": null, "branch": null, "github_payload": null, @@ -59,8 +59,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "ref": null, "branch": null, "github_payload": null, @@ -104,8 +104,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "ref": null, "branch": null, "github_payload": null, @@ -149,8 +149,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "ref": null, "branch": null, "github_payload": null, @@ -194,8 +194,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "ref": null, "branch": null, "github_payload": null, diff --git a/spec/support/expected_files/remove_repo_with_dependencies/build_166-175.json b/spec/support/expected_files/remove_repo_with_dependencies/build_166-175.json index 9e54a56..5a3fa38 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/build_166-175.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/build_166-175.json @@ -14,8 +14,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "ref": null, "branch": null, "github_payload": null, @@ -59,8 +59,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "ref": null, "branch": null, "github_payload": null, @@ -104,8 +104,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "ref": null, "branch": null, "github_payload": null, @@ -149,8 +149,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "ref": null, "branch": null, "github_payload": null, diff --git a/spec/support/expected_files/remove_repo_with_dependencies/build_61-71.json b/spec/support/expected_files/remove_repo_with_dependencies/build_61-71.json index 8a89fe8..74de8e3 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/build_61-71.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/build_61-71.json @@ -14,8 +14,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "ref": null, "branch": null, "github_payload": null, @@ -59,8 +59,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "ref": null, "branch": null, "github_payload": null, @@ -104,8 +104,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "ref": null, "branch": null, "github_payload": null, @@ -149,8 +149,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "ref": null, "branch": null, "github_payload": null, @@ -194,8 +194,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "ref": null, "branch": null, "github_payload": null, diff --git a/spec/support/expected_files/remove_repo_with_dependencies/build_74-84.json b/spec/support/expected_files/remove_repo_with_dependencies/build_74-84.json index 61f1e87..400b1f8 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/build_74-84.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/build_74-84.json @@ -14,8 +14,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "ref": null, "branch": null, "github_payload": null, @@ -59,8 +59,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "ref": null, "branch": null, "github_payload": null, @@ -104,8 +104,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "ref": null, "branch": null, "github_payload": null, @@ -149,8 +149,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "ref": null, "branch": null, "github_payload": null, @@ -194,8 +194,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "ref": null, "branch": null, "github_payload": null, diff --git a/spec/support/expected_files/remove_repo_with_dependencies/build_86-142.json b/spec/support/expected_files/remove_repo_with_dependencies/build_86-142.json index 6e260e3..0649f67 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/build_86-142.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/build_86-142.json @@ -14,8 +14,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "ref": null, "branch": null, "github_payload": null, @@ -59,8 +59,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "ref": null, "branch": null, "github_payload": null, @@ -104,8 +104,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "ref": null, "branch": null, "github_payload": null, @@ -149,8 +149,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "ref": null, "branch": null, "github_payload": null, @@ -194,8 +194,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "ref": null, "branch": null, "github_payload": null, diff --git a/spec/support/expected_files/remove_repo_with_dependencies/commit_18-18.json b/spec/support/expected_files/remove_repo_with_dependencies/commit_18-18.json index 146785d..ac4b131 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/commit_18-18.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/commit_18-18.json @@ -14,8 +14,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "branch_id": null, "tag_id": 33, "org_id": null, diff --git a/spec/support/expected_files/remove_repo_with_dependencies/commit_7-17.json b/spec/support/expected_files/remove_repo_with_dependencies/commit_7-17.json index d85c3d4..e289d82 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/commit_7-17.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/commit_7-17.json @@ -14,8 +14,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "branch_id": 14, "tag_id": null, "org_id": null, @@ -34,8 +34,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "branch_id": 14, "tag_id": null, "org_id": null, @@ -54,8 +54,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "branch_id": null, "tag_id": null, "org_id": null, @@ -74,8 +74,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "branch_id": null, "tag_id": null, "org_id": null, @@ -94,8 +94,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "branch_id": null, "tag_id": 33, "org_id": null, diff --git a/spec/support/expected_files/remove_repo_with_dependencies/cron_2-2.json b/spec/support/expected_files/remove_repo_with_dependencies/cron_2-2.json index dbfd3b6..e00c074 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/cron_2-2.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/cron_2-2.json @@ -5,8 +5,8 @@ "id": 2, "branch_id": 14, "interval": "test", - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "next_run": null, "last_run": null, "dont_run_if_recent_build_exists": false, diff --git a/spec/support/expected_files/remove_repo_with_dependencies/deleted_build_17-21.json b/spec/support/expected_files/remove_repo_with_dependencies/deleted_build_17-21.json index 7154b71..9e4be07 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/deleted_build_17-21.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/deleted_build_17-21.json @@ -14,8 +14,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "ref": null, "branch": null, "github_payload": null, @@ -59,8 +59,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "ref": null, "branch": null, "github_payload": null, @@ -104,8 +104,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "ref": null, "branch": null, "github_payload": null, @@ -149,8 +149,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "ref": null, "branch": null, "github_payload": null, @@ -194,8 +194,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "ref": null, "branch": null, "github_payload": null, diff --git a/spec/support/expected_files/remove_repo_with_dependencies/deleted_build_22-26.json b/spec/support/expected_files/remove_repo_with_dependencies/deleted_build_22-26.json index fdb5435..e6509c9 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/deleted_build_22-26.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/deleted_build_22-26.json @@ -14,8 +14,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "ref": null, "branch": null, "github_payload": null, @@ -59,8 +59,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "ref": null, "branch": null, "github_payload": null, @@ -104,8 +104,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "ref": null, "branch": null, "github_payload": null, @@ -149,8 +149,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "ref": null, "branch": null, "github_payload": null, @@ -194,8 +194,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "ref": null, "branch": null, "github_payload": null, diff --git a/spec/support/expected_files/remove_repo_with_dependencies/deleted_build_27-47.json b/spec/support/expected_files/remove_repo_with_dependencies/deleted_build_27-47.json index dfbd850..a13e556 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/deleted_build_27-47.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/deleted_build_27-47.json @@ -14,8 +14,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "ref": null, "branch": null, "github_payload": null, @@ -59,8 +59,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "ref": null, "branch": null, "github_payload": null, @@ -104,8 +104,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "ref": null, "branch": null, "github_payload": null, @@ -149,8 +149,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "ref": null, "branch": null, "github_payload": null, @@ -194,8 +194,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "ref": null, "branch": null, "github_payload": null, diff --git a/spec/support/expected_files/remove_repo_with_dependencies/deleted_build_48-52.json b/spec/support/expected_files/remove_repo_with_dependencies/deleted_build_48-52.json index b2c882f..cc4bd3f 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/deleted_build_48-52.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/deleted_build_48-52.json @@ -14,8 +14,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "ref": null, "branch": null, "github_payload": null, @@ -59,8 +59,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "ref": null, "branch": null, "github_payload": null, @@ -104,8 +104,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "ref": null, "branch": null, "github_payload": null, @@ -149,8 +149,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "ref": null, "branch": null, "github_payload": null, @@ -194,8 +194,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "ref": null, "branch": null, "github_payload": null, diff --git a/spec/support/expected_files/remove_repo_with_dependencies/deleted_build_53-57.json b/spec/support/expected_files/remove_repo_with_dependencies/deleted_build_53-57.json index 05c0411..8deaa0c 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/deleted_build_53-57.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/deleted_build_53-57.json @@ -14,8 +14,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "ref": null, "branch": null, "github_payload": null, @@ -59,8 +59,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "ref": null, "branch": null, "github_payload": null, @@ -104,8 +104,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "ref": null, "branch": null, "github_payload": null, @@ -149,8 +149,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "ref": null, "branch": null, "github_payload": null, @@ -194,8 +194,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "ref": null, "branch": null, "github_payload": null, diff --git a/spec/support/expected_files/remove_repo_with_dependencies/deleted_build_58-62.json b/spec/support/expected_files/remove_repo_with_dependencies/deleted_build_58-62.json index 6faaf20..16aed8c 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/deleted_build_58-62.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/deleted_build_58-62.json @@ -14,8 +14,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "ref": null, "branch": null, "github_payload": null, @@ -59,8 +59,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "ref": null, "branch": null, "github_payload": null, @@ -104,8 +104,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "ref": null, "branch": null, "github_payload": null, @@ -149,8 +149,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "ref": null, "branch": null, "github_payload": null, @@ -194,8 +194,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "ref": null, "branch": null, "github_payload": null, diff --git a/spec/support/expected_files/remove_repo_with_dependencies/deleted_build_63-66.json b/spec/support/expected_files/remove_repo_with_dependencies/deleted_build_63-66.json index 32e7906..907c74a 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/deleted_build_63-66.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/deleted_build_63-66.json @@ -14,8 +14,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "ref": null, "branch": null, "github_payload": null, @@ -59,8 +59,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "ref": null, "branch": null, "github_payload": null, @@ -104,8 +104,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "ref": null, "branch": null, "github_payload": null, @@ -149,8 +149,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "ref": null, "branch": null, "github_payload": null, diff --git a/spec/support/expected_files/remove_repo_with_dependencies/deleted_commit_14-14.json b/spec/support/expected_files/remove_repo_with_dependencies/deleted_commit_14-14.json index 19d3b7f..bd06564 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/deleted_commit_14-14.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/deleted_commit_14-14.json @@ -14,8 +14,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "branch_id": null, "tag_id": null, "org_id": null, diff --git a/spec/support/expected_files/remove_repo_with_dependencies/deleted_commit_5-13.json b/spec/support/expected_files/remove_repo_with_dependencies/deleted_commit_5-13.json index bc20b55..33f2618 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/deleted_commit_5-13.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/deleted_commit_5-13.json @@ -14,8 +14,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "branch_id": 14, "tag_id": null, "org_id": null, @@ -34,8 +34,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "branch_id": 14, "tag_id": null, "org_id": null, @@ -54,8 +54,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "branch_id": null, "tag_id": 33, "org_id": null, @@ -74,8 +74,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "branch_id": null, "tag_id": 33, "org_id": null, @@ -94,8 +94,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "branch_id": null, "tag_id": null, "org_id": null, diff --git a/spec/support/expected_files/remove_repo_with_dependencies/deleted_job_15-19.json b/spec/support/expected_files/remove_repo_with_dependencies/deleted_job_15-19.json index 97128af..9d8acca 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/deleted_job_15-19.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/deleted_job_15-19.json @@ -15,8 +15,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "tags": null, "allow_failure": null, "owner_type": null, @@ -49,8 +49,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "tags": null, "allow_failure": null, "owner_type": null, @@ -83,8 +83,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "tags": null, "allow_failure": null, "owner_type": null, @@ -117,8 +117,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "tags": null, "allow_failure": null, "owner_type": null, @@ -151,8 +151,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "tags": null, "allow_failure": null, "owner_type": null, diff --git a/spec/support/expected_files/remove_repo_with_dependencies/deleted_job_20-24.json b/spec/support/expected_files/remove_repo_with_dependencies/deleted_job_20-24.json index aec3a01..f88e87f 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/deleted_job_20-24.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/deleted_job_20-24.json @@ -15,8 +15,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "tags": null, "allow_failure": null, "owner_type": null, @@ -49,8 +49,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "tags": null, "allow_failure": null, "owner_type": null, @@ -83,8 +83,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "tags": null, "allow_failure": null, "owner_type": null, @@ -117,8 +117,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "tags": null, "allow_failure": null, "owner_type": null, @@ -151,8 +151,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "tags": null, "allow_failure": null, "owner_type": null, diff --git a/spec/support/expected_files/remove_repo_with_dependencies/deleted_job_25-29.json b/spec/support/expected_files/remove_repo_with_dependencies/deleted_job_25-29.json index 27dd3bf..c4da980 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/deleted_job_25-29.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/deleted_job_25-29.json @@ -15,8 +15,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "tags": null, "allow_failure": null, "owner_type": null, @@ -49,8 +49,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "tags": null, "allow_failure": null, "owner_type": null, @@ -83,8 +83,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "tags": null, "allow_failure": null, "owner_type": null, @@ -117,8 +117,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "tags": null, "allow_failure": null, "owner_type": null, @@ -151,8 +151,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "tags": null, "allow_failure": null, "owner_type": null, diff --git a/spec/support/expected_files/remove_repo_with_dependencies/deleted_job_44-48.json b/spec/support/expected_files/remove_repo_with_dependencies/deleted_job_44-48.json index 88e3a3a..f27d47a 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/deleted_job_44-48.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/deleted_job_44-48.json @@ -15,8 +15,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "tags": null, "allow_failure": null, "owner_type": null, @@ -49,8 +49,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "tags": null, "allow_failure": null, "owner_type": null, @@ -83,8 +83,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "tags": null, "allow_failure": null, "owner_type": null, @@ -117,8 +117,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "tags": null, "allow_failure": null, "owner_type": null, @@ -151,8 +151,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "tags": null, "allow_failure": null, "owner_type": null, diff --git a/spec/support/expected_files/remove_repo_with_dependencies/deleted_job_49-53.json b/spec/support/expected_files/remove_repo_with_dependencies/deleted_job_49-53.json index 496c79a..1b67949 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/deleted_job_49-53.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/deleted_job_49-53.json @@ -15,8 +15,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "tags": null, "allow_failure": null, "owner_type": null, @@ -49,8 +49,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "tags": null, "allow_failure": null, "owner_type": null, @@ -83,8 +83,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "tags": null, "allow_failure": null, "owner_type": null, @@ -117,8 +117,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "tags": null, "allow_failure": null, "owner_type": null, @@ -151,8 +151,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "tags": null, "allow_failure": null, "owner_type": null, diff --git a/spec/support/expected_files/remove_repo_with_dependencies/deleted_job_54-58.json b/spec/support/expected_files/remove_repo_with_dependencies/deleted_job_54-58.json index 474fc8f..8e6e910 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/deleted_job_54-58.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/deleted_job_54-58.json @@ -15,8 +15,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "tags": null, "allow_failure": null, "owner_type": null, @@ -49,8 +49,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "tags": null, "allow_failure": null, "owner_type": null, @@ -83,8 +83,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "tags": null, "allow_failure": null, "owner_type": null, @@ -117,8 +117,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "tags": null, "allow_failure": null, "owner_type": null, @@ -151,8 +151,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "tags": null, "allow_failure": null, "owner_type": null, diff --git a/spec/support/expected_files/remove_repo_with_dependencies/deleted_job_59-60.json b/spec/support/expected_files/remove_repo_with_dependencies/deleted_job_59-60.json index dd499a8..defc9de 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/deleted_job_59-60.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/deleted_job_59-60.json @@ -15,8 +15,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "tags": null, "allow_failure": null, "owner_type": null, @@ -49,8 +49,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "tags": null, "allow_failure": null, "owner_type": null, diff --git a/spec/support/expected_files/remove_repo_with_dependencies/deleted_pull_request_1-2.json b/spec/support/expected_files/remove_repo_with_dependencies/deleted_pull_request_1-2.json index 5e2e926..6bcb8f6 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/deleted_pull_request_1-2.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/deleted_pull_request_1-2.json @@ -10,8 +10,8 @@ "head_repo_github_id": null, "head_repo_slug": null, "head_ref": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "org_id": null, "com_id": null, "mergeable_state": null, @@ -29,8 +29,8 @@ "head_repo_github_id": null, "head_repo_slug": null, "head_ref": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "org_id": null, "com_id": null, "mergeable_state": null, diff --git a/spec/support/expected_files/remove_repo_with_dependencies/deleted_request_14-26.json b/spec/support/expected_files/remove_repo_with_dependencies/deleted_request_14-26.json index f820557..f9bb594 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/deleted_request_14-26.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/deleted_request_14-26.json @@ -10,8 +10,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "event_type": null, "comments_url": null, "base_commit": null, @@ -42,8 +42,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "event_type": null, "comments_url": null, "base_commit": null, @@ -74,8 +74,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "event_type": null, "comments_url": null, "base_commit": null, @@ -106,8 +106,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "event_type": null, "comments_url": null, "base_commit": null, @@ -138,8 +138,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "event_type": null, "comments_url": null, "base_commit": null, diff --git a/spec/support/expected_files/remove_repo_with_dependencies/deleted_request_27-31.json b/spec/support/expected_files/remove_repo_with_dependencies/deleted_request_27-31.json index d91b540..f04bddb 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/deleted_request_27-31.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/deleted_request_27-31.json @@ -10,8 +10,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "event_type": null, "comments_url": null, "base_commit": null, @@ -42,8 +42,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "event_type": null, "comments_url": null, "base_commit": null, @@ -74,8 +74,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "event_type": null, "comments_url": null, "base_commit": null, @@ -106,8 +106,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "event_type": null, "comments_url": null, "base_commit": null, @@ -138,8 +138,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "event_type": null, "comments_url": null, "base_commit": null, @@ -156,8 +156,8 @@ "sender_id": null, "org_id": null, "com_id": null, - "config_id": 1, - "yaml_config_id": null, + "config_id": null, + "yaml_config_id": 1, "github_guid": null, "pull_request_mergeable": null } diff --git a/spec/support/expected_files/remove_repo_with_dependencies/deleted_request_32-34.json b/spec/support/expected_files/remove_repo_with_dependencies/deleted_request_32-34.json index a9430c3..10a7e1a 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/deleted_request_32-34.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/deleted_request_32-34.json @@ -10,8 +10,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "event_type": null, "comments_url": null, "base_commit": null, @@ -28,8 +28,8 @@ "sender_id": null, "org_id": null, "com_id": null, - "config_id": 1, - "yaml_config_id": null, + "config_id": null, + "yaml_config_id": 1, "github_guid": null, "pull_request_mergeable": null }, @@ -42,8 +42,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "event_type": null, "comments_url": null, "base_commit": null, @@ -74,8 +74,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "event_type": null, "comments_url": null, "base_commit": null, diff --git a/spec/support/expected_files/remove_repo_with_dependencies/deleted_request_9-13.json b/spec/support/expected_files/remove_repo_with_dependencies/deleted_request_9-13.json index 57bd428..ad2de36 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/deleted_request_9-13.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/deleted_request_9-13.json @@ -10,8 +10,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "event_type": null, "comments_url": null, "base_commit": null, @@ -42,8 +42,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "event_type": null, "comments_url": null, "base_commit": null, @@ -74,8 +74,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "event_type": null, "comments_url": null, "base_commit": null, @@ -106,8 +106,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "event_type": null, "comments_url": null, "base_commit": null, @@ -138,8 +138,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "event_type": null, "comments_url": null, "base_commit": null, diff --git a/spec/support/expected_files/remove_repo_with_dependencies/deleted_request_payload_14-26.json b/spec/support/expected_files/remove_repo_with_dependencies/deleted_request_payload_14-26.json index f740029..0bfc218 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/deleted_request_payload_14-26.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/deleted_request_payload_14-26.json @@ -6,7 +6,7 @@ "request_id": 15, "payload": null, "archived": null, - "created_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", "org_id": null }, { @@ -14,7 +14,7 @@ "request_id": 17, "payload": null, "archived": null, - "created_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", "org_id": null }, { @@ -22,7 +22,7 @@ "request_id": 17, "payload": null, "archived": null, - "created_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", "org_id": null }, { @@ -30,7 +30,7 @@ "request_id": 29, "payload": null, "archived": null, - "created_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", "org_id": null }, { @@ -38,7 +38,7 @@ "request_id": 29, "payload": null, "archived": null, - "created_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", "org_id": null } ] diff --git a/spec/support/expected_files/remove_repo_with_dependencies/deleted_request_payload_27-31.json b/spec/support/expected_files/remove_repo_with_dependencies/deleted_request_payload_27-31.json index 4ae7d5d..0660427 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/deleted_request_payload_27-31.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/deleted_request_payload_27-31.json @@ -6,7 +6,7 @@ "request_id": 31, "payload": null, "archived": null, - "created_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", "org_id": null }, { @@ -14,7 +14,7 @@ "request_id": 31, "payload": null, "archived": null, - "created_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", "org_id": null }, { @@ -22,7 +22,7 @@ "request_id": 33, "payload": null, "archived": null, - "created_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", "org_id": null }, { @@ -30,7 +30,7 @@ "request_id": 33, "payload": null, "archived": null, - "created_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", "org_id": null }, { @@ -38,7 +38,7 @@ "request_id": 35, "payload": null, "archived": null, - "created_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", "org_id": null } ] diff --git a/spec/support/expected_files/remove_repo_with_dependencies/deleted_request_payload_32-34.json b/spec/support/expected_files/remove_repo_with_dependencies/deleted_request_payload_32-34.json index 06ba3f8..f6dbb3d 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/deleted_request_payload_32-34.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/deleted_request_payload_32-34.json @@ -6,7 +6,7 @@ "request_id": 35, "payload": null, "archived": null, - "created_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", "org_id": null }, { @@ -14,7 +14,7 @@ "request_id": 37, "payload": null, "archived": null, - "created_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", "org_id": null }, { @@ -22,7 +22,7 @@ "request_id": 37, "payload": null, "archived": null, - "created_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", "org_id": null } ] diff --git a/spec/support/expected_files/remove_repo_with_dependencies/deleted_request_payload_9-13.json b/spec/support/expected_files/remove_repo_with_dependencies/deleted_request_payload_9-13.json index 590fc92..cc6ac47 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/deleted_request_payload_9-13.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/deleted_request_payload_9-13.json @@ -6,7 +6,7 @@ "request_id": 11, "payload": null, "archived": null, - "created_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", "org_id": null }, { @@ -14,7 +14,7 @@ "request_id": 11, "payload": null, "archived": null, - "created_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", "org_id": null }, { @@ -22,7 +22,7 @@ "request_id": 13, "payload": null, "archived": null, - "created_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", "org_id": null }, { @@ -30,7 +30,7 @@ "request_id": 13, "payload": null, "archived": null, - "created_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", "org_id": null }, { @@ -38,7 +38,7 @@ "request_id": 15, "payload": null, "archived": null, - "created_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", "org_id": null } ] diff --git a/spec/support/expected_files/remove_repo_with_dependencies/deleted_ssl_key_1-2.json b/spec/support/expected_files/remove_repo_with_dependencies/deleted_ssl_key_1-2.json index a2852f7..ecd7cb8 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/deleted_ssl_key_1-2.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/deleted_ssl_key_1-2.json @@ -6,8 +6,8 @@ "repository_id": 1, "public_key": null, "private_key": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "org_id": null, "com_id": null }, @@ -16,8 +16,8 @@ "repository_id": 1, "public_key": null, "private_key": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "org_id": null, "com_id": null } diff --git a/spec/support/expected_files/remove_repo_with_dependencies/deleted_tag_3-4.json b/spec/support/expected_files/remove_repo_with_dependencies/deleted_tag_3-4.json index 5e92366..f80e029 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/deleted_tag_3-4.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/deleted_tag_3-4.json @@ -7,8 +7,8 @@ "name": null, "last_build_id": null, "exists_on_github": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "org_id": null, "com_id": null }, @@ -18,8 +18,8 @@ "name": null, "last_build_id": null, "exists_on_github": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "org_id": null, "com_id": null } diff --git a/spec/support/expected_files/remove_repo_with_dependencies/email_unsubscribe_1-2.json b/spec/support/expected_files/remove_repo_with_dependencies/email_unsubscribe_1-2.json index f389e4f..086e6e1 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/email_unsubscribe_1-2.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/email_unsubscribe_1-2.json @@ -5,15 +5,15 @@ "id": 1, "user_id": null, "repository_id": 1, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC" + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC" }, { "id": 2, "user_id": null, "repository_id": 1, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC" + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC" } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/job_146-154.json b/spec/support/expected_files/remove_repo_with_dependencies/job_146-154.json index f9527a7..5325a09 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/job_146-154.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/job_146-154.json @@ -15,8 +15,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -49,8 +49,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -83,8 +83,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -117,8 +117,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -151,8 +151,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "tags": null, "allow_failure": false, "owner_type": null, diff --git a/spec/support/expected_files/remove_repo_with_dependencies/job_156-162.json b/spec/support/expected_files/remove_repo_with_dependencies/job_156-162.json index 6397d4f..e3c61b2 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/job_156-162.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/job_156-162.json @@ -15,8 +15,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -49,8 +49,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -83,8 +83,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -117,8 +117,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -151,8 +151,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "tags": null, "allow_failure": false, "owner_type": null, diff --git a/spec/support/expected_files/remove_repo_with_dependencies/job_164-171.json b/spec/support/expected_files/remove_repo_with_dependencies/job_164-171.json index b723494..c06996f 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/job_164-171.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/job_164-171.json @@ -15,8 +15,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -49,8 +49,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -83,8 +83,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -117,8 +117,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -151,8 +151,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "tags": null, "allow_failure": false, "owner_type": null, diff --git a/spec/support/expected_files/remove_repo_with_dependencies/job_172-177.json b/spec/support/expected_files/remove_repo_with_dependencies/job_172-177.json index cff217f..6fdb7d4 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/job_172-177.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/job_172-177.json @@ -15,8 +15,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -49,8 +49,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -83,8 +83,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -117,8 +117,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "tags": null, "allow_failure": false, "owner_type": null, diff --git a/spec/support/expected_files/remove_repo_with_dependencies/job_2-6.json b/spec/support/expected_files/remove_repo_with_dependencies/job_2-6.json index 63db1b0..be5596d 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/job_2-6.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/job_2-6.json @@ -15,8 +15,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -49,8 +49,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -83,8 +83,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -117,8 +117,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -151,8 +151,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "tags": null, "allow_failure": false, "owner_type": null, diff --git a/spec/support/expected_files/remove_repo_with_dependencies/job_57-63.json b/spec/support/expected_files/remove_repo_with_dependencies/job_57-63.json index d48ef18..e104060 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/job_57-63.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/job_57-63.json @@ -15,8 +15,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -49,8 +49,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -83,8 +83,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -117,8 +117,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -151,8 +151,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "tags": null, "allow_failure": false, "owner_type": null, diff --git a/spec/support/expected_files/remove_repo_with_dependencies/job_65-72.json b/spec/support/expected_files/remove_repo_with_dependencies/job_65-72.json index 31f3c2a..bf7892e 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/job_65-72.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/job_65-72.json @@ -15,8 +15,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -49,8 +49,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -83,8 +83,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -117,8 +117,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -151,8 +151,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "tags": null, "allow_failure": false, "owner_type": null, diff --git a/spec/support/expected_files/remove_repo_with_dependencies/job_7-56.json b/spec/support/expected_files/remove_repo_with_dependencies/job_7-56.json index ae31d66..963fd50 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/job_7-56.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/job_7-56.json @@ -15,8 +15,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -49,8 +49,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -83,8 +83,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -117,8 +117,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -151,8 +151,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "tags": null, "allow_failure": false, "owner_type": null, diff --git a/spec/support/expected_files/remove_repo_with_dependencies/job_73-80.json b/spec/support/expected_files/remove_repo_with_dependencies/job_73-80.json index 7f273cf..0c1cdc9 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/job_73-80.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/job_73-80.json @@ -15,8 +15,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -49,8 +49,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -83,8 +83,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -117,8 +117,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -151,8 +151,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "tags": null, "allow_failure": false, "owner_type": null, diff --git a/spec/support/expected_files/remove_repo_with_dependencies/job_82-88.json b/spec/support/expected_files/remove_repo_with_dependencies/job_82-88.json index affe9ee..c9e2699 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/job_82-88.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/job_82-88.json @@ -15,8 +15,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -49,8 +49,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -83,8 +83,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -117,8 +117,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -151,8 +151,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "tags": null, "allow_failure": false, "owner_type": null, diff --git a/spec/support/expected_files/remove_repo_with_dependencies/job_90-94.json b/spec/support/expected_files/remove_repo_with_dependencies/job_90-94.json index a92c52b..f967fa6 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/job_90-94.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/job_90-94.json @@ -15,8 +15,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -49,8 +49,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -83,8 +83,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -117,8 +117,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -151,8 +151,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "tags": null, "allow_failure": false, "owner_type": null, diff --git a/spec/support/expected_files/remove_repo_with_dependencies/job_95-144.json b/spec/support/expected_files/remove_repo_with_dependencies/job_95-144.json index ff3d603..ee547d0 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/job_95-144.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/job_95-144.json @@ -15,8 +15,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -49,8 +49,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -83,8 +83,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -117,8 +117,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -151,8 +151,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "tags": null, "allow_failure": false, "owner_type": null, diff --git a/spec/support/expected_files/remove_repo_with_dependencies/job_version_1-19.json b/spec/support/expected_files/remove_repo_with_dependencies/job_version_1-19.json index 35fe5b2..b94cc0a 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/job_version_1-19.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/job_version_1-19.json @@ -6,7 +6,7 @@ "job_id": 6, "number": null, "state": null, - "created_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", "queued_at": null, "received_at": null, "started_at": null, @@ -18,7 +18,7 @@ "job_id": 6, "number": null, "state": null, - "created_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", "queued_at": null, "received_at": null, "started_at": null, @@ -30,7 +30,7 @@ "job_id": 55, "number": null, "state": null, - "created_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", "queued_at": null, "received_at": null, "started_at": null, @@ -42,7 +42,7 @@ "job_id": 55, "number": null, "state": null, - "created_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", "queued_at": null, "received_at": null, "started_at": null, @@ -54,7 +54,7 @@ "job_id": 57, "number": null, "state": null, - "created_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", "queued_at": null, "received_at": null, "started_at": null, diff --git a/spec/support/expected_files/remove_repo_with_dependencies/job_version_20-24.json b/spec/support/expected_files/remove_repo_with_dependencies/job_version_20-24.json index 28c27a1..3abad23 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/job_version_20-24.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/job_version_20-24.json @@ -6,7 +6,7 @@ "job_id": 57, "number": null, "state": null, - "created_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", "queued_at": null, "received_at": null, "started_at": null, @@ -18,7 +18,7 @@ "job_id": 62, "number": null, "state": null, - "created_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", "queued_at": null, "received_at": null, "started_at": null, @@ -30,7 +30,7 @@ "job_id": 62, "number": null, "state": null, - "created_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", "queued_at": null, "received_at": null, "started_at": null, @@ -42,7 +42,7 @@ "job_id": 67, "number": null, "state": null, - "created_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", "queued_at": null, "received_at": null, "started_at": null, @@ -54,7 +54,7 @@ "job_id": 67, "number": null, "state": null, - "created_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", "queued_at": null, "received_at": null, "started_at": null, diff --git a/spec/support/expected_files/remove_repo_with_dependencies/job_version_25-29.json b/spec/support/expected_files/remove_repo_with_dependencies/job_version_25-29.json index 75530fe..d9a4740 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/job_version_25-29.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/job_version_25-29.json @@ -6,7 +6,7 @@ "job_id": 72, "number": null, "state": null, - "created_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", "queued_at": null, "received_at": null, "started_at": null, @@ -18,7 +18,7 @@ "job_id": 72, "number": null, "state": null, - "created_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", "queued_at": null, "received_at": null, "started_at": null, @@ -30,7 +30,7 @@ "job_id": 77, "number": null, "state": null, - "created_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", "queued_at": null, "received_at": null, "started_at": null, @@ -42,7 +42,7 @@ "job_id": 77, "number": null, "state": null, - "created_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", "queued_at": null, "received_at": null, "started_at": null, @@ -54,7 +54,7 @@ "job_id": 82, "number": null, "state": null, - "created_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", "queued_at": null, "received_at": null, "started_at": null, diff --git a/spec/support/expected_files/remove_repo_with_dependencies/job_version_30-34.json b/spec/support/expected_files/remove_repo_with_dependencies/job_version_30-34.json index 067bb2f..84e659e 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/job_version_30-34.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/job_version_30-34.json @@ -6,7 +6,7 @@ "job_id": 82, "number": null, "state": null, - "created_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", "queued_at": null, "received_at": null, "started_at": null, @@ -18,7 +18,7 @@ "job_id": 87, "number": null, "state": null, - "created_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", "queued_at": null, "received_at": null, "started_at": null, @@ -30,7 +30,7 @@ "job_id": 87, "number": null, "state": null, - "created_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", "queued_at": null, "received_at": null, "started_at": null, @@ -42,7 +42,7 @@ "job_id": 94, "number": null, "state": null, - "created_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", "queued_at": null, "received_at": null, "started_at": null, @@ -54,7 +54,7 @@ "job_id": 94, "number": null, "state": null, - "created_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", "queued_at": null, "received_at": null, "started_at": null, diff --git a/spec/support/expected_files/remove_repo_with_dependencies/job_version_49-53.json b/spec/support/expected_files/remove_repo_with_dependencies/job_version_49-53.json index 8215260..cdc8a86 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/job_version_49-53.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/job_version_49-53.json @@ -6,7 +6,7 @@ "job_id": 143, "number": null, "state": null, - "created_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", "queued_at": null, "received_at": null, "started_at": null, @@ -18,7 +18,7 @@ "job_id": 143, "number": null, "state": null, - "created_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", "queued_at": null, "received_at": null, "started_at": null, @@ -30,7 +30,7 @@ "job_id": 151, "number": null, "state": null, - "created_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", "queued_at": null, "received_at": null, "started_at": null, @@ -42,7 +42,7 @@ "job_id": 151, "number": null, "state": null, - "created_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", "queued_at": null, "received_at": null, "started_at": null, @@ -54,7 +54,7 @@ "job_id": 156, "number": null, "state": null, - "created_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", "queued_at": null, "received_at": null, "started_at": null, diff --git a/spec/support/expected_files/remove_repo_with_dependencies/job_version_54-58.json b/spec/support/expected_files/remove_repo_with_dependencies/job_version_54-58.json index 5d7c54f..5e42704 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/job_version_54-58.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/job_version_54-58.json @@ -6,7 +6,7 @@ "job_id": 156, "number": null, "state": null, - "created_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", "queued_at": null, "received_at": null, "started_at": null, @@ -18,7 +18,7 @@ "job_id": 161, "number": null, "state": null, - "created_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", "queued_at": null, "received_at": null, "started_at": null, @@ -30,7 +30,7 @@ "job_id": 161, "number": null, "state": null, - "created_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", "queued_at": null, "received_at": null, "started_at": null, @@ -42,7 +42,7 @@ "job_id": 169, "number": null, "state": null, - "created_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", "queued_at": null, "received_at": null, "started_at": null, @@ -54,7 +54,7 @@ "job_id": 169, "number": null, "state": null, - "created_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", "queued_at": null, "received_at": null, "started_at": null, diff --git a/spec/support/expected_files/remove_repo_with_dependencies/job_version_59-62.json b/spec/support/expected_files/remove_repo_with_dependencies/job_version_59-62.json index 47d589a..ed6c15a 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/job_version_59-62.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/job_version_59-62.json @@ -6,7 +6,7 @@ "job_id": 171, "number": null, "state": null, - "created_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", "queued_at": null, "received_at": null, "started_at": null, @@ -18,7 +18,7 @@ "job_id": 171, "number": null, "state": null, - "created_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", "queued_at": null, "received_at": null, "started_at": null, @@ -30,7 +30,7 @@ "job_id": 176, "number": null, "state": null, - "created_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", "queued_at": null, "received_at": null, "started_at": null, @@ -42,7 +42,7 @@ "job_id": 176, "number": null, "state": null, - "created_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", "queued_at": null, "received_at": null, "started_at": null, diff --git a/spec/support/expected_files/remove_repo_with_dependencies/message_14-26.json b/spec/support/expected_files/remove_repo_with_dependencies/message_14-26.json index 1ddbf2e..4792714 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/message_14-26.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/message_14-26.json @@ -9,8 +9,8 @@ "key": null, "code": null, "args": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "type": null, "src": null, "line": null @@ -23,8 +23,8 @@ "key": null, "code": null, "args": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "type": null, "src": null, "line": null @@ -37,8 +37,8 @@ "key": null, "code": null, "args": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "type": null, "src": null, "line": null @@ -51,8 +51,8 @@ "key": null, "code": null, "args": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "type": null, "src": null, "line": null @@ -65,8 +65,8 @@ "key": null, "code": null, "args": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "type": null, "src": null, "line": null diff --git a/spec/support/expected_files/remove_repo_with_dependencies/message_27-31.json b/spec/support/expected_files/remove_repo_with_dependencies/message_27-31.json index 0d57de4..cd08826 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/message_27-31.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/message_27-31.json @@ -9,8 +9,8 @@ "key": null, "code": null, "args": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "type": null, "src": null, "line": null @@ -23,8 +23,8 @@ "key": null, "code": null, "args": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "type": null, "src": null, "line": null @@ -37,8 +37,8 @@ "key": null, "code": null, "args": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "type": null, "src": null, "line": null @@ -51,8 +51,8 @@ "key": null, "code": null, "args": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "type": null, "src": null, "line": null @@ -65,8 +65,8 @@ "key": null, "code": null, "args": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "type": null, "src": null, "line": null diff --git a/spec/support/expected_files/remove_repo_with_dependencies/message_32-34.json b/spec/support/expected_files/remove_repo_with_dependencies/message_32-34.json index 3fbc997..75226d6 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/message_32-34.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/message_32-34.json @@ -9,8 +9,8 @@ "key": null, "code": null, "args": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "type": null, "src": null, "line": null @@ -23,8 +23,8 @@ "key": null, "code": null, "args": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "type": null, "src": null, "line": null @@ -37,8 +37,8 @@ "key": null, "code": null, "args": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "type": null, "src": null, "line": null diff --git a/spec/support/expected_files/remove_repo_with_dependencies/message_9-13.json b/spec/support/expected_files/remove_repo_with_dependencies/message_9-13.json index 6a183b4..6c3b210 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/message_9-13.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/message_9-13.json @@ -9,8 +9,8 @@ "key": null, "code": null, "args": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "type": null, "src": null, "line": null @@ -23,8 +23,8 @@ "key": null, "code": null, "args": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "type": null, "src": null, "line": null @@ -37,8 +37,8 @@ "key": null, "code": null, "args": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "type": null, "src": null, "line": null @@ -51,8 +51,8 @@ "key": null, "code": null, "args": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "type": null, "src": null, "line": null @@ -65,8 +65,8 @@ "key": null, "code": null, "args": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "type": null, "src": null, "line": null diff --git a/spec/support/expected_files/remove_repo_with_dependencies/pull_request_3-6.json b/spec/support/expected_files/remove_repo_with_dependencies/pull_request_3-6.json index 4fbc849..96e21c8 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/pull_request_3-6.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/pull_request_3-6.json @@ -10,8 +10,8 @@ "head_repo_github_id": null, "head_repo_slug": null, "head_ref": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "org_id": null, "com_id": null, "mergeable_state": null, @@ -29,8 +29,8 @@ "head_repo_github_id": null, "head_repo_slug": null, "head_ref": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "org_id": null, "com_id": null, "mergeable_state": null, diff --git a/spec/support/expected_files/remove_repo_with_dependencies/repository_1-1.json b/spec/support/expected_files/remove_repo_with_dependencies/repository_1-1.json index 7bd6088..122c3c8 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/repository_1-1.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/repository_1-1.json @@ -5,8 +5,8 @@ "id": 1, "name": null, "url": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "last_build_id": null, "last_build_number": null, "last_build_started_at": null, diff --git a/spec/support/expected_files/remove_repo_with_dependencies/request_11-15.json b/spec/support/expected_files/remove_repo_with_dependencies/request_11-15.json index c07b98a..1139876 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/request_11-15.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/request_11-15.json @@ -10,8 +10,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "event_type": null, "comments_url": null, "base_commit": null, @@ -42,8 +42,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "event_type": null, "comments_url": null, "base_commit": null, @@ -74,8 +74,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "event_type": null, "comments_url": null, "base_commit": null, @@ -106,8 +106,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "event_type": null, "comments_url": null, "base_commit": null, @@ -138,8 +138,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "event_type": null, "comments_url": null, "base_commit": null, diff --git a/spec/support/expected_files/remove_repo_with_dependencies/request_16-30.json b/spec/support/expected_files/remove_repo_with_dependencies/request_16-30.json index 4c824b7..e9e9779 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/request_16-30.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/request_16-30.json @@ -10,8 +10,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "event_type": null, "comments_url": null, "base_commit": null, @@ -42,8 +42,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "event_type": null, "comments_url": null, "base_commit": null, @@ -74,8 +74,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "event_type": null, "comments_url": null, "base_commit": null, @@ -106,8 +106,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "event_type": null, "comments_url": null, "base_commit": null, @@ -138,8 +138,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "event_type": null, "comments_url": null, "base_commit": null, diff --git a/spec/support/expected_files/remove_repo_with_dependencies/request_31-35.json b/spec/support/expected_files/remove_repo_with_dependencies/request_31-35.json index c8b47e3..0341453 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/request_31-35.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/request_31-35.json @@ -10,8 +10,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "event_type": null, "comments_url": null, "base_commit": null, @@ -42,8 +42,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "event_type": null, "comments_url": null, "base_commit": null, @@ -74,8 +74,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "event_type": null, "comments_url": null, "base_commit": null, @@ -106,8 +106,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "event_type": null, "comments_url": null, "base_commit": null, @@ -138,8 +138,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "event_type": null, "comments_url": null, "base_commit": null, diff --git a/spec/support/expected_files/remove_repo_with_dependencies/request_36-38.json b/spec/support/expected_files/remove_repo_with_dependencies/request_36-38.json index 5b625dc..5e7d698 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/request_36-38.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/request_36-38.json @@ -10,8 +10,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "event_type": null, "comments_url": null, "base_commit": null, @@ -42,8 +42,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "event_type": null, "comments_url": null, "base_commit": null, @@ -60,8 +60,8 @@ "sender_id": null, "org_id": null, "com_id": null, - "config_id": 1, - "yaml_config_id": null, + "config_id": null, + "yaml_config_id": 1, "github_guid": null, "pull_request_mergeable": null }, @@ -74,8 +74,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "event_type": null, "comments_url": null, "base_commit": null, @@ -92,8 +92,8 @@ "sender_id": null, "org_id": null, "com_id": null, - "config_id": 1, - "yaml_config_id": null, + "config_id": null, + "yaml_config_id": 1, "github_guid": null, "pull_request_mergeable": null } diff --git a/spec/support/expected_files/remove_repo_with_dependencies/request_payload_14-26.json b/spec/support/expected_files/remove_repo_with_dependencies/request_payload_14-26.json index 04f1321..7502bfc 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/request_payload_14-26.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/request_payload_14-26.json @@ -6,7 +6,7 @@ "request_id": 15, "payload": null, "archived": false, - "created_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", "org_id": null }, { @@ -14,7 +14,7 @@ "request_id": 17, "payload": null, "archived": false, - "created_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", "org_id": null }, { @@ -22,7 +22,7 @@ "request_id": 17, "payload": null, "archived": false, - "created_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", "org_id": null }, { @@ -30,7 +30,7 @@ "request_id": 29, "payload": null, "archived": false, - "created_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", "org_id": null }, { @@ -38,7 +38,7 @@ "request_id": 29, "payload": null, "archived": false, - "created_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", "org_id": null } ] diff --git a/spec/support/expected_files/remove_repo_with_dependencies/request_payload_27-31.json b/spec/support/expected_files/remove_repo_with_dependencies/request_payload_27-31.json index 926df05..332d471 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/request_payload_27-31.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/request_payload_27-31.json @@ -6,7 +6,7 @@ "request_id": 31, "payload": null, "archived": false, - "created_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", "org_id": null }, { @@ -14,7 +14,7 @@ "request_id": 31, "payload": null, "archived": false, - "created_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", "org_id": null }, { @@ -22,7 +22,7 @@ "request_id": 33, "payload": null, "archived": false, - "created_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", "org_id": null }, { @@ -30,7 +30,7 @@ "request_id": 33, "payload": null, "archived": false, - "created_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", "org_id": null }, { @@ -38,7 +38,7 @@ "request_id": 35, "payload": null, "archived": false, - "created_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", "org_id": null } ] diff --git a/spec/support/expected_files/remove_repo_with_dependencies/request_payload_32-34.json b/spec/support/expected_files/remove_repo_with_dependencies/request_payload_32-34.json index 26ff8cd..b509b8d 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/request_payload_32-34.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/request_payload_32-34.json @@ -6,7 +6,7 @@ "request_id": 35, "payload": null, "archived": false, - "created_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", "org_id": null }, { @@ -14,7 +14,7 @@ "request_id": 37, "payload": null, "archived": false, - "created_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", "org_id": null }, { @@ -22,7 +22,7 @@ "request_id": 37, "payload": null, "archived": false, - "created_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", "org_id": null } ] diff --git a/spec/support/expected_files/remove_repo_with_dependencies/request_payload_9-13.json b/spec/support/expected_files/remove_repo_with_dependencies/request_payload_9-13.json index f1ffc08..f25a094 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/request_payload_9-13.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/request_payload_9-13.json @@ -6,7 +6,7 @@ "request_id": 11, "payload": null, "archived": false, - "created_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", "org_id": null }, { @@ -14,7 +14,7 @@ "request_id": 11, "payload": null, "archived": false, - "created_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", "org_id": null }, { @@ -22,7 +22,7 @@ "request_id": 13, "payload": null, "archived": false, - "created_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", "org_id": null }, { @@ -30,7 +30,7 @@ "request_id": 13, "payload": null, "archived": false, - "created_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", "org_id": null }, { @@ -38,7 +38,7 @@ "request_id": 15, "payload": null, "archived": false, - "created_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", "org_id": null } ] diff --git a/spec/support/expected_files/remove_repo_with_dependencies/ssl_key_3-4.json b/spec/support/expected_files/remove_repo_with_dependencies/ssl_key_3-4.json index 54a5754..30e94cb 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/ssl_key_3-4.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/ssl_key_3-4.json @@ -6,8 +6,8 @@ "repository_id": 1, "public_key": null, "private_key": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "org_id": null, "com_id": null }, @@ -16,8 +16,8 @@ "repository_id": 1, "public_key": null, "private_key": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "org_id": null, "com_id": null } diff --git a/spec/support/expected_files/remove_repo_with_dependencies/star_3-4.json b/spec/support/expected_files/remove_repo_with_dependencies/star_3-4.json index 0e04859..d2c7878 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/star_3-4.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/star_3-4.json @@ -5,15 +5,15 @@ "id": 3, "repository_id": 1, "user_id": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC" + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC" }, { "id": 4, "repository_id": 1, "user_id": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC" + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC" } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/tag_33-38.json b/spec/support/expected_files/remove_repo_with_dependencies/tag_33-38.json index d526ba7..17e70ae 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/tag_33-38.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/tag_33-38.json @@ -7,8 +7,8 @@ "name": null, "last_build_id": null, "exists_on_github": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "org_id": null, "com_id": null }, @@ -18,8 +18,8 @@ "name": null, "last_build_id": null, "exists_on_github": null, - "created_at": "2021-08-31 01:29:32 UTC", - "updated_at": "2021-08-31 01:29:32 UTC", + "created_at": "2021-09-01 15:07:54 UTC", + "updated_at": "2021-09-01 15:07:54 UTC", "org_id": null, "com_id": null } diff --git a/spec/support/expected_files/remove_user_with_dependencies/abuse_14-26.json b/spec/support/expected_files/remove_user_with_dependencies/abuse_14-26.json index 8180c85..12f2084 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/abuse_14-26.json +++ b/spec/support/expected_files/remove_user_with_dependencies/abuse_14-26.json @@ -8,8 +8,8 @@ "request_id": 15, "level": 14, "reason": "some text", - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC" + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC" }, { "id": 15, @@ -18,8 +18,8 @@ "request_id": 17, "level": 15, "reason": "some text", - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC" + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC" }, { "id": 16, @@ -28,8 +28,8 @@ "request_id": 17, "level": 16, "reason": "some text", - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC" + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC" }, { "id": 25, @@ -38,8 +38,8 @@ "request_id": 29, "level": 25, "reason": "some text", - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC" + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC" }, { "id": 26, @@ -48,8 +48,8 @@ "request_id": 29, "level": 26, "reason": "some text", - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC" + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC" } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/abuse_27-31.json b/spec/support/expected_files/remove_user_with_dependencies/abuse_27-31.json index 1a115b5..df4b6fe 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/abuse_27-31.json +++ b/spec/support/expected_files/remove_user_with_dependencies/abuse_27-31.json @@ -8,8 +8,8 @@ "request_id": 31, "level": 27, "reason": "some text", - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC" + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC" }, { "id": 28, @@ -18,8 +18,8 @@ "request_id": 31, "level": 28, "reason": "some text", - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC" + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC" }, { "id": 29, @@ -28,8 +28,8 @@ "request_id": 33, "level": 29, "reason": "some text", - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC" + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC" }, { "id": 30, @@ -38,8 +38,8 @@ "request_id": 33, "level": 30, "reason": "some text", - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC" + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC" }, { "id": 31, @@ -48,8 +48,8 @@ "request_id": 35, "level": 31, "reason": "some text", - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC" + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC" } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/abuse_32-52.json b/spec/support/expected_files/remove_user_with_dependencies/abuse_32-52.json index 5581caf..d2830b3 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/abuse_32-52.json +++ b/spec/support/expected_files/remove_user_with_dependencies/abuse_32-52.json @@ -8,8 +8,8 @@ "request_id": 35, "level": 32, "reason": "some text", - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC" + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC" }, { "id": 33, @@ -18,8 +18,8 @@ "request_id": 37, "level": 33, "reason": "some text", - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC" + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC" }, { "id": 34, @@ -28,8 +28,8 @@ "request_id": 37, "level": 34, "reason": "some text", - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC" + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC" }, { "id": 51, @@ -38,8 +38,8 @@ "request_id": 59, "level": 51, "reason": "some text", - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC" + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC" }, { "id": 52, @@ -48,8 +48,8 @@ "request_id": 59, "level": 52, "reason": "some text", - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC" + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC" } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/abuse_53-56.json b/spec/support/expected_files/remove_user_with_dependencies/abuse_53-56.json index d3d0ab6..301a2e1 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/abuse_53-56.json +++ b/spec/support/expected_files/remove_user_with_dependencies/abuse_53-56.json @@ -8,8 +8,8 @@ "request_id": 61, "level": 53, "reason": "some text", - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC" + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC" }, { "id": 54, @@ -18,8 +18,8 @@ "request_id": 61, "level": 54, "reason": "some text", - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC" + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC" }, { "id": 55, @@ -28,8 +28,8 @@ "request_id": null, "level": 55, "reason": "some text", - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC" + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC" }, { "id": 56, @@ -38,8 +38,8 @@ "request_id": null, "level": 56, "reason": "some text", - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC" + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC" } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/abuse_9-13.json b/spec/support/expected_files/remove_user_with_dependencies/abuse_9-13.json index 6712b1f..10ba117 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/abuse_9-13.json +++ b/spec/support/expected_files/remove_user_with_dependencies/abuse_9-13.json @@ -8,8 +8,8 @@ "request_id": 11, "level": 9, "reason": "some text", - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC" + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC" }, { "id": 10, @@ -18,8 +18,8 @@ "request_id": 11, "level": 10, "reason": "some text", - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC" + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC" }, { "id": 11, @@ -28,8 +28,8 @@ "request_id": 13, "level": 11, "reason": "some text", - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC" + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC" }, { "id": 12, @@ -38,8 +38,8 @@ "request_id": 13, "level": 12, "reason": "some text", - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC" + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC" }, { "id": 13, @@ -48,8 +48,8 @@ "request_id": 15, "level": 13, "reason": "some text", - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC" + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC" } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/branch_14-19.json b/spec/support/expected_files/remove_user_with_dependencies/branch_14-19.json index 2538958..751717a 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/branch_14-19.json +++ b/spec/support/expected_files/remove_user_with_dependencies/branch_14-19.json @@ -7,8 +7,8 @@ "last_build_id": null, "name": "branch_14", "exists_on_github": true, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "org_id": null, "com_id": null }, @@ -18,8 +18,8 @@ "last_build_id": null, "name": "branch_19", "exists_on_github": true, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "org_id": null, "com_id": null } diff --git a/spec/support/expected_files/remove_user_with_dependencies/broadcast_1-2.json b/spec/support/expected_files/remove_user_with_dependencies/broadcast_1-2.json index 1c2b9ca..1d7b73c 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/broadcast_1-2.json +++ b/spec/support/expected_files/remove_user_with_dependencies/broadcast_1-2.json @@ -8,8 +8,8 @@ "kind": null, "message": null, "expired": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "category": null }, { @@ -19,8 +19,8 @@ "kind": null, "message": null, "expired": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "category": null } ] diff --git a/spec/support/expected_files/remove_user_with_dependencies/build_1-59.json b/spec/support/expected_files/remove_user_with_dependencies/build_1-59.json index 7141e23..2180f90 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/build_1-59.json +++ b/spec/support/expected_files/remove_user_with_dependencies/build_1-59.json @@ -14,8 +14,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "ref": null, "branch": null, "github_payload": null, @@ -59,8 +59,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "ref": null, "branch": null, "github_payload": null, @@ -104,8 +104,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "ref": null, "branch": null, "github_payload": null, @@ -149,8 +149,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "ref": null, "branch": null, "github_payload": null, @@ -194,8 +194,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "ref": null, "branch": null, "github_payload": null, diff --git a/spec/support/expected_files/remove_user_with_dependencies/build_145-153.json b/spec/support/expected_files/remove_user_with_dependencies/build_145-153.json index 070c85f..4dc97b9 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/build_145-153.json +++ b/spec/support/expected_files/remove_user_with_dependencies/build_145-153.json @@ -14,8 +14,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "ref": null, "branch": null, "github_payload": null, @@ -59,8 +59,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "ref": null, "branch": null, "github_payload": null, @@ -104,8 +104,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "ref": null, "branch": null, "github_payload": null, @@ -149,8 +149,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "ref": null, "branch": null, "github_payload": null, @@ -194,8 +194,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "ref": null, "branch": null, "github_payload": null, diff --git a/spec/support/expected_files/remove_user_with_dependencies/build_155-165.json b/spec/support/expected_files/remove_user_with_dependencies/build_155-165.json index eedd021..49a6e74 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/build_155-165.json +++ b/spec/support/expected_files/remove_user_with_dependencies/build_155-165.json @@ -14,8 +14,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "ref": null, "branch": null, "github_payload": null, @@ -59,8 +59,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "ref": null, "branch": null, "github_payload": null, @@ -104,8 +104,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "ref": null, "branch": null, "github_payload": null, @@ -149,8 +149,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "ref": null, "branch": null, "github_payload": null, @@ -194,8 +194,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "ref": null, "branch": null, "github_payload": null, diff --git a/spec/support/expected_files/remove_user_with_dependencies/build_166-178.json b/spec/support/expected_files/remove_user_with_dependencies/build_166-178.json index 25a5635..9025c59 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/build_166-178.json +++ b/spec/support/expected_files/remove_user_with_dependencies/build_166-178.json @@ -14,8 +14,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "ref": null, "branch": null, "github_payload": null, @@ -59,8 +59,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "ref": null, "branch": null, "github_payload": null, @@ -104,8 +104,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "ref": null, "branch": null, "github_payload": null, @@ -149,8 +149,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "ref": null, "branch": null, "github_payload": null, @@ -194,8 +194,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "ref": null, "branch": null, "github_payload": null, diff --git a/spec/support/expected_files/remove_user_with_dependencies/build_228-282.json b/spec/support/expected_files/remove_user_with_dependencies/build_228-282.json index 6d4b1f2..dfec309 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/build_228-282.json +++ b/spec/support/expected_files/remove_user_with_dependencies/build_228-282.json @@ -14,8 +14,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "ref": null, "branch": null, "github_payload": null, @@ -59,8 +59,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "ref": null, "branch": null, "github_payload": null, @@ -104,8 +104,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "ref": null, "branch": null, "github_payload": null, @@ -149,8 +149,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "ref": null, "branch": null, "github_payload": null, @@ -194,8 +194,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "ref": null, "branch": null, "github_payload": null, diff --git a/spec/support/expected_files/remove_user_with_dependencies/build_285-287.json b/spec/support/expected_files/remove_user_with_dependencies/build_285-287.json index ca25242..b0a350c 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/build_285-287.json +++ b/spec/support/expected_files/remove_user_with_dependencies/build_285-287.json @@ -14,8 +14,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "ref": null, "branch": null, "github_payload": null, @@ -59,8 +59,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "ref": null, "branch": null, "github_payload": null, diff --git a/spec/support/expected_files/remove_user_with_dependencies/build_61-71.json b/spec/support/expected_files/remove_user_with_dependencies/build_61-71.json index fef4504..c2e4ec3 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/build_61-71.json +++ b/spec/support/expected_files/remove_user_with_dependencies/build_61-71.json @@ -14,8 +14,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "ref": null, "branch": null, "github_payload": null, @@ -59,8 +59,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "ref": null, "branch": null, "github_payload": null, @@ -104,8 +104,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "ref": null, "branch": null, "github_payload": null, @@ -149,8 +149,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "ref": null, "branch": null, "github_payload": null, @@ -194,8 +194,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "ref": null, "branch": null, "github_payload": null, diff --git a/spec/support/expected_files/remove_user_with_dependencies/build_74-84.json b/spec/support/expected_files/remove_user_with_dependencies/build_74-84.json index d4f0c02..36c9b1e 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/build_74-84.json +++ b/spec/support/expected_files/remove_user_with_dependencies/build_74-84.json @@ -14,8 +14,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "ref": null, "branch": null, "github_payload": null, @@ -59,8 +59,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "ref": null, "branch": null, "github_payload": null, @@ -104,8 +104,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "ref": null, "branch": null, "github_payload": null, @@ -149,8 +149,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "ref": null, "branch": null, "github_payload": null, @@ -194,8 +194,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "ref": null, "branch": null, "github_payload": null, diff --git a/spec/support/expected_files/remove_user_with_dependencies/build_86-142.json b/spec/support/expected_files/remove_user_with_dependencies/build_86-142.json index 33a0575..04fb9b2 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/build_86-142.json +++ b/spec/support/expected_files/remove_user_with_dependencies/build_86-142.json @@ -14,8 +14,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "ref": null, "branch": null, "github_payload": null, @@ -59,8 +59,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "ref": null, "branch": null, "github_payload": null, @@ -104,8 +104,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "ref": null, "branch": null, "github_payload": null, @@ -149,8 +149,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "ref": null, "branch": null, "github_payload": null, @@ -194,8 +194,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "ref": null, "branch": null, "github_payload": null, diff --git a/spec/support/expected_files/remove_user_with_dependencies/commit_18-18.json b/spec/support/expected_files/remove_user_with_dependencies/commit_18-18.json index 637ff1f..8d1fedf 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/commit_18-18.json +++ b/spec/support/expected_files/remove_user_with_dependencies/commit_18-18.json @@ -14,8 +14,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "branch_id": null, "tag_id": 33, "org_id": null, diff --git a/spec/support/expected_files/remove_user_with_dependencies/commit_7-17.json b/spec/support/expected_files/remove_user_with_dependencies/commit_7-17.json index ec39e33..c3f6cf8 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/commit_7-17.json +++ b/spec/support/expected_files/remove_user_with_dependencies/commit_7-17.json @@ -14,8 +14,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "branch_id": 14, "tag_id": null, "org_id": null, @@ -34,8 +34,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "branch_id": 14, "tag_id": null, "org_id": null, @@ -54,8 +54,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "branch_id": null, "tag_id": null, "org_id": null, @@ -74,8 +74,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "branch_id": null, "tag_id": null, "org_id": null, @@ -94,8 +94,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "branch_id": null, "tag_id": 33, "org_id": null, diff --git a/spec/support/expected_files/remove_user_with_dependencies/cron_2-2.json b/spec/support/expected_files/remove_user_with_dependencies/cron_2-2.json index 683af06..47efa7c 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/cron_2-2.json +++ b/spec/support/expected_files/remove_user_with_dependencies/cron_2-2.json @@ -5,8 +5,8 @@ "id": 2, "branch_id": 14, "interval": "test", - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "next_run": null, "last_run": null, "dont_run_if_recent_build_exists": false, diff --git a/spec/support/expected_files/remove_user_with_dependencies/deleted_build_100-102.json b/spec/support/expected_files/remove_user_with_dependencies/deleted_build_100-102.json index e7158da..5c271ef 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/deleted_build_100-102.json +++ b/spec/support/expected_files/remove_user_with_dependencies/deleted_build_100-102.json @@ -14,8 +14,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "ref": null, "branch": null, "github_payload": null, @@ -59,8 +59,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "ref": null, "branch": null, "github_payload": null, @@ -104,8 +104,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "ref": null, "branch": null, "github_payload": null, diff --git a/spec/support/expected_files/remove_user_with_dependencies/deleted_build_17-21.json b/spec/support/expected_files/remove_user_with_dependencies/deleted_build_17-21.json index a553bcc..97ad375 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/deleted_build_17-21.json +++ b/spec/support/expected_files/remove_user_with_dependencies/deleted_build_17-21.json @@ -14,8 +14,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "ref": null, "branch": null, "github_payload": null, @@ -59,8 +59,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "ref": null, "branch": null, "github_payload": null, @@ -104,8 +104,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "ref": null, "branch": null, "github_payload": null, @@ -149,8 +149,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "ref": null, "branch": null, "github_payload": null, @@ -194,8 +194,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "ref": null, "branch": null, "github_payload": null, diff --git a/spec/support/expected_files/remove_user_with_dependencies/deleted_build_22-26.json b/spec/support/expected_files/remove_user_with_dependencies/deleted_build_22-26.json index 0ed7b2c..36a51fd 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/deleted_build_22-26.json +++ b/spec/support/expected_files/remove_user_with_dependencies/deleted_build_22-26.json @@ -14,8 +14,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "ref": null, "branch": null, "github_payload": null, @@ -59,8 +59,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "ref": null, "branch": null, "github_payload": null, @@ -104,8 +104,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "ref": null, "branch": null, "github_payload": null, @@ -149,8 +149,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "ref": null, "branch": null, "github_payload": null, @@ -194,8 +194,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "ref": null, "branch": null, "github_payload": null, diff --git a/spec/support/expected_files/remove_user_with_dependencies/deleted_build_27-47.json b/spec/support/expected_files/remove_user_with_dependencies/deleted_build_27-47.json index e22b24e..960474f 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/deleted_build_27-47.json +++ b/spec/support/expected_files/remove_user_with_dependencies/deleted_build_27-47.json @@ -14,8 +14,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "ref": null, "branch": null, "github_payload": null, @@ -59,8 +59,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "ref": null, "branch": null, "github_payload": null, @@ -104,8 +104,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "ref": null, "branch": null, "github_payload": null, @@ -149,8 +149,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "ref": null, "branch": null, "github_payload": null, @@ -194,8 +194,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "ref": null, "branch": null, "github_payload": null, diff --git a/spec/support/expected_files/remove_user_with_dependencies/deleted_build_48-52.json b/spec/support/expected_files/remove_user_with_dependencies/deleted_build_48-52.json index c609721..f2f7b90 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/deleted_build_48-52.json +++ b/spec/support/expected_files/remove_user_with_dependencies/deleted_build_48-52.json @@ -14,8 +14,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "ref": null, "branch": null, "github_payload": null, @@ -59,8 +59,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "ref": null, "branch": null, "github_payload": null, @@ -104,8 +104,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "ref": null, "branch": null, "github_payload": null, @@ -149,8 +149,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "ref": null, "branch": null, "github_payload": null, @@ -194,8 +194,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "ref": null, "branch": null, "github_payload": null, diff --git a/spec/support/expected_files/remove_user_with_dependencies/deleted_build_53-57.json b/spec/support/expected_files/remove_user_with_dependencies/deleted_build_53-57.json index 3f2d5c2..0623b71 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/deleted_build_53-57.json +++ b/spec/support/expected_files/remove_user_with_dependencies/deleted_build_53-57.json @@ -14,8 +14,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "ref": null, "branch": null, "github_payload": null, @@ -59,8 +59,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "ref": null, "branch": null, "github_payload": null, @@ -104,8 +104,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "ref": null, "branch": null, "github_payload": null, @@ -149,8 +149,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "ref": null, "branch": null, "github_payload": null, @@ -194,8 +194,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "ref": null, "branch": null, "github_payload": null, diff --git a/spec/support/expected_files/remove_user_with_dependencies/deleted_build_58-62.json b/spec/support/expected_files/remove_user_with_dependencies/deleted_build_58-62.json index db39ce6..d5cebd2 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/deleted_build_58-62.json +++ b/spec/support/expected_files/remove_user_with_dependencies/deleted_build_58-62.json @@ -14,8 +14,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "ref": null, "branch": null, "github_payload": null, @@ -59,8 +59,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "ref": null, "branch": null, "github_payload": null, @@ -104,8 +104,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "ref": null, "branch": null, "github_payload": null, @@ -149,8 +149,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "ref": null, "branch": null, "github_payload": null, @@ -194,8 +194,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "ref": null, "branch": null, "github_payload": null, diff --git a/spec/support/expected_files/remove_user_with_dependencies/deleted_build_63-99.json b/spec/support/expected_files/remove_user_with_dependencies/deleted_build_63-99.json index abdf9bb..f3f4a56 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/deleted_build_63-99.json +++ b/spec/support/expected_files/remove_user_with_dependencies/deleted_build_63-99.json @@ -14,8 +14,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "ref": null, "branch": null, "github_payload": null, @@ -59,8 +59,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "ref": null, "branch": null, "github_payload": null, @@ -104,8 +104,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "ref": null, "branch": null, "github_payload": null, @@ -149,8 +149,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "ref": null, "branch": null, "github_payload": null, @@ -194,8 +194,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "ref": null, "branch": null, "github_payload": null, diff --git a/spec/support/expected_files/remove_user_with_dependencies/deleted_commit_14-14.json b/spec/support/expected_files/remove_user_with_dependencies/deleted_commit_14-14.json index 18ab3ee..4212e90 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/deleted_commit_14-14.json +++ b/spec/support/expected_files/remove_user_with_dependencies/deleted_commit_14-14.json @@ -14,8 +14,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "branch_id": null, "tag_id": null, "org_id": null, diff --git a/spec/support/expected_files/remove_user_with_dependencies/deleted_commit_5-13.json b/spec/support/expected_files/remove_user_with_dependencies/deleted_commit_5-13.json index 297cdb4..5b08d68 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/deleted_commit_5-13.json +++ b/spec/support/expected_files/remove_user_with_dependencies/deleted_commit_5-13.json @@ -14,8 +14,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "branch_id": 14, "tag_id": null, "org_id": null, @@ -34,8 +34,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "branch_id": 14, "tag_id": null, "org_id": null, @@ -54,8 +54,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "branch_id": null, "tag_id": 33, "org_id": null, @@ -74,8 +74,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "branch_id": null, "tag_id": 33, "org_id": null, @@ -94,8 +94,8 @@ "committer_email": null, "author_name": null, "author_email": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "branch_id": null, "tag_id": null, "org_id": null, diff --git a/spec/support/expected_files/remove_user_with_dependencies/deleted_job_15-19.json b/spec/support/expected_files/remove_user_with_dependencies/deleted_job_15-19.json index ee8c4d1..00ae614 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/deleted_job_15-19.json +++ b/spec/support/expected_files/remove_user_with_dependencies/deleted_job_15-19.json @@ -15,8 +15,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "tags": null, "allow_failure": null, "owner_type": null, @@ -49,8 +49,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "tags": null, "allow_failure": null, "owner_type": null, @@ -83,8 +83,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "tags": null, "allow_failure": null, "owner_type": null, @@ -117,8 +117,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "tags": null, "allow_failure": null, "owner_type": null, @@ -151,8 +151,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "tags": null, "allow_failure": null, "owner_type": null, diff --git a/spec/support/expected_files/remove_user_with_dependencies/deleted_job_20-24.json b/spec/support/expected_files/remove_user_with_dependencies/deleted_job_20-24.json index 105167a..0e44b3e 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/deleted_job_20-24.json +++ b/spec/support/expected_files/remove_user_with_dependencies/deleted_job_20-24.json @@ -15,8 +15,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "tags": null, "allow_failure": null, "owner_type": null, @@ -49,8 +49,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "tags": null, "allow_failure": null, "owner_type": null, @@ -83,8 +83,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "tags": null, "allow_failure": null, "owner_type": null, @@ -117,8 +117,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "tags": null, "allow_failure": null, "owner_type": null, @@ -151,8 +151,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "tags": null, "allow_failure": null, "owner_type": null, diff --git a/spec/support/expected_files/remove_user_with_dependencies/deleted_job_25-29.json b/spec/support/expected_files/remove_user_with_dependencies/deleted_job_25-29.json index cae1c21..081e08f 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/deleted_job_25-29.json +++ b/spec/support/expected_files/remove_user_with_dependencies/deleted_job_25-29.json @@ -15,8 +15,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "tags": null, "allow_failure": null, "owner_type": null, @@ -49,8 +49,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "tags": null, "allow_failure": null, "owner_type": null, @@ -83,8 +83,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "tags": null, "allow_failure": null, "owner_type": null, @@ -117,8 +117,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "tags": null, "allow_failure": null, "owner_type": null, @@ -151,8 +151,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "tags": null, "allow_failure": null, "owner_type": null, diff --git a/spec/support/expected_files/remove_user_with_dependencies/deleted_job_44-48.json b/spec/support/expected_files/remove_user_with_dependencies/deleted_job_44-48.json index fe73ff3..ee6992c 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/deleted_job_44-48.json +++ b/spec/support/expected_files/remove_user_with_dependencies/deleted_job_44-48.json @@ -15,8 +15,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "tags": null, "allow_failure": null, "owner_type": null, @@ -49,8 +49,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "tags": null, "allow_failure": null, "owner_type": null, @@ -83,8 +83,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "tags": null, "allow_failure": null, "owner_type": null, @@ -117,8 +117,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "tags": null, "allow_failure": null, "owner_type": null, @@ -151,8 +151,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "tags": null, "allow_failure": null, "owner_type": null, diff --git a/spec/support/expected_files/remove_user_with_dependencies/deleted_job_49-53.json b/spec/support/expected_files/remove_user_with_dependencies/deleted_job_49-53.json index cfada4e..c069152 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/deleted_job_49-53.json +++ b/spec/support/expected_files/remove_user_with_dependencies/deleted_job_49-53.json @@ -15,8 +15,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "tags": null, "allow_failure": null, "owner_type": null, @@ -49,8 +49,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "tags": null, "allow_failure": null, "owner_type": null, @@ -83,8 +83,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "tags": null, "allow_failure": null, "owner_type": null, @@ -117,8 +117,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "tags": null, "allow_failure": null, "owner_type": null, @@ -151,8 +151,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "tags": null, "allow_failure": null, "owner_type": null, diff --git a/spec/support/expected_files/remove_user_with_dependencies/deleted_job_54-58.json b/spec/support/expected_files/remove_user_with_dependencies/deleted_job_54-58.json index d5c25e8..bd20eff 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/deleted_job_54-58.json +++ b/spec/support/expected_files/remove_user_with_dependencies/deleted_job_54-58.json @@ -15,8 +15,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "tags": null, "allow_failure": null, "owner_type": null, @@ -49,8 +49,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "tags": null, "allow_failure": null, "owner_type": null, @@ -83,8 +83,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "tags": null, "allow_failure": null, "owner_type": null, @@ -117,8 +117,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "tags": null, "allow_failure": null, "owner_type": null, @@ -151,8 +151,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "tags": null, "allow_failure": null, "owner_type": null, diff --git a/spec/support/expected_files/remove_user_with_dependencies/deleted_job_59-91.json b/spec/support/expected_files/remove_user_with_dependencies/deleted_job_59-91.json index 8db2fbc..288c072 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/deleted_job_59-91.json +++ b/spec/support/expected_files/remove_user_with_dependencies/deleted_job_59-91.json @@ -15,8 +15,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "tags": null, "allow_failure": null, "owner_type": null, @@ -49,8 +49,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "tags": null, "allow_failure": null, "owner_type": null, @@ -83,8 +83,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "tags": null, "allow_failure": null, "owner_type": null, @@ -117,8 +117,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "tags": null, "allow_failure": null, "owner_type": null, @@ -151,8 +151,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "tags": null, "allow_failure": null, "owner_type": null, diff --git a/spec/support/expected_files/remove_user_with_dependencies/deleted_job_92-94.json b/spec/support/expected_files/remove_user_with_dependencies/deleted_job_92-94.json index 3042010..2026e9b 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/deleted_job_92-94.json +++ b/spec/support/expected_files/remove_user_with_dependencies/deleted_job_92-94.json @@ -15,8 +15,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "tags": null, "allow_failure": null, "owner_type": null, @@ -49,8 +49,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "tags": null, "allow_failure": null, "owner_type": null, @@ -83,8 +83,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "tags": null, "allow_failure": null, "owner_type": null, diff --git a/spec/support/expected_files/remove_user_with_dependencies/deleted_pull_request_1-2.json b/spec/support/expected_files/remove_user_with_dependencies/deleted_pull_request_1-2.json index 94f18bb..7b5fcfa 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/deleted_pull_request_1-2.json +++ b/spec/support/expected_files/remove_user_with_dependencies/deleted_pull_request_1-2.json @@ -10,8 +10,8 @@ "head_repo_github_id": null, "head_repo_slug": null, "head_ref": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "org_id": null, "com_id": null, "mergeable_state": null, @@ -29,8 +29,8 @@ "head_repo_github_id": null, "head_repo_slug": null, "head_ref": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "org_id": null, "com_id": null, "mergeable_state": null, diff --git a/spec/support/expected_files/remove_user_with_dependencies/deleted_request_14-26.json b/spec/support/expected_files/remove_user_with_dependencies/deleted_request_14-26.json index 1e8b24b..007cac6 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/deleted_request_14-26.json +++ b/spec/support/expected_files/remove_user_with_dependencies/deleted_request_14-26.json @@ -10,8 +10,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "event_type": null, "comments_url": null, "base_commit": null, @@ -42,8 +42,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "event_type": null, "comments_url": null, "base_commit": null, @@ -74,8 +74,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "event_type": null, "comments_url": null, "base_commit": null, @@ -106,8 +106,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "event_type": null, "comments_url": null, "base_commit": null, @@ -138,8 +138,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "event_type": null, "comments_url": null, "base_commit": null, diff --git a/spec/support/expected_files/remove_user_with_dependencies/deleted_request_27-31.json b/spec/support/expected_files/remove_user_with_dependencies/deleted_request_27-31.json index 7fc5f81..0348296 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/deleted_request_27-31.json +++ b/spec/support/expected_files/remove_user_with_dependencies/deleted_request_27-31.json @@ -10,8 +10,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "event_type": null, "comments_url": null, "base_commit": null, @@ -42,8 +42,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "event_type": null, "comments_url": null, "base_commit": null, @@ -74,8 +74,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "event_type": null, "comments_url": null, "base_commit": null, @@ -106,8 +106,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "event_type": null, "comments_url": null, "base_commit": null, @@ -138,8 +138,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "event_type": null, "comments_url": null, "base_commit": null, @@ -156,8 +156,8 @@ "sender_id": null, "org_id": null, "com_id": null, - "config_id": 1, - "yaml_config_id": null, + "config_id": null, + "yaml_config_id": 1, "github_guid": null, "pull_request_mergeable": null } diff --git a/spec/support/expected_files/remove_user_with_dependencies/deleted_request_32-34.json b/spec/support/expected_files/remove_user_with_dependencies/deleted_request_32-34.json index a54d310..c4fda9f 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/deleted_request_32-34.json +++ b/spec/support/expected_files/remove_user_with_dependencies/deleted_request_32-34.json @@ -10,8 +10,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "event_type": null, "comments_url": null, "base_commit": null, @@ -28,8 +28,8 @@ "sender_id": null, "org_id": null, "com_id": null, - "config_id": 1, - "yaml_config_id": null, + "config_id": null, + "yaml_config_id": 1, "github_guid": null, "pull_request_mergeable": null }, @@ -42,8 +42,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "event_type": null, "comments_url": null, "base_commit": null, @@ -74,8 +74,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "event_type": null, "comments_url": null, "base_commit": null, diff --git a/spec/support/expected_files/remove_user_with_dependencies/deleted_request_9-13.json b/spec/support/expected_files/remove_user_with_dependencies/deleted_request_9-13.json index 5e80e79..8945a10 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/deleted_request_9-13.json +++ b/spec/support/expected_files/remove_user_with_dependencies/deleted_request_9-13.json @@ -10,8 +10,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "event_type": null, "comments_url": null, "base_commit": null, @@ -42,8 +42,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "event_type": null, "comments_url": null, "base_commit": null, @@ -74,8 +74,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "event_type": null, "comments_url": null, "base_commit": null, @@ -106,8 +106,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "event_type": null, "comments_url": null, "base_commit": null, @@ -138,8 +138,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "event_type": null, "comments_url": null, "base_commit": null, diff --git a/spec/support/expected_files/remove_user_with_dependencies/deleted_request_payload_14-26.json b/spec/support/expected_files/remove_user_with_dependencies/deleted_request_payload_14-26.json index fe38126..0fbf858 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/deleted_request_payload_14-26.json +++ b/spec/support/expected_files/remove_user_with_dependencies/deleted_request_payload_14-26.json @@ -6,7 +6,7 @@ "request_id": 15, "payload": null, "archived": null, - "created_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", "org_id": null }, { @@ -14,7 +14,7 @@ "request_id": 17, "payload": null, "archived": null, - "created_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", "org_id": null }, { @@ -22,7 +22,7 @@ "request_id": 17, "payload": null, "archived": null, - "created_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", "org_id": null }, { @@ -30,7 +30,7 @@ "request_id": 29, "payload": null, "archived": null, - "created_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", "org_id": null }, { @@ -38,7 +38,7 @@ "request_id": 29, "payload": null, "archived": null, - "created_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", "org_id": null } ] diff --git a/spec/support/expected_files/remove_user_with_dependencies/deleted_request_payload_27-31.json b/spec/support/expected_files/remove_user_with_dependencies/deleted_request_payload_27-31.json index f49dc57..1a288ea 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/deleted_request_payload_27-31.json +++ b/spec/support/expected_files/remove_user_with_dependencies/deleted_request_payload_27-31.json @@ -6,7 +6,7 @@ "request_id": 31, "payload": null, "archived": null, - "created_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", "org_id": null }, { @@ -14,7 +14,7 @@ "request_id": 31, "payload": null, "archived": null, - "created_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", "org_id": null }, { @@ -22,7 +22,7 @@ "request_id": 33, "payload": null, "archived": null, - "created_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", "org_id": null }, { @@ -30,7 +30,7 @@ "request_id": 33, "payload": null, "archived": null, - "created_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", "org_id": null }, { @@ -38,7 +38,7 @@ "request_id": 35, "payload": null, "archived": null, - "created_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", "org_id": null } ] diff --git a/spec/support/expected_files/remove_user_with_dependencies/deleted_request_payload_32-52.json b/spec/support/expected_files/remove_user_with_dependencies/deleted_request_payload_32-52.json index 3950bb3..05fd4ed 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/deleted_request_payload_32-52.json +++ b/spec/support/expected_files/remove_user_with_dependencies/deleted_request_payload_32-52.json @@ -6,7 +6,7 @@ "request_id": 35, "payload": null, "archived": null, - "created_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", "org_id": null }, { @@ -14,7 +14,7 @@ "request_id": 37, "payload": null, "archived": null, - "created_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", "org_id": null }, { @@ -22,7 +22,7 @@ "request_id": 37, "payload": null, "archived": null, - "created_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", "org_id": null }, { @@ -30,7 +30,7 @@ "request_id": 59, "payload": null, "archived": null, - "created_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", "org_id": null }, { @@ -38,7 +38,7 @@ "request_id": 59, "payload": null, "archived": null, - "created_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", "org_id": null } ] diff --git a/spec/support/expected_files/remove_user_with_dependencies/deleted_request_payload_53-54.json b/spec/support/expected_files/remove_user_with_dependencies/deleted_request_payload_53-54.json index d713c88..2eff293 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/deleted_request_payload_53-54.json +++ b/spec/support/expected_files/remove_user_with_dependencies/deleted_request_payload_53-54.json @@ -6,7 +6,7 @@ "request_id": 61, "payload": null, "archived": null, - "created_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", "org_id": null }, { @@ -14,7 +14,7 @@ "request_id": 61, "payload": null, "archived": null, - "created_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", "org_id": null } ] diff --git a/spec/support/expected_files/remove_user_with_dependencies/deleted_request_payload_9-13.json b/spec/support/expected_files/remove_user_with_dependencies/deleted_request_payload_9-13.json index 4df8bc4..71743f3 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/deleted_request_payload_9-13.json +++ b/spec/support/expected_files/remove_user_with_dependencies/deleted_request_payload_9-13.json @@ -6,7 +6,7 @@ "request_id": 11, "payload": null, "archived": null, - "created_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", "org_id": null }, { @@ -14,7 +14,7 @@ "request_id": 11, "payload": null, "archived": null, - "created_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", "org_id": null }, { @@ -22,7 +22,7 @@ "request_id": 13, "payload": null, "archived": null, - "created_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", "org_id": null }, { @@ -30,7 +30,7 @@ "request_id": 13, "payload": null, "archived": null, - "created_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", "org_id": null }, { @@ -38,7 +38,7 @@ "request_id": 15, "payload": null, "archived": null, - "created_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", "org_id": null } ] diff --git a/spec/support/expected_files/remove_user_with_dependencies/deleted_ssl_key_1-2.json b/spec/support/expected_files/remove_user_with_dependencies/deleted_ssl_key_1-2.json index 49e5ac9..ee9b629 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/deleted_ssl_key_1-2.json +++ b/spec/support/expected_files/remove_user_with_dependencies/deleted_ssl_key_1-2.json @@ -6,8 +6,8 @@ "repository_id": 1, "public_key": null, "private_key": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "org_id": null, "com_id": null }, @@ -16,8 +16,8 @@ "repository_id": 1, "public_key": null, "private_key": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "org_id": null, "com_id": null } diff --git a/spec/support/expected_files/remove_user_with_dependencies/deleted_tag_3-4.json b/spec/support/expected_files/remove_user_with_dependencies/deleted_tag_3-4.json index 520c040..c758942 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/deleted_tag_3-4.json +++ b/spec/support/expected_files/remove_user_with_dependencies/deleted_tag_3-4.json @@ -7,8 +7,8 @@ "name": null, "last_build_id": null, "exists_on_github": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "org_id": null, "com_id": null }, @@ -18,8 +18,8 @@ "name": null, "last_build_id": null, "exists_on_github": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "org_id": null, "com_id": null } diff --git a/spec/support/expected_files/remove_user_with_dependencies/email_1-2.json b/spec/support/expected_files/remove_user_with_dependencies/email_1-2.json index 5f94293..822594a 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/email_1-2.json +++ b/spec/support/expected_files/remove_user_with_dependencies/email_1-2.json @@ -5,15 +5,15 @@ "id": 1, "user_id": 1, "email": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC" + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC" }, { "id": 2, "user_id": 1, "email": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC" + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC" } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/email_unsubscribe_1-2.json b/spec/support/expected_files/remove_user_with_dependencies/email_unsubscribe_1-2.json index f6a4c10..4d6badb 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/email_unsubscribe_1-2.json +++ b/spec/support/expected_files/remove_user_with_dependencies/email_unsubscribe_1-2.json @@ -5,15 +5,15 @@ "id": 1, "user_id": null, "repository_id": 1, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC" + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC" }, { "id": 2, "user_id": null, "repository_id": 1, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC" + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC" } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/invoice_1-4.json b/spec/support/expected_files/remove_user_with_dependencies/invoice_1-4.json index eb0193d..833b652 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/invoice_1-4.json +++ b/spec/support/expected_files/remove_user_with_dependencies/invoice_1-4.json @@ -4,8 +4,8 @@ { "id": 1, "object": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "subscription_id": 1, "invoice_id": null, "stripe_id": null, @@ -14,8 +14,8 @@ { "id": 2, "object": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "subscription_id": 1, "invoice_id": null, "stripe_id": null, @@ -24,8 +24,8 @@ { "id": 3, "object": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "subscription_id": 2, "invoice_id": null, "stripe_id": null, @@ -34,8 +34,8 @@ { "id": 4, "object": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "subscription_id": 2, "invoice_id": null, "stripe_id": null, diff --git a/spec/support/expected_files/remove_user_with_dependencies/job_146-154.json b/spec/support/expected_files/remove_user_with_dependencies/job_146-154.json index 4164e01..15e3f6f 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/job_146-154.json +++ b/spec/support/expected_files/remove_user_with_dependencies/job_146-154.json @@ -15,8 +15,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -49,8 +49,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -83,8 +83,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -117,8 +117,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -151,8 +151,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "tags": null, "allow_failure": false, "owner_type": null, diff --git a/spec/support/expected_files/remove_user_with_dependencies/job_156-162.json b/spec/support/expected_files/remove_user_with_dependencies/job_156-162.json index 2ad31b1..2973714 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/job_156-162.json +++ b/spec/support/expected_files/remove_user_with_dependencies/job_156-162.json @@ -15,8 +15,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -49,8 +49,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -83,8 +83,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -117,8 +117,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -151,8 +151,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "tags": null, "allow_failure": false, "owner_type": null, diff --git a/spec/support/expected_files/remove_user_with_dependencies/job_164-171.json b/spec/support/expected_files/remove_user_with_dependencies/job_164-171.json index 74306fc..7e1d1f8 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/job_164-171.json +++ b/spec/support/expected_files/remove_user_with_dependencies/job_164-171.json @@ -15,8 +15,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -49,8 +49,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -83,8 +83,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -117,8 +117,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -151,8 +151,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "tags": null, "allow_failure": false, "owner_type": null, diff --git a/spec/support/expected_files/remove_user_with_dependencies/job_172-179.json b/spec/support/expected_files/remove_user_with_dependencies/job_172-179.json index da73fe5..0dc4b64 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/job_172-179.json +++ b/spec/support/expected_files/remove_user_with_dependencies/job_172-179.json @@ -15,8 +15,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -49,8 +49,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -83,8 +83,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -117,8 +117,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -151,8 +151,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "tags": null, "allow_failure": false, "owner_type": null, diff --git a/spec/support/expected_files/remove_user_with_dependencies/job_180-184.json b/spec/support/expected_files/remove_user_with_dependencies/job_180-184.json index 2c9cc94..a59fbfe 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/job_180-184.json +++ b/spec/support/expected_files/remove_user_with_dependencies/job_180-184.json @@ -15,8 +15,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -49,8 +49,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -83,8 +83,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -117,8 +117,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -151,8 +151,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "tags": null, "allow_failure": false, "owner_type": null, diff --git a/spec/support/expected_files/remove_user_with_dependencies/job_185-233.json b/spec/support/expected_files/remove_user_with_dependencies/job_185-233.json index 7a4efdc..7e60f67 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/job_185-233.json +++ b/spec/support/expected_files/remove_user_with_dependencies/job_185-233.json @@ -15,8 +15,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -49,8 +49,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -83,8 +83,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -117,8 +117,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -151,8 +151,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "tags": null, "allow_failure": false, "owner_type": null, diff --git a/spec/support/expected_files/remove_user_with_dependencies/job_2-6.json b/spec/support/expected_files/remove_user_with_dependencies/job_2-6.json index 39b261b..cfa20f9 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/job_2-6.json +++ b/spec/support/expected_files/remove_user_with_dependencies/job_2-6.json @@ -15,8 +15,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -49,8 +49,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -83,8 +83,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -117,8 +117,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -151,8 +151,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "tags": null, "allow_failure": false, "owner_type": null, diff --git a/spec/support/expected_files/remove_user_with_dependencies/job_234-283.json b/spec/support/expected_files/remove_user_with_dependencies/job_234-283.json index da8b907..47c06f4 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/job_234-283.json +++ b/spec/support/expected_files/remove_user_with_dependencies/job_234-283.json @@ -15,8 +15,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -49,8 +49,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -83,8 +83,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -117,8 +117,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -151,8 +151,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "tags": null, "allow_failure": false, "owner_type": null, diff --git a/spec/support/expected_files/remove_user_with_dependencies/job_284-290.json b/spec/support/expected_files/remove_user_with_dependencies/job_284-290.json index 5930a19..e6c01ad 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/job_284-290.json +++ b/spec/support/expected_files/remove_user_with_dependencies/job_284-290.json @@ -15,8 +15,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -49,8 +49,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -83,8 +83,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -117,8 +117,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -151,8 +151,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "tags": null, "allow_failure": false, "owner_type": "User", diff --git a/spec/support/expected_files/remove_user_with_dependencies/job_291-291.json b/spec/support/expected_files/remove_user_with_dependencies/job_291-291.json index 4310734..030a281 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/job_291-291.json +++ b/spec/support/expected_files/remove_user_with_dependencies/job_291-291.json @@ -15,8 +15,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "tags": null, "allow_failure": false, "owner_type": "User", diff --git a/spec/support/expected_files/remove_user_with_dependencies/job_57-63.json b/spec/support/expected_files/remove_user_with_dependencies/job_57-63.json index e10fec6..4995096 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/job_57-63.json +++ b/spec/support/expected_files/remove_user_with_dependencies/job_57-63.json @@ -15,8 +15,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -49,8 +49,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -83,8 +83,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -117,8 +117,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -151,8 +151,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "tags": null, "allow_failure": false, "owner_type": null, diff --git a/spec/support/expected_files/remove_user_with_dependencies/job_65-72.json b/spec/support/expected_files/remove_user_with_dependencies/job_65-72.json index 18cafa5..1b3c2dd 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/job_65-72.json +++ b/spec/support/expected_files/remove_user_with_dependencies/job_65-72.json @@ -15,8 +15,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -49,8 +49,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -83,8 +83,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -117,8 +117,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -151,8 +151,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "tags": null, "allow_failure": false, "owner_type": null, diff --git a/spec/support/expected_files/remove_user_with_dependencies/job_7-56.json b/spec/support/expected_files/remove_user_with_dependencies/job_7-56.json index 74d2e25..a4fcd80 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/job_7-56.json +++ b/spec/support/expected_files/remove_user_with_dependencies/job_7-56.json @@ -15,8 +15,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -49,8 +49,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -83,8 +83,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -117,8 +117,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -151,8 +151,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "tags": null, "allow_failure": false, "owner_type": null, diff --git a/spec/support/expected_files/remove_user_with_dependencies/job_73-80.json b/spec/support/expected_files/remove_user_with_dependencies/job_73-80.json index 9183b0e..f494653 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/job_73-80.json +++ b/spec/support/expected_files/remove_user_with_dependencies/job_73-80.json @@ -15,8 +15,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -49,8 +49,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -83,8 +83,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -117,8 +117,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -151,8 +151,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "tags": null, "allow_failure": false, "owner_type": null, diff --git a/spec/support/expected_files/remove_user_with_dependencies/job_82-88.json b/spec/support/expected_files/remove_user_with_dependencies/job_82-88.json index 6f78b56..06f8f25 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/job_82-88.json +++ b/spec/support/expected_files/remove_user_with_dependencies/job_82-88.json @@ -15,8 +15,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -49,8 +49,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -83,8 +83,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -117,8 +117,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -151,8 +151,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "tags": null, "allow_failure": false, "owner_type": null, diff --git a/spec/support/expected_files/remove_user_with_dependencies/job_90-94.json b/spec/support/expected_files/remove_user_with_dependencies/job_90-94.json index b36cf86..38b05ba 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/job_90-94.json +++ b/spec/support/expected_files/remove_user_with_dependencies/job_90-94.json @@ -15,8 +15,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -49,8 +49,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -83,8 +83,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -117,8 +117,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -151,8 +151,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "tags": null, "allow_failure": false, "owner_type": null, diff --git a/spec/support/expected_files/remove_user_with_dependencies/job_95-144.json b/spec/support/expected_files/remove_user_with_dependencies/job_95-144.json index de8f8c8..cc50ffa 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/job_95-144.json +++ b/spec/support/expected_files/remove_user_with_dependencies/job_95-144.json @@ -15,8 +15,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -49,8 +49,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -83,8 +83,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -117,8 +117,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "tags": null, "allow_failure": false, "owner_type": null, @@ -151,8 +151,8 @@ "worker": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "tags": null, "allow_failure": false, "owner_type": null, diff --git a/spec/support/expected_files/remove_user_with_dependencies/job_version_1-19.json b/spec/support/expected_files/remove_user_with_dependencies/job_version_1-19.json index 50e01eb..d1c9462 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/job_version_1-19.json +++ b/spec/support/expected_files/remove_user_with_dependencies/job_version_1-19.json @@ -6,7 +6,7 @@ "job_id": 6, "number": null, "state": null, - "created_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", "queued_at": null, "received_at": null, "started_at": null, @@ -18,7 +18,7 @@ "job_id": 6, "number": null, "state": null, - "created_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", "queued_at": null, "received_at": null, "started_at": null, @@ -30,7 +30,7 @@ "job_id": 55, "number": null, "state": null, - "created_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", "queued_at": null, "received_at": null, "started_at": null, @@ -42,7 +42,7 @@ "job_id": 55, "number": null, "state": null, - "created_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", "queued_at": null, "received_at": null, "started_at": null, @@ -54,7 +54,7 @@ "job_id": 57, "number": null, "state": null, - "created_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", "queued_at": null, "received_at": null, "started_at": null, diff --git a/spec/support/expected_files/remove_user_with_dependencies/job_version_20-24.json b/spec/support/expected_files/remove_user_with_dependencies/job_version_20-24.json index 8b6f537..8c3a78e 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/job_version_20-24.json +++ b/spec/support/expected_files/remove_user_with_dependencies/job_version_20-24.json @@ -6,7 +6,7 @@ "job_id": 57, "number": null, "state": null, - "created_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", "queued_at": null, "received_at": null, "started_at": null, @@ -18,7 +18,7 @@ "job_id": 62, "number": null, "state": null, - "created_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", "queued_at": null, "received_at": null, "started_at": null, @@ -30,7 +30,7 @@ "job_id": 62, "number": null, "state": null, - "created_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", "queued_at": null, "received_at": null, "started_at": null, @@ -42,7 +42,7 @@ "job_id": 67, "number": null, "state": null, - "created_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", "queued_at": null, "received_at": null, "started_at": null, @@ -54,7 +54,7 @@ "job_id": 67, "number": null, "state": null, - "created_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", "queued_at": null, "received_at": null, "started_at": null, diff --git a/spec/support/expected_files/remove_user_with_dependencies/job_version_25-29.json b/spec/support/expected_files/remove_user_with_dependencies/job_version_25-29.json index a66831e..f5ac692 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/job_version_25-29.json +++ b/spec/support/expected_files/remove_user_with_dependencies/job_version_25-29.json @@ -6,7 +6,7 @@ "job_id": 72, "number": null, "state": null, - "created_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", "queued_at": null, "received_at": null, "started_at": null, @@ -18,7 +18,7 @@ "job_id": 72, "number": null, "state": null, - "created_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", "queued_at": null, "received_at": null, "started_at": null, @@ -30,7 +30,7 @@ "job_id": 77, "number": null, "state": null, - "created_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", "queued_at": null, "received_at": null, "started_at": null, @@ -42,7 +42,7 @@ "job_id": 77, "number": null, "state": null, - "created_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", "queued_at": null, "received_at": null, "started_at": null, @@ -54,7 +54,7 @@ "job_id": 82, "number": null, "state": null, - "created_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", "queued_at": null, "received_at": null, "started_at": null, diff --git a/spec/support/expected_files/remove_user_with_dependencies/job_version_30-34.json b/spec/support/expected_files/remove_user_with_dependencies/job_version_30-34.json index 590d2f2..740bca5 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/job_version_30-34.json +++ b/spec/support/expected_files/remove_user_with_dependencies/job_version_30-34.json @@ -6,7 +6,7 @@ "job_id": 82, "number": null, "state": null, - "created_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", "queued_at": null, "received_at": null, "started_at": null, @@ -18,7 +18,7 @@ "job_id": 87, "number": null, "state": null, - "created_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", "queued_at": null, "received_at": null, "started_at": null, @@ -30,7 +30,7 @@ "job_id": 87, "number": null, "state": null, - "created_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", "queued_at": null, "received_at": null, "started_at": null, @@ -42,7 +42,7 @@ "job_id": 94, "number": null, "state": null, - "created_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", "queued_at": null, "received_at": null, "started_at": null, @@ -54,7 +54,7 @@ "job_id": 94, "number": null, "state": null, - "created_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", "queued_at": null, "received_at": null, "started_at": null, diff --git a/spec/support/expected_files/remove_user_with_dependencies/job_version_49-53.json b/spec/support/expected_files/remove_user_with_dependencies/job_version_49-53.json index 459018b..1eb97b0 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/job_version_49-53.json +++ b/spec/support/expected_files/remove_user_with_dependencies/job_version_49-53.json @@ -6,7 +6,7 @@ "job_id": 143, "number": null, "state": null, - "created_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", "queued_at": null, "received_at": null, "started_at": null, @@ -18,7 +18,7 @@ "job_id": 143, "number": null, "state": null, - "created_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", "queued_at": null, "received_at": null, "started_at": null, @@ -30,7 +30,7 @@ "job_id": 151, "number": null, "state": null, - "created_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", "queued_at": null, "received_at": null, "started_at": null, @@ -42,7 +42,7 @@ "job_id": 151, "number": null, "state": null, - "created_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", "queued_at": null, "received_at": null, "started_at": null, @@ -54,7 +54,7 @@ "job_id": 156, "number": null, "state": null, - "created_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", "queued_at": null, "received_at": null, "started_at": null, diff --git a/spec/support/expected_files/remove_user_with_dependencies/job_version_54-58.json b/spec/support/expected_files/remove_user_with_dependencies/job_version_54-58.json index dc1943d..468e1a1 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/job_version_54-58.json +++ b/spec/support/expected_files/remove_user_with_dependencies/job_version_54-58.json @@ -6,7 +6,7 @@ "job_id": 156, "number": null, "state": null, - "created_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", "queued_at": null, "received_at": null, "started_at": null, @@ -18,7 +18,7 @@ "job_id": 161, "number": null, "state": null, - "created_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", "queued_at": null, "received_at": null, "started_at": null, @@ -30,7 +30,7 @@ "job_id": 161, "number": null, "state": null, - "created_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", "queued_at": null, "received_at": null, "started_at": null, @@ -42,7 +42,7 @@ "job_id": 169, "number": null, "state": null, - "created_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", "queued_at": null, "received_at": null, "started_at": null, @@ -54,7 +54,7 @@ "job_id": 169, "number": null, "state": null, - "created_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", "queued_at": null, "received_at": null, "started_at": null, diff --git a/spec/support/expected_files/remove_user_with_dependencies/job_version_59-63.json b/spec/support/expected_files/remove_user_with_dependencies/job_version_59-63.json index c597cbb..4c9b16e 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/job_version_59-63.json +++ b/spec/support/expected_files/remove_user_with_dependencies/job_version_59-63.json @@ -6,7 +6,7 @@ "job_id": 171, "number": null, "state": null, - "created_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", "queued_at": null, "received_at": null, "started_at": null, @@ -18,7 +18,7 @@ "job_id": 171, "number": null, "state": null, - "created_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", "queued_at": null, "received_at": null, "started_at": null, @@ -30,7 +30,7 @@ "job_id": 176, "number": null, "state": null, - "created_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", "queued_at": null, "received_at": null, "started_at": null, @@ -42,7 +42,7 @@ "job_id": 176, "number": null, "state": null, - "created_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", "queued_at": null, "received_at": null, "started_at": null, @@ -54,7 +54,7 @@ "job_id": 183, "number": null, "state": null, - "created_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", "queued_at": null, "received_at": null, "started_at": null, diff --git a/spec/support/expected_files/remove_user_with_dependencies/job_version_64-96.json b/spec/support/expected_files/remove_user_with_dependencies/job_version_64-96.json index 0c5cc9c..c302b62 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/job_version_64-96.json +++ b/spec/support/expected_files/remove_user_with_dependencies/job_version_64-96.json @@ -6,7 +6,7 @@ "job_id": 183, "number": null, "state": null, - "created_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", "queued_at": null, "received_at": null, "started_at": null, @@ -18,7 +18,7 @@ "job_id": 234, "number": null, "state": null, - "created_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", "queued_at": null, "received_at": null, "started_at": null, @@ -30,7 +30,7 @@ "job_id": 234, "number": null, "state": null, - "created_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", "queued_at": null, "received_at": null, "started_at": null, @@ -42,7 +42,7 @@ "job_id": 283, "number": null, "state": null, - "created_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", "queued_at": null, "received_at": null, "started_at": null, @@ -54,7 +54,7 @@ "job_id": 283, "number": null, "state": null, - "created_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", "queued_at": null, "received_at": null, "started_at": null, diff --git a/spec/support/expected_files/remove_user_with_dependencies/job_version_97-100.json b/spec/support/expected_files/remove_user_with_dependencies/job_version_97-100.json index 206eca1..e0ade06 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/job_version_97-100.json +++ b/spec/support/expected_files/remove_user_with_dependencies/job_version_97-100.json @@ -6,7 +6,7 @@ "job_id": 288, "number": null, "state": null, - "created_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", "queued_at": null, "received_at": null, "started_at": null, @@ -18,7 +18,7 @@ "job_id": 288, "number": null, "state": null, - "created_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", "queued_at": null, "received_at": null, "started_at": null, @@ -30,7 +30,7 @@ "job_id": 290, "number": null, "state": null, - "created_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", "queued_at": null, "received_at": null, "started_at": null, @@ -42,7 +42,7 @@ "job_id": 290, "number": null, "state": null, - "created_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", "queued_at": null, "received_at": null, "started_at": null, diff --git a/spec/support/expected_files/remove_user_with_dependencies/message_14-26.json b/spec/support/expected_files/remove_user_with_dependencies/message_14-26.json index e687db1..07ed6a6 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/message_14-26.json +++ b/spec/support/expected_files/remove_user_with_dependencies/message_14-26.json @@ -9,8 +9,8 @@ "key": null, "code": null, "args": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "type": null, "src": null, "line": null @@ -23,8 +23,8 @@ "key": null, "code": null, "args": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "type": null, "src": null, "line": null @@ -37,8 +37,8 @@ "key": null, "code": null, "args": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "type": null, "src": null, "line": null @@ -51,8 +51,8 @@ "key": null, "code": null, "args": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "type": null, "src": null, "line": null @@ -65,8 +65,8 @@ "key": null, "code": null, "args": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "type": null, "src": null, "line": null diff --git a/spec/support/expected_files/remove_user_with_dependencies/message_27-31.json b/spec/support/expected_files/remove_user_with_dependencies/message_27-31.json index b09af41..96b1138 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/message_27-31.json +++ b/spec/support/expected_files/remove_user_with_dependencies/message_27-31.json @@ -9,8 +9,8 @@ "key": null, "code": null, "args": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "type": null, "src": null, "line": null @@ -23,8 +23,8 @@ "key": null, "code": null, "args": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "type": null, "src": null, "line": null @@ -37,8 +37,8 @@ "key": null, "code": null, "args": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "type": null, "src": null, "line": null @@ -51,8 +51,8 @@ "key": null, "code": null, "args": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "type": null, "src": null, "line": null @@ -65,8 +65,8 @@ "key": null, "code": null, "args": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "type": null, "src": null, "line": null diff --git a/spec/support/expected_files/remove_user_with_dependencies/message_32-52.json b/spec/support/expected_files/remove_user_with_dependencies/message_32-52.json index 5c1ae1e..1ff34d0 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/message_32-52.json +++ b/spec/support/expected_files/remove_user_with_dependencies/message_32-52.json @@ -9,8 +9,8 @@ "key": null, "code": null, "args": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "type": null, "src": null, "line": null @@ -23,8 +23,8 @@ "key": null, "code": null, "args": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "type": null, "src": null, "line": null @@ -37,8 +37,8 @@ "key": null, "code": null, "args": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "type": null, "src": null, "line": null @@ -51,8 +51,8 @@ "key": null, "code": null, "args": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "type": null, "src": null, "line": null @@ -65,8 +65,8 @@ "key": null, "code": null, "args": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "type": null, "src": null, "line": null diff --git a/spec/support/expected_files/remove_user_with_dependencies/message_53-54.json b/spec/support/expected_files/remove_user_with_dependencies/message_53-54.json index c9464aa..a1133bd 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/message_53-54.json +++ b/spec/support/expected_files/remove_user_with_dependencies/message_53-54.json @@ -9,8 +9,8 @@ "key": null, "code": null, "args": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "type": null, "src": null, "line": null @@ -23,8 +23,8 @@ "key": null, "code": null, "args": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "type": null, "src": null, "line": null diff --git a/spec/support/expected_files/remove_user_with_dependencies/message_9-13.json b/spec/support/expected_files/remove_user_with_dependencies/message_9-13.json index 7347ab5..11c54e6 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/message_9-13.json +++ b/spec/support/expected_files/remove_user_with_dependencies/message_9-13.json @@ -9,8 +9,8 @@ "key": null, "code": null, "args": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "type": null, "src": null, "line": null @@ -23,8 +23,8 @@ "key": null, "code": null, "args": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "type": null, "src": null, "line": null @@ -37,8 +37,8 @@ "key": null, "code": null, "args": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "type": null, "src": null, "line": null @@ -51,8 +51,8 @@ "key": null, "code": null, "args": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "type": null, "src": null, "line": null @@ -65,8 +65,8 @@ "key": null, "code": null, "args": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "type": null, "src": null, "line": null diff --git a/spec/support/expected_files/remove_user_with_dependencies/owner_group_1-2.json b/spec/support/expected_files/remove_user_with_dependencies/owner_group_1-2.json index d8a94f7..86209de 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/owner_group_1-2.json +++ b/spec/support/expected_files/remove_user_with_dependencies/owner_group_1-2.json @@ -6,16 +6,16 @@ "uuid": null, "owner_type": "User", "owner_id": 1, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC" + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC" }, { "id": 2, "uuid": null, "owner_type": "User", "owner_id": 1, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC" + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC" } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/pull_request_3-6.json b/spec/support/expected_files/remove_user_with_dependencies/pull_request_3-6.json index 18cd07e..7244930 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/pull_request_3-6.json +++ b/spec/support/expected_files/remove_user_with_dependencies/pull_request_3-6.json @@ -10,8 +10,8 @@ "head_repo_github_id": null, "head_repo_slug": null, "head_ref": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "org_id": null, "com_id": null, "mergeable_state": null, @@ -29,8 +29,8 @@ "head_repo_github_id": null, "head_repo_slug": null, "head_ref": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "org_id": null, "com_id": null, "mergeable_state": null, diff --git a/spec/support/expected_files/remove_user_with_dependencies/repository_1-72.json b/spec/support/expected_files/remove_user_with_dependencies/repository_1-72.json index 08c4398..0ff7a57 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/repository_1-72.json +++ b/spec/support/expected_files/remove_user_with_dependencies/repository_1-72.json @@ -5,8 +5,8 @@ "id": 1, "name": null, "url": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "last_build_id": 279, "last_build_number": null, "last_build_started_at": null, @@ -45,8 +45,8 @@ "id": 72, "name": null, "url": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "last_build_id": null, "last_build_number": null, "last_build_started_at": null, diff --git a/spec/support/expected_files/remove_user_with_dependencies/request_11-15.json b/spec/support/expected_files/remove_user_with_dependencies/request_11-15.json index 412e222..14d1208 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/request_11-15.json +++ b/spec/support/expected_files/remove_user_with_dependencies/request_11-15.json @@ -10,8 +10,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "event_type": null, "comments_url": null, "base_commit": null, @@ -42,8 +42,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "event_type": null, "comments_url": null, "base_commit": null, @@ -74,8 +74,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "event_type": null, "comments_url": null, "base_commit": null, @@ -106,8 +106,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "event_type": null, "comments_url": null, "base_commit": null, @@ -138,8 +138,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "event_type": null, "comments_url": null, "base_commit": null, diff --git a/spec/support/expected_files/remove_user_with_dependencies/request_16-30.json b/spec/support/expected_files/remove_user_with_dependencies/request_16-30.json index 8825bed..ccec710 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/request_16-30.json +++ b/spec/support/expected_files/remove_user_with_dependencies/request_16-30.json @@ -10,8 +10,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "event_type": null, "comments_url": null, "base_commit": null, @@ -42,8 +42,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "event_type": null, "comments_url": null, "base_commit": null, @@ -74,8 +74,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "event_type": null, "comments_url": null, "base_commit": null, @@ -106,8 +106,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "event_type": null, "comments_url": null, "base_commit": null, @@ -138,8 +138,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "event_type": null, "comments_url": null, "base_commit": null, diff --git a/spec/support/expected_files/remove_user_with_dependencies/request_31-35.json b/spec/support/expected_files/remove_user_with_dependencies/request_31-35.json index a2a4518..600f8cc 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/request_31-35.json +++ b/spec/support/expected_files/remove_user_with_dependencies/request_31-35.json @@ -10,8 +10,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "event_type": null, "comments_url": null, "base_commit": null, @@ -42,8 +42,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "event_type": null, "comments_url": null, "base_commit": null, @@ -74,8 +74,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "event_type": null, "comments_url": null, "base_commit": null, @@ -106,8 +106,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "event_type": null, "comments_url": null, "base_commit": null, @@ -138,8 +138,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "event_type": null, "comments_url": null, "base_commit": null, diff --git a/spec/support/expected_files/remove_user_with_dependencies/request_36-60.json b/spec/support/expected_files/remove_user_with_dependencies/request_36-60.json index b0a005d..1bde38d 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/request_36-60.json +++ b/spec/support/expected_files/remove_user_with_dependencies/request_36-60.json @@ -10,8 +10,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "event_type": null, "comments_url": null, "base_commit": null, @@ -42,8 +42,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "event_type": null, "comments_url": null, "base_commit": null, @@ -60,8 +60,8 @@ "sender_id": null, "org_id": null, "com_id": null, - "config_id": 1, - "yaml_config_id": null, + "config_id": null, + "yaml_config_id": 1, "github_guid": null, "pull_request_mergeable": null }, @@ -74,8 +74,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "event_type": null, "comments_url": null, "base_commit": null, @@ -92,8 +92,8 @@ "sender_id": null, "org_id": null, "com_id": null, - "config_id": 1, - "yaml_config_id": null, + "config_id": null, + "yaml_config_id": 1, "github_guid": null, "pull_request_mergeable": null }, @@ -106,8 +106,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "event_type": null, "comments_url": null, "base_commit": null, @@ -138,8 +138,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "event_type": null, "comments_url": null, "base_commit": null, diff --git a/spec/support/expected_files/remove_user_with_dependencies/request_61-62.json b/spec/support/expected_files/remove_user_with_dependencies/request_61-62.json index ada54f9..61b76ee 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/request_61-62.json +++ b/spec/support/expected_files/remove_user_with_dependencies/request_61-62.json @@ -10,8 +10,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "event_type": null, "comments_url": null, "base_commit": null, @@ -42,8 +42,8 @@ "token": null, "started_at": null, "finished_at": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "event_type": null, "comments_url": null, "base_commit": null, diff --git a/spec/support/expected_files/remove_user_with_dependencies/request_payload_14-26.json b/spec/support/expected_files/remove_user_with_dependencies/request_payload_14-26.json index 23c52ff..878eac6 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/request_payload_14-26.json +++ b/spec/support/expected_files/remove_user_with_dependencies/request_payload_14-26.json @@ -6,7 +6,7 @@ "request_id": 15, "payload": null, "archived": false, - "created_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", "org_id": null }, { @@ -14,7 +14,7 @@ "request_id": 17, "payload": null, "archived": false, - "created_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", "org_id": null }, { @@ -22,7 +22,7 @@ "request_id": 17, "payload": null, "archived": false, - "created_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", "org_id": null }, { @@ -30,7 +30,7 @@ "request_id": 29, "payload": null, "archived": false, - "created_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", "org_id": null }, { @@ -38,7 +38,7 @@ "request_id": 29, "payload": null, "archived": false, - "created_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", "org_id": null } ] diff --git a/spec/support/expected_files/remove_user_with_dependencies/request_payload_27-31.json b/spec/support/expected_files/remove_user_with_dependencies/request_payload_27-31.json index 0697299..826590f 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/request_payload_27-31.json +++ b/spec/support/expected_files/remove_user_with_dependencies/request_payload_27-31.json @@ -6,7 +6,7 @@ "request_id": 31, "payload": null, "archived": false, - "created_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", "org_id": null }, { @@ -14,7 +14,7 @@ "request_id": 31, "payload": null, "archived": false, - "created_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", "org_id": null }, { @@ -22,7 +22,7 @@ "request_id": 33, "payload": null, "archived": false, - "created_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", "org_id": null }, { @@ -30,7 +30,7 @@ "request_id": 33, "payload": null, "archived": false, - "created_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", "org_id": null }, { @@ -38,7 +38,7 @@ "request_id": 35, "payload": null, "archived": false, - "created_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", "org_id": null } ] diff --git a/spec/support/expected_files/remove_user_with_dependencies/request_payload_32-52.json b/spec/support/expected_files/remove_user_with_dependencies/request_payload_32-52.json index e335997..f2b7e7b 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/request_payload_32-52.json +++ b/spec/support/expected_files/remove_user_with_dependencies/request_payload_32-52.json @@ -6,7 +6,7 @@ "request_id": 35, "payload": null, "archived": false, - "created_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", "org_id": null }, { @@ -14,7 +14,7 @@ "request_id": 37, "payload": null, "archived": false, - "created_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", "org_id": null }, { @@ -22,7 +22,7 @@ "request_id": 37, "payload": null, "archived": false, - "created_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", "org_id": null }, { @@ -30,7 +30,7 @@ "request_id": 59, "payload": null, "archived": false, - "created_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", "org_id": null }, { @@ -38,7 +38,7 @@ "request_id": 59, "payload": null, "archived": false, - "created_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", "org_id": null } ] diff --git a/spec/support/expected_files/remove_user_with_dependencies/request_payload_53-54.json b/spec/support/expected_files/remove_user_with_dependencies/request_payload_53-54.json index 5c07ed5..144e65c 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/request_payload_53-54.json +++ b/spec/support/expected_files/remove_user_with_dependencies/request_payload_53-54.json @@ -6,7 +6,7 @@ "request_id": 61, "payload": null, "archived": false, - "created_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", "org_id": null }, { @@ -14,7 +14,7 @@ "request_id": 61, "payload": null, "archived": false, - "created_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", "org_id": null } ] diff --git a/spec/support/expected_files/remove_user_with_dependencies/request_payload_9-13.json b/spec/support/expected_files/remove_user_with_dependencies/request_payload_9-13.json index 75850ac..f8bcdb7 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/request_payload_9-13.json +++ b/spec/support/expected_files/remove_user_with_dependencies/request_payload_9-13.json @@ -6,7 +6,7 @@ "request_id": 11, "payload": null, "archived": false, - "created_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", "org_id": null }, { @@ -14,7 +14,7 @@ "request_id": 11, "payload": null, "archived": false, - "created_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", "org_id": null }, { @@ -22,7 +22,7 @@ "request_id": 13, "payload": null, "archived": false, - "created_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", "org_id": null }, { @@ -30,7 +30,7 @@ "request_id": 13, "payload": null, "archived": false, - "created_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", "org_id": null }, { @@ -38,7 +38,7 @@ "request_id": 15, "payload": null, "archived": false, - "created_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", "org_id": null } ] diff --git a/spec/support/expected_files/remove_user_with_dependencies/ssl_key_3-4.json b/spec/support/expected_files/remove_user_with_dependencies/ssl_key_3-4.json index cb6916f..cfcbb81 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/ssl_key_3-4.json +++ b/spec/support/expected_files/remove_user_with_dependencies/ssl_key_3-4.json @@ -6,8 +6,8 @@ "repository_id": 1, "public_key": null, "private_key": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "org_id": null, "com_id": null }, @@ -16,8 +16,8 @@ "repository_id": 1, "public_key": null, "private_key": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "org_id": null, "com_id": null } diff --git a/spec/support/expected_files/remove_user_with_dependencies/star_1-6.json b/spec/support/expected_files/remove_user_with_dependencies/star_1-6.json index ab2c3d3..9117877 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/star_1-6.json +++ b/spec/support/expected_files/remove_user_with_dependencies/star_1-6.json @@ -5,29 +5,29 @@ "id": 1, "repository_id": null, "user_id": 1, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC" + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC" }, { "id": 2, "repository_id": null, "user_id": 1, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC" + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC" }, { "id": 5, "repository_id": 1, "user_id": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC" + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC" }, { "id": 6, "repository_id": 1, "user_id": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC" + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC" } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/subscription_1-2.json b/spec/support/expected_files/remove_user_with_dependencies/subscription_1-2.json index 8239d64..5c844c6 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/subscription_1-2.json +++ b/spec/support/expected_files/remove_user_with_dependencies/subscription_1-2.json @@ -18,8 +18,8 @@ "country": null, "vat_id": null, "customer_id": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "cc_owner": null, "cc_last_digits": null, "cc_expiration_date": null, @@ -50,8 +50,8 @@ "country": null, "vat_id": null, "customer_id": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "cc_owner": null, "cc_last_digits": null, "cc_expiration_date": null, diff --git a/spec/support/expected_files/remove_user_with_dependencies/tag_33-38.json b/spec/support/expected_files/remove_user_with_dependencies/tag_33-38.json index b8d3cde..bc4a887 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/tag_33-38.json +++ b/spec/support/expected_files/remove_user_with_dependencies/tag_33-38.json @@ -7,8 +7,8 @@ "name": null, "last_build_id": null, "exists_on_github": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "org_id": null, "com_id": null }, @@ -18,8 +18,8 @@ "name": null, "last_build_id": null, "exists_on_github": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "org_id": null, "com_id": null } diff --git a/spec/support/expected_files/remove_user_with_dependencies/token_1-2.json b/spec/support/expected_files/remove_user_with_dependencies/token_1-2.json index 120760b..c421489 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/token_1-2.json +++ b/spec/support/expected_files/remove_user_with_dependencies/token_1-2.json @@ -5,15 +5,15 @@ "id": 1, "user_id": 1, "token": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC" + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC" }, { "id": 2, "user_id": 1, "token": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC" + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC" } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/trial_1-2.json b/spec/support/expected_files/remove_user_with_dependencies/trial_1-2.json index d479096..45bbf14 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/trial_1-2.json +++ b/spec/support/expected_files/remove_user_with_dependencies/trial_1-2.json @@ -9,8 +9,8 @@ ], "status": "new", - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC" + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC" }, { "id": 2, @@ -20,8 +20,8 @@ ], "status": "new", - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC" + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC" } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/trial_allowance_1-5.json b/spec/support/expected_files/remove_user_with_dependencies/trial_allowance_1-5.json index 7ca7990..1014932 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/trial_allowance_1-5.json +++ b/spec/support/expected_files/remove_user_with_dependencies/trial_allowance_1-5.json @@ -8,8 +8,8 @@ "creator_type": null, "builds_allowed": null, "builds_remaining": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC" + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC" }, { "id": 2, @@ -18,8 +18,8 @@ "creator_type": null, "builds_allowed": null, "builds_remaining": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC" + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC" }, { "id": 3, @@ -28,8 +28,8 @@ "creator_type": null, "builds_allowed": null, "builds_remaining": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC" + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC" }, { "id": 4, @@ -38,8 +38,8 @@ "creator_type": null, "builds_allowed": null, "builds_remaining": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC" + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC" }, { "id": 5, @@ -48,8 +48,8 @@ "creator_type": "User", "builds_allowed": null, "builds_remaining": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC" + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC" } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/trial_allowance_6-6.json b/spec/support/expected_files/remove_user_with_dependencies/trial_allowance_6-6.json index cf37dbe..00ea9c1 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/trial_allowance_6-6.json +++ b/spec/support/expected_files/remove_user_with_dependencies/trial_allowance_6-6.json @@ -8,8 +8,8 @@ "creator_type": "User", "builds_allowed": null, "builds_remaining": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC" + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC" } ] } \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/user_1-1.json b/spec/support/expected_files/remove_user_with_dependencies/user_1-1.json index 4230c77..f568d12 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/user_1-1.json +++ b/spec/support/expected_files/remove_user_with_dependencies/user_1-1.json @@ -6,8 +6,8 @@ "name": null, "login": null, "email": null, - "created_at": "2021-08-31 07:51:57 UTC", - "updated_at": "2021-08-31 07:51:57 UTC", + "created_at": "2021-09-01 15:01:06 UTC", + "updated_at": "2021-09-01 15:01:06 UTC", "is_admin": false, "github_id": null, "github_oauth_token": null, diff --git a/spec/support/factories/request_yaml_config.rb b/spec/support/factories/request_yaml_config.rb index f21d1d6..2bc4009 100644 --- a/spec/support/factories/request_yaml_config.rb +++ b/spec/support/factories/request_yaml_config.rb @@ -16,13 +16,13 @@ after(:create) do |request_yaml_config, evaluator| create( :request_with_all_dependencies_and_sibling, - config_id: request_yaml_config.id, + yaml_config_id: request_yaml_config.id, created_at: evaluator.created_at, updated_at: evaluator.updated_at ) create_list( :deleted_request, 2, - config_id: request_yaml_config.id, + yaml_config_id: request_yaml_config.id, created_at: evaluator.created_at, updated_at: evaluator.updated_at ) From 55cbc2b32d61d8b6e47b30b6631a50e9f0d5be3e Mon Sep 17 00:00:00 2001 From: Karol Selak Travis Date: Sun, 3 Apr 2022 22:26:19 +0200 Subject: [PATCH 09/12] relationships for nullification sorted globally --- lib/backup/save_nullified_rels_to_file.rb | 4 +-- .../nullified_relationships/build_1.json | 34 +------------------ .../nullified_relationships/build_10.json | 34 +------------------ .../nullified_relationships/build_11.json | 34 +------------------ .../nullified_relationships/build_12.json | 34 +------------------ .../nullified_relationships/build_13.json | 34 +------------------ .../nullified_relationships/build_14.json | 34 +------------------ .../nullified_relationships/build_15.json | 34 +------------------ .../nullified_relationships/build_16.json | 34 +------------------ .../nullified_relationships/build_17.json | 34 +------------------ .../nullified_relationships/build_18.json | 34 +------------------ .../nullified_relationships/build_19.json | 34 +------------------ .../nullified_relationships/build_2.json | 34 +------------------ .../nullified_relationships/build_20.json | 34 +------------------ .../nullified_relationships/build_21.json | 28 +-------------- .../nullified_relationships/build_3.json | 34 +------------------ .../nullified_relationships/build_4.json | 34 +------------------ .../nullified_relationships/build_5.json | 34 +------------------ .../nullified_relationships/build_6.json | 34 +------------------ .../nullified_relationships/build_7.json | 34 +------------------ .../nullified_relationships/build_8.json | 34 +------------------ .../nullified_relationships/build_9.json | 34 +------------------ .../nullified_relationships/build_1.json | 34 +------------------ .../nullified_relationships/build_2.json | 34 +------------------ .../nullified_relationships/build_1.json | 28 +-------------- .../nullified_relationships/build_1.json | 34 +------------------ .../nullified_relationships/build_10.json | 34 +------------------ .../nullified_relationships/build_11.json | 34 +------------------ .../nullified_relationships/build_12.json | 34 +------------------ .../nullified_relationships/build_13.json | 34 +------------------ .../nullified_relationships/build_14.json | 34 +------------------ .../nullified_relationships/build_15.json | 34 +------------------ .../nullified_relationships/build_16.json | 22 +----------- .../nullified_relationships/build_2.json | 34 +------------------ .../nullified_relationships/build_3.json | 34 +------------------ .../nullified_relationships/build_4.json | 34 +------------------ .../nullified_relationships/build_5.json | 34 +------------------ .../nullified_relationships/build_6.json | 34 +------------------ .../nullified_relationships/build_7.json | 34 +------------------ .../nullified_relationships/build_8.json | 34 +------------------ .../nullified_relationships/build_9.json | 34 +------------------ .../nullified_relationships/build_1.json | 34 +------------------ .../nullified_relationships/build_10.json | 34 +------------------ .../nullified_relationships/build_11.json | 34 +------------------ .../nullified_relationships/build_12.json | 34 +------------------ .../nullified_relationships/build_13.json | 34 +------------------ .../nullified_relationships/build_14.json | 34 +------------------ .../nullified_relationships/build_15.json | 34 +------------------ .../nullified_relationships/build_16.json | 34 +------------------ .../nullified_relationships/build_17.json | 34 +------------------ .../nullified_relationships/build_18.json | 34 +------------------ .../nullified_relationships/build_19.json | 34 +------------------ .../nullified_relationships/build_2.json | 34 +------------------ .../nullified_relationships/build_20.json | 34 +------------------ .../nullified_relationships/build_21.json | 28 +-------------- .../nullified_relationships/build_3.json | 34 +------------------ .../nullified_relationships/build_4.json | 34 +------------------ .../nullified_relationships/build_5.json | 34 +------------------ .../nullified_relationships/build_6.json | 34 +------------------ .../nullified_relationships/build_7.json | 34 +------------------ .../nullified_relationships/build_8.json | 34 +------------------ .../nullified_relationships/build_9.json | 34 +------------------ 62 files changed, 63 insertions(+), 1985 deletions(-) diff --git a/lib/backup/save_nullified_rels_to_file.rb b/lib/backup/save_nullified_rels_to_file.rb index fb9c848..8f29287 100644 --- a/lib/backup/save_nullified_rels_to_file.rb +++ b/lib/backup/save_nullified_rels_to_file.rb @@ -7,7 +7,7 @@ def save_nullified_rels_to_file(rels_hash) @file_index = 1 rels_hash.each do |name, rels| - rels&.compact&.each_slice(@config.limit.to_i) do |rels_batch| + rels&.compact&.sort{|a, b| a.to_s <=> b.to_s}&.each_slice(@config.limit.to_i) do |rels_batch| save_rels_batch_to_file(name, rels_batch) end end @@ -18,7 +18,7 @@ def save_rels_batch_to_file(name, rels_batch) export = {} export[:table_name] = model.table_name - export[:nullified_relationships] = rels_batch.sort{|a, b| a.to_s <=> b.to_s} + export[:nullified_relationships] content = JSON.pretty_generate(export) file_name = "nullified_relationships/build_#{@file_index}.json" diff --git a/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_1.json b/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_1.json index 2d2b64a..83fb8fc 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_1.json +++ b/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_1.json @@ -1,35 +1,3 @@ { - "table_name": "builds", - "nullified_relationships": [ - { - "related_table": "repositories", - "foreign_key": "current_build_id", - "parent_id": 1, - "related_id": 20 - }, - { - "related_table": "repositories", - "foreign_key": "current_build_id", - "parent_id": 1, - "related_id": 21 - }, - { - "related_table": "repositories", - "foreign_key": "last_build_id", - "parent_id": 1, - "related_id": 18 - }, - { - "related_table": "repositories", - "foreign_key": "last_build_id", - "parent_id": 1, - "related_id": 19 - }, - { - "related_table": "tags", - "foreign_key": "last_build_id", - "parent_id": 1, - "related_id": 1 - } - ] + "table_name": "builds" } \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_10.json b/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_10.json index 22c945b..83fb8fc 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_10.json +++ b/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_10.json @@ -1,35 +1,3 @@ { - "table_name": "builds", - "nullified_relationships": [ - { - "related_table": "branches", - "foreign_key": "last_build_id", - "parent_id": 140, - "related_id": 34 - }, - { - "related_table": "branches", - "foreign_key": "last_build_id", - "parent_id": 89, - "related_id": 31 - }, - { - "related_table": "repositories", - "foreign_key": "current_build_id", - "parent_id": 140, - "related_id": 57 - }, - { - "related_table": "repositories", - "foreign_key": "last_build_id", - "parent_id": 140, - "related_id": 56 - }, - { - "related_table": "tags", - "foreign_key": "last_build_id", - "parent_id": 140, - "related_id": 32 - } - ] + "table_name": "builds" } \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_11.json b/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_11.json index c3ea315..83fb8fc 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_11.json +++ b/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_11.json @@ -1,35 +1,3 @@ { - "table_name": "builds", - "nullified_relationships": [ - { - "related_table": "branches", - "foreign_key": "last_build_id", - "parent_id": 145, - "related_id": 35 - }, - { - "related_table": "repositories", - "foreign_key": "current_build_id", - "parent_id": 145, - "related_id": 59 - }, - { - "related_table": "repositories", - "foreign_key": "current_build_id", - "parent_id": 148, - "related_id": 61 - }, - { - "related_table": "repositories", - "foreign_key": "last_build_id", - "parent_id": 145, - "related_id": 58 - }, - { - "related_table": "tags", - "foreign_key": "last_build_id", - "parent_id": 145, - "related_id": 34 - } - ] + "table_name": "builds" } \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_12.json b/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_12.json index 32ef1f9..83fb8fc 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_12.json +++ b/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_12.json @@ -1,35 +1,3 @@ { - "table_name": "builds", - "nullified_relationships": [ - { - "related_table": "branches", - "foreign_key": "last_build_id", - "parent_id": 148, - "related_id": 36 - }, - { - "related_table": "repositories", - "foreign_key": "current_build_id", - "parent_id": 153, - "related_id": 63 - }, - { - "related_table": "repositories", - "foreign_key": "last_build_id", - "parent_id": 148, - "related_id": 60 - }, - { - "related_table": "repositories", - "foreign_key": "last_build_id", - "parent_id": 153, - "related_id": 62 - }, - { - "related_table": "tags", - "foreign_key": "last_build_id", - "parent_id": 148, - "related_id": 35 - } - ] + "table_name": "builds" } \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_13.json b/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_13.json index ab750d0..83fb8fc 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_13.json +++ b/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_13.json @@ -1,35 +1,3 @@ { - "table_name": "builds", - "nullified_relationships": [ - { - "related_table": "branches", - "foreign_key": "last_build_id", - "parent_id": 153, - "related_id": 37 - }, - { - "related_table": "repositories", - "foreign_key": "current_build_id", - "parent_id": 158, - "related_id": 65 - }, - { - "related_table": "repositories", - "foreign_key": "last_build_id", - "parent_id": 158, - "related_id": 64 - }, - { - "related_table": "tags", - "foreign_key": "last_build_id", - "parent_id": 153, - "related_id": 36 - }, - { - "related_table": "tags", - "foreign_key": "last_build_id", - "parent_id": 158, - "related_id": 37 - } - ] + "table_name": "builds" } \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_14.json b/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_14.json index 8ca7a1a..83fb8fc 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_14.json +++ b/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_14.json @@ -1,35 +1,3 @@ { - "table_name": "builds", - "nullified_relationships": [ - { - "related_table": "branches", - "foreign_key": "last_build_id", - "parent_id": 158, - "related_id": 38 - }, - { - "related_table": "branches", - "foreign_key": "last_build_id", - "parent_id": 163, - "related_id": 39 - }, - { - "related_table": "repositories", - "foreign_key": "current_build_id", - "parent_id": 163, - "related_id": 67 - }, - { - "related_table": "repositories", - "foreign_key": "last_build_id", - "parent_id": 163, - "related_id": 66 - }, - { - "related_table": "tags", - "foreign_key": "last_build_id", - "parent_id": 163, - "related_id": 39 - } - ] + "table_name": "builds" } \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_15.json b/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_15.json index d190613..83fb8fc 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_15.json +++ b/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_15.json @@ -1,35 +1,3 @@ { - "table_name": "builds", - "nullified_relationships": [ - { - "related_table": "branches", - "foreign_key": "last_build_id", - "parent_id": 166, - "related_id": 40 - }, - { - "related_table": "repositories", - "foreign_key": "current_build_id", - "parent_id": 166, - "related_id": 69 - }, - { - "related_table": "repositories", - "foreign_key": "current_build_id", - "parent_id": 173, - "related_id": 71 - }, - { - "related_table": "repositories", - "foreign_key": "last_build_id", - "parent_id": 166, - "related_id": 68 - }, - { - "related_table": "tags", - "foreign_key": "last_build_id", - "parent_id": 166, - "related_id": 40 - } - ] + "table_name": "builds" } \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_16.json b/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_16.json index 9f3b148..83fb8fc 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_16.json +++ b/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_16.json @@ -1,35 +1,3 @@ { - "table_name": "builds", - "nullified_relationships": [ - { - "related_table": "branches", - "foreign_key": "last_build_id", - "parent_id": 173, - "related_id": 41 - }, - { - "related_table": "repositories", - "foreign_key": "current_build_id", - "parent_id": 178, - "related_id": 91 - }, - { - "related_table": "repositories", - "foreign_key": "current_build_id", - "parent_id": 178, - "related_id": 92 - }, - { - "related_table": "repositories", - "foreign_key": "last_build_id", - "parent_id": 173, - "related_id": 70 - }, - { - "related_table": "tags", - "foreign_key": "last_build_id", - "parent_id": 173, - "related_id": 41 - } - ] + "table_name": "builds" } \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_17.json b/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_17.json index 54b0a7c..83fb8fc 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_17.json +++ b/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_17.json @@ -1,35 +1,3 @@ { - "table_name": "builds", - "nullified_relationships": [ - { - "related_table": "deleted_tags", - "foreign_key": "last_build_id", - "parent_id": 178, - "related_id": 5 - }, - { - "related_table": "repositories", - "foreign_key": "last_build_id", - "parent_id": 178, - "related_id": 89 - }, - { - "related_table": "repositories", - "foreign_key": "last_build_id", - "parent_id": 178, - "related_id": 90 - }, - { - "related_table": "tags", - "foreign_key": "last_build_id", - "parent_id": 178, - "related_id": 42 - }, - { - "related_table": "tags", - "foreign_key": "last_build_id", - "parent_id": 178, - "related_id": 47 - } - ] + "table_name": "builds" } \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_18.json b/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_18.json index 63e3e95..83fb8fc 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_18.json +++ b/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_18.json @@ -1,35 +1,3 @@ { - "table_name": "builds", - "nullified_relationships": [ - { - "related_table": "branches", - "foreign_key": "last_build_id", - "parent_id": 178, - "related_id": 46 - }, - { - "related_table": "branches", - "foreign_key": "last_build_id", - "parent_id": 178, - "related_id": 51 - }, - { - "related_table": "repositories", - "foreign_key": "current_build_id", - "parent_id": 229, - "related_id": 111 - }, - { - "related_table": "repositories", - "foreign_key": "current_build_id", - "parent_id": 229, - "related_id": 112 - }, - { - "related_table": "repositories", - "foreign_key": "last_build_id", - "parent_id": 229, - "related_id": 109 - } - ] + "table_name": "builds" } \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_19.json b/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_19.json index eba0b4d..83fb8fc 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_19.json +++ b/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_19.json @@ -1,35 +1,3 @@ { - "table_name": "builds", - "nullified_relationships": [ - { - "related_table": "branches", - "foreign_key": "last_build_id", - "parent_id": 229, - "related_id": 58 - }, - { - "related_table": "deleted_tags", - "foreign_key": "last_build_id", - "parent_id": 229, - "related_id": 6 - }, - { - "related_table": "repositories", - "foreign_key": "last_build_id", - "parent_id": 229, - "related_id": 110 - }, - { - "related_table": "tags", - "foreign_key": "last_build_id", - "parent_id": 229, - "related_id": 54 - }, - { - "related_table": "tags", - "foreign_key": "last_build_id", - "parent_id": 229, - "related_id": 59 - } - ] + "table_name": "builds" } \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_2.json b/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_2.json index 25141a6..83fb8fc 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_2.json +++ b/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_2.json @@ -1,35 +1,3 @@ { - "table_name": "builds", - "nullified_relationships": [ - { - "related_table": "branches", - "foreign_key": "last_build_id", - "parent_id": 1, - "related_id": 10 - }, - { - "related_table": "branches", - "foreign_key": "last_build_id", - "parent_id": 1, - "related_id": 5 - }, - { - "related_table": "deleted_tags", - "foreign_key": "last_build_id", - "parent_id": 1, - "related_id": 1 - }, - { - "related_table": "repositories", - "foreign_key": "current_build_id", - "parent_id": 52, - "related_id": 23 - }, - { - "related_table": "tags", - "foreign_key": "last_build_id", - "parent_id": 1, - "related_id": 6 - } - ] + "table_name": "builds" } \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_20.json b/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_20.json index f102c79..83fb8fc 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_20.json +++ b/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_20.json @@ -1,35 +1,3 @@ { - "table_name": "builds", - "nullified_relationships": [ - { - "related_table": "branches", - "foreign_key": "last_build_id", - "parent_id": 229, - "related_id": 63 - }, - { - "related_table": "branches", - "foreign_key": "last_build_id", - "parent_id": 280, - "related_id": 66 - }, - { - "related_table": "repositories", - "foreign_key": "current_build_id", - "parent_id": 280, - "related_id": 114 - }, - { - "related_table": "repositories", - "foreign_key": "last_build_id", - "parent_id": 280, - "related_id": 113 - }, - { - "related_table": "tags", - "foreign_key": "last_build_id", - "parent_id": 280, - "related_id": 66 - } - ] + "table_name": "builds" } \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_21.json b/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_21.json index 0164962..83fb8fc 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_21.json +++ b/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_21.json @@ -1,29 +1,3 @@ { - "table_name": "builds", - "nullified_relationships": [ - { - "related_table": "branches", - "foreign_key": "last_build_id", - "parent_id": 285, - "related_id": 67 - }, - { - "related_table": "repositories", - "foreign_key": "current_build_id", - "parent_id": 285, - "related_id": 116 - }, - { - "related_table": "repositories", - "foreign_key": "last_build_id", - "parent_id": 285, - "related_id": 115 - }, - { - "related_table": "tags", - "foreign_key": "last_build_id", - "parent_id": 285, - "related_id": 67 - } - ] + "table_name": "builds" } \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_3.json b/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_3.json index 38e8b28..83fb8fc 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_3.json +++ b/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_3.json @@ -1,35 +1,3 @@ { - "table_name": "builds", - "nullified_relationships": [ - { - "related_table": "branches", - "foreign_key": "last_build_id", - "parent_id": 52, - "related_id": 13 - }, - { - "related_table": "repositories", - "foreign_key": "current_build_id", - "parent_id": 59, - "related_id": 25 - }, - { - "related_table": "repositories", - "foreign_key": "last_build_id", - "parent_id": 52, - "related_id": 22 - }, - { - "related_table": "repositories", - "foreign_key": "last_build_id", - "parent_id": 59, - "related_id": 24 - }, - { - "related_table": "tags", - "foreign_key": "last_build_id", - "parent_id": 52, - "related_id": 13 - } - ] + "table_name": "builds" } \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_4.json b/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_4.json index 5d98c71..83fb8fc 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_4.json +++ b/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_4.json @@ -1,35 +1,3 @@ { - "table_name": "builds", - "nullified_relationships": [ - { - "related_table": "branches", - "foreign_key": "last_build_id", - "parent_id": 59, - "related_id": 15 - }, - { - "related_table": "repositories", - "foreign_key": "current_build_id", - "parent_id": 64, - "related_id": 27 - }, - { - "related_table": "repositories", - "foreign_key": "last_build_id", - "parent_id": 64, - "related_id": 26 - }, - { - "related_table": "tags", - "foreign_key": "last_build_id", - "parent_id": 59, - "related_id": 14 - }, - { - "related_table": "tags", - "foreign_key": "last_build_id", - "parent_id": 64, - "related_id": 15 - } - ] + "table_name": "builds" } \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_5.json b/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_5.json index 2ed1f7b..83fb8fc 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_5.json +++ b/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_5.json @@ -1,35 +1,3 @@ { - "table_name": "builds", - "nullified_relationships": [ - { - "related_table": "branches", - "foreign_key": "last_build_id", - "parent_id": 64, - "related_id": 16 - }, - { - "related_table": "branches", - "foreign_key": "last_build_id", - "parent_id": 69, - "related_id": 17 - }, - { - "related_table": "repositories", - "foreign_key": "current_build_id", - "parent_id": 69, - "related_id": 29 - }, - { - "related_table": "repositories", - "foreign_key": "last_build_id", - "parent_id": 69, - "related_id": 28 - }, - { - "related_table": "tags", - "foreign_key": "last_build_id", - "parent_id": 69, - "related_id": 16 - } - ] + "table_name": "builds" } \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_6.json b/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_6.json index 9475ffd..83fb8fc 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_6.json +++ b/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_6.json @@ -1,35 +1,3 @@ { - "table_name": "builds", - "nullified_relationships": [ - { - "related_table": "branches", - "foreign_key": "last_build_id", - "parent_id": 74, - "related_id": 18 - }, - { - "related_table": "repositories", - "foreign_key": "current_build_id", - "parent_id": 74, - "related_id": 31 - }, - { - "related_table": "repositories", - "foreign_key": "current_build_id", - "parent_id": 79, - "related_id": 33 - }, - { - "related_table": "repositories", - "foreign_key": "last_build_id", - "parent_id": 74, - "related_id": 30 - }, - { - "related_table": "tags", - "foreign_key": "last_build_id", - "parent_id": 74, - "related_id": 17 - } - ] + "table_name": "builds" } \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_7.json b/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_7.json index 1a6e1c1..83fb8fc 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_7.json +++ b/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_7.json @@ -1,35 +1,3 @@ { - "table_name": "builds", - "nullified_relationships": [ - { - "related_table": "branches", - "foreign_key": "last_build_id", - "parent_id": 79, - "related_id": 20 - }, - { - "related_table": "repositories", - "foreign_key": "current_build_id", - "parent_id": 84, - "related_id": 35 - }, - { - "related_table": "repositories", - "foreign_key": "last_build_id", - "parent_id": 79, - "related_id": 32 - }, - { - "related_table": "repositories", - "foreign_key": "last_build_id", - "parent_id": 84, - "related_id": 34 - }, - { - "related_table": "tags", - "foreign_key": "last_build_id", - "parent_id": 79, - "related_id": 18 - } - ] + "table_name": "builds" } \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_8.json b/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_8.json index f7185d8..83fb8fc 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_8.json +++ b/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_8.json @@ -1,35 +1,3 @@ { - "table_name": "builds", - "nullified_relationships": [ - { - "related_table": "branches", - "foreign_key": "last_build_id", - "parent_id": 84, - "related_id": 21 - }, - { - "related_table": "repositories", - "foreign_key": "current_build_id", - "parent_id": 89, - "related_id": 54 - }, - { - "related_table": "repositories", - "foreign_key": "current_build_id", - "parent_id": 89, - "related_id": 55 - }, - { - "related_table": "repositories", - "foreign_key": "last_build_id", - "parent_id": 89, - "related_id": 52 - }, - { - "related_table": "tags", - "foreign_key": "last_build_id", - "parent_id": 84, - "related_id": 19 - } - ] + "table_name": "builds" } \ No newline at end of file diff --git a/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_9.json b/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_9.json index 0559dd2..83fb8fc 100644 --- a/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_9.json +++ b/spec/support/expected_files/remove_org_with_dependencies/nullified_relationships/build_9.json @@ -1,35 +1,3 @@ { - "table_name": "builds", - "nullified_relationships": [ - { - "related_table": "branches", - "foreign_key": "last_build_id", - "parent_id": 89, - "related_id": 26 - }, - { - "related_table": "deleted_tags", - "foreign_key": "last_build_id", - "parent_id": 89, - "related_id": 2 - }, - { - "related_table": "repositories", - "foreign_key": "last_build_id", - "parent_id": 89, - "related_id": 53 - }, - { - "related_table": "tags", - "foreign_key": "last_build_id", - "parent_id": 89, - "related_id": 20 - }, - { - "related_table": "tags", - "foreign_key": "last_build_id", - "parent_id": 89, - "related_id": 25 - } - ] + "table_name": "builds" } \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_builds/nullified_relationships/build_1.json b/spec/support/expected_files/remove_repo_builds/nullified_relationships/build_1.json index 2d2b64a..83fb8fc 100644 --- a/spec/support/expected_files/remove_repo_builds/nullified_relationships/build_1.json +++ b/spec/support/expected_files/remove_repo_builds/nullified_relationships/build_1.json @@ -1,35 +1,3 @@ { - "table_name": "builds", - "nullified_relationships": [ - { - "related_table": "repositories", - "foreign_key": "current_build_id", - "parent_id": 1, - "related_id": 20 - }, - { - "related_table": "repositories", - "foreign_key": "current_build_id", - "parent_id": 1, - "related_id": 21 - }, - { - "related_table": "repositories", - "foreign_key": "last_build_id", - "parent_id": 1, - "related_id": 18 - }, - { - "related_table": "repositories", - "foreign_key": "last_build_id", - "parent_id": 1, - "related_id": 19 - }, - { - "related_table": "tags", - "foreign_key": "last_build_id", - "parent_id": 1, - "related_id": 1 - } - ] + "table_name": "builds" } \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_builds/nullified_relationships/build_2.json b/spec/support/expected_files/remove_repo_builds/nullified_relationships/build_2.json index 9ec0010..83fb8fc 100644 --- a/spec/support/expected_files/remove_repo_builds/nullified_relationships/build_2.json +++ b/spec/support/expected_files/remove_repo_builds/nullified_relationships/build_2.json @@ -1,35 +1,3 @@ { - "table_name": "builds", - "nullified_relationships": [ - { - "related_table": "branches", - "foreign_key": "last_build_id", - "parent_id": 1, - "related_id": 10 - }, - { - "related_table": "branches", - "foreign_key": "last_build_id", - "parent_id": 1, - "related_id": 5 - }, - { - "related_table": "deleted_tags", - "foreign_key": "last_build_id", - "parent_id": 1, - "related_id": 1 - }, - { - "related_table": "repositories", - "foreign_key": "last_build_id", - "parent_id": 192, - "related_id": 1 - }, - { - "related_table": "tags", - "foreign_key": "last_build_id", - "parent_id": 1, - "related_id": 6 - } - ] + "table_name": "builds" } \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_requests/nullified_relationships/build_1.json b/spec/support/expected_files/remove_repo_requests/nullified_relationships/build_1.json index ad178f5..83fb8fc 100644 --- a/spec/support/expected_files/remove_repo_requests/nullified_relationships/build_1.json +++ b/spec/support/expected_files/remove_repo_requests/nullified_relationships/build_1.json @@ -1,29 +1,3 @@ { - "table_name": "builds", - "nullified_relationships": [ - { - "related_table": "branches", - "foreign_key": "last_build_id", - "parent_id": 52, - "related_id": 13 - }, - { - "related_table": "repositories", - "foreign_key": "current_build_id", - "parent_id": 52, - "related_id": 23 - }, - { - "related_table": "repositories", - "foreign_key": "last_build_id", - "parent_id": 52, - "related_id": 22 - }, - { - "related_table": "tags", - "foreign_key": "last_build_id", - "parent_id": 52, - "related_id": 13 - } - ] + "table_name": "builds" } \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/nullified_relationships/build_1.json b/spec/support/expected_files/remove_repo_with_dependencies/nullified_relationships/build_1.json index 2d2b64a..83fb8fc 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/nullified_relationships/build_1.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/nullified_relationships/build_1.json @@ -1,35 +1,3 @@ { - "table_name": "builds", - "nullified_relationships": [ - { - "related_table": "repositories", - "foreign_key": "current_build_id", - "parent_id": 1, - "related_id": 20 - }, - { - "related_table": "repositories", - "foreign_key": "current_build_id", - "parent_id": 1, - "related_id": 21 - }, - { - "related_table": "repositories", - "foreign_key": "last_build_id", - "parent_id": 1, - "related_id": 18 - }, - { - "related_table": "repositories", - "foreign_key": "last_build_id", - "parent_id": 1, - "related_id": 19 - }, - { - "related_table": "tags", - "foreign_key": "last_build_id", - "parent_id": 1, - "related_id": 1 - } - ] + "table_name": "builds" } \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/nullified_relationships/build_10.json b/spec/support/expected_files/remove_repo_with_dependencies/nullified_relationships/build_10.json index 22c945b..83fb8fc 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/nullified_relationships/build_10.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/nullified_relationships/build_10.json @@ -1,35 +1,3 @@ { - "table_name": "builds", - "nullified_relationships": [ - { - "related_table": "branches", - "foreign_key": "last_build_id", - "parent_id": 140, - "related_id": 34 - }, - { - "related_table": "branches", - "foreign_key": "last_build_id", - "parent_id": 89, - "related_id": 31 - }, - { - "related_table": "repositories", - "foreign_key": "current_build_id", - "parent_id": 140, - "related_id": 57 - }, - { - "related_table": "repositories", - "foreign_key": "last_build_id", - "parent_id": 140, - "related_id": 56 - }, - { - "related_table": "tags", - "foreign_key": "last_build_id", - "parent_id": 140, - "related_id": 32 - } - ] + "table_name": "builds" } \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/nullified_relationships/build_11.json b/spec/support/expected_files/remove_repo_with_dependencies/nullified_relationships/build_11.json index c3ea315..83fb8fc 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/nullified_relationships/build_11.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/nullified_relationships/build_11.json @@ -1,35 +1,3 @@ { - "table_name": "builds", - "nullified_relationships": [ - { - "related_table": "branches", - "foreign_key": "last_build_id", - "parent_id": 145, - "related_id": 35 - }, - { - "related_table": "repositories", - "foreign_key": "current_build_id", - "parent_id": 145, - "related_id": 59 - }, - { - "related_table": "repositories", - "foreign_key": "current_build_id", - "parent_id": 148, - "related_id": 61 - }, - { - "related_table": "repositories", - "foreign_key": "last_build_id", - "parent_id": 145, - "related_id": 58 - }, - { - "related_table": "tags", - "foreign_key": "last_build_id", - "parent_id": 145, - "related_id": 34 - } - ] + "table_name": "builds" } \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/nullified_relationships/build_12.json b/spec/support/expected_files/remove_repo_with_dependencies/nullified_relationships/build_12.json index 32ef1f9..83fb8fc 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/nullified_relationships/build_12.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/nullified_relationships/build_12.json @@ -1,35 +1,3 @@ { - "table_name": "builds", - "nullified_relationships": [ - { - "related_table": "branches", - "foreign_key": "last_build_id", - "parent_id": 148, - "related_id": 36 - }, - { - "related_table": "repositories", - "foreign_key": "current_build_id", - "parent_id": 153, - "related_id": 63 - }, - { - "related_table": "repositories", - "foreign_key": "last_build_id", - "parent_id": 148, - "related_id": 60 - }, - { - "related_table": "repositories", - "foreign_key": "last_build_id", - "parent_id": 153, - "related_id": 62 - }, - { - "related_table": "tags", - "foreign_key": "last_build_id", - "parent_id": 148, - "related_id": 35 - } - ] + "table_name": "builds" } \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/nullified_relationships/build_13.json b/spec/support/expected_files/remove_repo_with_dependencies/nullified_relationships/build_13.json index ab750d0..83fb8fc 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/nullified_relationships/build_13.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/nullified_relationships/build_13.json @@ -1,35 +1,3 @@ { - "table_name": "builds", - "nullified_relationships": [ - { - "related_table": "branches", - "foreign_key": "last_build_id", - "parent_id": 153, - "related_id": 37 - }, - { - "related_table": "repositories", - "foreign_key": "current_build_id", - "parent_id": 158, - "related_id": 65 - }, - { - "related_table": "repositories", - "foreign_key": "last_build_id", - "parent_id": 158, - "related_id": 64 - }, - { - "related_table": "tags", - "foreign_key": "last_build_id", - "parent_id": 153, - "related_id": 36 - }, - { - "related_table": "tags", - "foreign_key": "last_build_id", - "parent_id": 158, - "related_id": 37 - } - ] + "table_name": "builds" } \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/nullified_relationships/build_14.json b/spec/support/expected_files/remove_repo_with_dependencies/nullified_relationships/build_14.json index 8ca7a1a..83fb8fc 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/nullified_relationships/build_14.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/nullified_relationships/build_14.json @@ -1,35 +1,3 @@ { - "table_name": "builds", - "nullified_relationships": [ - { - "related_table": "branches", - "foreign_key": "last_build_id", - "parent_id": 158, - "related_id": 38 - }, - { - "related_table": "branches", - "foreign_key": "last_build_id", - "parent_id": 163, - "related_id": 39 - }, - { - "related_table": "repositories", - "foreign_key": "current_build_id", - "parent_id": 163, - "related_id": 67 - }, - { - "related_table": "repositories", - "foreign_key": "last_build_id", - "parent_id": 163, - "related_id": 66 - }, - { - "related_table": "tags", - "foreign_key": "last_build_id", - "parent_id": 163, - "related_id": 39 - } - ] + "table_name": "builds" } \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/nullified_relationships/build_15.json b/spec/support/expected_files/remove_repo_with_dependencies/nullified_relationships/build_15.json index d190613..83fb8fc 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/nullified_relationships/build_15.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/nullified_relationships/build_15.json @@ -1,35 +1,3 @@ { - "table_name": "builds", - "nullified_relationships": [ - { - "related_table": "branches", - "foreign_key": "last_build_id", - "parent_id": 166, - "related_id": 40 - }, - { - "related_table": "repositories", - "foreign_key": "current_build_id", - "parent_id": 166, - "related_id": 69 - }, - { - "related_table": "repositories", - "foreign_key": "current_build_id", - "parent_id": 173, - "related_id": 71 - }, - { - "related_table": "repositories", - "foreign_key": "last_build_id", - "parent_id": 166, - "related_id": 68 - }, - { - "related_table": "tags", - "foreign_key": "last_build_id", - "parent_id": 166, - "related_id": 40 - } - ] + "table_name": "builds" } \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/nullified_relationships/build_16.json b/spec/support/expected_files/remove_repo_with_dependencies/nullified_relationships/build_16.json index 6064491..83fb8fc 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/nullified_relationships/build_16.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/nullified_relationships/build_16.json @@ -1,23 +1,3 @@ { - "table_name": "builds", - "nullified_relationships": [ - { - "related_table": "branches", - "foreign_key": "last_build_id", - "parent_id": 173, - "related_id": 41 - }, - { - "related_table": "repositories", - "foreign_key": "last_build_id", - "parent_id": 173, - "related_id": 70 - }, - { - "related_table": "tags", - "foreign_key": "last_build_id", - "parent_id": 173, - "related_id": 41 - } - ] + "table_name": "builds" } \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/nullified_relationships/build_2.json b/spec/support/expected_files/remove_repo_with_dependencies/nullified_relationships/build_2.json index 25141a6..83fb8fc 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/nullified_relationships/build_2.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/nullified_relationships/build_2.json @@ -1,35 +1,3 @@ { - "table_name": "builds", - "nullified_relationships": [ - { - "related_table": "branches", - "foreign_key": "last_build_id", - "parent_id": 1, - "related_id": 10 - }, - { - "related_table": "branches", - "foreign_key": "last_build_id", - "parent_id": 1, - "related_id": 5 - }, - { - "related_table": "deleted_tags", - "foreign_key": "last_build_id", - "parent_id": 1, - "related_id": 1 - }, - { - "related_table": "repositories", - "foreign_key": "current_build_id", - "parent_id": 52, - "related_id": 23 - }, - { - "related_table": "tags", - "foreign_key": "last_build_id", - "parent_id": 1, - "related_id": 6 - } - ] + "table_name": "builds" } \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/nullified_relationships/build_3.json b/spec/support/expected_files/remove_repo_with_dependencies/nullified_relationships/build_3.json index 38e8b28..83fb8fc 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/nullified_relationships/build_3.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/nullified_relationships/build_3.json @@ -1,35 +1,3 @@ { - "table_name": "builds", - "nullified_relationships": [ - { - "related_table": "branches", - "foreign_key": "last_build_id", - "parent_id": 52, - "related_id": 13 - }, - { - "related_table": "repositories", - "foreign_key": "current_build_id", - "parent_id": 59, - "related_id": 25 - }, - { - "related_table": "repositories", - "foreign_key": "last_build_id", - "parent_id": 52, - "related_id": 22 - }, - { - "related_table": "repositories", - "foreign_key": "last_build_id", - "parent_id": 59, - "related_id": 24 - }, - { - "related_table": "tags", - "foreign_key": "last_build_id", - "parent_id": 52, - "related_id": 13 - } - ] + "table_name": "builds" } \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/nullified_relationships/build_4.json b/spec/support/expected_files/remove_repo_with_dependencies/nullified_relationships/build_4.json index 5d98c71..83fb8fc 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/nullified_relationships/build_4.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/nullified_relationships/build_4.json @@ -1,35 +1,3 @@ { - "table_name": "builds", - "nullified_relationships": [ - { - "related_table": "branches", - "foreign_key": "last_build_id", - "parent_id": 59, - "related_id": 15 - }, - { - "related_table": "repositories", - "foreign_key": "current_build_id", - "parent_id": 64, - "related_id": 27 - }, - { - "related_table": "repositories", - "foreign_key": "last_build_id", - "parent_id": 64, - "related_id": 26 - }, - { - "related_table": "tags", - "foreign_key": "last_build_id", - "parent_id": 59, - "related_id": 14 - }, - { - "related_table": "tags", - "foreign_key": "last_build_id", - "parent_id": 64, - "related_id": 15 - } - ] + "table_name": "builds" } \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/nullified_relationships/build_5.json b/spec/support/expected_files/remove_repo_with_dependencies/nullified_relationships/build_5.json index 2ed1f7b..83fb8fc 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/nullified_relationships/build_5.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/nullified_relationships/build_5.json @@ -1,35 +1,3 @@ { - "table_name": "builds", - "nullified_relationships": [ - { - "related_table": "branches", - "foreign_key": "last_build_id", - "parent_id": 64, - "related_id": 16 - }, - { - "related_table": "branches", - "foreign_key": "last_build_id", - "parent_id": 69, - "related_id": 17 - }, - { - "related_table": "repositories", - "foreign_key": "current_build_id", - "parent_id": 69, - "related_id": 29 - }, - { - "related_table": "repositories", - "foreign_key": "last_build_id", - "parent_id": 69, - "related_id": 28 - }, - { - "related_table": "tags", - "foreign_key": "last_build_id", - "parent_id": 69, - "related_id": 16 - } - ] + "table_name": "builds" } \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/nullified_relationships/build_6.json b/spec/support/expected_files/remove_repo_with_dependencies/nullified_relationships/build_6.json index 9475ffd..83fb8fc 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/nullified_relationships/build_6.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/nullified_relationships/build_6.json @@ -1,35 +1,3 @@ { - "table_name": "builds", - "nullified_relationships": [ - { - "related_table": "branches", - "foreign_key": "last_build_id", - "parent_id": 74, - "related_id": 18 - }, - { - "related_table": "repositories", - "foreign_key": "current_build_id", - "parent_id": 74, - "related_id": 31 - }, - { - "related_table": "repositories", - "foreign_key": "current_build_id", - "parent_id": 79, - "related_id": 33 - }, - { - "related_table": "repositories", - "foreign_key": "last_build_id", - "parent_id": 74, - "related_id": 30 - }, - { - "related_table": "tags", - "foreign_key": "last_build_id", - "parent_id": 74, - "related_id": 17 - } - ] + "table_name": "builds" } \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/nullified_relationships/build_7.json b/spec/support/expected_files/remove_repo_with_dependencies/nullified_relationships/build_7.json index 1a6e1c1..83fb8fc 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/nullified_relationships/build_7.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/nullified_relationships/build_7.json @@ -1,35 +1,3 @@ { - "table_name": "builds", - "nullified_relationships": [ - { - "related_table": "branches", - "foreign_key": "last_build_id", - "parent_id": 79, - "related_id": 20 - }, - { - "related_table": "repositories", - "foreign_key": "current_build_id", - "parent_id": 84, - "related_id": 35 - }, - { - "related_table": "repositories", - "foreign_key": "last_build_id", - "parent_id": 79, - "related_id": 32 - }, - { - "related_table": "repositories", - "foreign_key": "last_build_id", - "parent_id": 84, - "related_id": 34 - }, - { - "related_table": "tags", - "foreign_key": "last_build_id", - "parent_id": 79, - "related_id": 18 - } - ] + "table_name": "builds" } \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/nullified_relationships/build_8.json b/spec/support/expected_files/remove_repo_with_dependencies/nullified_relationships/build_8.json index f7185d8..83fb8fc 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/nullified_relationships/build_8.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/nullified_relationships/build_8.json @@ -1,35 +1,3 @@ { - "table_name": "builds", - "nullified_relationships": [ - { - "related_table": "branches", - "foreign_key": "last_build_id", - "parent_id": 84, - "related_id": 21 - }, - { - "related_table": "repositories", - "foreign_key": "current_build_id", - "parent_id": 89, - "related_id": 54 - }, - { - "related_table": "repositories", - "foreign_key": "current_build_id", - "parent_id": 89, - "related_id": 55 - }, - { - "related_table": "repositories", - "foreign_key": "last_build_id", - "parent_id": 89, - "related_id": 52 - }, - { - "related_table": "tags", - "foreign_key": "last_build_id", - "parent_id": 84, - "related_id": 19 - } - ] + "table_name": "builds" } \ No newline at end of file diff --git a/spec/support/expected_files/remove_repo_with_dependencies/nullified_relationships/build_9.json b/spec/support/expected_files/remove_repo_with_dependencies/nullified_relationships/build_9.json index 0559dd2..83fb8fc 100644 --- a/spec/support/expected_files/remove_repo_with_dependencies/nullified_relationships/build_9.json +++ b/spec/support/expected_files/remove_repo_with_dependencies/nullified_relationships/build_9.json @@ -1,35 +1,3 @@ { - "table_name": "builds", - "nullified_relationships": [ - { - "related_table": "branches", - "foreign_key": "last_build_id", - "parent_id": 89, - "related_id": 26 - }, - { - "related_table": "deleted_tags", - "foreign_key": "last_build_id", - "parent_id": 89, - "related_id": 2 - }, - { - "related_table": "repositories", - "foreign_key": "last_build_id", - "parent_id": 89, - "related_id": 53 - }, - { - "related_table": "tags", - "foreign_key": "last_build_id", - "parent_id": 89, - "related_id": 20 - }, - { - "related_table": "tags", - "foreign_key": "last_build_id", - "parent_id": 89, - "related_id": 25 - } - ] + "table_name": "builds" } \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_1.json b/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_1.json index 2d2b64a..83fb8fc 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_1.json +++ b/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_1.json @@ -1,35 +1,3 @@ { - "table_name": "builds", - "nullified_relationships": [ - { - "related_table": "repositories", - "foreign_key": "current_build_id", - "parent_id": 1, - "related_id": 20 - }, - { - "related_table": "repositories", - "foreign_key": "current_build_id", - "parent_id": 1, - "related_id": 21 - }, - { - "related_table": "repositories", - "foreign_key": "last_build_id", - "parent_id": 1, - "related_id": 18 - }, - { - "related_table": "repositories", - "foreign_key": "last_build_id", - "parent_id": 1, - "related_id": 19 - }, - { - "related_table": "tags", - "foreign_key": "last_build_id", - "parent_id": 1, - "related_id": 1 - } - ] + "table_name": "builds" } \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_10.json b/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_10.json index 22c945b..83fb8fc 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_10.json +++ b/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_10.json @@ -1,35 +1,3 @@ { - "table_name": "builds", - "nullified_relationships": [ - { - "related_table": "branches", - "foreign_key": "last_build_id", - "parent_id": 140, - "related_id": 34 - }, - { - "related_table": "branches", - "foreign_key": "last_build_id", - "parent_id": 89, - "related_id": 31 - }, - { - "related_table": "repositories", - "foreign_key": "current_build_id", - "parent_id": 140, - "related_id": 57 - }, - { - "related_table": "repositories", - "foreign_key": "last_build_id", - "parent_id": 140, - "related_id": 56 - }, - { - "related_table": "tags", - "foreign_key": "last_build_id", - "parent_id": 140, - "related_id": 32 - } - ] + "table_name": "builds" } \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_11.json b/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_11.json index c3ea315..83fb8fc 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_11.json +++ b/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_11.json @@ -1,35 +1,3 @@ { - "table_name": "builds", - "nullified_relationships": [ - { - "related_table": "branches", - "foreign_key": "last_build_id", - "parent_id": 145, - "related_id": 35 - }, - { - "related_table": "repositories", - "foreign_key": "current_build_id", - "parent_id": 145, - "related_id": 59 - }, - { - "related_table": "repositories", - "foreign_key": "current_build_id", - "parent_id": 148, - "related_id": 61 - }, - { - "related_table": "repositories", - "foreign_key": "last_build_id", - "parent_id": 145, - "related_id": 58 - }, - { - "related_table": "tags", - "foreign_key": "last_build_id", - "parent_id": 145, - "related_id": 34 - } - ] + "table_name": "builds" } \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_12.json b/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_12.json index 32ef1f9..83fb8fc 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_12.json +++ b/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_12.json @@ -1,35 +1,3 @@ { - "table_name": "builds", - "nullified_relationships": [ - { - "related_table": "branches", - "foreign_key": "last_build_id", - "parent_id": 148, - "related_id": 36 - }, - { - "related_table": "repositories", - "foreign_key": "current_build_id", - "parent_id": 153, - "related_id": 63 - }, - { - "related_table": "repositories", - "foreign_key": "last_build_id", - "parent_id": 148, - "related_id": 60 - }, - { - "related_table": "repositories", - "foreign_key": "last_build_id", - "parent_id": 153, - "related_id": 62 - }, - { - "related_table": "tags", - "foreign_key": "last_build_id", - "parent_id": 148, - "related_id": 35 - } - ] + "table_name": "builds" } \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_13.json b/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_13.json index ab750d0..83fb8fc 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_13.json +++ b/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_13.json @@ -1,35 +1,3 @@ { - "table_name": "builds", - "nullified_relationships": [ - { - "related_table": "branches", - "foreign_key": "last_build_id", - "parent_id": 153, - "related_id": 37 - }, - { - "related_table": "repositories", - "foreign_key": "current_build_id", - "parent_id": 158, - "related_id": 65 - }, - { - "related_table": "repositories", - "foreign_key": "last_build_id", - "parent_id": 158, - "related_id": 64 - }, - { - "related_table": "tags", - "foreign_key": "last_build_id", - "parent_id": 153, - "related_id": 36 - }, - { - "related_table": "tags", - "foreign_key": "last_build_id", - "parent_id": 158, - "related_id": 37 - } - ] + "table_name": "builds" } \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_14.json b/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_14.json index 8ca7a1a..83fb8fc 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_14.json +++ b/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_14.json @@ -1,35 +1,3 @@ { - "table_name": "builds", - "nullified_relationships": [ - { - "related_table": "branches", - "foreign_key": "last_build_id", - "parent_id": 158, - "related_id": 38 - }, - { - "related_table": "branches", - "foreign_key": "last_build_id", - "parent_id": 163, - "related_id": 39 - }, - { - "related_table": "repositories", - "foreign_key": "current_build_id", - "parent_id": 163, - "related_id": 67 - }, - { - "related_table": "repositories", - "foreign_key": "last_build_id", - "parent_id": 163, - "related_id": 66 - }, - { - "related_table": "tags", - "foreign_key": "last_build_id", - "parent_id": 163, - "related_id": 39 - } - ] + "table_name": "builds" } \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_15.json b/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_15.json index d190613..83fb8fc 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_15.json +++ b/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_15.json @@ -1,35 +1,3 @@ { - "table_name": "builds", - "nullified_relationships": [ - { - "related_table": "branches", - "foreign_key": "last_build_id", - "parent_id": 166, - "related_id": 40 - }, - { - "related_table": "repositories", - "foreign_key": "current_build_id", - "parent_id": 166, - "related_id": 69 - }, - { - "related_table": "repositories", - "foreign_key": "current_build_id", - "parent_id": 173, - "related_id": 71 - }, - { - "related_table": "repositories", - "foreign_key": "last_build_id", - "parent_id": 166, - "related_id": 68 - }, - { - "related_table": "tags", - "foreign_key": "last_build_id", - "parent_id": 166, - "related_id": 40 - } - ] + "table_name": "builds" } \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_16.json b/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_16.json index 9f3b148..83fb8fc 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_16.json +++ b/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_16.json @@ -1,35 +1,3 @@ { - "table_name": "builds", - "nullified_relationships": [ - { - "related_table": "branches", - "foreign_key": "last_build_id", - "parent_id": 173, - "related_id": 41 - }, - { - "related_table": "repositories", - "foreign_key": "current_build_id", - "parent_id": 178, - "related_id": 91 - }, - { - "related_table": "repositories", - "foreign_key": "current_build_id", - "parent_id": 178, - "related_id": 92 - }, - { - "related_table": "repositories", - "foreign_key": "last_build_id", - "parent_id": 173, - "related_id": 70 - }, - { - "related_table": "tags", - "foreign_key": "last_build_id", - "parent_id": 173, - "related_id": 41 - } - ] + "table_name": "builds" } \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_17.json b/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_17.json index 54b0a7c..83fb8fc 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_17.json +++ b/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_17.json @@ -1,35 +1,3 @@ { - "table_name": "builds", - "nullified_relationships": [ - { - "related_table": "deleted_tags", - "foreign_key": "last_build_id", - "parent_id": 178, - "related_id": 5 - }, - { - "related_table": "repositories", - "foreign_key": "last_build_id", - "parent_id": 178, - "related_id": 89 - }, - { - "related_table": "repositories", - "foreign_key": "last_build_id", - "parent_id": 178, - "related_id": 90 - }, - { - "related_table": "tags", - "foreign_key": "last_build_id", - "parent_id": 178, - "related_id": 42 - }, - { - "related_table": "tags", - "foreign_key": "last_build_id", - "parent_id": 178, - "related_id": 47 - } - ] + "table_name": "builds" } \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_18.json b/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_18.json index 63e3e95..83fb8fc 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_18.json +++ b/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_18.json @@ -1,35 +1,3 @@ { - "table_name": "builds", - "nullified_relationships": [ - { - "related_table": "branches", - "foreign_key": "last_build_id", - "parent_id": 178, - "related_id": 46 - }, - { - "related_table": "branches", - "foreign_key": "last_build_id", - "parent_id": 178, - "related_id": 51 - }, - { - "related_table": "repositories", - "foreign_key": "current_build_id", - "parent_id": 229, - "related_id": 111 - }, - { - "related_table": "repositories", - "foreign_key": "current_build_id", - "parent_id": 229, - "related_id": 112 - }, - { - "related_table": "repositories", - "foreign_key": "last_build_id", - "parent_id": 229, - "related_id": 109 - } - ] + "table_name": "builds" } \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_19.json b/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_19.json index eba0b4d..83fb8fc 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_19.json +++ b/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_19.json @@ -1,35 +1,3 @@ { - "table_name": "builds", - "nullified_relationships": [ - { - "related_table": "branches", - "foreign_key": "last_build_id", - "parent_id": 229, - "related_id": 58 - }, - { - "related_table": "deleted_tags", - "foreign_key": "last_build_id", - "parent_id": 229, - "related_id": 6 - }, - { - "related_table": "repositories", - "foreign_key": "last_build_id", - "parent_id": 229, - "related_id": 110 - }, - { - "related_table": "tags", - "foreign_key": "last_build_id", - "parent_id": 229, - "related_id": 54 - }, - { - "related_table": "tags", - "foreign_key": "last_build_id", - "parent_id": 229, - "related_id": 59 - } - ] + "table_name": "builds" } \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_2.json b/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_2.json index 25141a6..83fb8fc 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_2.json +++ b/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_2.json @@ -1,35 +1,3 @@ { - "table_name": "builds", - "nullified_relationships": [ - { - "related_table": "branches", - "foreign_key": "last_build_id", - "parent_id": 1, - "related_id": 10 - }, - { - "related_table": "branches", - "foreign_key": "last_build_id", - "parent_id": 1, - "related_id": 5 - }, - { - "related_table": "deleted_tags", - "foreign_key": "last_build_id", - "parent_id": 1, - "related_id": 1 - }, - { - "related_table": "repositories", - "foreign_key": "current_build_id", - "parent_id": 52, - "related_id": 23 - }, - { - "related_table": "tags", - "foreign_key": "last_build_id", - "parent_id": 1, - "related_id": 6 - } - ] + "table_name": "builds" } \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_20.json b/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_20.json index f102c79..83fb8fc 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_20.json +++ b/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_20.json @@ -1,35 +1,3 @@ { - "table_name": "builds", - "nullified_relationships": [ - { - "related_table": "branches", - "foreign_key": "last_build_id", - "parent_id": 229, - "related_id": 63 - }, - { - "related_table": "branches", - "foreign_key": "last_build_id", - "parent_id": 280, - "related_id": 66 - }, - { - "related_table": "repositories", - "foreign_key": "current_build_id", - "parent_id": 280, - "related_id": 114 - }, - { - "related_table": "repositories", - "foreign_key": "last_build_id", - "parent_id": 280, - "related_id": 113 - }, - { - "related_table": "tags", - "foreign_key": "last_build_id", - "parent_id": 280, - "related_id": 66 - } - ] + "table_name": "builds" } \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_21.json b/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_21.json index 0164962..83fb8fc 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_21.json +++ b/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_21.json @@ -1,29 +1,3 @@ { - "table_name": "builds", - "nullified_relationships": [ - { - "related_table": "branches", - "foreign_key": "last_build_id", - "parent_id": 285, - "related_id": 67 - }, - { - "related_table": "repositories", - "foreign_key": "current_build_id", - "parent_id": 285, - "related_id": 116 - }, - { - "related_table": "repositories", - "foreign_key": "last_build_id", - "parent_id": 285, - "related_id": 115 - }, - { - "related_table": "tags", - "foreign_key": "last_build_id", - "parent_id": 285, - "related_id": 67 - } - ] + "table_name": "builds" } \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_3.json b/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_3.json index 38e8b28..83fb8fc 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_3.json +++ b/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_3.json @@ -1,35 +1,3 @@ { - "table_name": "builds", - "nullified_relationships": [ - { - "related_table": "branches", - "foreign_key": "last_build_id", - "parent_id": 52, - "related_id": 13 - }, - { - "related_table": "repositories", - "foreign_key": "current_build_id", - "parent_id": 59, - "related_id": 25 - }, - { - "related_table": "repositories", - "foreign_key": "last_build_id", - "parent_id": 52, - "related_id": 22 - }, - { - "related_table": "repositories", - "foreign_key": "last_build_id", - "parent_id": 59, - "related_id": 24 - }, - { - "related_table": "tags", - "foreign_key": "last_build_id", - "parent_id": 52, - "related_id": 13 - } - ] + "table_name": "builds" } \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_4.json b/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_4.json index 5d98c71..83fb8fc 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_4.json +++ b/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_4.json @@ -1,35 +1,3 @@ { - "table_name": "builds", - "nullified_relationships": [ - { - "related_table": "branches", - "foreign_key": "last_build_id", - "parent_id": 59, - "related_id": 15 - }, - { - "related_table": "repositories", - "foreign_key": "current_build_id", - "parent_id": 64, - "related_id": 27 - }, - { - "related_table": "repositories", - "foreign_key": "last_build_id", - "parent_id": 64, - "related_id": 26 - }, - { - "related_table": "tags", - "foreign_key": "last_build_id", - "parent_id": 59, - "related_id": 14 - }, - { - "related_table": "tags", - "foreign_key": "last_build_id", - "parent_id": 64, - "related_id": 15 - } - ] + "table_name": "builds" } \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_5.json b/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_5.json index 2ed1f7b..83fb8fc 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_5.json +++ b/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_5.json @@ -1,35 +1,3 @@ { - "table_name": "builds", - "nullified_relationships": [ - { - "related_table": "branches", - "foreign_key": "last_build_id", - "parent_id": 64, - "related_id": 16 - }, - { - "related_table": "branches", - "foreign_key": "last_build_id", - "parent_id": 69, - "related_id": 17 - }, - { - "related_table": "repositories", - "foreign_key": "current_build_id", - "parent_id": 69, - "related_id": 29 - }, - { - "related_table": "repositories", - "foreign_key": "last_build_id", - "parent_id": 69, - "related_id": 28 - }, - { - "related_table": "tags", - "foreign_key": "last_build_id", - "parent_id": 69, - "related_id": 16 - } - ] + "table_name": "builds" } \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_6.json b/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_6.json index 9475ffd..83fb8fc 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_6.json +++ b/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_6.json @@ -1,35 +1,3 @@ { - "table_name": "builds", - "nullified_relationships": [ - { - "related_table": "branches", - "foreign_key": "last_build_id", - "parent_id": 74, - "related_id": 18 - }, - { - "related_table": "repositories", - "foreign_key": "current_build_id", - "parent_id": 74, - "related_id": 31 - }, - { - "related_table": "repositories", - "foreign_key": "current_build_id", - "parent_id": 79, - "related_id": 33 - }, - { - "related_table": "repositories", - "foreign_key": "last_build_id", - "parent_id": 74, - "related_id": 30 - }, - { - "related_table": "tags", - "foreign_key": "last_build_id", - "parent_id": 74, - "related_id": 17 - } - ] + "table_name": "builds" } \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_7.json b/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_7.json index 1a6e1c1..83fb8fc 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_7.json +++ b/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_7.json @@ -1,35 +1,3 @@ { - "table_name": "builds", - "nullified_relationships": [ - { - "related_table": "branches", - "foreign_key": "last_build_id", - "parent_id": 79, - "related_id": 20 - }, - { - "related_table": "repositories", - "foreign_key": "current_build_id", - "parent_id": 84, - "related_id": 35 - }, - { - "related_table": "repositories", - "foreign_key": "last_build_id", - "parent_id": 79, - "related_id": 32 - }, - { - "related_table": "repositories", - "foreign_key": "last_build_id", - "parent_id": 84, - "related_id": 34 - }, - { - "related_table": "tags", - "foreign_key": "last_build_id", - "parent_id": 79, - "related_id": 18 - } - ] + "table_name": "builds" } \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_8.json b/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_8.json index f7185d8..83fb8fc 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_8.json +++ b/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_8.json @@ -1,35 +1,3 @@ { - "table_name": "builds", - "nullified_relationships": [ - { - "related_table": "branches", - "foreign_key": "last_build_id", - "parent_id": 84, - "related_id": 21 - }, - { - "related_table": "repositories", - "foreign_key": "current_build_id", - "parent_id": 89, - "related_id": 54 - }, - { - "related_table": "repositories", - "foreign_key": "current_build_id", - "parent_id": 89, - "related_id": 55 - }, - { - "related_table": "repositories", - "foreign_key": "last_build_id", - "parent_id": 89, - "related_id": 52 - }, - { - "related_table": "tags", - "foreign_key": "last_build_id", - "parent_id": 84, - "related_id": 19 - } - ] + "table_name": "builds" } \ No newline at end of file diff --git a/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_9.json b/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_9.json index 0559dd2..83fb8fc 100644 --- a/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_9.json +++ b/spec/support/expected_files/remove_user_with_dependencies/nullified_relationships/build_9.json @@ -1,35 +1,3 @@ { - "table_name": "builds", - "nullified_relationships": [ - { - "related_table": "branches", - "foreign_key": "last_build_id", - "parent_id": 89, - "related_id": 26 - }, - { - "related_table": "deleted_tags", - "foreign_key": "last_build_id", - "parent_id": 89, - "related_id": 2 - }, - { - "related_table": "repositories", - "foreign_key": "last_build_id", - "parent_id": 89, - "related_id": 53 - }, - { - "related_table": "tags", - "foreign_key": "last_build_id", - "parent_id": 89, - "related_id": 20 - }, - { - "related_table": "tags", - "foreign_key": "last_build_id", - "parent_id": 89, - "related_id": 25 - } - ] + "table_name": "builds" } \ No newline at end of file From 3d97d26b1bd7810c99dbc03b6b3df99d1fdfd01c Mon Sep 17 00:00:00 2001 From: Karol Selak Travis Date: Mon, 4 Apr 2022 02:20:54 +0200 Subject: [PATCH 10/12] row_security removed from schema --- db/schema.sql | 1 - 1 file changed, 1 deletion(-) diff --git a/db/schema.sql b/db/schema.sql index 5645169..6030003 100644 --- a/db/schema.sql +++ b/db/schema.sql @@ -9,7 +9,6 @@ SET standard_conforming_strings = on; SELECT pg_catalog.set_config('search_path', '', false); SET check_function_bodies = false; SET client_min_messages = warning; -SET row_security = off; -- -- Name: plpgsql; Type: EXTENSION; Schema: -; Owner: - From 992f71378bec5e26c5f94c25e778d6d91475a29d Mon Sep 17 00:00:00 2001 From: Karol Selak Travis Date: Mon, 4 Apr 2022 10:11:26 +0200 Subject: [PATCH 11/12] README and abort messages updated --- README.md | 4 +++- lib/config.rb | 9 ++++++--- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 8eb7b56..7e07ac7 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # README -*travis-backup-for-v3* is an application that helps with housekeeping and backup for Travis CI database v3.0. It removes requests and builds with their dependencies, as long as they are older than given threshold says. +*travis-backup-for-v3* is an application that helps with housekeeping and backup for Travis CI database v3.0. By default it removes requests and builds with their dependencies, as long as they are older than given threshold says (and backups them in files, if this option is active). It can also be used to remove specified users, organizations or repositories with their dependencies. ### Installation and run @@ -55,6 +55,8 @@ backup.run(repo_id: 1) #### Special modes +Using `--user_id`, `--org_id` or `--repo_id` flag without setting `--threshold` results in removing the specified user/organization/repository with all its dependencies. It can be combined with `--backup` flag in order to save removed data in files. + Using `--dry_run` flag you can check which data would be removed by gem, but without removing them actually. Instead of that reports will be printed on standard output. This flag can be also combined with special modes. ### Configuration options diff --git a/lib/config.rb b/lib/config.rb index 8b02f46..d3b3d9c 100644 --- a/lib/config.rb +++ b/lib/config.rb @@ -131,7 +131,8 @@ def set_values(args) def check_values if !@move_logs && !@remove_orphans && !@threshold && !@user_id && !@org_id && !@repo_id && !@load_from_files message = abort_message("Please provide the threshold argument. Data younger than it will be omitted. " + - "Threshold defines number of months from now.") + "Threshold defines number of months from now. Alternatively you can define user_id, org_id or repo_id " + + "to remove whole user, organization or repository with all dependencies.") abort message end @@ -151,9 +152,11 @@ def check_values def abort_message(intro) "\n#{intro}\n\nExample usage:\n"+ - "\n $ bin/travis_backup 'postgres://my_database_url' --threshold 6\n" + + "\n $ bin/travis_backup 'postgres://my_database_url' --threshold 6" + + "\n $ bin/travis_backup 'postgres://my_database_url' --user_id 1\n" + "\nor using in code:\n" + - "\n Backup.new(database_url: 'postgres://my_database_url', threshold: 6)\n" + + "\n Backup.new(database_url: 'postgres://my_database_url', threshold: 6)" + + "\n Backup.new(database_url: 'postgres://my_database_url', user_id: 1)\n" + "\nYou can also set it using environment variables or configuration files.\n" end From 61f3be467da27770c0676e9113ce662b9475799e Mon Sep 17 00:00:00 2001 From: Karol Selak Travis Date: Mon, 4 Apr 2022 10:15:37 +0200 Subject: [PATCH 12/12] commented has_many relationships in 'Deleted*' models removed --- lib/models/deleted_build.rb | 9 --------- lib/models/deleted_build_config.rb | 2 -- lib/models/deleted_commit.rb | 6 ------ lib/models/deleted_job.rb | 2 -- lib/models/deleted_job_config.rb | 2 -- lib/models/deleted_pull_request.rb | 4 ---- lib/models/deleted_request.rb | 10 ---------- lib/models/deleted_request_config.rb | 2 -- lib/models/deleted_request_raw_config.rb | 2 -- lib/models/deleted_request_yaml_config.rb | 2 -- lib/models/deleted_stage.rb | 2 -- lib/models/deleted_tag.rb | 6 ------ 12 files changed, 49 deletions(-) diff --git a/lib/models/deleted_build.rb b/lib/models/deleted_build.rb index ce39f05..77aa54d 100644 --- a/lib/models/deleted_build.rb +++ b/lib/models/deleted_build.rb @@ -14,16 +14,7 @@ class DeletedBuild < Model belongs_to :build_config, foreign_key: :config_id, class_name: 'BuildConfig' self.primary_key = 'id' - # has_many :jobs, -> { order('id') }, as: :source, dependent: :destroy - # has_many :repos_for_that_this_build_is_current, foreign_key: :current_build_id, dependent: :destroy, class_name: 'Repository' - # has_many :repos_for_that_this_build_is_last, foreign_key: :last_build_id, class_name: 'Repository' - # has_many :tags_for_that_this_build_is_last, foreign_key: :last_build_id, class_name: 'Tag' - # has_many :branches_for_that_this_build_is_last, foreign_key: :last_build_id, class_name: 'Branch' - # has_many :stages - # has_many :deleted_jobs, -> { order('id') }, as: :source, dependent: :destroy - # has_many :deleted_tags_for_that_this_build_is_last, foreign_key: :last_build_id, class_name: 'DeletedTag' - # has_many :deleted_stages # def self.default_dependencies_symbols_to_nullify # [ diff --git a/lib/models/deleted_build_config.rb b/lib/models/deleted_build_config.rb index 48641dc..e4a4635 100644 --- a/lib/models/deleted_build_config.rb +++ b/lib/models/deleted_build_config.rb @@ -5,6 +5,4 @@ class DeletedBuildConfig < Model belongs_to :repository self.primary_key = 'id' - # has_many :builds, foreign_key: :config_id, class_name: 'Build' - # has_many :deleted_builds, foreign_key: :config_id, class_name: 'DeletedBuild' end diff --git a/lib/models/deleted_commit.rb b/lib/models/deleted_commit.rb index 46c5127..0da240f 100644 --- a/lib/models/deleted_commit.rb +++ b/lib/models/deleted_commit.rb @@ -7,11 +7,5 @@ class DeletedCommit < Model belongs_to :repository belongs_to :tag self.primary_key = 'id' - # has_many :builds - # has_many :jobs - # has_many :requests - # has_many :deleted_builds - # has_many :deleted_jobs - # has_many :deleted_requests end diff --git a/lib/models/deleted_job.rb b/lib/models/deleted_job.rb index 6b856fc..d63135d 100644 --- a/lib/models/deleted_job.rb +++ b/lib/models/deleted_job.rb @@ -10,6 +10,4 @@ class DeletedJob < Model belongs_to :stage belongs_to :job_config, foreign_key: :config_id, class_name: 'JobConfig' self.primary_key = 'id' - # has_many :queueable_jobs - # has_many :job_versions end diff --git a/lib/models/deleted_job_config.rb b/lib/models/deleted_job_config.rb index 406f559..c4c9bc0 100644 --- a/lib/models/deleted_job_config.rb +++ b/lib/models/deleted_job_config.rb @@ -5,6 +5,4 @@ class DeletedJobConfig < Model belongs_to :repository self.primary_key = 'id' - # has_many :jobs, foreign_key: :config_id, class_name: 'Job' - # has_many :deleted_jobs, foreign_key: :config_id, class_name: 'DeletedJob' end diff --git a/lib/models/deleted_pull_request.rb b/lib/models/deleted_pull_request.rb index 06109af..b8b412e 100644 --- a/lib/models/deleted_pull_request.rb +++ b/lib/models/deleted_pull_request.rb @@ -5,8 +5,4 @@ class DeletedPullRequest < Model belongs_to :repository self.primary_key = 'id' - # has_many :requests - # has_many :builds - # has_many :deleted_requests - # has_many :deleted_builds end diff --git a/lib/models/deleted_request.rb b/lib/models/deleted_request.rb index 38adc9f..8c2dace 100644 --- a/lib/models/deleted_request.rb +++ b/lib/models/deleted_request.rb @@ -13,14 +13,4 @@ class DeletedRequest < Model belongs_to :request_yaml_configs belongs_to :request_configs self.primary_key = 'id' - # has_many :abuses - # has_many :messages, as: :subject - # has_many :jobs, as: :source - # has_many :builds - # has_many :request_payloads - # has_many :request_raw_configurations - # has_many :deleted_jobs, as: :source - # has_many :deleted_builds - # has_many :deleted_request_payloads - # has_many :deleted_request_raw_configurations end diff --git a/lib/models/deleted_request_config.rb b/lib/models/deleted_request_config.rb index b90e110..3ff3700 100644 --- a/lib/models/deleted_request_config.rb +++ b/lib/models/deleted_request_config.rb @@ -5,6 +5,4 @@ class DeletedRequestConfig < Model belongs_to :repository self.primary_key = 'id' - # has_many :requests, foreign_key: :config_id, class_name: 'Request' - # has_many :deleted_requests, foreign_key: :config_id, class_name: 'DeletedRequest' end diff --git a/lib/models/deleted_request_raw_config.rb b/lib/models/deleted_request_raw_config.rb index 9de542a..b936ede 100644 --- a/lib/models/deleted_request_raw_config.rb +++ b/lib/models/deleted_request_raw_config.rb @@ -5,6 +5,4 @@ class DeletedRequestRawConfig < Model belongs_to :repository self.primary_key = 'id' - # has_many :request_raw_configurations - # has_many :deleted_request_raw_configurations end diff --git a/lib/models/deleted_request_yaml_config.rb b/lib/models/deleted_request_yaml_config.rb index 1346930..3f01af2 100644 --- a/lib/models/deleted_request_yaml_config.rb +++ b/lib/models/deleted_request_yaml_config.rb @@ -5,6 +5,4 @@ class DeletedRequestYamlConfig < Model belongs_to :repository self.primary_key = 'id' - # has_many :requests, foreign_key: :yaml_config_id, class_name: 'Request' - # has_many :deleted_requests, foreign_key: :yaml_config_id, class_name: 'DeletedRequest' end diff --git a/lib/models/deleted_stage.rb b/lib/models/deleted_stage.rb index 65e9fec..182c0c6 100644 --- a/lib/models/deleted_stage.rb +++ b/lib/models/deleted_stage.rb @@ -5,6 +5,4 @@ class DeletedStage < Model belongs_to :build self.primary_key = 'id' - # has_many :jobs - # has_many :deleted_jobs end diff --git a/lib/models/deleted_tag.rb b/lib/models/deleted_tag.rb index 528f816..72081a6 100644 --- a/lib/models/deleted_tag.rb +++ b/lib/models/deleted_tag.rb @@ -6,10 +6,4 @@ class DeletedTag < Model belongs_to :last_build, foreign_key: :last_build_id, class_name: 'Build' belongs_to :repository self.primary_key = 'id' - # has_many :builds - # has_many :commits - # has_many :requests - # has_many :deleted_builds - # has_many :deleted_commits - # has_many :deleted_requests end