apache / apache/cloudstack

Provide a api for List resource types

Đang mở
#12,572 4 bình luận 0 reaction 0 người được giao Xem trên GitHub
component:api type:enhancement type:improvement
Ngôn ngữ chính
Java
Star
3.1k
Fork
1.4k
Merge trung bình
6 ngày 19 giờ
Pull request đã merge (30 ngày)
32

Mô tả

### 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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Bắt đầu bằng cách đọc api/src/main/java/com/cloud/server/ResourceTag.java, đặc biệt là các định nghĩa về loại tài nguyên, và so sánh các API hiện có listResourceDetails, listDetailOptions và addResourceDetail được liên kết trong issue. Công việc được xem là hoàn tất khi bao gồm một API được tài liệu hóa, cho phép người dùng, quản trị viên và nhà vận hành khám phá các loại tài nguyên có sẵn trong CloudStack và sử dụng thông tin đó với các thao tác chi tiết tài nguyên.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
java
Lĩnh vực
api, cloud
Loại issue
Tính năng
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Ít trao đổi
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
45/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.