sitelink1  
sitelink2  
sitelink3  

tf.exe 를 이용하여 tfs에 접속후 브랜치 목록을 조회하는 방법을 찾아냈었다

이후 tf.exe로 변경집합도 조회하려 하였으나 해당 명령에서는 특정 path에서의 변경집합 조회는 불가하였다 (무조건 최상위 컬렉션 레벨만 가능)

>> Example :: tf vc changeset /latest /collection:[TeamProjectCollectionUrl] /login:[username],[password]

>> 참고 URL :: https://docs.microsoft.com/en-us/azure/devops/repos/tfvc/changeset-command?view=azure-devops

 

그래서 찾아본게 REST API였다

하지만 REST API를 사용하기 위해서는 TFS의 Authentication Mechanism을 통과해야 하는데

.net , node, typescript 등의 라이브러리들이 준비되어 있지만 java버전은 없었다

    > .NET client libraries

    > Azure DevOps Go API

    > Azure DevOps Python API

    > Azure DevOps Client for Node.js

    > Microsoft Open Source Code of Conduct (Swagger 2.0)

    > Visual Studio Services Web Extension SDK

 

그냥 브라우저로 REST API URL을 호출하면 계정 로그인 창이 뜨고 목록 조회는 가능하지만

Java프로그램에서 인증할 방법을 찾지 못했다

>> Example :: https://[TeamProjectCollectionUrl]/[TeamProject]/_apis/tfvc/changesets?searchCriteria.itemPath=[path]&api-version=2.3-preview

 

결국 Java 프로그램에서의 REST API 사용은 포기하지만 조사했던 레퍼런스 URL들은 기록으로 남긴다

 

>> https://docs.microsoft.com/en-us/rest/api/azure/devops/tfvc/changesets/get%20changesets?view=azure-devops-rest-5.0

>> https://docs.microsoft.com/en-us/rest/api/azure/devops/?view=azure-devops-rest-6.1&viewFallbackFrom=azure-devops

>> https://docs.microsoft.com/en-us/rest/api/azure/devops/?view=azure-devops-rest-6.1#client-libraries

>> https://docs.microsoft.com/en-us/azure/devops/integrate/get-started/authentication/authentication-guidance?view=azure-devops

 

 

 

 

 

 

 

 

번호 제목 글쓴이 날짜 조회 수
116 TFS 최소, 권장 사양 (TFS 2010 ~ TFS 2017 Update 1) 황제낙엽 2022.05.04 354
115 Azure DevOps Services REST API 를 이용하여 Git 저장소 조회하기 황제낙엽 2021.09.29 2405
114 connect to Azure DevOps Server (Rest API) 황제낙엽 2021.09.10 203
113 elasticsearch-service-x64 제거하기 (TFS 2017–How to uninstall the ElasticSearch service?) 황제낙엽 2021.08.31 231
112 Azure DevOps Server 의 데이터를 다른 하드웨어의 서버에 복원 황제낙엽 2021.08.31 286
111 [도움말 캡쳐] TFSConfig ChangeServerID /help 황제낙엽 2021.08.31 308
110 [도움말 캡쳐] TFSConfig help 황제낙엽 2021.08.31 248
109 TF401054: 요청된 서비스 수준 속성 TFS_SERVICE_LEVEL이(가) 필요한 값과 일치하지 않습니다. 황제낙엽 2021.08.27 255
108 Azure DevOps Server 또는 TFS 의 Requirements 황제낙엽 2021.08.27 282
107 [Azure] Azure Boards 구성 및 사용자 지정 설명서 황제낙엽 2021.08.25 211
106 [Azure] Restore data to a different server than the current one 황제낙엽 2021.08.25 190
105 Process Template Editor For Azure, TFS2017 황제낙엽 2021.08.25 353
104 Microsoft Visual Studio Team Foundation Server 2015 Power Tools 황제낙엽 2021.08.25 289
103 [Azure] Azure DevOps Server 에서 TfsServcieControl.exe 의 위치 황제낙엽 2021.08.25 300
102 Migrate TFS 2015 to Azure DevOps Directly? 황제낙엽 2021.08.24 124
101 [benday] Azure DevOps Server 2020 Installation Guide file 황제낙엽 2021.08.24 129
100 [도움말 캡쳐] tf.exe git help 황제낙엽 2021.07.26 260
» TFVC Rest API 를 이용한 변경집합 조회 (TFS 2017~) [1] 황제낙엽 2020.11.11 327
98 [도움말 캡쳐] tf.exe workspace [1] 황제낙엽 2020.10.22 230
97 tf vc get 실행시 /force /overwrite 모두 사용해도 "모든 파일이 최신 상태입니다." 라고만 나온다 황제낙엽 2020.10.16 556