`ApiResponseHelper#createUsageResponse(Usage)` needs to be modularised (530 lines).
オープン
good-first-issue
type:stability
- 主要言語
- Java
- スター
- 3.1k
- フォーク
- 1.4k
- 平均マージ
- 6日 19時間
- マージ済み PR(30日)
- 32
説明
this is adding only three lines to a 530 line method. No issue in the context but `public UsageRecordResponse createUsageResponse(Usage usageRecord)` needs to be refactorred (as many pieces of code).
_Originally posted by @DaanHoogland in https://github.com/apache/cloudstack/pull/11531#discussion_r2348098564_
コントリビューションガイド
調査の方向性
issueで特定されている530行のメソッド、ApiResponseHelper#createUsageResponse(Usage)から始め、すでに進行中の作業について pull request #13695 を確認してください。UsageRecordResponseの動作を変更せずに、メソッドが扱いやすい単位にモジュール化されれば、リファクタリングは完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- java
- 領域
- cloud, infrastructure
- issue の種類
- リファクタリング
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100