@itentialopensource/adapter-azure_devops 0.1.3 → 0.1.4

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 (42) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/entities/AnnotatedTags/schema.json +13 -2
  3. package/entities/Blobs/schema.json +13 -2
  4. package/entities/CherryPicks/schema.json +13 -2
  5. package/entities/Commits/schema.json +13 -2
  6. package/entities/Diffs/schema.json +13 -2
  7. package/entities/Forks/schema.json +13 -2
  8. package/entities/ImportRequests/schema.json +13 -2
  9. package/entities/Items/mockdatafiles/itemsGetItemsBatch-default.json +7 -5
  10. package/entities/Items/schema.json +13 -2
  11. package/entities/MergeBases/schema.json +13 -2
  12. package/entities/Merges/schema.json +13 -2
  13. package/entities/PolicyConfigurations/schema.json +12 -1
  14. package/entities/PullRequestAttachments/schema.json +13 -2
  15. package/entities/PullRequestCommentLikes/schema.json +13 -2
  16. package/entities/PullRequestCommits/schema.json +13 -2
  17. package/entities/PullRequestIterationChanges/schema.json +13 -2
  18. package/entities/PullRequestIterationStatuses/schema.json +13 -2
  19. package/entities/PullRequestIterations/schema.json +13 -2
  20. package/entities/PullRequestLabels/schema.json +13 -2
  21. package/entities/PullRequestProperties/schema.json +13 -2
  22. package/entities/PullRequestQuery/schema.json +13 -2
  23. package/entities/PullRequestReviewers/schema.json +13 -2
  24. package/entities/PullRequestShare/schema.json +13 -2
  25. package/entities/PullRequestStatuses/schema.json +13 -2
  26. package/entities/PullRequestThreadComments/schema.json +13 -2
  27. package/entities/PullRequestThreads/schema.json +13 -2
  28. package/entities/PullRequestWorkItems/schema.json +13 -2
  29. package/entities/PullRequests/schema.json +13 -2
  30. package/entities/Pushes/schema.json +13 -2
  31. package/entities/Refs/schema.json +13 -2
  32. package/entities/RefsFavorites/schema.json +13 -2
  33. package/entities/Repositories/schema.json +13 -2
  34. package/entities/Reverts/schema.json +13 -2
  35. package/entities/Stats/schema.json +13 -2
  36. package/entities/Statuses/schema.json +13 -2
  37. package/entities/Suggestions/schema.json +13 -2
  38. package/entities/Trees/schema.json +13 -2
  39. package/package.json +1 -1
  40. package/refs?service=git-upload-pack +0 -0
  41. package/report/adapterInfo.json +1 -1
  42. package/test/integration/adapterTestIntegration.js +3 -3
package/CHANGELOG.md CHANGED
@@ -1,4 +1,12 @@
1
1
 
2
+ ## 0.1.4 [11-22-2022]
3
+
4
+ * Query parameter across all apis showing as “apiVersion” instead of api-version
5
+
6
+ See merge request itentialopensource/adapters/devops-netops/adapter-azure_devops!4
7
+
8
+ ---
9
+
2
10
  ## 0.1.3 [10-31-2022]
3
11
 
4
12
  * Azure DevOps Adapter Mixed Path Variables
@@ -2,18 +2,29 @@
2
2
  "$id": "schema.json",
3
3
  "type": "object",
4
4
  "schema": "http://json-schema.org/draft-07/schema#",
5
- "translate": false,
5
+ "translate": true,
6
6
  "dynamicfields": true,
7
7
  "properties": {
8
8
  "ph_request_type": {
9
9
  "type": "string",
10
10
  "description": "type of request (internal to adapter)",
11
- "default": "",
11
+ "default": "annotatedTagsCreate",
12
12
  "enum": [
13
13
  "annotatedTagsCreate",
14
14
  "annotatedTagsGet"
15
15
  ],
16
16
  "external_name": "ph_request_type"
17
+ },
18
+ "apiVersion": {
19
+ "type": "string",
20
+ "description": "Version of the API to use. This should be set to '6.1-preview.1' to use this version of the api.",
21
+ "parse": false,
22
+ "encode": false,
23
+ "encrypt": {
24
+ "type": "AES",
25
+ "key": ""
26
+ },
27
+ "external_name": "api-version"
17
28
  }
18
29
  },
19
30
  "definitions": {}
@@ -2,18 +2,29 @@
2
2
  "$id": "schema.json",
3
3
  "type": "object",
4
4
  "schema": "http://json-schema.org/draft-07/schema#",
5
- "translate": false,
5
+ "translate": true,
6
6
  "dynamicfields": true,
7
7
  "properties": {
8
8
  "ph_request_type": {
9
9
  "type": "string",
10
10
  "description": "type of request (internal to adapter)",
11
- "default": "",
11
+ "default": "blobsGetBlobsZip",
12
12
  "enum": [
13
13
  "blobsGetBlobsZip",
14
14
  "blobsGetBlob"
15
15
  ],
16
16
  "external_name": "ph_request_type"
17
+ },
18
+ "apiVersion": {
19
+ "type": "string",
20
+ "description": "Version of the API to use. This should be set to '6.1-preview.1' to use this version of the api.",
21
+ "parse": false,
22
+ "encode": false,
23
+ "encrypt": {
24
+ "type": "AES",
25
+ "key": ""
26
+ },
27
+ "external_name": "api-version"
17
28
  }
18
29
  },
19
30
  "definitions": {}
@@ -2,19 +2,30 @@
2
2
  "$id": "schema.json",
3
3
  "type": "object",
4
4
  "schema": "http://json-schema.org/draft-07/schema#",
5
- "translate": false,
5
+ "translate": true,
6
6
  "dynamicfields": true,
