@itentialopensource/adapter-azure_devops 0.1.1 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (260) hide show
  1. package/AUTH.md +39 -0
  2. package/BROKER.md +199 -0
  3. package/CALLS.md +169 -0
  4. package/CHANGELOG.md +17 -2
  5. package/CODE_OF_CONDUCT.md +12 -17
  6. package/CONTRIBUTING.md +88 -74
  7. package/ENHANCE.md +69 -0
  8. package/PROPERTIES.md +641 -0
  9. package/README.md +221 -571
  10. package/SUMMARY.md +9 -0
  11. package/SYSTEMINFO.md +11 -0
  12. package/TROUBLESHOOT.md +47 -0
  13. package/adapter.js +11999 -57
  14. package/adapterBase.js +1007 -253
  15. package/adapter_modifications/archive/UPD-2022-04-29T13:05:13.710Z/README.md +59 -0
  16. package/adapter_modifications/archive/UPD-2022-04-29T13:05:13.710Z/specificCallScript.js +97 -0
  17. package/adapter_modifications/archive/UPD-2022-04-29T13:05:13.710Z/update.js +532 -0
  18. package/adapter_modifications/archive/UPD-2022-04-29T13:05:13.710Z/updateFiles/components/adapter.js +11651 -0
  19. package/adapter_modifications/archive/UPD-2022-04-29T13:05:13.710Z/updateFiles/components/entities/AnnotatedTags/action.json +43 -0
  20. package/adapter_modifications/archive/UPD-2022-04-29T13:05:13.710Z/updateFiles/components/entities/AnnotatedTags/mockdatafiles/mockdata.json +20817 -0
  21. package/adapter_modifications/archive/UPD-2022-04-29T13:05:13.710Z/updateFiles/components/entities/AnnotatedTags/schema.json +125 -0
  22. package/adapter_modifications/archive/UPD-2022-04-29T13:05:13.710Z/updateFiles/components/entities/Blobs/action.json +43 -0
  23. package/adapter_modifications/archive/UPD-2022-04-29T13:05:13.710Z/updateFiles/components/entities/Blobs/mockdatafiles/mockdata.json +20817 -0
  24. package/adapter_modifications/archive/UPD-2022-04-29T13:05:13.710Z/updateFiles/components/entities/Blobs/schema.json +125 -0
  25. package/adapter_modifications/archive/UPD-2022-04-29T13:05:13.710Z/updateFiles/components/entities/CherryPicks/action.json +64 -0
  26. package/adapter_modifications/archive/UPD-2022-04-29T13:05:13.710Z/updateFiles/components/entities/CherryPicks/mockdatafiles/mockdata.json +20817 -0
  27. package/adapter_modifications/archive/UPD-2022-04-29T13:05:13.710Z/updateFiles/components/entities/CherryPicks/schema.json +125 -0
  28. package/adapter_modifications/archive/UPD-2022-04-29T13:05:13.710Z/updateFiles/components/entities/Commits/action.json +85 -0
  29. package/adapter_modifications/archive/UPD-2022-04-29T13:05:13.710Z/updateFiles/components/entities/Commits/mockdatafiles/mockdata.json +20817 -0
  30. package/adapter_modifications/archive/UPD-2022-04-29T13:05:13.710Z/updateFiles/components/entities/Commits/schema.json +125 -0
  31. package/adapter_modifications/archive/UPD-2022-04-29T13:05:13.710Z/updateFiles/components/entities/Diffs/action.json +23 -0
  32. package/adapter_modifications/archive/UPD-2022-04-29T13:05:13.710Z/updateFiles/components/entities/Diffs/mockdatafiles/mockdata.json +20817 -0
  33. package/adapter_modifications/archive/UPD-2022-04-29T13:05:13.710Z/updateFiles/components/entities/Diffs/schema.json +125 -0
  34. package/adapter_modifications/archive/UPD-2022-04-29T13:05:13.710Z/updateFiles/components/entities/Forks/action.json +85 -0
  35. package/adapter_modifications/archive/UPD-2022-04-29T13:05:13.710Z/updateFiles/components/entities/Forks/mockdatafiles/mockdata.json +20817 -0
  36. package/adapter_modifications/archive/UPD-2022-04-29T13:05:13.710Z/updateFiles/components/entities/Forks/schema.json +125 -0
  37. package/adapter_modifications/archive/UPD-2022-04-29T13:05:13.710Z/updateFiles/components/entities/ImportRequests/action.json +84 -0
  38. package/adapter_modifications/archive/UPD-2022-04-29T13:05:13.710Z/updateFiles/components/entities/ImportRequests/mockdatafiles/mockdata.json +20817 -0
  39. package/adapter_modifications/archive/UPD-2022-04-29T13:05:13.710Z/updateFiles/components/entities/ImportRequests/schema.json +125 -0
  40. package/adapter_modifications/archive/UPD-2022-04-29T13:05:13.710Z/updateFiles/components/entities/Items/action.json +43 -0
  41. package/adapter_modifications/archive/UPD-2022-04-29T13:05:13.710Z/updateFiles/components/entities/Items/mockdatafiles/mockdata.json +20817 -0
  42. package/adapter_modifications/archive/UPD-2022-04-29T13:05:13.710Z/updateFiles/components/entities/Items/schema.json +125 -0
  43. package/adapter_modifications/archive/UPD-2022-04-29T13:05:13.710Z/updateFiles/components/entities/MergeBases/action.json +23 -0
  44. package/adapter_modifications/archive/UPD-2022-04-29T13:05:13.710Z/updateFiles/components/entities/MergeBases/mockdatafiles/mockdata.json +20817 -0
  45. package/adapter_modifications/archive/UPD-2022-04-29T13:05:13.710Z/updateFiles/components/entities/MergeBases/schema.json +125 -0
  46. package/adapter_modifications/archive/UPD-2022-04-29T13:05:13.710Z/updateFiles/components/entities/Merges/action.json +43 -0
  47. package/adapter_modifications/archive/UPD-2022-04-29T13:05:13.710Z/updateFiles/components/entities/Merges/mockdatafiles/mockdata.json +20817 -0
  48. package/adapter_modifications/archive/UPD-2022-04-29T13:05:13.710Z/updateFiles/components/entities/Merges/schema.json +125 -0
  49. package/adapter_modifications/archive/UPD-2022-04-29T13:05:13.710Z/updateFiles/components/entities/PolicyConfigurations/action.json +23 -0
  50. package/adapter_modifications/archive/UPD-2022-04-29T13:05:13.710Z/updateFiles/components/entities/PolicyConfigurations/mockdatafiles/mockdata.json +20817 -0
  51. package/adapter_modifications/archive/UPD-2022-04-29T13:05:13.710Z/updateFiles/components/entities/PolicyConfigurations/schema.json +125 -0
  52. package/adapter_modifications/archive/UPD-2022-04-29T13:05:13.710Z/updateFiles/components/entities/PullRequestAttachments/action.json +84 -0
  53. package/adapter_modifications/archive/UPD-2022-04-29T13:05:13.710Z/updateFiles/components/entities/PullRequestAttachments/mockdatafiles/mockdata.json +20817 -0
  54. package/adapter_modifications/archive/UPD-2022-04-29T13:05:13.710Z/updateFiles/components/entities/PullRequestAttachments/schema.json +125 -0
  55. package/adapter_modifications/archive/UPD-2022-04-29T13:05:13.710Z/updateFiles/components/entities/PullRequestCommentLikes/action.json +63 -0
  56. package/adapter_modifications/archive/UPD-2022-04-29T13:05:13.710Z/updateFiles/components/entities/PullRequestCommentLikes/mockdatafiles/mockdata.json +20817 -0
  57. package/adapter_modifications/archive/UPD-2022-04-29T13:05:13.710Z/updateFiles/components/entities/PullRequestCommentLikes/schema.json +125 -0
  58. package/adapter_modifications/archive/UPD-2022-04-29T13:05:13.710Z/updateFiles/components/entities/PullRequestCommits/action.json +44 -0
  59. package/adapter_modifications/archive/UPD-2022-04-29T13:05:13.710Z/updateFiles/components/entities/PullRequestCommits/mockdatafiles/mockdata.json +20817 -0
  60. package/adapter_modifications/archive/UPD-2022-04-29T13:05:13.710Z/updateFiles/components/entities/PullRequestCommits/schema.json +125 -0
  61. package/adapter_modifications/archive/UPD-2022-04-29T13:05:13.710Z/updateFiles/components/entities/PullRequestIterationChanges/action.json +23 -0
  62. package/adapter_modifications/archive/UPD-2022-04-29T13:05:13.710Z/updateFiles/components/entities/PullRequestIterationChanges/mockdatafiles/mockdata.json +20817 -0
  63. package/adapter_modifications/archive/UPD-2022-04-29T13:05:13.710Z/updateFiles/components/entities/PullRequestIterationChanges/schema.json +125 -0
  64. package/adapter_modifications/archive/UPD-2022-04-29T13:05:13.710Z/updateFiles/components/entities/PullRequestIterationStatuses/action.json +104 -0
  65. package/adapter_modifications/archive/UPD-2022-04-29T13:05:13.710Z/updateFiles/components/entities/PullRequestIterationStatuses/mockdatafiles/mockdata.json +20817 -0
  66. package/adapter_modifications/archive/UPD-2022-04-29T13:05:13.710Z/updateFiles/components/entities/PullRequestIterationStatuses/schema.json +125 -0
  67. package/adapter_modifications/archive/UPD-2022-04-29T13:05:13.710Z/updateFiles/components/entities/PullRequestIterations/action.json +44 -0
  68. package/adapter_modifications/archive/UPD-2022-04-29T13:05:13.710Z/updateFiles/components/entities/PullRequestIterations/mockdatafiles/mockdata.json +20817 -0
  69. package/adapter_modifications/archive/UPD-2022-04-29T13:05:13.710Z/updateFiles/components/entities/PullRequestIterations/schema.json +125 -0
  70. package/adapter_modifications/archive/UPD-2022-04-29T13:05:13.710Z/updateFiles/components/entities/PullRequestLabels/action.json +84 -0
  71. package/adapter_modifications/archive/UPD-2022-04-29T13:05:13.710Z/updateFiles/components/entities/PullRequestLabels/mockdatafiles/mockdata.json +20817 -0
  72. package/adapter_modifications/archive/UPD-2022-04-29T13:05:13.710Z/updateFiles/components/entities/PullRequestLabels/schema.json +125 -0
  73. package/adapter_modifications/archive/UPD-2022-04-29T13:05:13.710Z/updateFiles/components/entities/PullRequestProperties/action.json +43 -0
  74. package/adapter_modifications/archive/UPD-2022-04-29T13:05:13.710Z/updateFiles/components/entities/PullRequestProperties/mockdatafiles/mockdata.json +20817 -0
  75. package/adapter_modifications/archive/UPD-2022-04-29T13:05:13.710Z/updateFiles/components/entities/PullRequestProperties/schema.json +125 -0
  76. package/adapter_modifications/archive/UPD-2022-04-29T13:05:13.710Z/updateFiles/components/entities/PullRequestQuery/action.json +22 -0
  77. package/adapter_modifications/archive/UPD-2022-04-29T13:05:13.710Z/updateFiles/components/entities/PullRequestQuery/mockdatafiles/mockdata.json +20817 -0
  78. package/adapter_modifications/archive/UPD-2022-04-29T13:05:13.710Z/updateFiles/components/entities/PullRequestQuery/schema.json +125 -0
  79. package/adapter_modifications/archive/UPD-2022-04-29T13:05:13.710Z/updateFiles/components/entities/PullRequestReviewers/action.json +164 -0
  80. package/adapter_modifications/archive/UPD-2022-04-29T13:05:13.710Z/updateFiles/components/entities/PullRequestReviewers/mockdatafiles/mockdata.json +20817 -0
  81. package/adapter_modifications/archive/UPD-2022-04-29T13:05:13.710Z/updateFiles/components/entities/PullRequestReviewers/schema.json +125 -0
  82. package/adapter_modifications/archive/UPD-2022-04-29T13:05:13.710Z/updateFiles/components/entities/PullRequestShare/action.json +22 -0
  83. package/adapter_modifications/archive/UPD-2022-04-29T13:05:13.710Z/updateFiles/components/entities/PullRequestShare/mockdatafiles/mockdata.json +20817 -0
  84. package/adapter_modifications/archive/UPD-2022-04-29T13:05:13.710Z/updateFiles/components/entities/PullRequestShare/schema.json +125 -0
  85. package/adapter_modifications/archive/UPD-2022-04-29T13:05:13.710Z/updateFiles/components/entities/PullRequestStatuses/action.json +104 -0
  86. package/adapter_modifications/archive/UPD-2022-04-29T13:05:13.710Z/updateFiles/components/entities/PullRequestStatuses/mockdatafiles/mockdata.json +20817 -0
  87. package/adapter_modifications/archive/UPD-2022-04-29T13:05:13.710Z/updateFiles/components/entities/PullRequestStatuses/schema.json +125 -0
  88. package/adapter_modifications/archive/UPD-2022-04-29T13:05:13.710Z/updateFiles/components/entities/PullRequestThreadComments/action.json +104 -0
  89. package/adapter_modifications/archive/UPD-2022-04-29T13:05:13.710Z/updateFiles/components/entities/PullRequestThreadComments/mockdatafiles/mockdata.json +20817 -0
  90. package/adapter_modifications/archive/UPD-2022-04-29T13:05:13.710Z/updateFiles/components/entities/PullRequestThreadComments/schema.json +125 -0
  91. package/adapter_modifications/archive/UPD-2022-04-29T13:05:13.710Z/updateFiles/components/entities/PullRequestThreads/action.json +84 -0
  92. package/adapter_modifications/archive/UPD-2022-04-29T13:05:13.710Z/updateFiles/components/entities/PullRequestThreads/mockdatafiles/mockdata.json +20817 -0
  93. package/adapter_modifications/archive/UPD-2022-04-29T13:05:13.710Z/updateFiles/components/entities/PullRequestThreads/schema.json +125 -0
  94. package/adapter_modifications/archive/UPD-2022-04-29T13:05:13.710Z/updateFiles/components/entities/PullRequestWorkItems/action.json +23 -0
  95. package/adapter_modifications/archive/UPD-2022-04-29T13:05:13.710Z/updateFiles/components/entities/PullRequestWorkItems/mockdatafiles/mockdata.json +20817 -0
  96. package/adapter_modifications/archive/UPD-2022-04-29T13:05:13.710Z/updateFiles/components/entities/PullRequestWorkItems/schema.json +125 -0
  97. package/adapter_modifications/archive/UPD-2022-04-29T13:05:13.710Z/updateFiles/components/entities/PullRequests/action.json +126 -0
  98. package/adapter_modifications/archive/UPD-2022-04-29T13:05:13.710Z/updateFiles/components/entities/PullRequests/mockdatafiles/mockdata.json +20817 -0
  99. package/adapter_modifications/archive/UPD-2022-04-29T13:05:13.710Z/updateFiles/components/entities/PullRequests/schema.json +125 -0
  100. package/adapter_modifications/archive/UPD-2022-04-29T13:05:13.710Z/updateFiles/components/entities/Pushes/action.json +64 -0
  101. package/adapter_modifications/archive/UPD-2022-04-29T13:05:13.710Z/updateFiles/components/entities/Pushes/mockdatafiles/mockdata.json +20817 -0
  102. package/adapter_modifications/archive/UPD-2022-04-29T13:05:13.710Z/updateFiles/components/entities/Pushes/schema.json +125 -0
  103. package/adapter_modifications/archive/UPD-2022-04-29T13:05:13.710Z/updateFiles/components/entities/Refs/action.json +63 -0
  104. package/adapter_modifications/archive/UPD-2022-04-29T13:05:13.710Z/updateFiles/components/entities/Refs/mockdatafiles/mockdata.json +20817 -0
  105. package/adapter_modifications/archive/UPD-2022-04-29T13:05:13.710Z/updateFiles/components/entities/Refs/schema.json +125 -0
  106. package/adapter_modifications/archive/UPD-2022-04-29T13:05:13.710Z/updateFiles/components/entities/RefsFavorites/action.json +84 -0
  107. package/adapter_modifications/archive/UPD-2022-04-29T13:05:13.710Z/updateFiles/components/entities/RefsFavorites/mockdatafiles/mockdata.json +20817 -0
  108. package/adapter_modifications/archive/UPD-2022-04-29T13:05:13.710Z/updateFiles/components/entities/RefsFavorites/schema.json +125 -0
  109. package/adapter_modifications/archive/UPD-2022-04-29T13:05:13.710Z/updateFiles/components/entities/Repositories/action.json +186 -0
  110. package/adapter_modifications/archive/UPD-2022-04-29T13:05:13.710Z/updateFiles/components/entities/Repositories/mockdatafiles/mockdata.json +20817 -0
  111. package/adapter_modifications/archive/UPD-2022-04-29T13:05:13.710Z/updateFiles/components/entities/Repositories/schema.json +125 -0
  112. package/adapter_modifications/archive/UPD-2022-04-29T13:05:13.710Z/updateFiles/components/entities/Reverts/action.json +64 -0
  113. package/adapter_modifications/archive/UPD-2022-04-29T13:05:13.710Z/updateFiles/components/entities/Reverts/mockdatafiles/mockdata.json +20817 -0
  114. package/adapter_modifications/archive/UPD-2022-04-29T13:05:13.710Z/updateFiles/components/entities/Reverts/schema.json +125 -0
  115. package/adapter_modifications/archive/UPD-2022-04-29T13:05:13.710Z/updateFiles/components/entities/Stats/action.json +23 -0
  116. package/adapter_modifications/archive/UPD-2022-04-29T13:05:13.710Z/updateFiles/components/entities/Stats/mockdatafiles/mockdata.json +20817 -0
  117. package/adapter_modifications/archive/UPD-2022-04-29T13:05:13.710Z/updateFiles/components/entities/Stats/schema.json +125 -0
  118. package/adapter_modifications/archive/UPD-2022-04-29T13:05:13.710Z/updateFiles/components/entities/Statuses/action.json +43 -0
  119. package/adapter_modifications/archive/UPD-2022-04-29T13:05:13.710Z/updateFiles/components/entities/Statuses/mockdatafiles/mockdata.json +20817 -0
  120. package/adapter_modifications/archive/UPD-2022-04-29T13:05:13.710Z/updateFiles/components/entities/Statuses/schema.json +125 -0
  121. package/adapter_modifications/archive/UPD-2022-04-29T13:05:13.710Z/updateFiles/components/entities/Suggestions/action.json +23 -0
  122. package/adapter_modifications/archive/UPD-2022-04-29T13:05:13.710Z/updateFiles/components/entities/Suggestions/mockdatafiles/mockdata.json +20817 -0
  123. package/adapter_modifications/archive/UPD-2022-04-29T13:05:13.710Z/updateFiles/components/entities/Suggestions/schema.json +125 -0
  124. package/adapter_modifications/archive/UPD-2022-04-29T13:05:13.710Z/updateFiles/components/entities/Trees/action.json +23 -0
  125. package/adapter_modifications/archive/UPD-2022-04-29T13:05:13.710Z/updateFiles/components/entities/Trees/mockdatafiles/mockdata.json +20817 -0
  126. package/adapter_modifications/archive/UPD-2022-04-29T13:05:13.710Z/updateFiles/components/entities/Trees/schema.json +125 -0
  127. package/adapter_modifications/archive/UPD-2022-04-29T13:05:13.710Z/updateFiles/components/methods.json +74975 -0
  128. package/adapter_modifications/archive/UPD-2022-04-29T13:05:13.710Z/updateFiles/components/pronghorn.json +11730 -0
  129. package/adapter_modifications/archive/UPD-2022-04-29T13:05:13.710Z/updateFiles/components/test/integration/adapterTestIntegration.js +5493 -0
  130. package/adapter_modifications/archive/UPD-2022-04-29T13:05:13.710Z/updateFiles/components/test/unit/adapterTestUnit.js +10889 -0
  131. package/entities/.generic/action.json +105 -0
  132. package/entities/.generic/schema.json +6 -1
  133. package/entities/AnnotatedTags/action.json +45 -0
  134. package/entities/AnnotatedTags/schema.json +20 -0
  135. package/entities/Blobs/action.json +45 -0
  136. package/entities/Blobs/schema.json +20 -0
  137. package/entities/CherryPicks/action.json +66 -0
  138. package/entities/CherryPicks/schema.json +21 -0
  139. package/entities/Commits/action.json +87 -0
  140. package/entities/Commits/mockdatafiles/commitsGetCommitsBatch-default.json +707 -0
  141. package/entities/Commits/mockdatafiles/commitsGetPushCommits-default.json +336 -0
  142. package/entities/Commits/schema.json +22 -0
  143. package/entities/Diffs/action.json +25 -0
  144. package/entities/Diffs/schema.json +19 -0
  145. package/entities/Forks/action.json +87 -0
  146. package/entities/Forks/mockdatafiles/forksGetForkSyncRequests-default.json +200 -0
  147. package/entities/Forks/mockdatafiles/forksList-default.json +102 -0
  148. package/entities/Forks/schema.json +22 -0
  149. package/entities/ImportRequests/action.json +86 -0
  150. package/entities/ImportRequests/mockdatafiles/importRequestsQuery-default.json +91 -0
  151. package/entities/ImportRequests/schema.json +22 -0
  152. package/entities/Items/action.json +45 -0
  153. package/entities/Items/mockdatafiles/itemsGetItemsBatch-default.json +5 -0
  154. package/entities/Items/mockdatafiles/itemsList-default.json +40 -0
  155. package/entities/Items/schema.json +20 -0
  156. package/entities/MergeBases/action.json +25 -0
  157. package/entities/MergeBases/mockdatafiles/mergeBasesList-default.json +580 -0
  158. package/entities/MergeBases/schema.json +19 -0
  159. package/entities/Merges/action.json +45 -0
  160. package/entities/Merges/schema.json +20 -0
  161. package/entities/PolicyConfigurations/action.json +25 -0
  162. package/entities/PolicyConfigurations/mockdatafiles/policyConfigurationsGet-default.json +20 -0
  163. package/entities/PolicyConfigurations/schema.json +19 -0
  164. package/entities/PullRequestAttachments/action.json +86 -0
  165. package/entities/PullRequestAttachments/mockdatafiles/pullRequestAttachmentsList-default.json +159 -0
  166. package/entities/PullRequestAttachments/schema.json +22 -0
  167. package/entities/PullRequestCommentLikes/action.json +65 -0
  168. package/entities/PullRequestCommentLikes/mockdatafiles/pullRequestCommentLikesList-default.json +10 -0
  169. package/entities/PullRequestCommentLikes/schema.json +21 -0
  170. package/entities/PullRequestCommits/action.json +46 -0
  171. package/entities/PullRequestCommits/mockdatafiles/pullRequestCommitsGetPullRequestCommits-default.json +818 -0
  172. package/entities/PullRequestCommits/mockdatafiles/pullRequestCommitsGetPullRequestIterationCommits-default.json +813 -0
  173. package/entities/PullRequestCommits/schema.json +20 -0
  174. package/entities/PullRequestIterationChanges/action.json +25 -0
  175. package/entities/PullRequestIterationChanges/schema.json +19 -0
  176. package/entities/PullRequestIterationStatuses/action.json +106 -0
  177. package/entities/PullRequestIterationStatuses/mockdatafiles/pullRequestIterationStatusesList-default.json +71 -0
  178. package/entities/PullRequestIterationStatuses/schema.json +23 -0
  179. package/entities/PullRequestIterations/action.json +46 -0
  180. package/entities/PullRequestIterations/mockdatafiles/pullRequestIterationsList-default.json +2403 -0
  181. package/entities/PullRequestIterations/schema.json +20 -0
  182. package/entities/PullRequestLabels/action.json +86 -0
  183. package/entities/PullRequestLabels/mockdatafiles/pullRequestLabelsList-default.json +20 -0
  184. package/entities/PullRequestLabels/schema.json +22 -0
  185. package/entities/PullRequestProperties/action.json +45 -0
  186. package/entities/PullRequestProperties/schema.json +20 -0
  187. package/entities/PullRequestQuery/action.json +24 -0
  188. package/entities/PullRequestQuery/schema.json +19 -0
  189. package/entities/PullRequestReviewers/action.json +166 -0
  190. package/entities/PullRequestReviewers/mockdatafiles/pullRequestReviewersCreatePullRequestReviewers-default.json +10 -0
  191. package/entities/PullRequestReviewers/mockdatafiles/pullRequestReviewersList-default.json +10 -0
  192. package/entities/PullRequestReviewers/schema.json +26 -0
  193. package/entities/PullRequestShare/action.json +24 -0
  194. package/entities/PullRequestShare/schema.json +19 -0
  195. package/entities/PullRequestStatuses/action.json +106 -0
  196. package/entities/PullRequestStatuses/mockdatafiles/pullRequestStatusesList-default.json +48 -0
  197. package/entities/PullRequestStatuses/schema.json +23 -0
  198. package/entities/PullRequestThreadComments/action.json +106 -0
  199. package/entities/PullRequestThreadComments/mockdatafiles/pullRequestThreadCommentsList-default.json +215 -0
  200. package/entities/PullRequestThreadComments/schema.json +23 -0
  201. package/entities/PullRequestThreads/action.json +86 -0
  202. package/entities/PullRequestThreads/mockdatafiles/pullRequestThreadsList-default.json +395 -0
  203. package/entities/PullRequestThreads/schema.json +22 -0
  204. package/entities/PullRequestWorkItems/action.json +25 -0
  205. package/entities/PullRequestWorkItems/mockdatafiles/pullRequestWorkItemsList-default.json +18 -0
  206. package/entities/PullRequestWorkItems/schema.json +19 -0
  207. package/entities/PullRequests/action.json +128 -0
  208. package/entities/PullRequests/mockdatafiles/pullRequestsGetPullRequests-default.json +6555 -0
  209. package/entities/PullRequests/mockdatafiles/pullRequestsGetPullRequestsByProject-default.json +5929 -0
  210. package/entities/PullRequests/schema.json +24 -0
  211. package/entities/Pushes/action.json +66 -0
  212. package/entities/Pushes/mockdatafiles/pushesList-default.json +34 -0
  213. package/entities/Pushes/schema.json +21 -0
  214. package/entities/Refs/action.json +65 -0
  215. package/entities/Refs/mockdatafiles/refsList-default.json +500 -0
  216. package/entities/Refs/mockdatafiles/refsUpdateRefs-default.json +13 -0
  217. package/entities/Refs/schema.json +21 -0
  218. package/entities/RefsFavorites/action.json +86 -0
  219. package/entities/RefsFavorites/mockdatafiles/refsFavoritesList-default.json +35 -0
  220. package/entities/RefsFavorites/schema.json +22 -0
  221. package/entities/Repositories/action.json +188 -0
  222. package/entities/Repositories/mockdatafiles/repositoriesGetDeletedRepositories-default.json +54 -0
  223. package/entities/Repositories/mockdatafiles/repositoriesGetRecycleBinRepositories-default.json +28 -0
  224. package/entities/Repositories/mockdatafiles/repositoriesList-default.json +123 -0
  225. package/entities/Repositories/schema.json +27 -0
  226. package/entities/Reverts/action.json +66 -0
  227. package/entities/Reverts/schema.json +21 -0
  228. package/entities/Stats/action.json +25 -0
  229. package/entities/Stats/mockdatafiles/statsList-default.json +195 -0
  230. package/entities/Stats/schema.json +19 -0
  231. package/entities/Statuses/action.json +45 -0
  232. package/entities/Statuses/mockdatafiles/statusesList-default.json +94 -0
  233. package/entities/Statuses/schema.json +20 -0
  234. package/entities/Suggestions/action.json +25 -0
  235. package/entities/Suggestions/mockdatafiles/suggestionsList-default.json +14 -0
  236. package/entities/Suggestions/schema.json +19 -0
  237. package/entities/Trees/action.json +25 -0
  238. package/entities/Trees/schema.json +19 -0
  239. package/error.json +6 -0
  240. package/package.json +5 -3
  241. package/previousVersion.zip +0 -0
  242. package/pronghorn.json +49635 -378
  243. package/propertiesDecorators.json +14 -0
  244. package/propertiesSchema.json +421 -0
  245. package/refs?service=git-upload-pack +0 -0
  246. package/report/adapterInfo.json +10 -0
  247. package/report/updateReport1653439219306.json +120 -0
  248. package/sampleProperties.json +90 -1
  249. package/test/integration/adapterTestBasicGet.js +1 -1
  250. package/test/integration/adapterTestIntegration.js +4869 -105
  251. package/test/unit/adapterBaseTestUnit.js +30 -25
  252. package/test/unit/adapterTestUnit.js +11057 -159
  253. package/utils/adapterInfo.js +206 -0
  254. package/utils/entitiesToDB.js +12 -57
  255. package/utils/patches2bundledDeps.js +90 -0
  256. package/utils/pre-commit.sh +3 -0
  257. package/utils/tbScript.js +35 -20
  258. package/utils/tbUtils.js +59 -35
  259. package/utils/testRunner.js +16 -16
  260. package/versions.json +135 -0
