Sha256: 6b8031103e6329acf2f8a53c3b598e1290a272561247dd2bdc65909cd5304f7b
Contents?: true
Size: 655 Bytes
Versions: 11
Compression:
Stored size: 655 Bytes
Contents
Inferno::Application.boot(:validator) do init do use :suites # This process should only run once, to start one job per validator, # so skipping it on workers will start it only once from the "web" process next if Sidekiq.server? Inferno::Repositories::TestSuites.new.all.each do |suite| suite.fhir_validators.each do |name, validators| validators.each_with_index do |validator, index| if validator.is_a? Inferno::DSL::FHIRResourceValidation::Validator Inferno::Jobs.perform(Inferno::Jobs::InvokeValidatorSession, suite.id, name.to_s, index) end end end end end end
Version data entries
11 entries across 11 versions & 1 rubygems