Provide a api for List resource types
- 主要言語
- Java
- スター
- 3.1k
- フォーク
- 1.4k
- 平均マージ
- 6日 19時間
- マージ済み PR(30日)
- 32
説明
### The required feature described as a wish
As a User/Admin/Operator I would like to know the resource types that are present in cloudstack
Currently, the listResourceDetails and listDetailOptions API requires the resource type parameter
https://cloudstack.apache.org/api/apidocs-4.22/apis/listResourceDetails.html
https://cloudstack.apache.org/api/apidocs-4.22/apis/listDetailOptions.html
Also If a User/Admin/Operator needs to add a detail to resource id they need the resource type parameter
https://cloudstack.apache.org/api/apidocs-4.22/apis/addResourceDetail.html
Currently there is no list of resourcetypes that present in present either is docs
It will be beneficial to the users if we can have a API call which can list the resourcetype in cloudstack
https://github.com/apache/cloudstack/blob/a5b6bc3be620f2b2f14321fd69643cf1bdd7d16c/api/src/main/java/com/cloud/server/ResourceTag.java#L30-L74
コントリビューションガイド
調査の方向性
まず api/src/main/java/com/cloud/server/ResourceTag.java、特にリソースタイプの定義を読み、issue にリンクされている既存の listResourceDetails、listDetailOptions、addResourceDetail API と比較してください。完了条件には、ユーザー、管理者、オペレーターが CloudStack で利用可能なリソースタイプを確認し、その情報をリソース詳細操作で使用できる、文書化された API が含まれている必要があります。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- java
- 領域
- api, cloud
- issue の種類
- 機能追加
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 静か
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 45/100