@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,580 @@
1
+ [
2
+ {
3
+ "_links": {
4
+ "links": {}
5
+ },
6
+ "author": {
7
+ "date": "string",
8
+ "email": "string",
9
+ "imageUrl": "string",
10
+ "name": "string"
11
+ },
12
+ "changeCounts": {},
13
+ "changes": [
14
+ {
15
+ "changeType": "none",
16
+ "item": "string",
17
+ "newContent": {
18
+ "content": "string",
19
+ "contentType": "base64Encoded"
20
+ },
21
+ "sourceServerItem": "string",
22
+ "url": "string"
23
+ },
24
+ {
25
+ "changeType": "lock",
26
+ "item": "string",
27
+ "newContent": {
28
+ "content": "string",
29
+ "contentType": "rawText"
30
+ },
31
+ "sourceServerItem": "string",
32
+ "url": "string"
33
+ },
34
+ {
35
+ "changeType": "undelete",
36
+ "item": "string",
37
+ "newContent": {
38
+ "content": "string",
39
+ "contentType": "rawText"
40
+ },
41
+ "sourceServerItem": "string",
42
+ "url": "string"
43
+ },
44
+ {
45
+ "changeType": "property",
46
+ "item": "string",
47
+ "newContent": {
48
+ "content": "string",
49
+ "contentType": "base64Encoded"
50
+ },
51
+ "sourceServerItem": "string",
52
+ "url": "string"
53
+ },
54
+ {
55
+ "changeType": "branch",
56
+ "item": "string",
57
+ "newContent": {
58
+ "content": "string",
59
+ "contentType": "base64Encoded"
60
+ },
61
+ "sourceServerItem": "string",
62
+ "url": "string"
63
+ },
64
+ {
65
+ "changeType": "branch",
66
+ "item": "string",
67
+ "newContent": {
68
+ "content": "string",
69
+ "contentType": "base64Encoded"
70
+ },
71
+ "sourceServerItem": "string",
72
+ "url": "string"
73
+ }
74
+ ],
75
+ "comment": "string",
76
+ "commentTruncated": false,
77
+ "commitId": "string",
78
+ "committer": {
79
+ "date": "string",
80
+ "email": "string",
81
+ "imageUrl": "string",
82
+ "name": "string"
83
+ },
84
+ "parents": [
85
+ "string",
86
+ "string",
87
+ "string",
88
+ "string",
89
+ "string",
90
+ "string",
91
+ "string",
92
+ "string",
93
+ "string"
94
+ ],
95
+ "push": {
96
+ "_links": {
97
+ "links": {}
98
+ },
99
+ "date": "string",
100
+ "pushedBy": {
101
+ "_links": {
102
+ "links": {}
103
+ },
104
+ "descriptor": "string",
105
+ "displayName": "string",
106
+ "url": "string"
107
+ },
108
+ "pushId": 2,
109
+ "url": "string"
110
+ },
111
+ "remoteUrl": "string",
112
+ "statuses": [
113
+ {
114
+ "_links": {
115
+ "links": {}
116
+ },
117
+ "context": {
118
+ "genre": "string",
119
+ "name": "string"
120
+ },
121
+ "createdBy": {
122
+ "_links": {
123
+ "links": {}
124
+ },
125
+ "descriptor": "string",
126
+ "displayName": "string",
127
+ "url": "string"
128
+ },
129
+ "creationDate": "string",
130
+ "description": "string",
131
+ "id": 1,
132
+ "state": "pending",
133
+ "targetUrl": "string",
134
+ "updatedDate": "string"
135
+ },
136
+ {
137
+ "_links": {
138
+ "links": {}
139
+ },
140
+ "context": {
141
+ "genre": "string",
142
+ "name": "string"
143
+ },
144
+ "createdBy": {
145
+ "_links": {
146
+ "links": {}
147
+ },
148
+ "descriptor": "string",
149
+ "displayName": "string",
150
+ "url": "string"
151
+ },
152
+ "creationDate": "string",
153
+ "description": "string",
154
+ "id": 6,
155
+ "state": "notApplicable",
156
+ "targetUrl": "string",
157
+ "updatedDate": "string"
158
+ },
159
+ {
160
+ "_links": {
161
+ "links": {}
162
+ },
163
+ "context": {
164
+ "genre": "string",
165
+ "name": "string"
166
+ },
167
+ "createdBy": {
168
+ "_links": {
169
+ "links": {}
170
+ },
171
+ "descriptor": "string",
172
+ "displayName": "string",
173
+ "url": "string"
174
+ },
175
+ "creationDate": "string",
176
+ "description": "string",
177
+ "id": 7,
178
+ "state": "pending",
179
+ "targetUrl": "string",
180
+ "updatedDate": "string"
181
+ },
182
+ {
183
+ "_links": {
184
+ "links": {}
185
+ },
186
+ "context": {
187
+ "genre": "string",
188
+ "name": "string"
189
+ },
190
+ "createdBy": {
191
+ "_links": {
192
+ "links": {}
193
+ },
194
+ "descriptor": "string",
195
+ "displayName": "string",
196
+ "url": "string"
197
+ },
198
+ "creationDate": "string",
199
+ "description": "string",
200
+ "id": 9,
201
+ "state": "error",
202
+ "targetUrl": "string",
203
+ "updatedDate": "string"
204
+ },
205
+ {
206
+ "_links": {
207
+ "links": {}
208
+ },
209
+ "context": {
210
+ "genre": "string",
211
+ "name": "string"
212
+ },
213
+ "createdBy": {
214
+ "_links": {
215
+ "links": {}
216
+ },
217
+ "descriptor": "string",
218
+ "displayName": "string",
219
+ "url": "string"
220
+ },
221
+ "creationDate": "string",
222
+ "description": "string",
223
+ "id": 8,
224
+ "state": "error",
225
+ "targetUrl": "string",
226
+ "updatedDate": "string"
227
+ },
228
+ {
229
+ "_links": {
230
+ "links": {}
231
+ },
232
+ "context": {
233
+ "genre": "string",
234
+ "name": "string"
235
+ },
236
+ "createdBy": {
237
+ "_links": {
238
+ "links": {}
239
+ },
240
+ "descriptor": "string",
241
+ "displayName": "string",
242
+ "url": "string"
243
+ },
244
+ "creationDate": "string",
245
+ "description": "string",
246
+ "id": 1,
247
+ "state": "error",
248
+ "targetUrl": "string",
249
+ "updatedDate": "string"
250
+ },
251
+ {
252
+ "_links": {
253
+ "links": {}
254
+ },
255
+ "context": {
256
+ "genre": "string",
257
+ "name": "string"
258
+ },
259
+ "createdBy": {
260
+ "_links": {
261
+ "links": {}
262
+ },
263
+ "descriptor": "string",
264
+ "displayName": "string",
265
+ "url": "string"
266
+ },
267
+ "creationDate": "string",
268
+ "description": "string",
269
+ "id": 6,
270
+ "state": "succeeded",
271
+ "targetUrl": "string",
272
+ "updatedDate": "string"
273
+ },
274
+ {
275
+ "_links": {
276
+ "links": {}
277
+ },
278
+ "context": {
279
+ "genre": "string",
280
+ "name": "string"
281
+ },
282
+ "createdBy": {
283
+ "_links": {
284
+ "links": {}
285
+ },
286
+ "descriptor": "string",
287
+ "displayName": "string",
288
+ "url": "string"
289
+ },
290
+ "creationDate": "string",
291
+ "description": "string",
292
+ "id": 4,
293
+ "state": "failed",
294
+ "targetUrl": "string",
295
+ "updatedDate": "string"
296
+ },
297
+ {
298
+ "_links": {
299
+ "links": {}
300
+ },
301
+ "context": {
302
+ "genre": "string",
303
+ "name": "string"
304
+ },
305
+ "createdBy": {
306
+ "_links": {
307
+ "links": {}
308
+ },
309
+ "descriptor": "string",
310
+ "displayName": "string",
311
+ "url": "string"
312
+ },
313
+ "creationDate": "string",
314
+ "description": "string",
315
+ "id": 7,
316
+ "state": "error",
317
+ "targetUrl": "string",
318
+ "updatedDate": "string"
319
+ }
320
+ ],
321
+ "url": "string",
322
+ "workItems": [
323
+ {
324
+ "id": "string",
325
+ "url": "string"
326
+ }
327
+ ]
328
+ },
329
+ {
330
+ "_links": {
331
+ "links": {}
332
+ },
333
+ "author": {
334
+ "date": "string",
335
+ "email": "string",
336
+ "imageUrl": "string",
337
+ "name": "string"
338
+ },
339
+ "changeCounts": {},
340
+ "changes": [
341
+ {
342
+ "changeType": "undelete",
343
+ "item": "string",
344
+ "newContent": {
345
+ "content": "string",
346
+ "contentType": "rawText"
347
+ },
348
+ "sourceServerItem": "string",
349
+ "url": "string"
350
+ },
351
+ {
352
+ "changeType": "sourceRename",
353
+ "item": "string",
354
+ "newContent": {
355
+ "content": "string",
356
+ "contentType": "base64Encoded"
357
+ },
358
+ "sourceServerItem": "string",
359
+ "url": "string"
360
+ },
361
+ {
362
+ "changeType": "sourceRename",
363
+ "item": "string",
364
+ "newContent": {
365
+ "content": "string",
366
+ "contentType": "rawText"
367
+ },
368
+ "sourceServerItem": "string",
369
+ "url": "string"
370
+ },
371
+ {
372
+ "changeType": "sourceRename",
373
+ "item": "string",
374
+ "newContent": {
375
+ "content": "string",
376
+ "contentType": "rawText"
377
+ },
378
+ "sourceServerItem": "string",
379
+ "url": "string"
380
+ },
381
+ {
382
+ "changeType": "encoding",
383
+ "item": "string",
384
+ "newContent": {
385
+ "content": "string",
386
+ "contentType": "base64Encoded"
387
+ },
388
+ "sourceServerItem": "string",
389
+ "url": "string"
390
+ },
391
+ {
392
+ "changeType": "rename",
393
+ "item": "string",
394
+ "newContent": {
395
+ "content": "string",
396
+ "contentType": "rawText"
397
+ },
398
+ "sourceServerItem": "string",
399
+ "url": "string"
400
+ },
401
+ {
402
+ "changeType": "targetRename",
403
+ "item": "string",
404
+ "newContent": {
405
+ "content": "string",
406
+ "contentType": "base64Encoded"
407
+ },
408
+ "sourceServerItem": "string",
409
+ "url": "string"
410
+ },
411
+ {
412
+ "changeType": "edit",
413
+ "item": "string",
414
+ "newContent": {
415
+ "content": "string",
416
+ "contentType": "base64Encoded"
417
+ },
418
+ "sourceServerItem": "string",
419
+ "url": "string"
420
+ },
421
+ {
422
+ "changeType": "undelete",
423
+ "item": "string",
424
+ "newContent": {
425
+ "content": "string",
426
+ "contentType": "rawText"
427
+ },
428
+ "sourceServerItem": "string",
429
+ "url": "string"
430
+ }
431
+ ],
432
+ "comment": "string",
433
+ "commentTruncated": true,
434
+ "commitId": "string",
435
+ "committer": {
436
+ "date": "string",
437
+ "email": "string",
438
+ "imageUrl": "string",
439
+ "name": "string"
440
+ },
441
+ "parents": [
442
+ "string",
443
+ "string"
444
+ ],
445
+ "push": {
446
+ "_links": {
447
+ "links": {}
448
+ },
449
+ "date": "string",
450
+ "pushedBy": {
451
+ "_links": {
452
+ "links": {}
453
+ },
454
+ "descriptor": "string",
455
+ "displayName": "string",
456
+ "url": "string"
457
+ },
458
+ "pushId": 2,
459
+ "url": "string"
460
+ },
461
+ "remoteUrl": "string",
462
+ "statuses": [
463
+ {
464
+ "_links": {
465
+ "links": {}
466
+ },
467
+ "context": {
468
+ "genre": "string",
469
+ "name": "string"
470
+ },
471
+ "createdBy": {
472
+ "_links": {
473
+ "links": {}
474
+ },
475
+ "descriptor": "string",
476
+ "displayName": "string",
477
+ "url": "string"
478
+ },
479
+ "creationDate": "string",
480
+ "description": "string",
481
+ "id": 2,
482
+ "state": "failed",
483
+ "targetUrl": "string",
484
+ "updatedDate": "string"
485
+ },
486
+ {
487
+ "_links": {
488
+ "links": {}
489
+ },
490
+ "context": {
491
+ "genre": "string",
492
+ "name": "string"
493
+ },
494
+ "createdBy": {
495
+ "_links": {
496
+ "links": {}
497
+ },
498
+ "descriptor": "string",
499
+ "displayName": "string",
500
+ "url": "string"
501
+ },
502
+ "creationDate": "string",
503
+ "description": "string",
504
+ "id": 3,
505
+ "state": "notSet",
506
+ "targetUrl": "string",
507
+ "updatedDate": "string"
508
+ },
509
+ {
510
+ "_links": {
511
+ "links": {}
512
+ },
513
+ "context": {
514
+ "genre": "string",
515
+ "name": "string"
516
+ },
517
+ "createdBy": {
518
+ "_links": {
519
+ "links": {}
520
+ },
521
+ "descriptor": "string",
522
+ "displayName": "string",
523
+ "url": "string"
524
+ },
525
+ "creationDate": "string",
526
+ "description": "string",
527
+ "id": 10,
528
+ "state": "notApplicable",
529
+ "targetUrl": "string",
530
+ "updatedDate": "string"
531
+ },
532
+ {
533
+ "_links": {
534
+ "links": {}
535
+ },
536
+ "context": {
537
+ "genre": "string",
538
+ "name": "string"
539
+ },
540
+ "createdBy": {
541
+ "_links": {
542
+ "links": {}
543
+ },
544
+ "descriptor": "string",
545
+ "displayName": "string",
546
+ "url": "string"
547
+ },
548
+ "creationDate": "string",
549
+ "description": "string",
550
+ "id": 9,
551
+ "state": "notSet",
552
+ "targetUrl": "string",
553
+ "updatedDate": "string"
554
+ }
555
+ ],
556
+ "url": "string",
557
+ "workItems": [
558
+ {
559
+ "id": "string",
560
+ "url": "string"
561
+ },
562
+ {
563
+ "id": "string",
564
+ "url": "string"
565
+ },
566
+ {
567
+ "id": "string",
568
+ "url": "string"
569
+ },
570
+ {
571
+ "id": "string",
572
+ "url": "string"
573
+ },
574
+ {
575
+ "id": "string",
576
+ "url": "string"
577
+ }
578
+ ]
579
+ }
580
+ ]
@@ -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
+ "mergeBasesList"
14
+ ],
15
+ "external_name": "ph_request_type"
16
+ }
17
+ },
18
+ "definitions": {}
19
+ }
@@ -0,0 +1,45 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "mergesCreate",
5
+ "protocol": "REST",
6
+ "method": "POST",
7
+ "entitypath": "{base_path}/{version}/{pathv1}/{pathv2}/_apis/git/repositories/{pathv3}/merges?{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": "mergesGet",
25
+ "protocol": "REST",
26
+ "method": "GET",
27
+ "entitypath": "{base_path}/{version}/{pathv1}/{pathv2}/_apis/git/repositories/{pathv3}/merges/{pathv4}?{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": ""
41
+ }
42
+ ]
43
+ }
44
+ ]
45
+ }
@@ -0,0 +1,20 @@
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
+ "mergesCreate",
14
+ "mergesGet"
15
+ ],
16
+ "external_name": "ph_request_type"
17
+ }
18
+ },
19
+ "definitions": {}
20
+ }
@@ -0,0 +1,25 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "policyConfigurationsGet",
5
+ "protocol": "REST",
6
+ "method": "GET",
7
+ "entitypath": "{base_path}/{version}/{pathv1}/{pathv2}/_apis/git/policy/configurations?{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/policyConfigurationsGet-default.json"
21
+ }
22
+ ]
23
+ }
24
+ ]
25
+ }