From 38ccb471732faaad6a25defee0753c1c5ac60cf0 Mon Sep 17 00:00:00 2001 From: efiacor Date: Wed, 5 Aug 2020 10:12:04 +0100 Subject: Refactor and bug fixes Signed-off-by: efiacor Change-Id: I8fe91bfdd2f1a2c8a6ca914e52d82dce04bffc0e Issue-ID: DCAEGEN2-2146 --- components/pm-subscription-handler/pmsh_service/mod/__init__.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'components/pm-subscription-handler/pmsh_service/mod/__init__.py') diff --git a/components/pm-subscription-handler/pmsh_service/mod/__init__.py b/components/pm-subscription-handler/pmsh_service/mod/__init__.py index 4c86ccda..58cd8b3c 100644 --- a/components/pm-subscription-handler/pmsh_service/mod/__init__.py +++ b/components/pm-subscription-handler/pmsh_service/mod/__init__.py @@ -43,9 +43,11 @@ def launch_api_server(app_config): connex_app = _get_app() connex_app.add_api('api/pmsh_swagger.yml') if app_config.enable_tls: + logger.info('Launching secure http API server') connex_app.run(port=os.environ.get('PMSH_API_PORT', '8443'), ssl_context=app_config.cert_params) else: + logger.info('Launching unsecure http API server') connex_app.run(port=os.environ.get('PMSH_API_PORT', '8443')) -- cgit 1.2.3-korg