HCE Project Python language Distributed Tasks Manager Application, Distributed Crawler Application and client API bindings.  2.0.0-chaika
Hierarchical Cluster Engine Python language binding
ftests.ftest_PostProcessingApplicationClass.TestApplication Class Reference
Inheritance diagram for ftests.ftest_PostProcessingApplicationClass.TestApplication:
Collaboration diagram for ftests.ftest_PostProcessingApplicationClass.TestApplication:

Classes

class  Meta
 

Public Member Functions

def __init__ (self, logger=None)
 
def setup (self)
 
def run (self)
 
def init (self)
 
def process (self)
 
def loadConfig (self)
 
def finalize (self)
 
- Public Member Functions inherited from dc_postprocessor.PostProcessingApplicationClass.PostProcessingApplicationClass
def __init__ (self)
 
def setup (self)
 
def run (self)
 
def inputBatch (self)
 
def outputBatch (self)
 
def getConfigOption (self, sectionName, optionName, defaultValue=None)
 

Additional Inherited Members

- Public Attributes inherited from dc_postprocessor.PostProcessingApplicationClass.PostProcessingApplicationClass
 exitCode
 
 logger
 
 configParser
 
 inputFile
 
 batch
 
- Static Public Attributes inherited from dc_postprocessor.PostProcessingApplicationClass.PostProcessingApplicationClass
string MSG_ERROR_EMPTY_CONFIG_FILE_NAME = "Config file name is empty."
 
string MSG_ERROR_WRONG_CONFIG_FILE_NAME = "Config file name is wrong"
 
string MSG_ERROR_LOAD_APP_CONFIG = "Error loading application config file."
 
string MSG_ERROR_READ_LOG_CONFIG = "Error read log config file."
 
string MSG_ERROR_MISSED_SECTION = "Missed mandatory section '%s'"
 
string MSG_DEBUG_INPUT_PICKLE = "Input pickle: "
 
string MSG_DEBUG_INPUT_BATCH = "Input batch: "
 
string MSG_DEBUG_OUTPUT_BATCH = "Output batch: "
 
string MSG_DEBUG_OUTPUT_PICKLE = "Output pickle: "
 
string MSG_DEBUG_SEND_PICKLE = "Send pickle. Done."
 
string CONFIG_OPTION_LOG = "log"
 

Detailed Description

Definition at line 35 of file ftest_PostProcessingApplicationClass.py.

Constructor & Destructor Documentation

◆ __init__()

def ftests.ftest_PostProcessingApplicationClass.TestApplication.__init__ (   self,
  logger = None 
)

Definition at line 43 of file ftest_PostProcessingApplicationClass.py.

43  def __init__(self, logger=None):
44  PostProcessingApplicationClass.__init__(self, logger)
45 
46 
def __init__(self)
constructor
Definition: UIDGenerator.py:19

Member Function Documentation

◆ finalize()

def ftests.ftest_PostProcessingApplicationClass.TestApplication.finalize (   self)

Definition at line 73 of file ftest_PostProcessingApplicationClass.py.

73  def finalize(self):
74  self.outputBatch()
75 
Here is the caller graph for this function:

◆ init()

def ftests.ftest_PostProcessingApplicationClass.TestApplication.init (   self)

Definition at line 60 of file ftest_PostProcessingApplicationClass.py.

60  def init(self):
61  self.loadConfig()
62  self.inputBatch()
63 
64 
Here is the call graph for this function:
Here is the caller graph for this function:

◆ loadConfig()

def ftests.ftest_PostProcessingApplicationClass.TestApplication.loadConfig (   self)

Definition at line 69 of file ftest_PostProcessingApplicationClass.py.

69  def loadConfig(self):
70  pass
71 
72 
Here is the caller graph for this function:

◆ process()

def ftests.ftest_PostProcessingApplicationClass.TestApplication.process (   self)

Definition at line 65 of file ftest_PostProcessingApplicationClass.py.

65  def process(self):
66  pass
67 
68 
Here is the caller graph for this function:

◆ run()

def ftests.ftest_PostProcessingApplicationClass.TestApplication.run (   self)

Definition at line 51 of file ftest_PostProcessingApplicationClass.py.

51  def run(self):
52  PostProcessingApplicationClass.run(self)
53  self.init()
54  self.process()
55  self.finalize()
56  # Finish logging
57  self.logger.info(APP_CONSTS.LOGGER_DELIMITER_LINE)
58 
59 

◆ setup()

def ftests.ftest_PostProcessingApplicationClass.TestApplication.setup (   self)

Definition at line 47 of file ftest_PostProcessingApplicationClass.py.

47  def setup(self):
48  PostProcessingApplicationClass.setup(self)
49 
50 

The documentation for this class was generated from the following file: