X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=o2ims%2Fviews%2Fapi_ns.py;h=b06cb2abd50eb77dfd17047f026629da69b13da1;hb=refs%2Fchanges%2F88%2F9388%2F1;hp=3fbdc1859ea0fbd454b328e20b1540580f3aa105;hpb=52d9e382d966d6ee095831f3274170e9e1d17dfa;p=pti%2Fo2.git diff --git a/o2ims/views/api_ns.py b/o2ims/views/api_ns.py index 3fbdc18..b06cb2a 100644 --- a/o2ims/views/api_ns.py +++ b/o2ims/views/api_ns.py @@ -1,14 +1,28 @@ -from flask_restx import Namespace +# Copyright (C) 2021-2022 Wind River Systems, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# 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 o2common.views.route import O2Namespace -api_ims_inventory_v1 = Namespace( + +api_ims_inventory_v1 = O2Namespace( "O2IMS_Inventory", description='IMS Inventory related operations.') -api_provision_v1 = Namespace( +api_provision_v1 = O2Namespace( "PROVISION", description='Provision related operations.') -api_monitoring_v1 = Namespace( +api_monitoring_v1 = O2Namespace( "O2IMS_InfrastructureMonitoring", description='O2 IMS Monitoring related operations.')