X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=o2dms%2Fviews%2F__init__.py;h=7a888a6e48f404b348036a149063a8a9d0520597;hb=81cd55de0440dcbc8df4d788565295d051ca91ad;hp=b5143427f48b0c69b4f5d32700ea9d7ae1ecc465;hpb=5e02e76308e1677fb106572b885a366eb6c0fbec;p=pti%2Fo2.git diff --git a/o2dms/views/__init__.py b/o2dms/views/__init__.py index b514342..7a888a6 100644 --- a/o2dms/views/__init__.py +++ b/o2dms/views/__init__.py @@ -11,3 +11,15 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. + +from flask_restx import Namespace +from o2common.config import config + + +api_dms_lcm_v1 = Namespace( + "O2DMS_LCM", description='DMS LCM related operations.') +apibase = config.get_o2dms_api_base() + + +def configure_namespace(app): + app.add_namespace(api_dms_lcm_v1, path=apibase)