Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Bohdan Rybak
monitor_plugin
Commits
7928dfed
Commit
7928dfed
authored
1 month ago
by
Taras Gaidukov
Browse files
Options
Download
Email Patches
Plain Diff
removed authentication from health check
parent
23d277f6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
monitor_plugin/views.py
monitor_plugin/views.py
+2
-0
setup.py
setup.py
+1
-1
No files found.
monitor_plugin/views.py
View file @
7928dfed
...
...
@@ -9,6 +9,8 @@ from .ps_monitor import get_ps_data
class
HealthCheckView
(
APIView
):
parser_classes
=
[
JSONParser
]
renderer_classes
=
[
JSONRenderer
]
permission_classes
=
[]
authentication_classes
=
[]
def
get
(
self
,
request
):
return
Response
(
get_ps_data
())
\ No newline at end of file
This diff is collapsed.
Click to expand it.
setup.py
View file @
7928dfed
...
...
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
setup
(
name
=
"monitor_plugin"
,
version
=
"1.
9
"
,
version
=
"1.
10
"
,
packages
=
find_packages
(),
install_requires
=
[
'djangorestframework'
,
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment