Tugrulhankars opened a new issue, #8985:
URL: https://github.com/apache/devlake/issues/8985

   ### Search before asking
   
   - [x] I had searched in the 
[issues](https://github.com/apache/incubator-devlake/issues?q=is%3Aissue) and 
found no similar feature requirement.
   
   
   ### Use case
   
   ### Describe the feature you'd like to see
   
   Currently, the Azure DevOps plugin in Apache DevLake only supports the 
cloud-based SaaS version (Azure DevOps Cloud). The base API URLs are hardcoded 
inside the plugin code (targeting `https://dev.azure.com/`), which prevents 
teams using **Azure DevOps Server / TFS (On-Premises)** from integrating their 
environments and collecting DORA metrics.
   
   I would like to propose adding support for Azure DevOps On-Premises by 
introducing a custom `Endpoint` (Base URL) configuration.
   
   ### How should this feature work?
   
   1. **Database & Connection Model (`models/connection.go`):** 
      - Add an optional `Endpoint` field to the Azure DevOps Connection struct.
      - If left empty, it should default to the current cloud API endpoint 
(`https://dev.azure.com/`).
   
   2. **API Client (`tasks/apiclient.go`):**
      - Update the HTTP client initialization to use the user-defined 
`Endpoint` instead of the hardcoded cloud URL.
      - Handle the slight differences in URL structures (e.g., handling 
`/DefaultCollection/` or custom collection paths in on-prem URLs).
   
   3. **Config UI (`config-ui/`):**
      - Introduce an optional "Endpoint / Base URL" input field in the Azure 
DevOps connection form, clearly stating it is for On-Premises Server instances.
   
   ### DevLake Version
   
   v1.0.1 (or latest main)
   
   ### Additional Context
   
   I am a Software Engineering student and DevOps enthusiast. Since my 
team/organization uses Azure DevOps Server on-premise, I have a strong use case 
for this feature. 
   
   **I would love to contribute to Apache DevLake by implementing this feature 
myself. Please assign this issue to me!**
   
   ### Description
   
   _No response_
   
   ### Related issues
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [x] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to