Further split API so only Flask can be loaded

This commit is contained in:
Joshua Boniface 2020-02-08 20:36:53 -05:00
parent d564671e1c
commit 26c2c2c295
3 changed files with 5620 additions and 5597 deletions

File diff suppressed because it is too large Load Diff

5610
api-daemon/pvcapid/flaskapi.py Executable file

File diff suppressed because it is too large Load Diff

View File

@ -12,7 +12,7 @@ os.environ['PVC_CONFIG_FILE'] = "./api-daemon/pvcapid.sample.yaml"
sys.path.append('api-daemon') sys.path.append('api-daemon')
import pvcapid.api as pvc_api import pvcapid.flaskapi as pvc_api
swagger_file = "docs/manuals/swagger.json" swagger_file = "docs/manuals/swagger.json"
swagger_data = swagger(pvc_api.app) swagger_data = swagger(pvc_api.app)