microsoft / microsoft/azure-devops-python-api

Connection module fails to load Resource Areas with the sps_url

Đang mở
#401 1 bình luận 2 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Ngôn ngữ chính
Python
Star
684
Fork
218
Merge trung bình
8 ngày 10 giờ
Pull request đã merge (30 ngày)
1

Mô tả

https://developercommunity.visualstudio.com/t/Resource-Areas-REST-API-unavailable/1661030

The Resource Areas REST API used by the Python SDK is currently unavailable. The API returns the following error:

$ curl https://app.vssps.visualstudio.com/_apis/ResourceAreas
{"$id":"1","innerException":null,"message":"Service Unavailable","typeName":"Microsoft.VisualStudio.Services.Common.VssServiceException, Microsoft.VisualStudio.Services.Common","typeKey":"VssServiceException","errorCode":0,"eventId":3000}
The [Azure DevOps documentation](https://docs.microsoft.com/en-us/azure/devops/extend/develop/work-with-urls?view=azure-devops&tabs=http#how-to-get-an-organizations-url) lists a slightly different URL which also returns the same error:

$ curl https://dev.azure.com/_apis/resourceAreas
{"$id":"1","innerException":null,"message":"Service Unavailable","typeName":"Microsoft.VisualStudio.Services.Common.VssServiceException, Microsoft.VisualStudio.Services.Common","typeKey":"VssServiceException","errorCode":0,"eventId":3000}

This means that any connections instantiated with the sps_url fail to load the resource ids for clients like git_client, accounts_client, etc.

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

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Hướng nghiên cứu

Bắt đầu bằng cách tái hiện lỗi kết nối sps_url và xem lại cách mô-đun kết nối tải Resource Areas cho các client như git_client và accounts_client. Sử dụng hai ví dụ curl để kiểm tra ban đầu; công việc được xem là hoàn tất khi các kết nối client đó có thể tải các ID tài nguyên của chúng mặc dù endpoint Resource Areas không khả dụng.

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

Đánh giá

Công nghệ
azure, python
Lĩnh vực
api
Loại issue
Lỗi
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
30/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.