""" WSGI appliction for IPA server. """ from ipalib import api from ipalib.config import Env from ipalib.constants import DEFAULT_CONFIG # Determine what debug level is configured. We can only do this # by reading in the configuration file(s). The server always reads # default.conf and will also read in `context'.conf. env = Env() env._bootstrap(context='server', log=None) env._finalize_core(**dict(DEFAULT_CONFIG)) # Initialize the API with the proper debug level api.bootstrap(context='server', debug=env.debug, log=None) try: api.finalize() except StandardError, e: api.log.error('Failed to start IPA: %s' % e) else: api.log.info('*** PROCESS START ***') # This is the WSGI callable: application = api.Backend.session ݡ2 -Z.Qpa4mNs5m>yΊ8Y} N:|bq¾>WCyd9c &:SM!lFMm<ǏH_T;J[ݺm :\V67\煢cc=ӄOuH`e?NNDI 2'B FXqĈwfk%&{~Q$*v.֣R|toB$A36/(MCQ7&6Vo3}J5!|EFP2Ƽ L#γ1gUN#k #}Yˢi,7;CYFK;z_Dt&S@'RB0 \i^zKM[~jȟ=9Hqh$8N+3x:X ],)bD-vƂAS"oI/*:/cٸ~2$ޒCguqg!Y% 'qD|L%(/N¢|yhTHtOk}20l