X-Git-Url: https://gerrit.onap.org/r/gitweb?p=modeling%2Fetsicatalog.git;a=blobdiff_plain;f=catalog%2Fpackages%2Fviews%2Fhealth_check_views.py;h=fc5c25e119134a8c9b4fa7e5b0958ea041df4e7e;hp=e5aad9a1a76f4bc8e0b7d9ba9c075b94cd1eac1c;hb=b301e35367f860fae335c85227795008b531d79b;hpb=1e1ba6cb568bbf426175ee8d5fa25c07d87678f1 diff --git a/catalog/packages/views/health_check_views.py b/catalog/packages/views/health_check_views.py index e5aad9a..fc5c25e 100644 --- a/catalog/packages/views/health_check_views.py +++ b/catalog/packages/views/health_check_views.py @@ -19,12 +19,14 @@ from rest_framework import status from rest_framework.response import Response from rest_framework.views import APIView +from catalog.packages.const import TAG_HEALTH_CHECK + logger = logging.getLogger(__name__) class HealthCheckView(APIView): @swagger_auto_schema( - tags=["Health check API"], + tags=[TAG_HEALTH_CHECK], responses={ status.HTTP_200_OK: 'Active'}) def get(self, request, format=None):