diff options
Diffstat (limited to 'bin/run.py')
-rwxr-xr-x | bin/run.py | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/bin/run.py b/bin/run.py deleted file mode 100755 index 7d30a00..0000000 --- a/bin/run.py +++ /dev/null @@ -1,15 +0,0 @@ -#!/usr/bin/env python3 - -import connexion -import sys -from config_binding_service import get_logger - -_logger = get_logger(__name__) - -if __name__ == '__main__': - try: - app = connexion.App(__name__, specification_dir='../config_binding_service/swagger/') - app.add_api('swagger.yaml', arguments={'title': 'Config Binding Service'}) - app.run(host='0.0.0.0', port=10000, debug=False) - except Exception as e: - _logger.error("Fatal error. Could not start webserver due to: {0}".format(e)) |