chore: Generate test data for bulk insertion (#11229)

Co-authored-by: Vishnu Narayanan <vishnu@chatwoot.com>
Co-authored-by: Sojan <sojan@pepalo.com>
Co-authored-by: tds-1 <tanmay@qoala.id>
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com>
This commit is contained in:
Tanmay Deep Sharma
2025-05-06 12:43:11 +07:00
committed by GitHub
parent cbdbf7900e
commit 6e6912aa56
10 changed files with 557 additions and 0 deletions

18
lib/test_data.rb Normal file
View File

@@ -0,0 +1,18 @@
module TestData
def self.generate
Orchestrator.call
end
def self.cleanup
CleanupService.call
end
end
require_relative 'test_data/constants'
require_relative 'test_data/database_optimizer'
require_relative 'test_data/cleanup_service'
require_relative 'test_data/account_creator'
require_relative 'test_data/inbox_creator'
require_relative 'test_data/display_id_tracker'
require_relative 'test_data/contact_batch_service'
require_relative 'test_data/orchestrator'