X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=catalog%2Fpackages%2Fviews%2Fhealth_check_views.py;h=fc5c25e119134a8c9b4fa7e5b0958ea041df4e7e;hb=b301e35367f860fae335c85227795008b531d79b;hp=e5aad9a1a76f4bc8e0b7d9ba9c075b94cd1eac1c;hpb=78a414334876164ba61f63bed7cc91dc48620fcf;p=modeling%2Fetsicatalog.git 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):