Method: Daengine.execute_content_service

Defined in:
lib/daengine.rb

.execute_content_service(config_options) ⇒ Object



90
91
92
93
94
95
96
97
98
99
100
# File 'lib/daengine.rb', line 90

def self.execute_content_service(config_options)
  self.configure(config_options)
  self.set_logger(config[:content_service_logfile_location])
  self.log("Daengine: ### Loading application config ###", "info")
  config_options.each { |key, value| self.log("CONFIG #{key}\t#{value}", "info")}
  begin
    ContentServiceProcessor.process_orderable
  rescue Exception => e
    self.log(e.message, "error")
  end
end