@itentialopensource/adapter-azure_devops 0.1.1 → 0.1.2

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 +9 -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,500 @@
1
+ [
2
+ {
3
+ "_links": {
4
+ "links": {}
5
+ },
6
+ "creator": {
7
+ "_links": {
8
+ "links": {}
9
+ },
10
+ "descriptor": "string",
11
+ "displayName": "string",
12
+ "url": "string"
13
+ },
14
+ "isLocked": true,
15
+ "isLockedBy": {
16
+ "_links": {
17
+ "links": {}
18
+ },
19
+ "descriptor": "string",
20
+ "displayName": "string",
21
+ "url": "string"
22
+ },
23
+ "name": "string",
24
+ "objectId": "string",
25
+ "peeledObjectId": "string",
26
+ "statuses": [
27
+ {
28
+ "_links": {
29
+ "links": {}
30
+ },
31
+ "context": {
32
+ "genre": "string",
33
+ "name": "string"
34
+ },
35
+ "createdBy": {
36
+ "_links": {
37
+ "links": {}
38
+ },
39
+ "descriptor": "string",
40
+ "displayName": "string",
41
+ "url": "string"
42
+ },
43
+ "creationDate": "string",
44
+ "description": "string",
45
+ "id": 4,
46
+ "state": "succeeded",
47
+ "targetUrl": "string",
48
+ "updatedDate": "string"
49
+ },
50
+ {
51
+ "_links": {
52
+ "links": {}
53
+ },
54
+ "context": {
55
+ "genre": "string",
56
+ "name": "string"
57
+ },
58
+ "createdBy": {
59
+ "_links": {
60
+ "links": {}
61
+ },
62
+ "descriptor": "string",
63
+ "displayName": "string",
64
+ "url": "string"
65
+ },
66
+ "creationDate": "string",
67
+ "description": "string",
68
+ "id": 4,
69
+ "state": "pending",
70
+ "targetUrl": "string",
71
+ "updatedDate": "string"
72
+ },
73
+ {
74
+ "_links": {
75
+ "links": {}
76
+ },
77
+ "context": {
78
+ "genre": "string",
79
+ "name": "string"
80
+ },
81
+ "createdBy": {
82
+ "_links": {
83
+ "links": {}
84
+ },
85
+ "descriptor": "string",
86
+ "displayName": "string",
87
+ "url": "string"
88
+ },
89
+ "creationDate": "string",
90
+ "description": "string",
91
+ "id": 3,
92
+ "state": "pending",
93
+ "targetUrl": "string",
94
+ "updatedDate": "string"
95
+ }
96
+ ],
97
+ "url": "string"
98
+ },
99
+ {
100
+ "_links": {
101
+ "links": {}
102
+ },
103
+ "creator": {
104
+ "_links": {
105
+ "links": {}
106
+ },
107
+ "descriptor": "string",
108
+ "displayName": "string",
109
+ "url": "string"
110
+ },
111
+ "isLocked": true,
112
+ "isLockedBy": {
113
+ "_links": {
114
+ "links": {}
115
+ },
116
+ "descriptor": "string",
117
+ "displayName": "string",
118
+ "url": "string"
119
+ },
120
+ "name": "string",
121
+ "objectId": "string",
122
+ "peeledObjectId": "string",
123
+ "statuses": [
124
+ {
125
+ "_links": {
126
+ "links": {}
127
+ },
128
+ "context": {
129
+ "genre": "string",
130
+ "name": "string"
131
+ },
132
+ "createdBy": {
133
+ "_links": {
134
+ "links": {}
135
+ },
136
+ "descriptor": "string",
137
+ "displayName": "string",
138
+ "url": "string"
139
+ },
140
+ "creationDate": "string",
141
+ "description": "string",
142
+ "id": 9,
143
+ "state": "failed",
144
+ "targetUrl": "string",
145
+ "updatedDate": "string"
146
+ },
147
+ {
148
+ "_links": {
149
+ "links": {}
150
+ },
151
+ "context": {
152
+ "genre": "string",
153
+ "name": "string"
154
+ },
155
+ "createdBy": {
156
+ "_links": {
157
+ "links": {}
158
+ },
159
+ "descriptor": "string",
160
+ "displayName": "string",
161
+ "url": "string"
162
+ },
163
+ "creationDate": "string",
164
+ "description": "string",
165
+ "id": 5,
166
+ "state": "pending",
167
+ "targetUrl": "string",
168
+ "updatedDate": "string"
169
+ },
170
+ {
171
+ "_links": {
172
+ "links": {}
173
+ },
174
+ "context": {
175
+ "genre": "string",
176
+ "name": "string"
177
+ },
178
+ "createdBy": {
179
+ "_links": {
180
+ "links": {}
181
+ },
182
+ "descriptor": "string",
183
+ "displayName": "string",
184
+ "url": "string"
185
+ },
186
+ "creationDate": "string",
187
+ "description": "string",
188
+ "id": 8,
189
+ "state": "error",
190
+ "targetUrl": "string",
191
+ "updatedDate": "string"
192
+ },
193
+ {
194
+ "_links": {
195
+ "links": {}
196
+ },
197
+ "context": {
198
+ "genre": "string",
199
+ "name": "string"
200
+ },
201
+ "createdBy": {
202
+ "_links": {
203
+ "links": {}
204
+ },
205
+ "descriptor": "string",
206
+ "displayName": "string",
207
+ "url": "string"
208
+ },
209
+ "creationDate": "string",
210
+ "description": "string",
211
+ "id": 10,
212
+ "state": "succeeded",
213
+ "targetUrl": "string",
214
+ "updatedDate": "string"
215
+ },
216
+ {
217
+ "_links": {
218
+ "links": {}
219
+ },
220
+ "context": {
221
+ "genre": "string",
222
+ "name": "string"
223
+ },
224
+ "createdBy": {
225
+ "_links": {
226
+ "links": {}
227
+ },
228
+ "descriptor": "string",
229
+ "displayName": "string",
230
+ "url": "string"
231
+ },
232
+ "creationDate": "string",
233
+ "description": "string",
234
+ "id": 8,
235
+ "state": "notApplicable",
236
+ "targetUrl": "string",
237
+ "updatedDate": "string"
238
+ },
239
+ {
240
+ "_links": {
241
+ "links": {}
242
+ },
243
+ "context": {
244
+ "genre": "string",
245
+ "name": "string"
246
+ },
247
+ "createdBy": {
248
+ "_links": {
249
+ "links": {}
250
+ },
251
+ "descriptor": "string",
252
+ "displayName": "string",
253
+ "url": "string"
254
+ },
255
+ "creationDate": "string",
256
+ "description": "string",
257
+ "id": 1,
258
+ "state": "error",
259
+ "targetUrl": "string",
260
+ "updatedDate": "string"
261
+ }
262
+ ],
263
+ "url": "string"
264
+ },
265
+ {
266
+ "_links": {
267
+ "links": {}
268
+ },
269
+ "creator": {
270
+ "_links": {
271
+ "links": {}
272
+ },
273
+ "descriptor": "string",
274
+ "displayName": "string",
275
+ "url": "string"
276
+ },
277
+ "isLocked": false,
278
+ "isLockedBy": {
279
+ "_links": {
280
+ "links": {}
281
+ },
282
+ "descriptor": "string",
283
+ "displayName": "string",
284
+ "url": "string"
285
+ },
286
+ "name": "string",
287
+ "objectId": "string",
288
+ "peeledObjectId": "string",
289
+ "statuses": [
290
+ {
291
+ "_links": {
292
+ "links": {}
293
+ },
294
+ "context": {
295
+ "genre": "string",
296
+ "name": "string"
297
+ },
298
+ "createdBy": {
299
+ "_links": {
300
+ "links": {}
301
+ },
302
+ "descriptor": "string",
303
+ "displayName": "string",
304
+ "url": "string"
305
+ },
306
+ "creationDate": "string",
307
+ "description": "string",
308
+ "id": 7,
309
+ "state": "error",
310
+ "targetUrl": "string",
311
+ "updatedDate": "string"
312
+ },
313
+ {
314
+ "_links": {
315
+ "links": {}
316
+ },
317
+ "context": {
318
+ "genre": "string",
319
+ "name": "string"
320
+ },
321
+ "createdBy": {
322
+ "_links": {
323
+ "links": {}
324
+ },
325
+ "descriptor": "string",
326
+ "displayName": "string",
327
+ "url": "string"
328
+ },
329
+ "creationDate": "string",
330
+ "description": "string",
331
+ "id": 7,
332
+ "state": "failed",
333
+ "targetUrl": "string",
334
+ "updatedDate": "string"
335
+ },
336
+ {
337
+ "_links": {
338
+ "links": {}
339
+ },
340
+ "context": {
341
+ "genre": "string",
342
+ "name": "string"
343
+ },
344
+ "createdBy": {
345
+ "_links": {
346
+ "links": {}
347
+ },
348
+ "descriptor": "string",
349
+ "displayName": "string",
350
+ "url": "string"
351
+ },
352
+ "creationDate": "string",
353
+ "description": "string",
354
+ "id": 8,
355
+ "state": "failed",
356
+ "targetUrl": "string",
357
+ "updatedDate": "string"
358
+ },
359
+ {
360
+ "_links": {
361
+ "links": {}
362
+ },
363
+ "context": {
364
+ "genre": "string",
365
+ "name": "string"
366
+ },
367
+ "createdBy": {
368
+ "_links": {
369
+ "links": {}
370
+ },
371
+ "descriptor": "string",
372
+ "displayName": "string",
373
+ "url": "string"
374
+ },
375
+ "creationDate": "string",
376
+ "description": "string",
377
+ "id": 1,
378
+ "state": "succeeded",
379
+ "targetUrl": "string",
380
+ "updatedDate": "string"
381
+ },
382
+ {
383
+ "_links": {
384
+ "links": {}
385
+ },
386
+ "context": {
387
+ "genre": "string",
388
+ "name": "string"
389
+ },
390
+ "createdBy": {
391
+ "_links": {
392
+ "links": {}
393
+ },
394
+ "descriptor": "string",
395
+ "displayName": "string",
396
+ "url": "string"
397
+ },
398
+ "creationDate": "string",
399
+ "description": "string",
400
+ "id": 5,
401
+ "state": "succeeded",
402
+ "targetUrl": "string",
403
+ "updatedDate": "string"
404
+ },
405
+ {
406
+ "_links": {
407
+ "links": {}
408
+ },
409
+ "context": {
410
+ "genre": "string",
411
+ "name": "string"
412
+ },
413
+ "createdBy": {
414
+ "_links": {
415
+ "links": {}
416
+ },
417
+ "descriptor": "string",
418
+ "displayName": "string",
419
+ "url": "string"
420
+ },
421
+ "creationDate": "string",
422
+ "description": "string",
423
+ "id": 7,
424
+ "state": "succeeded",
425
+ "targetUrl": "string",
426
+ "updatedDate": "string"
427
+ },
428
+ {
429
+ "_links": {
430
+ "links": {}
431
+ },
432
+ "context": {
433
+ "genre": "string",
434
+ "name": "string"
435
+ },
436
+ "createdBy": {
437
+ "_links": {
438
+ "links": {}
439
+ },
440
+ "descriptor": "string",
441
+ "displayName": "string",
442
+ "url": "string"
443
+ },
444
+ "creationDate": "string",
445
+ "description": "string",
446
+ "id": 10,
447
+ "state": "succeeded",
448
+ "targetUrl": "string",
449
+ "updatedDate": "string"
450
+ },
451
+ {
452
+ "_links": {
453
+ "links": {}
454
+ },
455
+ "context": {
456
+ "genre": "string",
457
+ "name": "string"
458
+ },
459
+ "createdBy": {
460
+ "_links": {
461
+ "links": {}
462
+ },
463
+ "descriptor": "string",
464
+ "displayName": "string",
465
+ "url": "string"
466
+ },
467
+ "creationDate": "string",
468
+ "description": "string",
469
+ "id": 7,
470
+ "state": "notSet",
471
+ "targetUrl": "string",
472
+ "updatedDate": "string"
473
+ },
474
+ {
475
+ "_links": {
476
+ "links": {}
477
+ },
478
+ "context": {
479
+ "genre": "string",
480
+ "name": "string"
481
+ },
482
+ "createdBy": {
483
+ "_links": {
484
+ "links": {}
485
+ },
486
+ "descriptor": "string",
487
+ "displayName": "string",
488
+ "url": "string"
489
+ },
490
+ "creationDate": "string",
491
+ "description": "string",
492
+ "id": 1,
493
+ "state": "pending",
494
+ "targetUrl": "string",
495
+ "updatedDate": "string"
496
+ }
497
+ ],
498
+ "url": "string"
499
+ }
500
+ ]
@@ -0,0 +1,13 @@
1
+ [
2
+ {
3
+ "customMessage": "string",
4
+ "isLocked": false,
5
+ "name": "string",
6
+ "newObjectId": "string",
7
+ "oldObjectId": "string",
8
+ "rejectedBy": "string",
9
+ "repositoryId": "string",
10
+ "success": false,
11
+ "updateStatus": "succeededCorruptRef"
12
+ }
13
+ ]
@@ -0,0 +1,21 @@
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
+ "refsList",
14
+ "refsUpdateRef",
15
+ "refsUpdateRefs"
16
+ ],
17
+ "external_name": "ph_request_type"
18
+ }
19
+ },
20
+ "definitions": {}
21
+ }
@@ -0,0 +1,86 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "refsFavoritesCreate",
5
+ "protocol": "REST",
6
+ "method": "POST",
7
+ "entitypath": "{base_path}/{version}/{pathv1}/{pathv2}/_apis/git/favorites/refs?{query}",
8
+ "requestSchema": "schema.json",
9
+ "responseSchema": "schema.json",
10
+ "timeout": 0,
11
+ "sendEmpty": false,
12
+ "requestDatatype": "JSON",
13
+ "responseDatatype": "JSON",
14
+ "headers": {},
15
+ "responseObjects": [
16
+ {
17
+ "type": "default",
18
+ "key": "",
19
+ "mockFile": ""
20
+ }
21
+ ]
22
+ },
23
+ {
24
+ "name": "refsFavoritesList",
25
+ "protocol": "REST",
26
+ "method": "GET",
27
+ "entitypath": "{base_path}/{version}/{pathv1}/{pathv2}/_apis/git/favorites/refs?{query}",
28
+ "requestSchema": "schema.json",
29
+ "responseSchema": "schema.json",
30
+ "timeout": 0,
31
+ "sendEmpty": false,
32
+ "sendGetBody": false,
33
+ "requestDatatype": "JSON",
34
+ "responseDatatype": "JSON",
35
+ "headers": {},
36
+ "responseObjects": [
37
+ {
38
+ "type": "default",
39
+ "key": "",
40
+ "mockFile": "mockdatafiles/refsFavoritesList-default.json"
41
+ }
42
+ ]
43
+ },
44
+ {
45
+ "name": "refsFavoritesDelete",
46
+ "protocol": "REST",
47
+ "method": "DELETE",
48
+ "entitypath": "{base_path}/{version}/{pathv1}/{pathv2}/_apis/git/favorites/refs/{pathv3}?{query}",
49
+ "requestSchema": "schema.json",
50
+ "responseSchema": "schema.json",
51
+ "timeout": 0,
52
+ "sendEmpty": false,
53
+ "requestDatatype": "JSON",
54
+ "responseDatatype": "JSON",
55
+ "headers": {},
56
+ "responseObjects": [
57
+ {
58
+ "type": "default",
59
+ "key": "",
60
+ "mockFile": ""
61
+ }
62
+ ]
63
+ },
64
+ {
65
+ "name": "refsFavoritesGet",
66
+ "protocol": "REST",
67
+ "method": "GET",
68
+ "entitypath": "{base_path}/{version}/{pathv1}/{pathv2}/_apis/git/favorites/refs/{pathv3}?{query}",
69
+ "requestSchema": "schema.json",
70
+ "responseSchema": "schema.json",
71
+ "timeout": 0,
72
+ "sendEmpty": false,
73
+ "sendGetBody": false,
74
+ "requestDatatype": "JSON",
75
+ "responseDatatype": "JSON",
76
+ "headers": {},
77
+ "responseObjects": [
78
+ {
79
+ "type": "default",
80
+ "key": "",
81
+ "mockFile": ""
82
+ }
83
+ ]
84
+ }
85
+ ]
86
+ }
@@ -0,0 +1,35 @@
1
+ [
2
+ {
3
+ "_links": {
4
+ "links": {}
5
+ },
6
+ "id": 8,
7
+ "identityId": "string",
8
+ "name": "string",
9
+ "repositoryId": "string",
10
+ "type": "folder",
11
+ "url": "string"
12
+ },
13
+ {
14
+ "_links": {
15
+ "links": {}
16
+ },
17
+ "id": 3,
18
+ "identityId": "string",
19
+ "name": "string",
20
+ "repositoryId": "string",
21
+ "type": "invalid",
22
+ "url": "string"
23
+ },
24
+ {
25
+ "_links": {
26
+ "links": {}
27
+ },
28
+ "id": 3,
29
+ "identityId": "string",
30
+ "name": "string",
31
+ "repositoryId": "string",
32
+ "type": "invalid",
33
+ "url": "string"
34
+ }
35
+ ]
@@ -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
+ "refsFavoritesCreate",
14
+ "refsFavoritesList",
15
+ "refsFavoritesDelete",
16
+ "refsFavoritesGet"
17
+ ],
18
+ "external_name": "ph_request_type"
19
+ }
20
+ },
21
+ "definitions": {}
22
+ }