コード例 #1
0
ファイル: eventhandler.py プロジェクト: VIthulan/product-la
    def cleanup(self, event):
        self.__log.info("Executing cleaning up the data in the cartridge instance...")

        publisher.publish_maintenance_mode_event()

        self.execute_event_extendables("clean", {})
        self.__log.info("cleaning up finished in the cartridge instance...")

        self.__log.info("publishing ready to shutdown event...")
        publisher.publish_instance_ready_to_shutdown_event()
コード例 #2
0
ファイル: eventhandler.py プロジェクト: dongwh/stratos
    def cleanup(self, event):
        self.__log.debug("Executing cleanup extension for event %s" % event)

        publisher.publish_maintenance_mode_event()

        self.execute_event_extendables("clean", {})
        self.__log.info("Cleaning up finished in the cartridge instance...")

        self.__log.info("Publishing ready to shutdown event...")
        publisher.publish_instance_ready_to_shutdown_event()
コード例 #3
0
ファイル: eventhandler.py プロジェクト: AlmavivA/private-paas
def cleanup(event):
    log.debug("Executing cleanup extension for event %s..." % event)
    publisher.publish_maintenance_mode_event()
    execute_event_extendables("clean", {})
    publisher.publish_instance_ready_to_shutdown_event()
コード例 #4
0
def cleanup(event):
    log.debug("Executing cleanup extension for event %s..." % event)
    publisher.publish_maintenance_mode_event()
    execute_event_extendables("clean", {})
    publisher.publish_instance_ready_to_shutdown_event()