solis, sp_fr: add fixme to deprecate ping endpoints (#21978)

This commit is contained in:
Lauréline Guérin 2019-10-11 14:36:33 +02:00
parent c2eee211eb
commit 837facd4b2
No known key found for this signature in database
GPG Key ID: 1FAB9B9B4F93D473
2 changed files with 2 additions and 0 deletions

View File

@ -150,6 +150,7 @@ class Solis(BaseResource):
@endpoint(name='ping', description=_('Check Solis API availability'))
def ping(self, request):
# FIXME deprecated this endpoint (replaced by 'up' endpoint)
return self.check_status()
@endpoint(name='referential', perm='can_access',

View File

@ -109,6 +109,7 @@ class Resource(BaseResource):
@endpoint(name='ping', description=_('Check Solis API availability'))
def ping(self, request):
# FIXME deprecated this endpoint (replaced by 'up' endpoint)
self.check_status()
return {'err': 0}