Method: OpenC3::TimelineMicroservice#topic_lookup_functions

Defined in:
lib/openc3/microservices/timeline_microservice.rb

#topic_lookup_functionsObject



293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
# File 'lib/openc3/microservices/timeline_microservice.rb', line 293

def topic_lookup_functions
  {
    'timeline' => {
      'created' => :timeline_nop,
      'refresh' => :schedule_refresh,
      'updated' => :timeline_nop,
      'deleted' => :timeline_nop
    },
    'activity' => {
      'event' => :timeline_nop,
      'created' => :create_activity_from_event,
      'updated' => :schedule_refresh,
      'deleted' => :remove_activity_from_event
    }
  }
end