Esempio n. 1
0
 def handle(self, *args, **options):
     for database_name in document_stores_to_process(args):
         print("Database %s") % (database_name, )
         print "Syncing Views....."
         manager = get_db_manager(database_name)
         #force sync all views
         initializer.sync_views(manager)
         sync_views(manager)
         print "Done."
Esempio n. 2
0
    def handle(self, *args, **options):
        if "syncall" in args:
            managers = load_all_managers()
        else:
            managers = load_test_managers()

        for manager in managers:
            print("Database %s") % (manager.database_name, )
            print "Syncing Views....."
            initializer.sync_views(manager)
            sync_views(manager)
            print "Done."
Esempio n. 3
0
    def handle(self, *args, **options):
        managers = []
        if "syncall" in args:
            managers = load_all_managers()
        else:
            manager = load_manager_for_default_test_account()
            managers.append(manager)

        for manager in managers:
            print("Database %s") % (manager.database_name, )
            print "Syncing Views....."
            mangrove.datastore.views.sync_views(manager)
            sync_views(manager)
            print "Done."
Esempio n. 4
0
    def handle(self, *args, **options):
        managers = []
        if "syncall" in args:
            managers = load_all_managers()
        else:
            manager = load_manager_for_default_test_account()
            managers.append(manager)

        for manager in managers:
            print ("Database %s") % (manager.database_name,)
            print "Syncing Views....."
            mangrove.datastore.views.sync_views(manager)
            sync_views(manager)
            print "Done."
Esempio n. 5
0
def run(manager):
    sync_views(manager)
    mangrove_intializer.run(manager)
    create_default_reporter(manager)
Esempio n. 6
0
def run(manager):
    sync_views(manager)
    mangrove_intializer.run(manager)
    create_default_reporter(manager)
    create_custom_message_templates(manager)
Esempio n. 7
0
def run(manager):
    sync_views(manager)
    mangrove_intializer.run(manager)
    create_default_reporter(manager)