7
7
  "properties": {
8
8
  "ph_request_type": {
9
9
  "type": "string",
10
10
  "description": "type of request (internal to adapter)",
11
- "default": "",
11
+ "default": "cherryPicksCreate",
12
12
  "enum": [
13
13
  "cherryPicksCreate",
14
14
  "cherryPicksGetCherryPickForRefName",
15
15
  "cherryPicksGetCherryPick"
16
16
  ],
17
17
  "external_name": "ph_request_type"
18
+ },
19
+ "apiVersion": {
20
+ "type": "string",
21
+ "description": "Version of the API to use. This should be set to '6.1-preview.1' to use this version of the api.",
22
+ "parse": false,
23
+ "encode": false,
24
+ "encrypt": {
25
+ "type": "AES",
26
+ "key": ""
27
+ },
28
+ "external_name": "api-version"
18
29
  }
19
30
  },
20
31
  "definitions": {}
@@ -2,13 +2,13 @@
2
2
  "$id": "schema.json",
3
3
  "type": "object",
4
4
  "schema": "http://json-schema.org/draft-07/schema#",
5
- "translate": false,
5
+ "translate": true,
6
6
  "dynamicfields": true,
7
7
  "properties": {
8
8
  "ph_request_type": {
9
9
  "type": "string",
10
10
  "description": "type of request (internal to adapter)",
11
- "default": "",
11
+ "default": "commitsGetPushCommits",
12
12
  "enum": [
13
13
  "commitsGetPushCommits",
14
14
  "commitsGet",
@@ -16,6 +16,17 @@
16
16
  "commitsGetCommitsBatch"
17
17
  ],
18
18
  "external_name": "ph_request_type"
19
+ },
20
+ "apiVersion": {
21
+ "type": "string",
22
+ "description": "Version of the API to use. This should be set to '6.1-preview.1' to use this version of the api.",
23
+ "parse": false,
24
+ "encode": false,
25
+ "encrypt": {
26
+ "type": "AES",
27
+ "key": ""
28
+ },
29
+ "external_name": "api-version"
19
30
  }
20
31
  },
21
32
  "definitions": {}
@@ -2,17 +2,28 @@
2
2
  "$id": "schema.json",
3
3
  "type": "object",
4
4
  "schema": "http://json-schema.org/draft-07/schema#",
5
- "translate": false,
5
+ "translate": true,
6
6
  "dynamicfields": true,
7
7
  "properties": {
8
8
  "ph_request_type": {
9
9
  "type": "string",
10
10
  "description": "type of request (internal to adapter)",
11
- "default": "",
11
+ "default": "diffsGet",
12
12
  "enum": [
13
13
  "diffsGet"
14
14
  ],
15
15
  "external_name": "ph_request_type"
16
+ },
17
+ "apiVersion": {
18
+ "type": "string",
19
+ "description": "Version of the API to use. This should be set to '6.1-preview.1' to use this version of the api.",
20
+ "parse": false,
21
+ "encode": false,
22
+ "encrypt": {
23
+ "type": "AES",
24
+ "key": ""
25
+ },
26
+ "external_name": "api-version"
16
27
  }
17
28
  },
18
29
  "definitions": {}
@@ -2,13 +2,13 @@
2
2
  "$id": "schema.json",
3
3
  "type": "object",
4
4
  "schema": "http://json-schema.org/draft-07/schema#",
5
- "translate": false,
5
+ "translate": true,
6
6
  "dynamicfields": true,
7
7
  "properties": {
8
8
  "ph_request_type": {
9
9
  "type": "string",
10
10
  "description": "type of request (internal to adapter)",
11
- "default": "",
11
+ "default": "forksList",
12
12
  "enum": [
13
13
  "forksList",
14
14
  "forksCreateForkSyncRequest",
@@ -16,6 +16,17 @@
16
16
  "forksGetForkSyncRequest"
17
17
  ],
18
18
  "external_name": "ph_request_type"
19
+ },
20
+ "apiVersion": {
21
+ "type": "string",
22
+ "description": "Version of the API to use. This should be set to '6.1-preview.1' to use this version of the api.",
23
+ "parse": false,
24
+ "encode": false,
25
+ "encrypt": {
26
+ "type": "AES",
27
+ "key": ""
28
+ },
29
+ "external_name": "api-version"
19
30
  }
20
31
  },
21
32
  "definitions": {}
@@ -2,13 +2,13 @@
2
2
  "$id": "schema.json",
3
3
  "type": "object",
4
4
  "schema": "http://json-schema.org/draft-07/schema#",
5
- "translate": false,
5
+ "translate": true,
6
6
  "dynamicfields": true,
7
7
  "properties": {
8
8
  "ph_request_type": {
9
9
  "type": "string",
10
10
  "description": "type of request (internal to adapter)",
11
- "default": "",
11
+ "default": "importRequestsCreate",
12
12
  "enum": [
13
13
  "importRequestsCreate",
14
14
  "importRequestsQuery",
@@ -16,6 +16,17 @@
16
16
  "importRequestsUpdate"
17
17
  ],
18
18
  "external_name": "ph_request_type"
19
+ },
20
+ "apiVersion": {
21
+ "type": "string",
22
+ "description": "Version of the API to use. This should be set to '6.1-preview.1' to use this version of the api.",
23
+ "parse": false,
24
+ "encode": false,
25
+ "encrypt": {
26
+ "type": "AES",
27
+ "key": ""
28
+ },
29
+ "external_name": "api-version"
19
30
  }
20
31
  },
21
32
  "definitions": {}
@@ -1,5 +1,7 @@
1
- [
2
- [],
3
- [],
4
- []
5
- ]
1
+ {
2
+ "value": [
3
+ [],
4
+ [],
5
+ []
6
+ ]
7
+ }
@@ -2,18 +2,29 @@
2
2
  "$id": "schema.json",
3
3
  "type": "object",
4
4
  "schema": "http://json-schema.org/draft-07/schema#",
5
- "translate": false,
5
+ "translate": true,
6
6
  "dynamicfields": true,
7
7
  "properties": {
8
8
  "ph_request_type": {
9
9
  "type": "string",
10
10
  "description": "type of request (internal to adapter)",
11
- "default": "",
11
+ "default": "itemsList",
12
12
  "enum": [
13
13
  "itemsList",
14
14
  "itemsGetItemsBatch"
15
15
  ],
16
16
  "external_name": "ph_request_type"
17
+ },
18
+ "apiVersion": {
19
+ "type": "string",
20
+ "description": "Version of the API to use. This should be set to '6.1-preview.1' to use this version of the api.",
21
+ "parse": false,
22
+ "encode": false,
23
+ "encrypt": {
24
+ "type": "AES",
25
+ "key": ""
26
+ },
27
+ "external_name": "api-version"
17
28
  }
18
29
  },
19
30
  "definitions": {}
@@ -2,17 +2,28 @@
2
2
  "$id": "schema.json",
3
3
  "type": "object",
4
4
  "schema": "http://json-schema.org/draft-07/schema#",
5
- "translate": false,
5
+ "translate": true,
6
6
  "dynamicfields": true,
7
7
  "properties": {
8
8
  "ph_request_type": {
9
9
  "type": "string",
10
10
  "description": "type of request (internal to adapter)",
11
- "default": "",
11
+ "default": "mergeBasesList",
12
12
  "enum": [
13
13
  "mergeBasesList"
14
14
  ],
15
15
  "external_name": "ph_request_type"
16
+ },
17
+ "apiVersion": {
18
+ "type": "string",
19
+ "description": "Version of the API to use. This should be set to '6.1-preview.1' to use this version of the api.",
20
+ "parse": false,
21
+ "encode": false,
22
+ "encrypt": {
23
+ "type": "AES",
24
+ "key": ""
25
+ },
26
+ "external_name": "api-version"
16
27
  }
17
28
  },
18
29
  "definitions": {}
@@ -2,18 +2,29 @@
2
2
  "$id": "schema.json",
3
3
  "type": "object",
4
4
  "schema": "http://json-schema.org/draft-07/schema#",
5
- "translate": false,
5
+ "translate": true,
6
6
  "dynamicfields": true,
7
7
  "properties": {
8
8
  "ph_request_type": {
9
9
  "type": "string",
10
10
  "description": "type of request (internal to adapter)",
11
- "default": "",
11
+ "default": "mergesCreate",
12
12
  "enum": [
13
13
  "mergesCreate",
14
14
  "mergesGet"
15
15
  ],
16
16
  "external_name": "ph_request_type"
17
+ },
18
+ "apiVersion": {
19
+ "type": "string",
20
+ "description": "Version of the API to use. This should be set to '6.1-preview.1' to use this version of the api.",
21
+ "parse": false,
22
+ "encode": false,
23
+ "encrypt": {
24
+ "type": "AES",
25
+ "key": ""
26
+ },
27
+ "external_name": "api-version"
17
28
  }
18
29
  },
19
30
  "definitions": {}
@@ -8,11 +8,22 @@
8
8
  "ph_request_type": {
9
9
  "type": "string",
10
10
  "description": "type of request (internal to adapter)",
11
- "default": "",
11
+ "default": "policyConfigurationsGet",
12
12
  "enum": [
13
13
  "policyConfigurationsGet"
14
14
  ],
15
15
  "external_name": "ph_request_type"
16
+ },
17
+ "apiVersion": {
18
+ "type": "string",
19
+ "description": "Version of the API to use. This should be set to '6.1-preview.1' to use this version of the api.",
20
+ "parse": false,
21
+ "encode": false,
22
+ "encrypt": {
23
+ "type": "AES",
24
+ "key": ""
25
+ },
26
+ "external_name": "api-version"
16
27
  }
17
28
  },
18
29
  "definitions": {}
@@ -2,13 +2,13 @@
2
2
  "$id": "schema.json",
3
3
  "type": "object",
4
4
  "schema": "http://json-schema.org/draft-07/schema#",
5
- "translate": false,
5
+ "translate": true,
6
6
  "dynamicfields": true,
7
7
  "properties": {
8
8
  "ph_request_type": {
9
9
  "type": "string",
10
10
  "description": "type of request (internal to adapter)",
11
- "default": "",
11
+ "default": "pullRequestAttachmentsList",
12
12
  "enum": [
13
13
  "pullRequestAttachmentsList",
14
14
  "pullRequestAttachmentsCreate",
@@ -16,6 +16,17 @@
16
16
  "pullRequestAttachmentsGet"
17
17
  ],
18
18
  "external_name": "ph_request_type"
19
+ },
20
+ "apiVersion": {
21
+ "type": "string",
22
+ "description": "Version of the API to use. This should be set to '6.1-preview.1' to use this version of the api.",
23
+ "parse": false,
24
+ "encode": false,
25
+ "encrypt": {
26
+ "type": "AES",
27
+ "key": ""
28
+ },
29
+ "external_name": "api-version"
19
30
  }
20
31
  },
21
32
  "definitions": {}
@@ -2,19 +2,30 @@
2
2
  "$id": "schema.json",
3
3
  "type": "object",
4
4
  "schema": "http://json-schema.org/draft-07/schema#",
5
- "translate": false,
5
+ "translate": true,
6
6
  "dynamicfields": true,
7
7
  "properties": {
8
8
  "ph_request_type": {
9
9
  "type": "string",
10
10
  "description": "type of request (internal to adapter)",
11
- "default": "",
11
+ "default": "pullRequestCommentLikesCreate",
12
12
  "enum": [
13
13
  "pullRequestCommentLikesCreate",
14
14
  "pullRequestCommentLikesDelete",
15
15
  "pullRequestCommentLikesList"
16
16
  ],
17
17
  "external_name": "ph_request_type"
18
+ },
19
+ "apiVersion": {
20
+ "type": "string",
21
+ "description": "Version of the API to use. This should be set to '6.1-preview.1' to use this version of the api.",
22
+ "parse": false,
23
+ "encode": false,
24
+ "encrypt": {
25
+ "type": "AES",
26
+ "key": ""
27
+ },
28
+ "external_name": "api-version"
18
29
  }
19
30
  },
20
31
  "definitions": {}
@@ -2,18 +2,29 @@
2
2
  "$id": "schema.json",
3
3
  "type": "object",
4
4
  "schema": "http://json-schema.org/draft-07/schema#",
5
- "translate": false,
5
+ "translate": true,
6
6
  "dynamicfields": true,
7
7
  "properties": {
8
8
  "ph_request_type": {
9
9
  "type": "string",
10
10
  "description": "type of request (internal to adapter)",
11
- "default": "",
11
+ "default": "pullRequestCommitsGetPullRequestCommits",
12
12
  "enum": [
13
13
  "pullRequestCommitsGetPullRequestCommits",
14
14
  "pullRequestCommitsGetPullRequestIterationCommits"
15
15
  ],
16
16
  "external_name": "ph_request_type"
17
+ },
18
+ "apiVersion": {
19
+ "type": "string",
20
+ "description": "Version of the API to use. This should be set to '6.1-preview.1' to use this version of the api.",
21
+ "parse": false,
22
+ "encode": false,
23
+ "encrypt": {
24
+ "type": "AES",
25
+ "key": ""
26
+ },
27
+ "external_name": "api-version"
17
28
  }
18
29
  },
19
30
  "definitions": {}
@@ -2,17 +2,28 @@
2
2
  "$id": "schema.json",
3
3
  "type": "object",
4
4
  "schema": "http://json-schema.org/draft-07/schema#",
5
- "translate": false,
5
+ "translate": true,
6
6
  "dynamicfields": true,
7
7
  "properties": {
8
8
  "ph_request_type": {
9
9
  "type": "string",
10
10
  "description": "type of request (internal to adapter)",
11
- "default": "",
11
+ "default": "pullRequestIterationChangesGet",
12
12
  "enum": [
13
13
  "pullRequestIterationChangesGet"
14
14
  ],
15
15
  "external_name": "ph_request_type"
16
+ },
17
+ "apiVersion": {
18
+ "type": "string",
19
+ "description": "Version of the API to use. This should be set to '6.1-preview.1' to use this version of the api.",
20
+ "parse": false,
21
+ "encode": false,
22
+ "encrypt": {
23
+ "type": "AES",
24
+ "key": ""
25
+ },
26
+ "external_name": "api-version"
16
27
  }
17
28
  },
18
29
  "definitions": {}
@@ -2,13 +2,13 @@
2
2
  "$id": "schema.json",
3
3
  "type": "object",
4
4
  "schema": "http://json-schema.org/draft-07/schema#",
5
- "translate": false,
5
+ "translate": true,
6
6
  "dynamicfields": true,
7
7
  "properties": {
8
8
  "ph_request_type": {
9
9
  "type": "string",
10
10
  "description": "type of request (internal to adapter)",
11
- "default": "",
11
+ "default": "pullRequestIterationStatusesCreate",
12
12
  "enum": [
13
13
  "pullRequestIterationStatusesCreate",
14
14
  "pullRequestIterationStatusesList",
@@ -17,6 +17,17 @@
17
17
  "pullRequestIterationStatusesGet"
18
18
  ],
19
19
  "external_name": "ph_request_type"
20
+ },
21
+ "apiVersion": {
22
+ "type": "string",
23
+ "description": "Version of the API to use. This should be set to '6.1-preview.1' to use this version of the api.",
24
+ "parse": false,
25
+ "encode": false,
26
+ "encrypt": {
27
+ "type": "AES",
28
+ "key": ""
29
+ },
30
+ "external_name": "api-version"
20
31
  }
21
32
  },
22
33
  "definitions": {}
@@ -2,18 +2,29 @@
2
2
  "$id": "schema.json",
3
3
  "type": "object",
4
4
  "schema": "http://json-schema.org/draft-07/schema#",
5
- "translate": false,
5
+ "translate": true,
6
6
  "dynamicfields": true,
7
7
  "properties": {
8
8
  "ph_request_type": {
9
9
  "type": "string",
10
10
  "description": "type of request (internal to adapter)",
11
- "default": "",
11
+ "default": "pullRequestIterationsList",
12
12
  "enum": [
13
13
  "pullRequestIterationsList",
14
14
  "pullRequestIterationsGet"
15
15
  ],
16
16
  "external_name": "ph_request_type"
17
+ },
18
+ "apiVersion": {
19
+ "type": "string",
20
+ "description": "Version of the API to use. This should be set to '6.1-preview.1' to use this version of the api.",
21
+ "parse": false,
22
+ "encode": false,
23
+ "encrypt": {
24
+ "type": "AES",
25
+ "key": ""
26
+ },
27
+ "external_name": "api-version"
17
28
  }
18
29
  },
19
30
  "definitions": {}
@@ -2,13 +2,13 @@
2
2
  "$id": "schema.json",
3
3
  "type": "object",
4
4
  "schema": "http://json-schema.org/draft-07/schema#",
5
- "translate": false,
5
+ "translate": true,
6
6
  "dynamicfields": true,
