apache / apache/cloudstack

Provide a api for List resource types

オープン
#12,572 コメント 4 件 リアクション 0 件 担当者 0 名 GitHub で見る
component:api type:enhancement type:improvement
主要言語
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

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

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