diff options
author | fujinhua <fu.jinhua@zte.com.cn> | 2018-09-19 12:55:41 +0800 |
---|---|---|
committer | fujinhua <fu.jinhua@zte.com.cn> | 2018-09-19 12:55:41 +0800 |
commit | 2f1382b6ef609bcc57f8848c6211b9cfff301c4f (patch) | |
tree | ad691d41f6d4f5f038dead4c04290fa8a35616a0 | |
parent | 3c53d1b38354b7aec1c6aefe2fc5fcb89bfbe13e (diff) |
Move scale ns view as single
Change-Id: I9abebb7b1a8ce2d6732ff37950d6e77f8c9f52d2
Issue-ID: VFC-1009
Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
-rw-r--r-- | lcm/ns/urls.py | 2 | ||||
-rw-r--r-- | lcm/ns/views/scale_ns_views.py (renamed from lcm/ns/views/views.py) | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/lcm/ns/urls.py b/lcm/ns/urls.py index cfff5795..4322d763 100644 --- a/lcm/ns/urls.py +++ b/lcm/ns/urls.py @@ -20,7 +20,7 @@ from lcm.ns.views.term_ns_view import TerminateNSView from lcm.ns.views.heal_ns_view import NSHealView from lcm.ns.views.get_del_ns_view import NSDetailView from lcm.ns.views.inst_ns_post_deal_view import NSInstPostDealView -from lcm.ns.views.views import NSManualScaleView +from lcm.ns.views.scale_ns_views import NSManualScaleView urlpatterns = [ # API will be deprecated in the future release diff --git a/lcm/ns/views/views.py b/lcm/ns/views/scale_ns_views.py index cd2b16b4..6a9050c3 100644 --- a/lcm/ns/views/views.py +++ b/lcm/ns/views/scale_ns_views.py @@ -14,12 +14,12 @@ import logging import traceback -from drf_yasg.utils import swagger_auto_schema -from lcm.ns.biz.ns_manual_scale import NSManualScaleService from rest_framework import status from rest_framework.response import Response from rest_framework.views import APIView +from drf_yasg.utils import swagger_auto_schema +from lcm.ns.biz.ns_manual_scale import NSManualScaleService from lcm.ns.serializers.ns_serializers import ManualScaleNsReqSerializer from lcm.ns.serializers.ns_serializers import NsOperateJobSerializer from lcm.pub.exceptions import NSLCMException |