0003-solis-sp_fr-add-fixme-to-deprecate-ping-endpoints-21.patch
passerelle/apps/solis/models.py | ||
---|---|---|
150 | 150 | |
151 | 151 |
@endpoint(name='ping', description=_('Check Solis API availability')) |
152 | 152 |
def ping(self, request): |
153 |
# FIXME deprecated this endpoint (replaced by 'up' endpoint) |
|
153 | 154 |
return self.check_status() |
154 | 155 | |
155 | 156 |
@endpoint(name='referential', perm='can_access', |
passerelle/apps/sp_fr/models.py | ||
---|---|---|
109 | 109 | |
110 | 110 |
@endpoint(name='ping', description=_('Check Solis API availability')) |
111 | 111 |
def ping(self, request): |
112 |
# FIXME deprecated this endpoint (replaced by 'up' endpoint) |
|
112 | 113 |
self.check_status() |
113 | 114 |
return {'err': 0} |
114 | 115 | |
115 |
- |