Grid Operations Configuration Management Database. A Repository, Portal and REST style API for managing Grid and Cloud topology objects including; projects, administrative domains, sites, services, service-endpoints, service-groups, downtimes, users, roles and business rules.
Apache License 2.0
12
stars
28
forks
source link
Remove similar check endpoints from GOCDB_monitor #502
ops_monitor_check.php: Which is the endpoint used by EGI Operations, returns a 500 status on an error, and accepts a fake_failure parameter to fake a failure.
check.php: Used by internal monitoring, returns a 500 status on an error (post #501)
check_with_error.php: Always returns a php error code of 2, and a http status of 200.
I would suggest check_with_error.php is removed, and ops_monitor_check.php is coalesced into check.php (preserving the fake_failure behaviour).
There are currently three such endpoints:
ops_monitor_check.php
: Which is the endpoint used by EGI Operations, returns a 500 status on an error, and accepts a fake_failure parameter to fake a failure.check.php
: Used by internal monitoring, returns a 500 status on an error (post #501)check_with_error.php
: Always returns a php error code of 2, and a http status of 200.I would suggest
check_with_error.php
is removed, andops_monitor_check.php
is coalesced intocheck.php
(preserving the fake_failure behaviour).