X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=lcm%2Flcm%2Fsamples%2Fviews.py;h=b82c55583beef2d7309c5a654e96869626b0567b;hb=c806beecdb2b6e1baa8d5ce07c031ca8bc605dca;hp=86b4b8ab2007548fbc8d441067efdf5814b17f3a;hpb=c2e150a6c3901b664c963b389ee6e9b9e00ed2ab;p=vfc%2Fgvnfm%2Fvnflcm.git diff --git a/lcm/lcm/samples/views.py b/lcm/lcm/samples/views.py index 86b4b8ab..b82c5558 100644 --- a/lcm/lcm/samples/views.py +++ b/lcm/lcm/samples/views.py @@ -33,6 +33,17 @@ class SampleList(APIView): return Response({"status": "active"}) +class CallbackSample(APIView): + @swagger_auto_schema( + responses={ + status.HTTP_204_NO_CONTENT: 'Successfully' + } + ) + def get(self, request, format=None): + logger.debug("Callback Sample") + return Response(status=status.HTTP_204_NO_CONTENT) + + class ResourceList(APIView): @swagger_auto_schema( responses={