Merge remote-tracking branch 'upstream/v2-phase4' into python-registry-v2
This commit is contained in:
commit
e7a6176594
105 changed files with 4439 additions and 2074 deletions
|
@ -1,5 +1,6 @@
|
|||
import logging
|
||||
import logging.config
|
||||
import os
|
||||
|
||||
from app import app as application
|
||||
|
||||
|
@ -9,5 +10,8 @@ import endpoints.decorated
|
|||
from endpoints.v1 import v1_bp
|
||||
from endpoints.v2 import v2_bp
|
||||
|
||||
if os.environ.get('DEBUGLOG') == 'true':
|
||||
logging.config.fileConfig('conf/logging_debug.conf', disable_existing_loggers=False)
|
||||
|
||||
application.register_blueprint(v1_bp, url_prefix='/v1')
|
||||
application.register_blueprint(v2_bp, url_prefix='/v2')
|
||||
|
|
Reference in a new issue