7
7
  "properties": {
8
8
  "ph_request_type": {
9
9
  "type": "string",
10
10
  "description": "type of request (internal to adapter)",
11
- "default": "",
11
+ "default": "pullRequestLabelsCreate",
12
12
  "enum": [
13
13
  "pullRequestLabelsCreate",
14
14
  "pullRequestLabelsList",
@@ -16,6 +16,17 @@
16
16
  "pullRequestLabelsGet"
17
17
  ],
18
18
  "external_name": "ph_request_type"
19
+ },
20
+ "apiVersion": {
21
+ "type": "string",
22
+ "description": "Version of the API to use. This should be set to '6.1-preview.1' to use this version of the api.",
23
+ "parse": false,
24
+ "encode": false,
25
+ "encrypt": {
26
+ "type": "AES",
27
+ "key": ""
28
+ },
29
+ "external_name": "api-version"
19
30
  }
20
31
  },
21
32
  "definitions": {}
@@ -2,18 +2,29 @@
2
2
  "$id": "schema.json",
3
3
  "type": "object",
4
4
  "schema": "http://json-schema.org/draft-07/schema#",
5
- "translate": false,
5
+ "translate": true,
6
6
  "dynamicfields": true,
7
7
  "properties": {
8
8
  "ph_request_type": {
9
9
  "type": "string",
10
10
  "description": "type of request (internal to adapter)",
11
- "default": "",
11
+ "default": "pullRequestPropertiesList",
12
12
  "enum": [
13
13
  "pullRequestPropertiesList",
14
14
  "pullRequestPropertiesUpdate"
15
15
  ],
16
16
  "external_name": "ph_request_type"
17
+ },
18
+ "apiVersion": {
19
+ "type": "string",
20
+ "description": "Version of the API to use. This should be set to '6.1-preview.1' to use this version of the api.",
21
+ "parse": false,
22
+ "encode": false,
23
+ "encrypt": {
24
+ "type": "AES",
25
+ "key": ""
26
+ },
27
+ "external_name": "api-version"
17
28
  }
18
29
  },
19
30
  "definitions": {}
@@ -2,17 +2,28 @@
2
2
  "$id": "schema.json",
3
3
  "type": "object",
4
4
  "schema": "http://json-schema.org/draft-07/schema#",
5
- "translate": false,
5
+ "translate": true,
6
6
  "dynamicfields": true,
7
7
  "properties": {
8
8
  "ph_request_type": {
9
9
  "type": "string",
10
10
  "description": "type of request (internal to adapter)",
11
- "default": "",
11
+ "default": "pullRequestQueryGet",
12
12
  "enum": [
13
13
  "pullRequestQueryGet"
14
14
  ],
15
15
  "external_name": "ph_request_type"
16
+ },
17
+ "apiVersion": {
18
+ "type": "string",
19
+ "description": "Version of the API to use. This should be set to '6.1-preview.1' to use this version of the api.",
20
+ "parse": false,
21
+ "encode": false,
22
+ "encrypt": {
23
+ "type": "AES",
24
+ "key": ""
25
+ },
26
+ "external_name": "api-version"
16
27
  }
17
28
  },
18
29
  "definitions": {}
@@ -2,13 +2,13 @@
2
2
  "$id": "schema.json",
3
3
  "type": "object",
4
4
  "schema": "http://json-schema.org/draft-07/schema#",
5
- "translate": false,
5
+ "translate": true,
6
6
  "dynamicfields": true,
7
7
  "properties": {
8
8
  "ph_request_type": {
9
9
  "type": "string",
10
10
  "description": "type of request (internal to adapter)",
11
- "default": "",
11
+ "default": "pullRequestReviewersCreatePullRequestReviewers",
12
12
  "enum": [
13
13
  "pullRequestReviewersCreatePullRequestReviewers",
14
14
  "pullRequestReviewersCreateUnmaterializedPullRequestReviewer",
@@ -20,6 +20,17 @@
20
20
  "pullRequestReviewersUpdatePullRequestReviewer"
21
21
  ],
22
22
  "external_name": "ph_request_type"
23
+ },
24
+ "apiVersion": {
25
+ "type": "string",
26
+ "description": "Version of the API to use. This should be set to '6.1-preview.1' to use this version of the api.",
27
+ "parse": false,
28
+ "encode": false,
29
+ "encrypt": {
30
+ "type": "AES",
31
+ "key": ""
32
+ },
33
+ "external_name": "api-version"
23
34
  }
24
35
  },
25
36
  "definitions": {}
@@ -2,17 +2,28 @@
2
2
  "$id": "schema.json",
3
3
  "type": "object",
4
4
  "schema": "http://json-schema.org/draft-07/schema#",
5
- "translate": false,
5
+ "translate": true,
6
6
  "dynamicfields": true,
7
7
  "properties": {
8
8
  "ph_request_type": {
9
9
  "type": "string",
10
10
  "description": "type of request (internal to adapter)",
11
- "default": "",
11
+ "default": "pullRequestShareSharePullRequest",
12
12
  "enum": [
13
13
  "pullRequestShareSharePullRequest"
14
14
  ],
15
15
  "external_name": "ph_request_type"
16
+ },
17
+ "apiVersion": {
18
+ "type": "string",
19
+ "description": "Version of the API to use. This should be set to '6.1-preview.1' to use this version of the api.",
20
+ "parse": false,
21
+ "encode": false,
22
+ "encrypt": {
23
+ "type": "AES",
24
+ "key": ""
25
+ },
26
+ "external_name": "api-version"
16
27
  }
17
28
  },
18
29
  "definitions": {}
@@ -2,13 +2,13 @@
2
2
  "$id": "schema.json",
