diff options
author | Joseph O'Leary <joseph.o.leary@est.tech> | 2020-08-18 08:15:56 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2020-08-18 08:15:56 +0000 |
commit | d7f2b9e96e3c423a871fab757f3ae11372134125 (patch) | |
tree | 8bffddc6ff2e75161504a3302f37a856b2099030 /components/pm-subscription-handler/pmsh_service/mod/__init__.py | |
parent | 4feffc20485b5bd304d0dc1edb9255c2cc55ed20 (diff) | |
parent | 38ccb471732faaad6a25defee0753c1c5ac60cf0 (diff) |
Merge "Refactor and bug fixes"
Diffstat (limited to 'components/pm-subscription-handler/pmsh_service/mod/__init__.py')
-rw-r--r-- | components/pm-subscription-handler/pmsh_service/mod/__init__.py | 2 |
1 files changed, 2 insertions, 0 deletions
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')) |