<s> """<STR_LIT>""" <EOL> import os <EOL> from oslo_config import cfg <EOL> import st2common . config as common_config <EOL> from st2common . constants . system import VERSION_STRING <EOL> CONF = cfg . CONF <EOL> BASE_DIR = os . path . dirname ( os . path . abspath ( __file__ ) ) <EOL> def parse_args ( args = None ) : <EOL> CONF ( args = args , version = VERSION_STRING ) <EOL> def register_opts ( ) : <EOL> _register_common_opts ( ) <EOL> _register_app_opts ( ) <EOL> def _register_common_opts ( ) : <EOL> common_config . register_opts ( ) <EOL> def get_logging_config_path ( ) : <EOL> return cfg . CONF . stream . logging <EOL> def _register_app_opts ( ) : <EOL> api_opts = [ <EOL> cfg . StrOpt ( '<STR_LIT:host>' , default = '<STR_LIT>' , help = '<STR_LIT>' ) , <EOL> cfg . IntOpt ( '<STR_LIT:port>' , default = <NUM_LIT> , help = '<STR_LIT>' ) , <EOL> cfg . IntOpt ( '<STR_LIT>' , default = <NUM_LIT> , <EOL> help = '<STR_LIT>' ) , <EOL> cfg . BoolOpt ( '<STR_LIT>' , default = False , <EOL> help = '<STR_LIT>' ) , <EOL> cfg . StrOpt ( '<STR_LIT>' , default = '<STR_LIT>' , <EOL> help = '<STR_LIT>' ) <EOL> ] <EOL> CONF . register_opts ( api_opts , group = '<STR_LIT>' ) </s>
