diff options
-rwxr-xr-x | docker/Dockerfile | 3 | ||||
-rw-r--r-- | docs/release-notes.rst | 8 | ||||
-rw-r--r-- | lcm/jobs/views.py | 23 |
3 files changed, 22 insertions, 12 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile index 2334995f..32fc8020 100755 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -33,7 +33,8 @@ RUN wget -q -O vfc-nfvo-lcm.zip 'https://nexus.onap.org/service/local/artifact/m rm -rf vfc-nfvo-lcm.zip WORKDIR /service/vfc/nfvo/lcm -RUN pip install --pre -r requirements.txt +RUN pip install --upgrade setuptools pip && \ + pip install --pre -r requirements.txt EXPOSE 8403 diff --git a/docs/release-notes.rst b/docs/release-notes.rst index 0334a488..75cde295 100644 --- a/docs/release-notes.rst +++ b/docs/release-notes.rst @@ -51,9 +51,9 @@ This is the initial release **Known Issues** - - VFC-896 vim-id in AAI is handled as a mandatory parameter - - VFC-890 The hard coded SDC user and password in catalog & LCM is not present in SDC - - VFC-891 The AAI credentials is hard coded in LCM + - `VFC-896 <https://jira.onap.org/browse/VFC-896>`_ vim-id in AAI is handled as a mandatory parameter + - `VFC-890 <https://jira.onap.org/browse/VFC-890>`_ The hard coded SDC user and password in catalog & LCM is not present in SDC + - `VFC-891 <https://jira.onap.org/browse/VFC-891>`_ The AAI credentials is hard coded in LCM **Security Notes** @@ -86,7 +86,7 @@ Version: 1.0.0 **New Features** - NS lifecycle management, including NS instance creation, termination and healing -- VNF lifecycle management, including VNF nstance creation, termination and healing +- VNF lifecycle management, including VNF instance creation, termination and healing - VNF FCAPS, collecting FCAPS data from vendor EMS - VNFM Integration, integration with specific VNFMs of vendors to deploy commercial VNFs - VNF Integration, integration with VNF via GVNFM diff --git a/lcm/jobs/views.py b/lcm/jobs/views.py index 75f248dc..f60189ef 100644 --- a/lcm/jobs/views.py +++ b/lcm/jobs/views.py @@ -30,14 +30,21 @@ logger = logging.getLogger(__name__) class JobView(APIView): + + input_job_id = openapi.Parameter( + 'job_id', + openapi.IN_QUERY, + description="job id", + type=openapi.TYPE_STRING) + input_response_id = openapi.Parameter( + 'responseId', + openapi.IN_QUERY, + description="response id", + type=openapi.TYPE_STRING) + @swagger_auto_schema( - manual_parameters=[ - openapi.Parameter('responseId', - openapi.IN_QUERY, - "responseId", - type=openapi.TYPE_INTEGER - ), - ], + operation_description="Query job", + manual_parameters=[input_job_id, input_response_id], responses={ status.HTTP_200_OK: JobQueryRespSerializer(), status.HTTP_500_INTERNAL_SERVER_ERROR: "Inner error" @@ -56,6 +63,8 @@ class JobView(APIView): return Response(data={'error': e.message}, status=status.HTTP_500_INTERNAL_SERVER_ERROR) @swagger_auto_schema( + operation_description="Update job", + manual_parameters=[input_job_id], request_body=JobUpdReqSerializer(), responses={ status.HTTP_202_ACCEPTED: JobUpdRespSerializer() |