3
3
  "type": "object",
4
4
  "schema": "http://json-schema.org/draft-07/schema#",
5
- "translate": false,
5
+ "translate": true,
6
6
  "dynamicfields": true,
7
7
  "properties": {
8
8
  "ph_request_type": {
9
9
  "type": "string",
10
10
  "description": "type of request (internal to adapter)",
11
- "default": "",
11
+ "default": "pullRequestStatusesCreate",
12
12
  "enum": [
13
13
  "pullRequestStatusesCreate",
14
14
  "pullRequestStatusesList",
@@ -17,6 +17,17 @@
17
17
  "pullRequestStatusesGet"
18
18
  ],
19
19
  "external_name": "ph_request_type"
20
+ },
21
+ "apiVersion": {
22
+ "type": "string",
23
+ "description": "Version of the API to use. This should be set to '6.1-preview.1' to use this version of the api.",
24
+ "parse": false,
25
+ "encode": false,
26
+ "encrypt": {
27
+ "type": "AES",
28
+ "key": ""
29
+ },
30
+ "external_name": "api-version"
20
31
  }
21
32
  },
22
33
  "definitions": {}
@@ -2,13 +2,13 @@
2
2
  "$id": "schema.json",
3
3
  "type": "object",
4
4
  "schema": "http://json-schema.org/draft-07/schema#",
5
- "translate": false,
5
+ "translate": true,
6
6
  "dynamicfields": true,
7
7
  "properties": {
8
8
  "ph_request_type": {
9
9
  "type": "string",
10
10
  "description": "type of request (internal to adapter)",
11
- "default": "",
11
+ "default": "pullRequestThreadCommentsCreate",
12
12
  "enum": [
13
13
  "pullRequestThreadCommentsCreate",
14
14
  "pullRequestThreadCommentsList",
@@ -17,6 +17,17 @@
17
17
  "pullRequestThreadCommentsUpdate"
18
18
  ],
19
19
  "external_name": "ph_request_type"
20
+ },
21
+ "apiVersion": {
22
+ "type": "string",
23
+ "description": "Version of the API to use. This should be set to '6.1-preview.1' to use this version of the api.",
24
+ "parse": false,
25
+ "encode": false,
26
+ "encrypt": {
27
+ "type": "AES",
28
+ "key": ""
29
+ },
30
+ "external_name": "api-version"
20
31
  }
21
32
  },
22
33
  "definitions": {}
@@ -2,13 +2,13 @@
2
2
  "$id": "schema.json",
3
3
  "type": "object",
4
4
  "schema": "http://json-schema.org/draft-07/schema#",
5
- "translate": false,
5
+ "translate": true,
6
6
  "dynamicfields": true,
7
7
  "properties": {
8
8
  "ph_request_type": {
9
9
  "type": "string",
10
10
  "description": "type of request (internal to adapter)",
11
- "default": "",
11
+ "default": "pullRequestThreadsCreate",
12
12
  "enum": [
13
13
  "pullRequestThreadsCreate",
14
14
  "pullRequestThreadsList",
@@ -16,6 +16,17 @@
16
16
  "pullRequestThreadsUpdate"
17
17
  ],
18
18
  "external_name": "ph_request_type"
19
+ },
20
+ "apiVersion": {
21
+ "type": "string",
22
+ "description": "Version of the API to use. This should be set to '6.1-preview.1' to use this version of the api.",
23
+ "parse": false,
24
+ "encode": false,
25
+ "encrypt": {
26
+ "type": "AES",
27
+ "key": ""
28
+ },
29
+ "external_name": "api-version"
19
30
  }
20
31
  },
21
32
  "definitions": {}
@@ -2,17 +2,28 @@
2
2
  "$id": "schema.json",
3
3
  "type": "object",
4
4
  "schema": "http://json-schema.org/draft-07/schema#",
5
- "translate": false,
5
+ "translate": true,
6
6
  "dynamicfields": true,
7
7
  "properties": {
8
8
  "ph_request_type": {
9
9
  "type": "string",
10
10
  "description": "type of request (internal to adapter)",
11
- "default": "",
11
+ "default": "pullRequestWorkItemsList",
12
12
  "enum": [
13
13
  "pullRequestWorkItemsList"
14
14
  ],
15
15
  "external_name": "ph_request_type"
16
+ },
17
+ "apiVersion": {
18
+ "type": "string",
19
+ "description": "Version of the API to use. This should be set to '6.1-preview.1' to use this version of the api.",
20
+ "parse": false,
21
+ "encode": false,
22
+ "encrypt": {
23
+ "type": "AES",
24
+ "key": ""
25
+ },
26
+ "external_name": "api-version"
16
27
  }
17
28
  },
18
29
  "definitions": {}
@@ -2,13 +2,13 @@
2
2
  "$id": "schema.json",
3
3
  "type": "object",
4
4
  "schema": "http://json-schema.org/draft-07/schema#",
5
- "translate": false,
5
+ "translate": true,
6
6
  "dynamicfields": true,
7
7
  "properties": {
8
8
  "ph_request_type": {
9
9
  "type": "string",
10
10
  "description": "type of request (internal to adapter)",
11
- "default": "",
11
+ "default": "pullRequestsGetPullRequestsByProject",
12
12
  "enum": [
13
13
  "pullRequestsGetPullRequestsByProject",
14
14
  "pullRequestsGetPullRequestById",
@@ -18,6 +18,17 @@
18
18
  "pullRequestsUpdate"
19
19
  ],
20
20
  "external_name": "ph_request_type"
21
+ },
22
+ "apiVersion": {
23
+ "type": "string",
24
+ "description": "Version of the API to use. This should be set to '6.1-preview.1' to use this version of the api.",
25
+ "parse": false,
26
+ "encode": false,
27
+ "encrypt": {
28
+ "type": "AES",
29
+ "key": ""
30
+ },
31
+ "external_name": "api-version"
21
32
  }
22
33
  },
