builder/extra/tools/ruby-tpm/configure/configure_validation_handler.rb
def validate_commit_config(config)
    @config.import(config)
    Configurator.instance.command.build_topologies(@config)
    
    begin
      @commit_checks.each{
        |check|
        
        check.run()
        include_messages_object(check)
        
        unless check.is_valid?()
          if check.fatal_on_error?()
            break
          end
        end
      }
    rescue => e  
      exception(e)
    end
    
    return get_remote_result()
  end
# Handle the remote side of the validate function
Handle the remote side of the validate function
Handle the remote side of the validate function
def validate_commit_config(config)
    @config.import(config)
    Configurator.instance.command.build_topologies(@config)
    begin
      @commit_checks.each{
        |check|
        check.run()
        include_messages_object(check)
        unless check.is_valid?()
          if check.fatal_on_error?()
            break
          end
        end
      }
    rescue => e  
      exception(e)
    end
    return get_remote_result()
  end
def validate_commit_config ( config ) @config . import ( config ) Configurator . instance . command . build_topologies ( @config ) begin @commit_checks . each { | check | check . run ( ) include_messages_object ( check ) unless check . is_valid? ( ) if check . fatal_on_error? ( ) break end end } rescue => e exception ( e ) end return get_remote_result ( ) end
Handle the remote side of the validate function
Handle the remote side of the validate function
config