Skip to content

Commit

Permalink
Azure DevOps (demisto#28145)
Browse files Browse the repository at this point in the history
* first 5 commands without tests

* The sixth command

* first 5 UT for the first 5 commands and 2 tests for pagination and preprocess inputs logic

* work item commands with UTs

* 11 commands with UTs
till file-delete (included)

* after Moishi meeting - second sub task

* azure-devops-file-list
command with UT

* namedTuple and file-content-get command with UT

* pull_request_thread_create command with UT

* Update Packs/AzureDevOps/Integrations/AzureDevOps/AzureDevOps.py

Co-authored-by: dorschw <[email protected]>

* first CR fixes

* pull_request_thread_update command with UT

* pull_request_thread_list command with UT

* azure-devops-project-team-list
command was added with UT

* azure-devops-team-member-list command was added with UT

* blob_zip_get_command with UT

* handling 404 with informative message about organization's name

* documentation

* fix yml

* README.md was updated

* Configuration Setup PB works with object ID

* file-get command re-design and UTs

* remove file_content_get.json

* Configuration Setup PB

* SuggestBranchName.py and fix updated files

* Generic Pull requesr PB enhancement and Azure_DevOps_Pull_request SUB PB

* PB README was added

* add argument "reference_branch_name" to create branch command

* replace demisto.params

* fix validation

* change the name of the command pr-reviewer-create to pr-reviewer-add

* fix pr-reviewer-list

* fix pr-reviewer-list

* file-create/file-update/file-delete  - delete the argument branch_id

* command file-list - add commitId to the HR

* command team-member-list - add the HR the user_id & unique_name and revert pr-reviewer-list and file-get with content

* CI/CD Pull Request Reviewer - update

* remove value from context

* change two parameters name and edit the description

* Take the given arguments, not the entry id, if file_path and entry_id are passed

* change reference_branch_name to target_ref

* target_ref and playbooks

* Error message beautification

* Error message beautification

* add two fields to branch-list

* Update Packs/AzureDevOps/Integrations/AzureDevOps/AzureDevOps.py

Co-authored-by: dorschw <[email protected]>

* Update Packs/AzureDevOps/Integrations/AzureDevOps/AzureDevOps.py

Co-authored-by: dorschw <[email protected]>

* Update Packs/AzureDevOps/Integrations/AzureDevOps/AzureDevOps.py

Co-authored-by: dorschw <[email protected]>

* Update Packs/AzureDevOps/Integrations/AzureDevOps/AzureDevOps.py

Co-authored-by: dorschw <[email protected]>

* Update Packs/ContentManagement/Playbooks/playbook-Pull_Request_Creation_-_AzureDevOps_README.md

Co-authored-by: dorschw <[email protected]>

* Update Packs/ContentManagement/Scripts/CommitFiles/CommitFiles.py

Co-authored-by: dorschw <[email protected]>

* Update Packs/ContentManagement/Scripts/CommitFiles/CommitFiles.py

Co-authored-by: dorschw <[email protected]>

* Update Packs/ContentManagement/Scripts/SuggestBranchName/SuggestBranchName.py

Co-authored-by: dorschw <[email protected]>

* CR's fixes

* pre-commit

* CR's fixes

* pre commit

* mypy fixes

* mypy fixes

* mypy fixes

* mypy fixes

* pre commit fixes

* pre commit fixes

* RN Azure DevOps

* mypy fixes

* typing

* validations fixes

* validates fixes

* Update Packs/AzureDevOps/Integrations/AzureDevOps/AzureDevOps.yml

Co-authored-by: ShirleyDenkberg <[email protected]>

* Update Packs/AzureDevOps/Integrations/AzureDevOps/AzureDevOps.yml

Co-authored-by: ShirleyDenkberg <[email protected]>

* Update Packs/AzureDevOps/Integrations/AzureDevOps/AzureDevOps.yml

Co-authored-by: ShirleyDenkberg <[email protected]>

* Update Packs/AzureDevOps/Integrations/AzureDevOps/AzureDevOps.yml

Co-authored-by: ShirleyDenkberg <[email protected]>

* Update Packs/AzureDevOps/Integrations/AzureDevOps/AzureDevOps.yml

Co-authored-by: ShirleyDenkberg <[email protected]>

* Update Packs/AzureDevOps/Integrations/AzureDevOps/AzureDevOps.yml

Co-authored-by: ShirleyDenkberg <[email protected]>

* Update Packs/AzureDevOps/Integrations/AzureDevOps/AzureDevOps.yml

Co-authored-by: ShirleyDenkberg <[email protected]>

* Update Packs/AzureDevOps/Integrations/AzureDevOps/AzureDevOps.yml

Co-authored-by: ShirleyDenkberg <[email protected]>

* Update Packs/AzureDevOps/Integrations/AzureDevOps/AzureDevOps.yml

Co-authored-by: ShirleyDenkberg <[email protected]>

* Update Packs/AzureDevOps/Integrations/AzureDevOps/AzureDevOps.yml

Co-authored-by: ShirleyDenkberg <[email protected]>

* validates fixes

* compare with master

* Update Packs/AzureDevOps/Integrations/AzureDevOps/AzureDevOps.yml

Co-authored-by: ShirleyDenkberg <[email protected]>

* Update Packs/AzureDevOps/Integrations/AzureDevOps/AzureDevOps.yml

Co-authored-by: ShirleyDenkberg <[email protected]>

* Update Packs/AzureDevOps/Integrations/AzureDevOps/AzureDevOps.yml

Co-authored-by: ShirleyDenkberg <[email protected]>

* Update Packs/AzureDevOps/Integrations/AzureDevOps/AzureDevOps.yml

Co-authored-by: ShirleyDenkberg <[email protected]>

* Update Packs/AzureDevOps/Integrations/AzureDevOps/AzureDevOps.yml

Co-authored-by: ShirleyDenkberg <[email protected]>

* Update Packs/AzureDevOps/Integrations/AzureDevOps/AzureDevOps.yml

Co-authored-by: ShirleyDenkberg <[email protected]>

* Update Packs/AzureDevOps/Integrations/AzureDevOps/AzureDevOps.yml

Co-authored-by: ShirleyDenkberg <[email protected]>

* Update Packs/AzureDevOps/Integrations/AzureDevOps/AzureDevOps.yml

Co-authored-by: ShirleyDenkberg <[email protected]>

* Update Packs/AzureDevOps/Integrations/AzureDevOps/AzureDevOps.yml

Co-authored-by: ShirleyDenkberg <[email protected]>

* Update Packs/AzureDevOps/Integrations/AzureDevOps/AzureDevOps.yml

Co-authored-by: ShirleyDenkberg <[email protected]>

* Update Packs/AzureDevOps/Integrations/AzureDevOps/AzureDevOps.yml

Co-authored-by: ShirleyDenkberg <[email protected]>

* Update Packs/AzureDevOps/Integrations/AzureDevOps/AzureDevOps.yml

Co-authored-by: ShirleyDenkberg <[email protected]>

* Update Packs/AzureDevOps/Integrations/AzureDevOps/AzureDevOps.yml

Co-authored-by: ShirleyDenkberg <[email protected]>

* error message

* CommitFiles.yml was edited

* fromversion

* Update Packs/AzureDevOps/Integrations/AzureDevOps/AzureDevOps.yml

Co-authored-by: ShirleyDenkberg <[email protected]>

* Update Packs/AzureDevOps/Integrations/AzureDevOps/AzureDevOps.yml

Co-authored-by: ShirleyDenkberg <[email protected]>

* Update Packs/AzureDevOps/Integrations/AzureDevOps/AzureDevOps.yml

Co-authored-by: ShirleyDenkberg <[email protected]>

* Update Packs/AzureDevOps/Integrations/AzureDevOps/AzureDevOps.yml

Co-authored-by: ShirleyDenkberg <[email protected]>

* Update Packs/AzureDevOps/Integrations/AzureDevOps/AzureDevOps.yml

Co-authored-by: ShirleyDenkberg <[email protected]>

* Update Packs/AzureDevOps/Integrations/AzureDevOps/AzureDevOps.yml

Co-authored-by: ShirleyDenkberg <[email protected]>

* Update Packs/AzureDevOps/Integrations/AzureDevOps/AzureDevOps.yml

Co-authored-by: ShirleyDenkberg <[email protected]>

* Update Packs/AzureDevOps/Integrations/AzureDevOps/AzureDevOps.yml

Co-authored-by: ShirleyDenkberg <[email protected]>

* Update Packs/AzureDevOps/Integrations/AzureDevOps/AzureDevOps.yml

Co-authored-by: ShirleyDenkberg <[email protected]>

* Update Packs/AzureDevOps/Integrations/AzureDevOps/AzureDevOps.yml

Co-authored-by: ShirleyDenkberg <[email protected]>

* Update Packs/AzureDevOps/Integrations/AzureDevOps/AzureDevOps.yml

Co-authored-by: ShirleyDenkberg <[email protected]>

* Update Packs/AzureDevOps/Integrations/AzureDevOps/AzureDevOps.yml

Co-authored-by: ShirleyDenkberg <[email protected]>

* Update Packs/AzureDevOps/Integrations/AzureDevOps/AzureDevOps.yml

Co-authored-by: ShirleyDenkberg <[email protected]>

* Update Packs/AzureDevOps/Integrations/AzureDevOps/AzureDevOps.yml

Co-authored-by: ShirleyDenkberg <[email protected]>

* Update Packs/AzureDevOps/Integrations/AzureDevOps/AzureDevOps.yml

Co-authored-by: ShirleyDenkberg <[email protected]>

* Update Packs/AzureDevOps/Integrations/AzureDevOps/AzureDevOps.yml

Co-authored-by: ShirleyDenkberg <[email protected]>

* Update Packs/ContentManagement/ReleaseNotes/1_2_12.md

Co-authored-by: ShirleyDenkberg <[email protected]>

* Update Packs/ContentManagement/ReleaseNotes/1_2_12.md

Co-authored-by: ShirleyDenkberg <[email protected]>

* Update Packs/ContentManagement/ReleaseNotes/1_2_12.md

Co-authored-by: ShirleyDenkberg <[email protected]>

* Update Packs/ContentManagement/Playbooks/playbook-Pull_Request_Creation_-_AzureDevOps.yml

Co-authored-by: ShirleyDenkberg <[email protected]>

* Update Packs/ContentManagement/Playbooks/playbook-Pull_Request_Creation_-_AzureDevOps.yml

Co-authored-by: ShirleyDenkberg <[email protected]>

* Update Packs/ContentManagement/Playbooks/playbook-Pull_Request_Creation_-_AzureDevOps.yml

Co-authored-by: ShirleyDenkberg <[email protected]>

* Update Packs/ContentManagement/ReleaseNotes/1_2_12.md

Co-authored-by: ShirleyDenkberg <[email protected]>

* Update Packs/ContentManagement/ReleaseNotes/1_2_12.md

Co-authored-by: ShirleyDenkberg <[email protected]>

* Update Packs/ContentManagement/Playbooks/playbook-Pull_Request_Creation_-_AzureDevOps.yml

Co-authored-by: ShirleyDenkberg <[email protected]>

* Update Packs/ContentManagement/Playbooks/playbook-Pull_Request_Creation_-_AzureDevOps.yml

Co-authored-by: ShirleyDenkberg <[email protected]>

* Update Packs/ContentManagement/Playbooks/playbook-Pull_Request_Creation_-_AzureDevOps.yml

Co-authored-by: ShirleyDenkberg <[email protected]>

* Update Packs/ContentManagement/Playbooks/playbook-Pull_Request_Creation_-_AzureDevOps.yml

Co-authored-by: ShirleyDenkberg <[email protected]>

* Update Packs/ContentManagement/Playbooks/playbook-Pull_Request_Creation_-_AzureDevOps.yml

Co-authored-by: ShirleyDenkberg <[email protected]>

* Update Packs/ContentManagement/Playbooks/playbook-Pull_Request_Creation_-_AzureDevOps_README.md

Co-authored-by: ShirleyDenkberg <[email protected]>

* Update Packs/ContentManagement/Playbooks/playbook-Pull_Request_Creation_-_AzureDevOps_README.md

Co-authored-by: ShirleyDenkberg <[email protected]>

* Update Packs/ContentManagement/ReleaseNotes/1_2_12.md

Co-authored-by: ShirleyDenkberg <[email protected]>

* Update Packs/ContentManagement/Playbooks/playbook-Pull_Request_Creation_-_AzureDevOps_README.md

Co-authored-by: ShirleyDenkberg <[email protected]>

* Update Packs/ContentManagement/Playbooks/playbook-Pull_Request_Creation_-_Generic.yml

Co-authored-by: ShirleyDenkberg <[email protected]>

* Update Packs/ContentManagement/Playbooks/playbook-Pull_Request_Creation_-_Generic.yml

Co-authored-by: ShirleyDenkberg <[email protected]>

* Update Packs/ContentManagement/ReleaseNotes/1_2_12.md

Co-authored-by: ShirleyDenkberg <[email protected]>

* Update Packs/AzureDevOps/Integrations/AzureDevOps/AzureDevOps.yml

Co-authored-by: ShirleyDenkberg <[email protected]>

* Update Packs/AzureDevOps/Integrations/AzureDevOps/AzureDevOps.yml

Co-authored-by: ShirleyDenkberg <[email protected]>

* Update Packs/AzureDevOps/Integrations/AzureDevOps/AzureDevOps.yml

Co-authored-by: ShirleyDenkberg <[email protected]>

* Update Packs/AzureDevOps/Integrations/AzureDevOps/AzureDevOps.yml

Co-authored-by: ShirleyDenkberg <[email protected]>

* Update Packs/AzureDevOps/Integrations/AzureDevOps/AzureDevOps.yml

Co-authored-by: ShirleyDenkberg <[email protected]>

* Update Packs/AzureDevOps/Integrations/AzureDevOps/AzureDevOps.yml

Co-authored-by: ShirleyDenkberg <[email protected]>

* Update Packs/AzureDevOps/Integrations/AzureDevOps/AzureDevOps.yml

Co-authored-by: ShirleyDenkberg <[email protected]>

* Update Packs/AzureDevOps/Integrations/AzureDevOps/AzureDevOps.yml

Co-authored-by: ShirleyDenkberg <[email protected]>

* Update Packs/AzureDevOps/Integrations/AzureDevOps/AzureDevOps.yml

Co-authored-by: ShirleyDenkberg <[email protected]>

* Update Packs/AzureDevOps/Integrations/AzureDevOps/AzureDevOps.yml

Co-authored-by: ShirleyDenkberg <[email protected]>

* Update Packs/AzureDevOps/Integrations/AzureDevOps/AzureDevOps.yml

Co-authored-by: ShirleyDenkberg <[email protected]>

* Update Packs/AzureDevOps/Integrations/AzureDevOps/AzureDevOps.yml

Co-authored-by: ShirleyDenkberg <[email protected]>

* Update Packs/AzureDevOps/Integrations/AzureDevOps/AzureDevOps.yml

Co-authored-by: ShirleyDenkberg <[email protected]>

* Update Packs/AzureDevOps/Integrations/AzureDevOps/AzureDevOps.yml

Co-authored-by: ShirleyDenkberg <[email protected]>

* Update Packs/AzureDevOps/Integrations/AzureDevOps/AzureDevOps.yml

Co-authored-by: ShirleyDenkberg <[email protected]>

* Update Packs/AzureDevOps/Integrations/AzureDevOps/AzureDevOps.yml

Co-authored-by: ShirleyDenkberg <[email protected]>

* Update Packs/AzureDevOps/Integrations/AzureDevOps/AzureDevOps.yml

Co-authored-by: ShirleyDenkberg <[email protected]>

* Update Packs/AzureDevOps/Integrations/AzureDevOps/AzureDevOps.yml

Co-authored-by: ShirleyDenkberg <[email protected]>

* Update Packs/AzureDevOps/Integrations/AzureDevOps/AzureDevOps.yml

Co-authored-by: ShirleyDenkberg <[email protected]>

* Update Packs/AzureDevOps/Integrations/AzureDevOps/AzureDevOps.yml

Co-authored-by: ShirleyDenkberg <[email protected]>

* Update Packs/AzureDevOps/Integrations/AzureDevOps/AzureDevOps.yml

Co-authored-by: ShirleyDenkberg <[email protected]>

* UT was added to SuggestBranchName_test.py

* autopep8

* UT was addded to CommitFiles_test.py

* UT was addded to CommitFiles_test.py

* UT was addded to CommitFiles_test.py

* Update Packs/AzureDevOps/Integrations/AzureDevOps/AzureDevOps.yml

Co-authored-by: ShirleyDenkberg <[email protected]>

* Update Packs/AzureDevOps/Integrations/AzureDevOps/AzureDevOps.yml

Co-authored-by: ShirleyDenkberg <[email protected]>

* Update Packs/AzureDevOps/Integrations/AzureDevOps/AzureDevOps.yml

Co-authored-by: ShirleyDenkberg <[email protected]>

* Update Packs/AzureDevOps/Integrations/AzureDevOps/AzureDevOps.yml

Co-authored-by: ShirleyDenkberg <[email protected]>

* Update Packs/AzureDevOps/Integrations/AzureDevOps/AzureDevOps.yml

Co-authored-by: ShirleyDenkberg <[email protected]>

* Update Packs/AzureDevOps/Integrations/AzureDevOps/AzureDevOps.yml

Co-authored-by: ShirleyDenkberg <[email protected]>

* Update Packs/AzureDevOps/Integrations/AzureDevOps/AzureDevOps.yml

Co-authored-by: ShirleyDenkberg <[email protected]>

* Update Packs/AzureDevOps/Integrations/AzureDevOps/AzureDevOps.yml

Co-authored-by: ShirleyDenkberg <[email protected]>

* Update Packs/AzureDevOps/Integrations/AzureDevOps/AzureDevOps.yml

Co-authored-by: ShirleyDenkberg <[email protected]>

* Update Packs/AzureDevOps/Integrations/AzureDevOps/AzureDevOps.yml

Co-authored-by: ShirleyDenkberg <[email protected]>

* Update Packs/AzureDevOps/Integrations/AzureDevOps/AzureDevOps.yml

Co-authored-by: ShirleyDenkberg <[email protected]>

* Apply suggestions from code review

Co-authored-by: ShirleyDenkberg <[email protected]>

* add UT CommitFiles_test.py

* documentation

* file-get fix

* change input

* Bump pack from version AzureDevOps to 1.2.18.

* Update Packs/ContentManagement/Scripts/CommitFiles/CommitFiles.py

Co-authored-by: dorschw <[email protected]>

* Update Packs/ContentManagement/Scripts/CommitFiles/CommitFiles.py

Co-authored-by: dorschw <[email protected]>

* Update Packs/ContentManagement/Scripts/CommitFiles/CommitFiles.py

Co-authored-by: dorschw <[email protected]>

* Update Packs/AzureDevOps/Integrations/AzureDevOps/AzureDevOps.py

Co-authored-by: dorschw <[email protected]>

* Update Packs/AzureDevOps/Integrations/AzureDevOps/AzureDevOps.py

Co-authored-by: dorschw <[email protected]>

* CR's fixes

* CR full url point

* fix descriptions in the yml file

* Update Packs/AzureDevOps/Integrations/AzureDevOps/AzureDevOps.py

Co-authored-by: dorschw <[email protected]>

* Update Packs/AzureDevOps/Integrations/AzureDevOps/AzureDevOps.py

Co-authored-by: dorschw <[email protected]>

* Update Packs/AzureDevOps/Integrations/AzureDevOps/AzureDevOps.py

Co-authored-by: dorschw <[email protected]>

* Cr's and UT's fixes

* Update Packs/AzureDevOps/Integrations/AzureDevOps/AzureDevOps.py

Co-authored-by: dorschw <[email protected]>

* CR's fixes

* CR's UT's fixes

* Update Packs/AzureDevOps/Integrations/AzureDevOps/AzureDevOps.py

* added line for type ignore

* CR's fixes

* bump version to 1.3.0

---------

Co-authored-by: dorschw <[email protected]>
Co-authored-by: ShirleyDenkberg <[email protected]>
Co-authored-by: Content Bot <[email protected]>
  • Loading branch information
4 people authored and xsoar-bot committed Oct 5, 2023
1 parent 642823b commit 931aade
Show file tree
Hide file tree
Showing 42 changed files with 8,106 additions and 195 deletions.
1,052 changes: 1,021 additions & 31 deletions Packs/AzureDevOps/Integrations/AzureDevOps/AzureDevOps.py

Large diffs are not rendered by default.

2,258 changes: 2,234 additions & 24 deletions Packs/AzureDevOps/Integrations/AzureDevOps/AzureDevOps.yml

Large diffs are not rendered by default.

1,109 changes: 1,104 additions & 5 deletions Packs/AzureDevOps/Integrations/AzureDevOps/AzureDevOps_test.py

Large diffs are not rendered by default.

1,043 changes: 1,043 additions & 0 deletions Packs/AzureDevOps/Integrations/AzureDevOps/README.md

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
{
"commits": [
{
"treeId": "",
"commitId": "",
"author": {
"name": "",
"email": "",
"date": "2023-07-23T10:32:35Z"
},
"committer": {
"name": "",
"email": "",
"date": "2023-07-23T10:32:35Z"
},
"comment": "Initial commit",
"parents": [],
"url": ""
}
],
"refUpdates": [
{
"repositoryId": "",
"name": "refs/heads/main",
"oldObjectId": "0000000000000000000000000000000000000000",
"newObjectId": ""
}
],
"repository": {
"id": "",
"name": "",
"url": "",
"project": {
"id": "",
"name": "",
"description": "Demo project for Azure DevOps instance",
"url": "",
"state": "wellFormed",
"revision": 27,
"visibility": "private",
"lastUpdateTime": "2022-01-31T12:18:37.09Z"
},
"size": 62931641,
"remoteUrl": "",
"sshUrl": "",
"webUrl": "",
"isDisabled": "false",
"isInMaintenance": "false"
},
"pushedBy": {
"displayName": "XXXXXX",
"url": "",
"_links": {
"avatar": {
"href": ""
}
},
"id": "",
"uniqueName": "",
"imageUrl": "",
"descriptor": ""
},
"pushId": 37,
"date": "2023-07-23T10:32:35.4167107Z",
"url": "",
"_links": {
"self": {
"href": ""
},
"repository": {
"href": ""
},
"commits": {
"href": ""
},
"pusher": {
"href": ""
},
"refs": {
"href": ""
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"count": 1,
"value": [
{
"author": {
"date": "",
"email": "",
"name": ""
},
"changeCounts": {
"Add": 1,
"Delete": 0,
"Edit": 3
},
"comment": "TEST",
"commitId": "",
"committer": {
"date": "",
"email": "",
"name": ""
},
"remoteUrl": "",
"url": ""
}
]
}
85 changes: 85 additions & 0 deletions Packs/AzureDevOps/Integrations/AzureDevOps/test_data/file.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
{
"commits": [
{
"treeId": "",
"commitId": "",
"author": {
"name": "",
"email": "",
"date": "2023-07-18T08:35:20Z"
},
"committer": {
"name": "",
"email": "",
"date": "2023-07-18T08:35:20Z"
},
"comment": "Test 5.",
"parents": [
""
],
"url": ""
}
],
"refUpdates": [
{
"repositoryId": "",
"name": "",
"oldObjectId": "",
"newObjectId": ""
}
],
"repository": {
"id": "",
"name": "DevOpsDemo",
"url": "",
"project": {
"id": "",
"name": "DevOpsDemo",
"description": "Demo project for Azure DevOps instance",
"url": "",
"state": "wellFormed",
"revision": 27,
"visibility": "private",
"lastUpdateTime": "2022-01-31T12:18:37.09Z"
},
"size": 0,
"remoteUrl": "",
"sshUrl": "",
"webUrl": "",
"isDisabled": "false",
"isInMaintenance": "false"
},
"pushedBy": {
"displayName": "",
"url": "",
"_links": {
"avatar": {
"href": ""
}
},
"id": "",
"uniqueName": "",
"imageUrl": "",
"descriptor": ""
},
"pushId": 27,
"date": "2023-07-18T08:35:20.3674731Z",
"url": "",
"_links": {
"self": {
"href": ""
},
"repository": {
"href": ""
},
"commits": {
"href": ""
},
"pusher": {
"href": ""
},
"refs": {
"href": ""
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"count": 2,
"value": [
{
"objectId": "",
"gitObjectType": "tree",
"commitId": "",
"path": "/",
"isFolder": "true",
"contentMetadata": {
"fileName": ""
},
"url": ""
},
{
"objectId": "",
"gitObjectType": "tree",
"commitId": "",
"path": "/.github",
"isFolder": "true",
"url": ""
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"count": 1,
"value": [
{
"_links": {
"avatar": {
"href": ""
}
},
"displayName": "",
"hasDeclined": false,
"id": "",
"imageUrl": "",
"isContainer": true,
"isFlagged": false,
"reviewerUrl": "",
"uniqueName": "",
"url": "",
"vote": 0
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"value": [
{
"id": "",
"name": "DevOpsDemo Team",
"url": "",
"description": "The default project team.",
"identityUrl": "",
"projectName": "DevOpsDemo",
"projectId": ""
}
],
"count": 1
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"count": 1,
"value": [
{
"author": {
"date": "",
"email": "",
"name": ""
},
"comment": "",
"commitId": "",
"committer": {
"date": "",
"email": "",
"name": ""
},
"url": ""
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"$id": "1",
"innerException": "",
"message": "TF401180: The requested pull request was not found.",
"typeName": "Microsoft.TeamFoundation.Git.Server.GitPullRequestNotFoundException, Microsoft.TeamFoundation.Git.Server",
"typeKey": "GitPullRequestNotFoundException",
"errorCode": 0,
"eventId": 3000,
"value": ""
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"_links": {
"avatar": {
"href": ""
}
},
"displayName": "TEST",
"hasDeclined": false,
"id": "TEST",
"imageUrl": "",
"isFlagged": false,
"reviewerUrl": "",
"uniqueName": "",
"url": "",
"vote": 0,
"votedFor": [
{
"_links": {
"avatar": {
"href": ""
}
},
"displayName": "",
"id": "",
"imageUrl": "",
"isContainer": true,
"reviewerUrl": "",
"uniqueName": "",
"url": "",
"vote": 0
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
{
"pullRequestThreadContext": "None",
"id": 65,
"publishedDate": "2023-07-23T13:30:20.357Z",
"lastUpdatedDate": "2023-07-23T13:30:20.357Z",
"comments": [
{
"id": 1,
"parentCommentId": 0,
"author": {
"displayName": "XXXXXX",
"url": "",
"_links": {
"avatar": {
"href": ""
}
},
"id": "",
"uniqueName": "",
"imageUrl": "",
"descriptor": ""
},
"content": "TEST",
"publishedDate": "2023-07-23T13:30:20.357Z",
"lastUpdatedDate": "2023-07-23T13:30:20.357Z",
"lastContentUpdatedDate": "2023-07-23T13:30:20.357Z",
"commentType": "text",
"_links": {
"self": {
"href": ""
},
"repository": {
"href": ""
},
"threads": {
"href": ""
},
"pullRequests": {
"href": ""
}
}
}
],
"status": "active",
"threadContext": "None",
"properties": "None",
"identities": "None",
"isDeleted": "false",
"_links": {
"self": {
"href": ""
},
"repository": {
"href": ""
}
}
}
Loading

0 comments on commit 931aade

Please sign in to comment.