Francisco Guerrero created CASSSIDECAR-182:
----------------------------------------------
Summary: Refactor access to delegate methods to simplify
Key: CASSSIDECAR-182
URL: https://issues.apache.org/jira/browse/CASSSIDECAR-182
Project: Sidecar for Apache Cassandra
Issue Type: Improvement
Components: Rest API
Reporter: Francisco Guerrero
Assignee: Francisco Guerrero
Currently, many handlers perform a delegate null check, retrieve an operation
interface from the delegate when non-null, and then perform a null check for
the operation. When any of the checks returns null, we return a
{{cassandraServiceUnavailable}} exception. We can simplify the checks by
providing a utility method that all handlers can reuse.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]