CC-2084: Integrate RabbitMQ for immediate schedule updates and commands

This is the code for the server side to push the schedule to RabbitMQ.
Right now it is disabled and should cause no changes in behavior.

Also added comments to functions and formatted code correctly.
This commit is contained in:
paul.baranowski 2011-03-22 09:55:33 -04:00
parent d9431f95b4
commit d38e2adb58
9 changed files with 410 additions and 306 deletions

View file

@ -1,9 +0,0 @@
import airtime_api_client
import obp_api_client
def create_api_client(config):
if config["api_client"] == "airtime":
return campcaster_api_client.AirtimeApiClient(config)
elif config["api_client"] == "obp":
return obp_api_client.ObpApiClient(config)