X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?p=it%2Fotf.git;a=blobdiff_plain;f=a1-policy-manager-vth%2Fapp%2Froutes%2F__init__.py;fp=a1-policy-manager-vth%2Fapp%2Froutes%2F__init__.py;h=89419e13c9cf415e53ced4709aa225209d3a7f7e;hp=0000000000000000000000000000000000000000;hb=63b197b11b12a536254352f134262ad90f31593b;hpb=fa00af93f9173da630cd425fa8e0cbfaadf39a68 diff --git a/a1-policy-manager-vth/app/routes/__init__.py b/a1-policy-manager-vth/app/routes/__init__.py new file mode 100644 index 0000000..89419e1 --- /dev/null +++ b/a1-policy-manager-vth/app/routes/__init__.py @@ -0,0 +1,19 @@ +""" + Module Info: + Anything imported to this file will be available to outside modules. + Routes need to be exported to be usable, if removed, routes will not be found and response + will be a 500. + ROUTE order matters, because ROUTE is like a global var used by all the other modules + it needs to be above them all +""" +from flask import Blueprint +from app.helpers.response_helper import get_config + +ROUTES = Blueprint('routes', __name__) +config = get_config("config.ini") + +from .policy import * +from .ric import * +from .service import * +from .info import * +from .errors import ERRORS