+"""\r
+# Copyright (c) 2019 AT&T Intellectual Property. #\r
+# #\r
+# Licensed under the Apache License, Version 2.0 (the "License"); #\r
+# you may not use this file except in compliance with the License. #\r
+# You may obtain a copy of the License at #\r
+# #\r
+# http://www.apache.org/licenses/LICENSE-2.0 #\r
+# #\r
+# Unless required by applicable law or agreed to in writing, software #\r
+# distributed under the License is distributed on an "AS IS" BASIS, #\r
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #\r
+# See the License for the specific language governing permissions and #\r
+# limitations under the License. #\r
+################################################################################\r
+# File name: a1-sdnc-vth.py #\r
+# Description: vth for A1 service #\r
+# Date created: 04/22/2020 #\r
+# Last modified: 04/30/2020 #\r
+# Python Version: 3.7.4 #\r
+# Author: Raul Gomez (rg9907) #\r
+# Email: rg9907@att.com #\r
+################################################################################\r
+"""\r
+import logging\r
+from logging import FileHandler\r
+from flask import Flask\r
+from flask.logging import create_logger\r
+from app.routes import ROUTES, ERRORS\r
+#from dotenv import load_dotenv\r
+\r
+#load dev env vars\r
+#load_dotenv()\r
+# redirect http to https\r
+APP = Flask(__name__)\r
+LOG = create_logger(APP)\r
+\r
+# Prevents print statement every time an endpoint is triggered.\r
+logging.getLogger("werkzeug").setLevel(logging.DEBUG)\r
+#logging.getLogger("werkzeug").setLevel(logging.WARNING)\r
+APP.register_blueprint(ERRORS)\r
+APP.register_blueprint(ROUTES, url_prefix="/otf/vth/oran/a1/v1")\r
+\r
+if __name__ == '__main__':\r
+ LOG_HANDLER = FileHandler('a1-sdnc-vth.log', mode='a')\r
+ LOG_HANDLER.setLevel(logging.INFO)\r
+ LOG.setLevel(logging.INFO)\r
+ LOG.addHandler(LOG_HANDLER)\r
+ # context = ('opt/cert/otf.pem', 'opt/cert/privateKey.pem')\r
+ # app.run(debug = False, host = '0.0.0.0', port = 5000, ssl_context = context)\r
+ APP.run(debug=False, host='0.0.0.0', port=6001)\r