23
34
  "definitions": {}
@@ -2,19 +2,30 @@
2
2
  "$id": "schema.json",
3
3
  "type": "object",
4
4
  "schema": "http://json-schema.org/draft-07/schema#",
5
- "translate": false,
5
+ "translate": true,
6
6
  "dynamicfields": true,
7
7
  "properties": {
8
8
  "ph_request_type": {
9
9
  "type": "string",
10
10
  "description": "type of request (internal to adapter)",
11
- "default": "",
11
+ "default": "pushesCreate",
12
12
  "enum": [
13
13
  "pushesCreate",
14
14
  "pushesList",
15
15
  "pushesGet"
16
16
  ],
17
17
  "external_name": "ph_request_type"
18
+ },
19
+ "apiVersion": {
20
+ "type": "string",
21
+ "description": "Version of the API to use. This should be set to '6.1-preview.1' to use this version of the api.",
22
+ "parse": false,
23
+ "encode": false,
24
+ "encrypt": {
25
+ "type": "AES",
26
+ "key": ""
27
+ },
28
+ "external_name": "api-version"
18
29
  }
19
30
  },
20
31
  "definitions": {}
@@ -2,19 +2,30 @@
2
2
  "$id": "schema.json",
3
3
  "type": "object",
4
4
  "schema": "http://json-schema.org/draft-07/schema#",
5
- "translate": false,
5
+ "translate": true,
6
6
  "dynamicfields": true,
7
7
  "properties": {
8
8
  "ph_request_type": {
9
9
  "type": "string",
10
10
  "description": "type of request (internal to adapter)",
11
- "default": "",
11
+ "default": "refsList",
12
12
  "enum": [
13
13
  "refsList",
14
14
  "refsUpdateRef",
15
15
  "refsUpdateRefs"
16
16
  ],
17
17
  "external_name": "ph_request_type"
18
+ },
19
+ "apiVersion": {
20
+ "type": "string",
21
+ "description": "Version of the API to use. This should be set to '6.1-preview.1' to use this version of the api.",
22
+ "parse": false,
23
+ "encode": false,
24
+ "encrypt": {
25
+ "type": "AES",
26
+ "key": ""
27
+ },
28
+ "external_name": "api-version"
18
29
  }
19
30
  },
20
31
  "definitions": {}
@@ -2,13 +2,13 @@
2
2
  "$id": "schema.json",
3
3
  "type": "object",
4
4
  "schema": "http://json-schema.org/draft-07/schema#",
5
- "translate": false,
5
+ "translate": true,
6
6
  "dynamicfields": true,
7
7
  "properties": {
8
8
  "ph_request_type": {
9
9
  "type": "string",
10
10
  "description": "type of request (internal to adapter)",
11
- "default": "",
11
+ "default": "refsFavoritesCreate",
12
12
  "enum": [
13
13
  "refsFavoritesCreate",
14
14
  "refsFavoritesList",
@@ -16,6 +16,17 @@
16
16
  "refsFavoritesGet"
17
17
  ],
18
18
  "external_name": "ph_request_type"
19
+ },
20
+ "apiVersion": {
21
+ "type": "string",
22
+ "description": "Version of the API to use. This should be set to '6.1-preview.1' to use this version of the api.",
23
+ "parse": false,
24
+ "encode": false,
25
+ "encrypt": {
26
+ "type": "AES",
27
+ "key": ""
28
+ },
29
+ "external_name": "api-version"
19
30
  }
20
31
  },
21
32
  "definitions": {}
@@ -2,13 +2,13 @@
2
2
  "$id": "schema.json",
3
3
  "type": "object",
4
4
  "schema": "http://json-schema.org/draft-07/schema#",
5
- "translate": false,
5
+ "translate": true,
6
6
  "dynamicfields": true,
7
7
  "properties": {
8
8
  "ph_request_type": {
9
9
  "type": "string",
10
10
  "description": "type of request (internal to adapter)",
11
- "default": "",
11
+ "default": "repositoriesGetDeletedRepositories",
12
12
  "enum": [
13
13
  "repositoriesGetDeletedRepositories",
14
14
  "repositoriesGetRecycleBinRepositories",
@@ -21,6 +21,17 @@
21
21
  "repositoriesUpdate"
22
22
  ],
23
23
  "external_name": "ph_request_type"
24
+ },
25
+ "apiVersion": {
26
+ "type": "string",
27
+ "description": "Version of the API to use. This should be set to '6.1-preview.1' to use this version of the api.",
28
+ "parse": false,
29
+ "encode": false,
30
+ "encrypt": {
31
+ "type": "AES",
32
+ "key": ""
33
+ },
34
+ "external_name": "api-version"
24
35
  }
25
36
  },
26
37
  "definitions": {}
@@ -2,19 +2,30 @@
2
2
  "$id": "schema.json",
3
3
  "type": "object",
4
4
  "schema": "http://json-schema.org/draft-07/schema#",
5
- "translate": false,
5
+ "translate": true,
6
6
  "dynamicfields": true,
7
7
  "properties": {
8
8
  "ph_request_type": {
9
9
  "type": "string",
10
10
  "description": "type of request (internal to adapter)",
11
- "default": "",
11
+ "default": "revertsCreate",
12
12
  "enum": [
13
13
  "revertsCreate",
14
14
  "revertsGetRevertForRefName",
15
15
  "revertsGetRevert"
16
16
  ],
17
17
  "external_name": "ph_request_type"
18
+ },
19
+ "apiVersion": {
20
+ "type": "string",
21
+ "description": "Version of the API to use. This should be set to '6.1-preview.1' to use this version of the api.",
22
+ "parse": false,
23
+ "encode": false,
24
+ "encrypt": {
25
+ "type": "AES",
26
+ "key": ""
27
+ },
28
+ "external_name": "api-version"
18
29
  }
19
30
  },
