apache / apache/cloudstack

`ApiResponseHelper#createUsageResponse(Usage)` needs to be modularised (530 lines).

オープン
#11,635 コメント 1 件 リアクション 0 件 担当者 0 名 @PrashantBhanage が担当を希望しています GitHub で見る
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

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。