Adding policy manager and a1 sdnc vth
[it/otf.git] / a1-sdnc-vth / app / routes / __init__.py
diff --git a/a1-sdnc-vth/app/routes/__init__.py b/a1-sdnc-vth/app/routes/__init__.py
new file mode 100644 (file)
index 0000000..89419e1
--- /dev/null
@@ -0,0 +1,19 @@
+"""\r
+    Module Info:\r
+    Anything imported to this file will be available to outside modules.\r
+    Routes need to be exported to be usable, if removed, routes will not be found and response\r
+    will be a 500.\r
+    ROUTE order matters, because ROUTE is like a global var used by all the other modules\r
+    it needs to be above them all\r
+"""\r
+from flask import Blueprint\r
+from app.helpers.response_helper import get_config\r
+\r
+ROUTES = Blueprint('routes', __name__)\r
+config = get_config("config.ini")\r
+\r
+from .policy import *\r
+from .ric import *\r
+from .service import *\r
+from .info import *\r
+from .errors import ERRORS\r