20
31
  "definitions": {}
@@ -2,17 +2,28 @@
2
2
  "$id": "schema.json",
3
3
  "type": "object",
4
4
  "schema": "http://json-schema.org/draft-07/schema#",
5
- "translate": false,
5
+ "translate": true,
6
6
  "dynamicfields": true,
7
7
  "properties": {
8
8
  "ph_request_type": {
9
9
  "type": "string",
10
10
  "description": "type of request (internal to adapter)",
11
- "default": "",
11
+ "default": "statsList",
12
12
  "enum": [
13
13
  "statsList"
14
14
  ],
15
15
  "external_name": "ph_request_type"
16
+ },
17
+ "apiVersion": {
18
+ "type": "string",
19
+ "description": "Version of the API to use. This should be set to '6.1-preview.1' to use this version of the api.",
20
+ "parse": false,
21
+ "encode": false,
22
+ "encrypt": {
23
+ "type": "AES",
24
+ "key": ""
25
+ },
26
+ "external_name": "api-version"
16
27
  }
17
28
  },
18
29
  "definitions": {}
@@ -2,18 +2,29 @@
2
2
  "$id": "schema.json",
3
3
  "type": "object",
4
4
  "schema": "http://json-schema.org/draft-07/schema#",
5
- "translate": false,
5
+ "translate": true,
6
6
  "dynamicfields": true,
7
7
  "properties": {
8
8
  "ph_request_type": {
9
9
  "type": "string",
10
10
  "description": "type of request (internal to adapter)",
11
- "default": "",
11
+ "default": "statusesCreate",
12
12
  "enum": [
13
13
  "statusesCreate",
14
14
  "statusesList"
15
15
  ],
16
16
  "external_name": "ph_request_type"
17
+ },
18
+ "apiVersion": {
19
+ "type": "string",
20
+ "description": "Version of the API to use. This should be set to '6.1-preview.1' to use this version of the api.",
21
+ "parse": false,
22
+ "encode": false,
23
+ "encrypt": {
24
+ "type": "AES",
25
+ "key": ""
26
+ },
27
+ "external_name": "api-version"
17
28
  }
18
29
  },
19
30
  "definitions": {}
@@ -2,17 +2,28 @@
2
2
  "$id": "schema.json",
3
3
  "type": "object",
4
4
  "schema": "http://json-schema.org/draft-07/schema#",
5
- "translate": false,
5
+ "translate": true,
6
6
  "dynamicfields": true,
7
7
  "properties": {
8
8
  "ph_request_type": {
9
9
  "type": "string",
10
10
  "description": "type of request (internal to adapter)",
11
- "default": "",
11
+ "default": "suggestionsList",
12
12
  "enum": [
13
13
  "suggestionsList"
14
14
  ],
15
15
  "external_name": "ph_request_type"
16
+ },
17
+ "apiVersion": {
18
+ "type": "string",
19
+ "description": "Version of the API to use. This should be set to '6.1-preview.1' to use this version of the api.",
20
+ "parse": false,
21
+ "encode": false,
22
+ "encrypt": {
23
+ "type": "AES",
24
+ "key": ""
25
+ },
26
+ "external_name": "api-version"
16
27
  }
17
28
  },
18
29
  "definitions": {}
@@ -2,17 +2,28 @@
2
2
  "$id": "schema.json",
3
3
  "type": "object",
4
4
  "schema": "http://json-schema.org/draft-07/schema#",
5
- "translate": false,
5
+ "translate": true,
6
6
  "dynamicfields": true,
7
7
  "properties": {
8
8
  "ph_request_type": {
9
9
  "type": "string",
10
10
  "description": "type of request (internal to adapter)",
11
- "default": "",
11
+ "default": "treesGet",
12
12
  "enum": [
13
13
  "treesGet"
14
14
  ],
15
15
  "external_name": "ph_request_type"
16
+ },
17
+ "apiVersion": {
18
+ "type": "string",
19
+ "description": "Version of the API to use. This should be set to '6.1-preview.1' to use this version of the api.",
20
+ "parse": false,
21
+ "encode": false,
22
+ "encrypt": {
23
+ "type": "AES",
24
+ "key": ""
25
+ },
26
+ "external_name": "api-version"
16
27
  }
17
28
  },
18
29
  "definitions": {}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itentialopensource/adapter-azure_devops",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "description": "This adapter integrates with system described as: Azure DevOps.",
5
5
  "main": "adapter.js",
6
6
  "systemName": "Microsoft Azure DevOps",
Binary file
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.1.2",
2
+ "version": "0.1.3",
3
3
  "configLines": 53196,
4
4
  "scriptLines": 1707,
5
5
  "codeLines": 15332,
@@ -3254,9 +3254,9 @@ describe('[integration] Azure_devops Adapter Test', () => {
3254
3254
  try {
3255
3255
  if (stub) {
3256
3256
  runCommonAsserts(data, error);
3257
- assert.equal(true, Array.isArray(data.response[0]));
3258
- assert.equal(true, Array.isArray(data.response[1]));
3259
- assert.equal(true, Array.isArray(data.response[2]));
3257
+ assert.equal(true, Array.isArray(data.response.value[0]));
3258
+ assert.equal(true, Array.isArray(data.response.value[1]));
3259
+ assert.equal(true, Array.isArray(data.response.value[2]));
3260
3260
  } else {
3261
3261
  runCommonAsserts(data, error);
3262
3262
  }