You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Attila Doroszlai (Jira)" <ji...@apache.org> on 2021/05/19 20:51:00 UTC

[jira] [Created] (HDDS-5251) Refactor ContainerCommandRequestProto factory methods to return Builder

Attila Doroszlai created HDDS-5251:
--------------------------------------

             Summary: Refactor ContainerCommandRequestProto factory methods to return Builder
                 Key: HDDS-5251
                 URL: https://issues.apache.org/jira/browse/HDDS-5251
             Project: Apache Ozone
          Issue Type: Improvement
            Reporter: Attila Doroszlai
            Assignee: Attila Doroszlai


The goal of this task is to change factory methods in {{ContainerTestHelper}} (and possibly other utility classes) that create various {{ContainerCommandRequestProto}} instances to return a Builder instead of the object being built.  This lets the caller further tweak the request before building it, which in turn allows removing some methods that only differ in optional parameters (e.g. block token).



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org