@itentialopensource/adapter-azure_devops 0.1.2 → 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.
- package/CHANGELOG.md +16 -0
- package/adapter.js +83 -83
- package/entities/AnnotatedTags/schema.json +13 -2
- package/entities/Blobs/schema.json +13 -2
- package/entities/CherryPicks/schema.json +13 -2
- package/entities/Commits/schema.json +13 -2
- package/entities/Diffs/schema.json +13 -2
- package/entities/Forks/schema.json +13 -2
- package/entities/ImportRequests/schema.json +13 -2
- package/entities/Items/mockdatafiles/itemsGetItemsBatch-default.json +7 -5
- package/entities/Items/schema.json +13 -2
- package/entities/MergeBases/schema.json +13 -2
- package/entities/Merges/schema.json +13 -2
- package/entities/PolicyConfigurations/schema.json +12 -1
- package/entities/PullRequestAttachments/schema.json +13 -2
- package/entities/PullRequestCommentLikes/schema.json +13 -2
- package/entities/PullRequestCommits/schema.json +13 -2
- package/entities/PullRequestIterationChanges/schema.json +13 -2
- package/entities/PullRequestIterationStatuses/schema.json +13 -2
- package/entities/PullRequestIterations/schema.json +13 -2
- package/entities/PullRequestLabels/schema.json +13 -2
- package/entities/PullRequestProperties/schema.json +13 -2
- package/entities/PullRequestQuery/schema.json +13 -2
- package/entities/PullRequestReviewers/schema.json +13 -2
- package/entities/PullRequestShare/schema.json +13 -2
- package/entities/PullRequestStatuses/schema.json +13 -2
- package/entities/PullRequestThreadComments/schema.json +13 -2
- package/entities/PullRequestThreads/schema.json +13 -2
- package/entities/PullRequestWorkItems/schema.json +13 -2
- package/entities/PullRequests/schema.json +13 -2
- package/entities/Pushes/schema.json +13 -2
- package/entities/Refs/schema.json +13 -2
- package/entities/RefsFavorites/schema.json +13 -2
- package/entities/Repositories/schema.json +13 -2
- package/entities/Reverts/schema.json +13 -2
- package/entities/Stats/schema.json +13 -2
- package/entities/Statuses/schema.json +13 -2
- package/entities/Suggestions/schema.json +13 -2
- package/entities/Trees/schema.json +13 -2
- package/package.json +1 -1
- package/refs?service=git-upload-pack +0 -0
- package/report/adapterInfo.json +1 -1
- package/test/integration/adapterTestIntegration.js +3 -3
|
@@ -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":
|
|
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":
|
|
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":
|
|
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":
|
|
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":
|
|
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":
|
|
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":
|
|
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":
|
|
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":
|
|
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":
|
|
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":
|
|
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":
|
|
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":
|
|
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":
|
|
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":
|
|
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":
|
|
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
|
Binary file
|
package/report/adapterInfo.json
CHANGED
|
@@ -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
|
}
|