@@ -0,0 +1,395 @@
1
+ [
2
+ {
3
+ "_links": {
4
+ "links": {}
5
+ },
6
+ "comments": [
7
+ {
8
+ "_links": {
9
+ "links": {}
10
+ },
11
+ "author": {
12
+ "_links": {
13
+ "links": {}
14
+ },
15
+ "descriptor": "string",
16
+ "displayName": "string",
17
+ "url": "string"
18
+ },
19
+ "commentType": "codeChange",
20
+ "content": "string",
21
+ "id": 1,
22
+ "isDeleted": true,
23
+ "lastContentUpdatedDate": "string",
24
+ "lastUpdatedDate": "string",
25
+ "parentCommentId": 3,
26
+ "publishedDate": "string",
27
+ "usersLiked": [
28
+ {
29
+ "_links": {
30
+ "links": {}
31
+ },
32
+ "descriptor": "string",
33
+ "displayName": "string",
34
+ "url": "string"
35
+ },
36
+ {
37
+ "_links": {
38
+ "links": {}
39
+ },
40
+ "descriptor": "string",
41
+ "displayName": "string",
42
+ "url": "string"
43
+ },
44
+ {
45
+ "_links": {
46
+ "links": {}
47
+ },
48
+ "descriptor": "string",
49
+ "displayName": "string",
50
+ "url": "string"
51
+ },
52
+ {
53
+ "_links": {
54
+ "links": {}
55
+ },
56
+ "descriptor": "string",
57
+ "displayName": "string",
58
+ "url": "string"
59
+ },
60
+ {
61
+ "_links": {
62
+ "links": {}
63
+ },
64
+ "descriptor": "string",
65
+ "displayName": "string",
66
+ "url": "string"
67
+ },
68
+ {
69
+ "_links": {
70
+ "links": {}
71
+ },
72
+ "descriptor": "string",
73
+ "displayName": "string",
74
+ "url": "string"
75
+ }
76
+ ]
77
+ },
78
+ {
79
+ "_links": {
80
+ "links": {}
81
+ },
82
+ "author": {
83
+ "_links": {
84
+ "links": {}
85
+ },
86
+ "descriptor": "string",
87
+ "displayName": "string",
88
+ "url": "string"
89
+ },
90
+ "commentType": "codeChange",
91
+ "content": "string",
92
+ "id": 7,
93
+ "isDeleted": false,
94
+ "lastContentUpdatedDate": "string",
95
+ "lastUpdatedDate": "string",
96
+ "parentCommentId": 1,
97
+ "publishedDate": "string",
98
+ "usersLiked": [
99
+ {
100
+ "_links": {
101
+ "links": {}
102
+ },
103
+ "descriptor": "string",
104
+ "displayName": "string",
105
+ "url": "string"
106
+ },
107
+ {
108
+ "_links": {
109
+ "links": {}
110
+ },
111
+ "descriptor": "string",
112
+ "displayName": "string",
113
+ "url": "string"
114
+ },
115
+ {
116
+ "_links": {
117
+ "links": {}
118
+ },
119
+ "descriptor": "string",
120
+ "displayName": "string",
121
+ "url": "string"
122
+ },
123
+ {
124
+ "_links": {
125
+ "links": {}
126
+ },
127
+ "descriptor": "string",
128
+ "displayName": "string",
129
+ "url": "string"
130
+ },
131
+ {
132
+ "_links": {
133
+ "links": {}
134
+ },
135
+ "descriptor": "string",
136
+ "displayName": "string",
137
+ "url": "string"
138
+ },
139
+ {
140
+ "_links": {
141
+ "links": {}
142
+ },
143
+ "descriptor": "string",
144
+ "displayName": "string",
145
+ "url": "string"
146
+ },
147
+ {
148
+ "_links": {
149
+ "links": {}
150
+ },
151
+ "descriptor": "string",
152
+ "displayName": "string",
153
+ "url": "string"
154
+ }
155
+ ]
156
+ },
157
+ {
158
+ "_links": {
159
+ "links": {}
160
+ },
161
+ "author": {
162
+ "_links": {
163
+ "links": {}
164
+ },
165
+ "descriptor": "string",
166
+ "displayName": "string",
167
+ "url": "string"
168
+ },
169
+ "commentType": "text",
170
+ "content": "string",
171
+ "id": 3,
172
+ "isDeleted": false,
173
+ "lastContentUpdatedDate": "string",
174
+ "lastUpdatedDate": "string",
175
+ "parentCommentId": 5,
176
+ "publishedDate": "string",
177
+ "usersLiked": [
178
+ {
179
+ "_links": {
180
+ "links": {}
181
+ },
182
+ "descriptor": "string",
183
+ "displayName": "string",
184
+ "url": "string"
185
+ }
186
+ ]
187
+ },
188
+ {
189
+ "_links": {
190
+ "links": {}
191
+ },
192
+ "author": {
193
+ "_links": {
194
+ "links": {}
195
+ },
196
+ "descriptor": "string",
197
+ "displayName": "string",
198
+ "url": "string"
199
+ },
200
+ "commentType": "unknown",
201
+ "content": "string",
202
+ "id": 4,
203
+ "isDeleted": false,
204
+ "lastContentUpdatedDate": "string",
205
+ "lastUpdatedDate": "string",
206
+ "parentCommentId": 1,
207
+ "publishedDate": "string",
208
+ "usersLiked": [
209
+ {
210
+ "_links": {
211
+ "links": {}
212
+ },
213
+ "descriptor": "string",
214
+ "displayName": "string",
215
+ "url": "string"
216
+ },
217
+ {
218
+ "_links": {
219
+ "links": {}
220
+ },
221
+ "descriptor": "string",
222
+ "displayName": "string",
223
+ "url": "string"
224
+ },
225
+ {
226
+ "_links": {
227
+ "links": {}
228
+ },
229
+ "descriptor": "string",
230
+ "displayName": "string",
231
+ "url": "string"
232
+ },
233
+ {
234
+ "_links": {
235
+ "links": {}
236
+ },
237
+ "descriptor": "string",
238
+ "displayName": "string",
239
+ "url": "string"
240
+ },
241
+ {
242
+ "_links": {
243
+ "links": {}
244
+ },
245
+ "descriptor": "string",
246
+ "displayName": "string",
247
+ "url": "string"
248
+ }
249
+ ]
250
+ },
251
+ {
252
+ "_links": {
253
+ "links": {}
254
+ },
255
+ "author": {
256
+ "_links": {
257
+ "links": {}
258
+ },
259
+ "descriptor": "string",
260
+ "displayName": "string",
261
+ "url": "string"
262
+ },
263
+ "commentType": "system",
264
+ "content": "string",
265
+ "id": 7,
266
+ "isDeleted": false,
267
+ "lastContentUpdatedDate": "string",
268
+ "lastUpdatedDate": "string",
269
+ "parentCommentId": 3,
270
+ "publishedDate": "string",
271
+ "usersLiked": [
272
+ {
273
+ "_links": {
274
+ "links": {}
275
+ },
276
+ "descriptor": "string",
277
+ "displayName": "string",
278
+ "url": "string"
279
+ },
280
+ {
281
+ "_links": {
282
+ "links": {}
283
+ },
284
+ "descriptor": "string",
285
+ "displayName": "string",
286
+ "url": "string"
287
+ }
288
+ ]
289
+ },
290
+ {
291
+ "_links": {
292
+ "links": {}
293
+ },
294
+ "author": {
295
+ "_links": {
296
+ "links": {}
297
+ },
298
+ "descriptor": "string",
299
+ "displayName": "string",
300
+ "url": "string"
301
+ },
302
+ "commentType": "codeChange",
303
+ "content": "string",
304
+ "id": 2,
305
+ "isDeleted": false,
306
+ "lastContentUpdatedDate": "string",
307
+ "lastUpdatedDate": "string",
308
+ "parentCommentId": 3,
309
+ "publishedDate": "string",
310
+ "usersLiked": [
311
+ {
312
+ "_links": {
313
+ "links": {}
314
+ },
315
+ "descriptor": "string",
316
+ "displayName": "string",
317
+ "url": "string"
318
+ }
319
+ ]
320
+ },
321
+ {
322
+ "_links": {
323
+ "links": {}
324
+ },
325
+ "author": {
326
+ "_links": {
327
+ "links": {}
328
+ },
329
+ "descriptor": "string",
330
+ "displayName": "string",
331
+ "url": "string"
332
+ },
333
+ "commentType": "text",
334
+ "content": "string",
335
+ "id": 8,
336
+ "isDeleted": true,
337
+ "lastContentUpdatedDate": "string",
338
+ "lastUpdatedDate": "string",
339
+ "parentCommentId": 7,
340
+ "publishedDate": "string",
341
+ "usersLiked": [
342
+ {
343
+ "_links": {
344
+ "links": {}
345
+ },
346
+ "descriptor": "string",
347
+ "displayName": "string",
348
+ "url": "string"
349
+ }
350
+ ]
351
+ }
352
+ ],
353
+ "id": 4,
354
+ "identities": {},
355
+ "isDeleted": false,
356
+ "lastUpdatedDate": "string",
357
+ "properties": {
358
+ "count": 5,
359
+ "item": {},
360
+ "keys": [
361
+ "string",
362
+ "string",
363
+ "string",
364
+ "string",
365
+ "string"
366
+ ],
367
+ "values": [
368
+ "string",
369
+ "string",
370
+ "string"
371
+ ]
372
+ },
373
+ "publishedDate": "string",
374
+ "status": "closed",
375
+ "threadContext": {
376
+ "filePath": "string",
377
+ "leftFileEnd": {
378
+ "line": 4,
379
+ "offset": 6
380
+ },
381
+ "leftFileStart": {
382
+ "line": 7,
383
+ "offset": 1
384
+ },
385
+ "rightFileEnd": {
386
+ "line": 9,
387
+ "offset": 8
388
+ },
389
+ "rightFileStart": {
390
+ "line": 9,
391
+ "offset": 9
392
+ }
393
+ }
394
+ }
395
+ ]
@@ -0,0 +1,22 @@
1
+ {
2
+ "$id": "schema.json",
3
+ "type": "object",
4
+ "schema": "http://json-schema.org/draft-07/schema#",
5
+ "translate": false,
6
+ "dynamicfields": true,
7
+ "properties": {
8
+ "ph_request_type": {
9
+ "type": "string",
10
+ "description": "type of request (internal to adapter)",
11
+ "default": "",
12
+ "enum": [
13
+ "pullRequestThreadsCreate",
14
+ "pullRequestThreadsList",
15
+ "pullRequestThreadsGet",
16
+ "pullRequestThreadsUpdate"
17
+ ],
18
+ "external_name": "ph_request_type"
19
+ }
20
+ },
21
+ "definitions": {}
22
+ }
@@ -0,0 +1,25 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "pullRequestWorkItemsList",
5
+ "protocol": "REST",
6
+ "method": "GET",
7
+ "entitypath": "{base_path}/{version}/{pathv1}/{pathv2}/_apis/git/repositories/{pathv3}/pullRequests/{pathv4}/workitems?{query}",
8
+ "requestSchema": "schema.json",
9
+ "responseSchema": "schema.json",
10
+ "timeout": 0,
11
+ "sendEmpty": false,
12
+ "sendGetBody": false,
13
+ "requestDatatype": "JSON",
14
+ "responseDatatype": "JSON",
15
+ "headers": {},
16
+ "responseObjects": [
17
+ {
18
+ "type": "default",
19
+ "key": "",
20
+ "mockFile": "mockdatafiles/pullRequestWorkItemsList-default.json"
21
+ }
22
+ ]
23
+ }
24
+ ]
25
+ }
@@ -0,0 +1,18 @@
1
+ [
2
+ {
3
+ "id": "string",
4
+ "url": "string"
5
+ },
6
+ {
7
+ "id": "string",
8
+ "url": "string"
9
+ },
10
+ {
11
+ "id": "string",
12
+ "url": "string"
13
+ },
14
+ {
15
+ "id": "string",
16
+ "url": "string"
17
+ }
18
+ ]
@@ -0,0 +1,19 @@
1
+ {
2
+ "$id": "schema.json",
3
+ "type": "object",
4
+ "schema": "http://json-schema.org/draft-07/schema#",
5
+ "translate": false,
6
+ "dynamicfields": true,
7
+ "properties": {
8
+ "ph_request_type": {
9
+ "type": "string",
10
+ "description": "type of request (internal to adapter)",
11
+ "default": "",
12
+ "enum": [
13
+ "pullRequestWorkItemsList"
14
+ ],
15
+ "external_name": "ph_request_type"
16
+ }
17
+ },
18
+ "definitions": {}
19
+ }
@@ -0,0 +1,128 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "pullRequestsGetPullRequestsByProject",
5
+ "protocol": "REST",
6
+ "method": "GET",
7
+ "entitypath": "{base_path}/{version}/{pathv1}/{pathv2}/_apis/git/pullrequests?{query}",
8
+ "requestSchema": "schema.json",
9
+ "responseSchema": "schema.json",
10
+ "timeout": 0,
11
+ "sendEmpty": false,
12
+ "sendGetBody": false,
13
+ "requestDatatype": "JSON",
14
+ "responseDatatype": "JSON",
15
+ "headers": {},
16
+ "responseObjects": [
17
+ {
18
+ "type": "default",
19
+ "key": "",
20
+ "mockFile": "mockdatafiles/pullRequestsGetPullRequestsByProject-default.json"
21
+ }
22
+ ]
23
+ },
24
+ {
25
+ "name": "pullRequestsGetPullRequestById",
26
+ "protocol": "REST",
27
+ "method": "GET",
28
+ "entitypath": "{base_path}/{version}/{pathv1}/{pathv2}/_apis/git/pullrequests/{pathv3}?{query}",
29
+ "requestSchema": "schema.json",
30
+ "responseSchema": "schema.json",
31
+ "timeout": 0,
32
+ "sendEmpty": false,
33
+ "sendGetBody": false,
34
+ "requestDatatype": "JSON",
35
+ "responseDatatype": "JSON",
36
+ "headers": {},
37
+ "responseObjects": [
38
+ {
39
+ "type": "default",
40
+ "key": "",
41
+ "mockFile": ""
42
+ }
43
+ ]
44
+ },
45
+ {
46
+ "name": "pullRequestsCreate",
47
+ "protocol": "REST",
48
+ "method": "POST",
49
+ "entitypath": "{base_path}/{version}/{pathv1}/{pathv2}/_apis/git/repositories/{pathv3}/pullrequests?{query}",
50
+ "requestSchema": "schema.json",
51
+ "responseSchema": "schema.json",
52
+ "timeout": 0,
53
+ "sendEmpty": false,
54
+ "requestDatatype": "JSON",
55
+ "responseDatatype": "JSON",
56
+ "headers": {},
57
+ "responseObjects": [
58
+ {
59
+ "type": "default",
60
+ "key": "",
61
+ "mockFile": ""
62
+ }
63
+ ]
64
+ },
65
+ {
66
+ "name": "pullRequestsGetPullRequests",
67
+ "protocol": "REST",
68
+ "method": "GET",
69
+ "entitypath": "{base_path}/{version}/{pathv1}/{pathv2}/_apis/git/repositories/{pathv3}/pullrequests?{query}",
70
+ "requestSchema": "schema.json",
71
+ "responseSchema": "schema.json",
72
+ "timeout": 0,
73
+ "sendEmpty": false,
74
+ "sendGetBody": false,
75
+ "requestDatatype": "JSON",
76
+ "responseDatatype": "JSON",
77
+ "headers": {},
78
+ "responseObjects": [
79
+ {
80
+ "type": "default",
81
+ "key": "",
82
+ "mockFile": "mockdatafiles/pullRequestsGetPullRequests-default.json"
83
+ }
84
+ ]
85
+ },
86
+ {
87
+ "name": "pullRequestsGetPullRequest",
88
+ "protocol": "REST",
89
+ "method": "GET",
90
+ "entitypath": "{base_path}/{version}/{pathv1}/{pathv2}/_apis/git/repositories/{pathv3}/pullrequests/{pathv4}?{query}",
91
+ "requestSchema": "schema.json",
92
+ "responseSchema": "schema.json",
93
+ "timeout": 0,
94
+ "sendEmpty": false,
95
+ "sendGetBody": false,
96
+ "requestDatatype": "JSON",
97
+ "responseDatatype": "JSON",
98
+ "headers": {},
99
+ "responseObjects": [
100
+ {
101
+ "type": "default",
102
+ "key": "",
103
+ "mockFile": ""
104
+ }
105
+ ]
106
+ },
107
+ {
108
+ "name": "pullRequestsUpdate",
109
+ "protocol": "REST",
110
+ "method": "PATCH",
111
+ "entitypath": "{base_path}/{version}/{pathv1}/{pathv2}/_apis/git/repositories/{pathv3}/pullrequests/{pathv4}?{query}",
112
+ "requestSchema": "schema.json",
113
+ "responseSchema": "schema.json",
114
+ "timeout": 0,
115
+ "sendEmpty": false,
116
+ "requestDatatype": "JSON",
117
+ "responseDatatype": "JSON",
118
+ "headers": {},
119
+ "responseObjects": [
120
+ {
121
+ "type": "default",
122
+ "key": "",
123
+ "mockFile": ""
124
+ }
125
+ ]
126
+ }
127
+ ]
128
+ }