@itentialopensource/adapter-azure_devops 0.1.1

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 (68) hide show
  1. package/.eslintignore +5 -0
  2. package/.eslintrc.js +18 -0
  3. package/.jshintrc +3 -0
  4. package/CHANGELOG.md +9 -0
  5. package/CODE_OF_CONDUCT.md +48 -0
  6. package/CONTRIBUTING.md +158 -0
  7. package/LICENSE +201 -0
  8. package/README.md +687 -0
  9. package/adapter.js +1606 -0
  10. package/adapterBase.js +1028 -0
  11. package/entities/.generic/action.json +109 -0
  12. package/entities/.generic/schema.json +23 -0
  13. package/entities/.system/action.json +50 -0
  14. package/entities/.system/mockdatafiles/getToken-default.json +3 -0
  15. package/entities/.system/mockdatafiles/healthcheck-default.json +3 -0
  16. package/entities/.system/schema.json +19 -0
  17. package/entities/.system/schemaTokenReq.json +53 -0
  18. package/entities/.system/schemaTokenResp.json +53 -0
  19. package/entities/Artifacts/action.json +25 -0
  20. package/entities/Artifacts/mockdatafiles/artifactsGet-default.json +5 -0
  21. package/entities/Artifacts/schema.json +41 -0
  22. package/entities/Logs/action.json +46 -0
  23. package/entities/Logs/mockdatafiles/logsGet-default.json +11 -0
  24. package/entities/Logs/mockdatafiles/logsList-default.json +119 -0
  25. package/entities/Logs/schema.json +42 -0
  26. package/entities/Pipelines/action.json +66 -0
  27. package/entities/Pipelines/mockdatafiles/pipelinesCreate-default.json +6 -0
  28. package/entities/Pipelines/mockdatafiles/pipelinesGet-default.json +6 -0
  29. package/entities/Pipelines/mockdatafiles/pipelinesList-default.json +26 -0
  30. package/entities/Pipelines/schema.json +43 -0
  31. package/entities/Preview/action.json +24 -0
  32. package/entities/Preview/mockdatafiles/previewPreview-default.json +3 -0
  33. package/entities/Preview/schema.json +30 -0
  34. package/entities/Runs/action.json +66 -0
  35. package/entities/Runs/mockdatafiles/runsGet-default.json +4 -0
  36. package/entities/Runs/mockdatafiles/runsList-default.json +18 -0
  37. package/entities/Runs/mockdatafiles/runsRunPipeline-default.json +4 -0
  38. package/entities/Runs/schema.json +32 -0
  39. package/error.json +184 -0
  40. package/package.json +85 -0
  41. package/pronghorn.json +2488 -0
  42. package/propertiesSchema.json +840 -0
  43. package/refs?service=git-upload-pack +0 -0
  44. package/report/ado.json +1382 -0
  45. package/report/creationReport.json +228 -0
  46. package/report/updateReport1639421539710.json +95 -0
  47. package/sampleProperties.json +106 -0
  48. package/test/integration/adapterTestBasicGet.js +85 -0
  49. package/test/integration/adapterTestConnectivity.js +93 -0
  50. package/test/integration/adapterTestIntegration.js +751 -0
  51. package/test/unit/adapterBaseTestUnit.js +944 -0
  52. package/test/unit/adapterTestUnit.js +2192 -0
  53. package/utils/addAuth.js +94 -0
  54. package/utils/artifactize.js +146 -0
  55. package/utils/basicGet.js +50 -0
  56. package/utils/checkMigrate.js +63 -0
  57. package/utils/entitiesToDB.js +224 -0
  58. package/utils/findPath.js +74 -0
  59. package/utils/modify.js +154 -0
  60. package/utils/packModificationScript.js +35 -0
  61. package/utils/pre-commit.sh +27 -0
  62. package/utils/removeHooks.js +20 -0
  63. package/utils/setup.js +33 -0
  64. package/utils/tbScript.js +169 -0
  65. package/utils/tbUtils.js +445 -0
  66. package/utils/testRunner.js +298 -0
  67. package/utils/troubleshootingAdapter.js +190 -0
  68. package/workflows/README.md +3 -0
@@ -0,0 +1,109 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "getGenerics",
5
+ "protocol": "REST",
6
+ "method": "GET",
7
+ "entitypath": "{base_path}/{version}/{pathv1}/{pathv2}/{pathv3}/{pathv4}/{pathv5}/{pathv6}/{pathv7}/{pathv8}/{pathv9}/{pathv10}/{pathv11}/{pathv12}/{pathv13}/{pathv14}/{pathv15}/{pathv16}/{pathv17}/{pathv18}/{pathv19}/{pathv20}?{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": ""
21
+ }
22
+ ]
23
+ },
24
+ {
25
+ "name": "createGeneric",
26
+ "protocol": "REST",
27
+ "method": "POST",
28
+ "entitypath": "{base_path}/{version}/{pathv1}/{pathv2}/{pathv3}/{pathv4}/{pathv5}/{pathv6}/{pathv7}/{pathv8}/{pathv9}/{pathv10}/{pathv11}/{pathv12}/{pathv13}/{pathv14}/{pathv15}/{pathv16}/{pathv17}/{pathv18}/{pathv19}/{pathv20}?{query}",
29
+ "requestSchema": "schema.json",
30
+ "responseSchema": "schema.json",
31
+ "timeout": 0,
32
+ "sendEmpty": false,
33
+ "sendGetBody": false,
34
+ "requestDatatype": "JSON",
35
+ "responseDatatype": "JSON",
36
+ "headers": {},
37
+ "responseObjects": [
38
+ {
39
+ "type": "default",
40
+ "key": "",
41
+ "mockFile": ""
42
+ }
43
+ ]
44
+ },
45
+ {
46
+ "name": "updateGeneric",
47
+ "protocol": "REST",
48
+ "method": "PUT",
49
+ "entitypath": "{base_path}/{version}/{pathv1}/{pathv2}/{pathv3}/{pathv4}/{pathv5}/{pathv6}/{pathv7}/{pathv8}/{pathv9}/{pathv10}/{pathv11}/{pathv12}/{pathv13}/{pathv14}/{pathv15}/{pathv16}/{pathv17}/{pathv18}/{pathv19}/{pathv20}?{query}",
50
+ "requestSchema": "schema.json",
51
+ "responseSchema": "schema.json",
52
+ "timeout": 0,
53
+ "sendEmpty": false,
54
+ "sendGetBody": false,
55
+ "requestDatatype": "JSON",
56
+ "responseDatatype": "JSON",
57
+ "headers": {},
58
+ "responseObjects": [
59
+ {
60
+ "type": "default",
61
+ "key": "",
62
+ "mockFile": ""
63
+ }
64
+ ]
65
+ },
66
+ {
67
+ "name": "patchGeneric",
68
+ "protocol": "REST",
69
+ "method": "PATCH",
70
+ "entitypath": "{base_path}/{version}/{pathv1}/{pathv2}/{pathv3}/{pathv4}/{pathv5}/{pathv6}/{pathv7}/{pathv8}/{pathv9}/{pathv10}/{pathv11}/{pathv12}/{pathv13}/{pathv14}/{pathv15}/{pathv16}/{pathv17}/{pathv18}/{pathv19}/{pathv20}?{query}",
71
+ "requestSchema": "schema.json",
72
+ "responseSchema": "schema.json",
73
+ "timeout": 0,
74
+ "sendEmpty": false,
75
+ "sendGetBody": false,
76
+ "requestDatatype": "JSON",
77
+ "responseDatatype": "JSON",
78
+ "headers": {},
79
+ "responseObjects": [
80
+ {
81
+ "type": "default",
82
+ "key": "",
83
+ "mockFile": ""
84
+ }
85
+ ]
86
+ },
87
+ {
88
+ "name": "deleteGeneric",
89
+ "protocol": "REST",
90
+ "method": "DELETE",
91
+ "entitypath": "{base_path}/{version}/{pathv1}/{pathv2}/{pathv3}/{pathv4}/{pathv5}/{pathv6}/{pathv7}/{pathv8}/{pathv9}/{pathv10}/{pathv11}/{pathv12}/{pathv13}/{pathv14}/{pathv15}/{pathv16}/{pathv17}/{pathv18}/{pathv19}/{pathv20}?{query}",
92
+ "requestSchema": "schema.json",
93
+ "responseSchema": "schema.json",
94
+ "timeout": 0,
95
+ "sendEmpty": false,
96
+ "sendGetBody": false,
97
+ "requestDatatype": "JSON",
98
+ "responseDatatype": "JSON",
99
+ "headers": {},
100
+ "responseObjects": [
101
+ {
102
+ "type": "default",
103
+ "key": "",
104
+ "mockFile": ""
105
+ }
106
+ ]
107
+ }
108
+ ]
109
+ }
@@ -0,0 +1,23 @@
1
+ {
2
+ "$id": "generic_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": "getGeneric",
12
+ "enum": [
13
+ "getGenerics",
14
+ "createGeneric",
15
+ "updateGeneric",
16
+ "patchGeneric",
17
+ "deleteGeneric"
18
+ ],
19
+ "external_name": "ph_request_type"
20
+ }
21
+ },
22
+ "definitions": {}
23
+ }
@@ -0,0 +1,50 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "getToken",
5
+ "protocol": "REST",
6
+ "method": "POST",
7
+ "entitypath": "{base_path}/{version}/login",
8
+ "requestSchema": "schemaTokenReq.json",
9
+ "responseSchema": "schemaTokenResp.json",
10
+ "timeout": 0,
11
+ "sendEmpty": false,
12
+ "requestDatatype": "",
13
+ "responseDatatype": "",
14
+ "headers": {},
15
+ "sso": {
16
+ "protocol": "",
17
+ "host": "",
18
+ "port": 0
19
+ },
20
+ "responseObjects": [
21
+ {
22
+ "type": "default",
23
+ "key": "",
24
+ "mockFile": "mockdatafiles/getToken-default.json"
25
+ }
26
+ ]
27
+ },
28
+ {
29
+ "name": "healthcheck",
30
+ "protocol": "REST",
31
+ "method": "GET",
32
+ "entitypath": "{base_path}/{version}/healthcheck?{query}",
33
+ "requestSchema": "schema.json",
34
+ "responseSchema": "schema.json",
35
+ "timeout": 0,
36
+ "sendEmpty": false,
37
+ "sendGetBody": false,
38
+ "requestDatatype": "",
39
+ "responseDatatype": "",
40
+ "headers": {},
41
+ "responseObjects": [
42
+ {
43
+ "type": "default",
44
+ "key": "",
45
+ "mockFile": "mockdatafiles/healthcheck-default.json"
46
+ }
47
+ ]
48
+ }
49
+ ]
50
+ }
@@ -0,0 +1,3 @@
1
+ {
2
+ "token": "garbagetoken"
3
+ }
@@ -0,0 +1,3 @@
1
+ {
2
+ "mockkey": "mockvalue"
3
+ }
@@ -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": "healthcheck",
12
+ "enum": [
13
+ "healthcheck"
14
+ ],
15
+ "external_name": "ph_request_type"
16
+ }
17
+ },
18
+ "definitions": {}
19
+ }
@@ -0,0 +1,53 @@
1
+ {
2
+ "$id": ".system-schemaTokenReq.json",
3
+ "type": "object",
4
+ "schema": "http://json-schema.org/draft-07/schema#",
5
+ "translate": true,
6
+ "dynamicfields": true,
7
+ "properties": {
8
+ "ph_request_type": {
9
+ "type": "string",
10
+ "description": "type of request (internal to adapter)",
11
+ "default": "getToken",
12
+ "enum": [
13
+ "getToken"
14
+ ],
15
+ "external_name": "ph_request_type"
16
+ },
17
+ "username": {
18
+ "type": "string",
19
+ "description": "username to log in with",
20
+ "parse": false,
21
+ "encode": false,
22
+ "encrypt": {
23
+ "type": "AES",
24
+ "key": ""
25
+ },
26
+ "external_name": "username"
27
+ },
28
+ "password": {
29
+ "type": "string",
30
+ "description": "password to log in with",
31
+ "parse": false,
32
+ "encode": false,
33
+ "encrypt": {
34
+ "type": "AES",
35
+ "key": ""
36
+ },
37
+ "external_name": "password"
38
+ },
39
+ "token": {
40
+ "type": "string",
41
+ "description": "token returned by system",
42
+ "parse": false,
43
+ "encode": false,
44
+ "placement": "BODY",
45
+ "encrypt": {
46
+ "type": "AES",
47
+ "key": ""
48
+ },
49
+ "external_name": "token"
50
+ }
51
+ },
52
+ "definitions": {}
53
+ }
@@ -0,0 +1,53 @@
1
+ {
2
+ "$id": ".system-schemaTokenResp.json",
3
+ "type": "object",
4
+ "schema": "http://json-schema.org/draft-07/schema#",
5
+ "translate": true,
6
+ "dynamicfields": true,
7
+ "properties": {
8
+ "ph_request_type": {
9
+ "type": "string",
10
+ "description": "type of request (internal to adapter)",
11
+ "default": "getToken",
12
+ "enum": [
13
+ "getToken"
14
+ ],
15
+ "external_name": "ph_request_type"
16
+ },
17
+ "username": {
18
+ "type": "string",
19
+ "description": "username to log in with",
20
+ "parse": false,
21
+ "encode": false,
22
+ "encrypt": {
23
+ "type": "AES",
24
+ "key": ""
25
+ },
26
+ "external_name": "username"
27
+ },
28
+ "password": {
29
+ "type": "string",
30
+ "description": "password to log in with",
31
+ "parse": false,
32
+ "encode": false,
33
+ "encrypt": {
34
+ "type": "AES",
35
+ "key": ""
36
+ },
37
+ "external_name": "password"
38
+ },
39
+ "token": {
40
+ "type": "string",
41
+ "description": "token returned by system",
42
+ "parse": false,
43
+ "encode": false,
44
+ "placement": "BODY",
45
+ "encrypt": {
46
+ "type": "AES",
47
+ "key": ""
48
+ },
49
+ "external_name": "token"
50
+ }
51
+ },
52
+ "definitions": {}
53
+ }
@@ -0,0 +1,25 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "artifactsGet",
5
+ "protocol": "REST",
6
+ "method": "GET",
7
+ "entitypath": "{base_path}/{version}/{pathv1}/{pathv2}/_apis/pipelines/{pathv3}/runs/{pathv4}/artifacts?{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/artifactsGet-default.json"
21
+ }
22
+ ]
23
+ }
24
+ ]
25
+ }
@@ -0,0 +1,5 @@
1
+ {
2
+ "name": "string",
3
+ "signedContent": null,
4
+ "url": "string"
5
+ }
@@ -0,0 +1,41 @@
1
+ {
2
+ "$id": "schema.json",
3
+ "type": "object",
4
+ "schema": "http://json-schema.org/draft-07/schema#",
5
+ "translate": true,
6
+ "dynamicfields": true,
7
+ "properties": {
8
+ "ph_request_type": {
9
+ "type": "string",
10
+ "description": "type of request (internal to adapter)",
11
+ "default": "artifactsGet",
12
+ "enum": [
13
+ "artifactsGet"
14
+ ],
15
+ "external_name": "ph_request_type"
16
+ },
17
+ "expand": {
18
+ "type": "string",
19
+ "description": "Expand options. Default is None.",
20
+ "parse": false,
21
+ "encode": false,
22
+ "encrypt": {
23
+ "type": "AES",
24
+ "key": ""
25
+ },
26
+ "external_name": "$expand"
27
+ },
28
+ "apiVersion": {
29
+ "type": "string",
30
+ "description": "Version of the API to use. This should be set to '6.1-preview.1' to use this version of the api.",
31
+ "parse": false,
32
+ "encode": false,
33
+ "encrypt": {
34
+ "type": "AES",
35
+ "key": ""
36
+ },
37
+ "external_name": "api-version"
38
+ }
39
+ },
40
+ "definitions": {}
41
+ }
@@ -0,0 +1,46 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "logsList",
5
+ "protocol": "REST",
6
+ "method": "GET",
7
+ "entitypath": "{base_path}/{version}/{pathv1}/{pathv2}/_apis/pipelines/{pathv3}/runs/{pathv4}/logs?{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/logsList-default.json"
21
+ }
22
+ ]
23
+ },
24
+ {
25
+ "name": "logsGet",
26
+ "protocol": "REST",
27
+ "method": "GET",
28
+ "entitypath": "{base_path}/{version}/{pathv1}/{pathv2}/_apis/pipelines/{pathv3}/runs/{pathv4}/logs/{pathv5}?{query}",
29
+ "requestSchema": "schema.json",
30
+ "responseSchema": "schema.json",
31
+ "timeout": 0,
32
+ "sendEmpty": false,
33
+ "sendGetBody": false,
34
+ "requestDatatype": "JSON",
35
+ "responseDatatype": "JSON",
36
+ "headers": {},
37
+ "responseObjects": [
38
+ {
39
+ "type": "default",
40
+ "key": "",
41
+ "mockFile": "mockdatafiles/logsGet-default.json"
42
+ }
43
+ ]
44
+ }
45
+ ]
46
+ }
@@ -0,0 +1,11 @@
1
+ {
2
+ "createdOn": "string",
3
+ "id": 4,
4
+ "lastChangedOn": "string",
5
+ "lineCount": 5,
6
+ "signedContent": {
7
+ "signatureExpires": "string",
8
+ "url": "string"
9
+ },
10
+ "url": "string"
11
+ }
@@ -0,0 +1,119 @@
1
+ {
2
+ "logs": [
3
+ {
4
+ "createdOn": "string",
5
+ "id": 8,
6
+ "lastChangedOn": "string",
7
+ "lineCount": 7,
8
+ "signedContent": {
9
+ "signatureExpires": "string",
10
+ "url": "string"
11
+ },
12
+ "url": "string"
13
+ },
14
+ {
15
+ "createdOn": "string",
16
+ "id": 9,
17
+ "lastChangedOn": "string",
18
+ "lineCount": 10,
19
+ "signedContent": {
20
+ "signatureExpires": "string",
21
+ "url": "string"
22
+ },
23
+ "url": "string"
24
+ },
25
+ {
26
+ "createdOn": "string",
27
+ "id": 2,
28
+ "lastChangedOn": "string",
29
+ "lineCount": 6,
30
+ "signedContent": {
31
+ "signatureExpires": "string",
32
+ "url": "string"
33
+ },
34
+ "url": "string"
35
+ },
36
+ {
37
+ "createdOn": "string",
38
+ "id": 5,
39
+ "lastChangedOn": "string",
40
+ "lineCount": 5,
41
+ "signedContent": {
42
+ "signatureExpires": "string",
43
+ "url": "string"
44
+ },
45
+ "url": "string"
46
+ },
47
+ {
48
+ "createdOn": "string",
49
+ "id": 8,
50
+ "lastChangedOn": "string",
51
+ "lineCount": 4,
52
+ "signedContent": {
53
+ "signatureExpires": "string",
54
+ "url": "string"
55
+ },
56
+ "url": "string"
57
+ },
58
+ {
59
+ "createdOn": "string",
60
+ "id": 2,
61
+ "lastChangedOn": "string",
62
+ "lineCount": 1,
63
+ "signedContent": {
64
+ "signatureExpires": "string",
65
+ "url": "string"
66
+ },
67
+ "url": "string"
68
+ },
69
+ {
70
+ "createdOn": "string",
71
+ "id": 4,
72
+ "lastChangedOn": "string",
73
+ "lineCount": 2,
74
+ "signedContent": {
75
+ "signatureExpires": "string",
76
+ "url": "string"
77
+ },
78
+ "url": "string"
79
+ },
80
+ {
81
+ "createdOn": "string",
82
+ "id": 7,
83
+ "lastChangedOn": "string",
84
+ "lineCount": 2,
85
+ "signedContent": {
86
+ "signatureExpires": "string",
87
+ "url": "string"
88
+ },
89
+ "url": "string"
90
+ },
91
+ {
92
+ "createdOn": "string",
93
+ "id": 8,
94
+ "lastChangedOn": "string",
95
+ "lineCount": 8,
96
+ "signedContent": {
97
+ "signatureExpires": "string",
98
+ "url": "string"
99
+ },
100
+ "url": "string"
101
+ },
102
+ {
103
+ "createdOn": "string",
104
+ "id": 1,
105
+ "lastChangedOn": "string",
106
+ "lineCount": 1,
107
+ "signedContent": {
108
+ "signatureExpires": "string",
109
+ "url": "string"
110
+ },
111
+ "url": "string"
112
+ }
113
+ ],
114
+ "signedContent": {
115
+ "signatureExpires": "string",
116
+ "url": "string"
117
+ },
118
+ "url": "string"
119
+ }
@@ -0,0 +1,42 @@
1
+ {
2
+ "$id": "schema.json",
3
+ "type": "object",
4
+ "schema": "http://json-schema.org/draft-07/schema#",
5
+ "translate": true,
6
+ "dynamicfields": true,
7
+ "properties": {
8
+ "ph_request_type": {
9
+ "type": "string",
10
+ "description": "type of request (internal to adapter)",
11
+ "default": "logsList",
12
+ "enum": [
13
+ "logsList",
14
+ "logsGet"
15
+ ],
16
+ "external_name": "ph_request_type"
17
+ },
18
+ "expand": {
19
+ "type": "string",
20
+ "description": "Expand options. Default is None.",
21
+ "parse": false,
22
+ "encode": false,
23
+ "encrypt": {
24
+ "type": "AES",
25
+ "key": ""
26
+ },
27
+ "external_name": "$expand"
28
+ },
29
+ "apiVersion": {
30
+ "type": "string",
31
+ "description": "Version of the API to use. This should be set to '6.1-preview.1' to use this version of the api.",
32
+ "parse": false,
33
+ "encode": false,
34
+ "encrypt": {
35
+ "type": "AES",
36
+ "key": ""
37
+ },
38
+ "external_name": "api-version"
39
+ }
40
+ },
41
+ "definitions": {}
42
+ }
@@ -0,0 +1,66 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "pipelinesCreate",
5
+ "protocol": "REST",
6
+ "method": "POST",
7
+ "entitypath": "{base_path}/{version}/{pathv1}/{pathv2}/_apis/pipelines?{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": "mockdatafiles/pipelinesCreate-default.json"
20
+ }
21
+ ]
22
+ },
23
+ {
24
+ "name": "pipelinesList",
25
+ "protocol": "REST",
26
+ "method": "GET",
27
+ "entitypath": "{base_path}/{version}/{pathv1}/{pathv2}/_apis/pipelines?{query}",
28
+ "requestSchema": "schema.json",
29
+ "responseSchema": "schema.json",
30
+ "timeout": 0,
31
+ "sendEmpty": false,
32
+ "sendGetBody": false,
33
+ "requestDatatype": "JSON",
34
+ "responseDatatype": "JSON",
35
+ "headers": {},
36
+ "responseObjects": [
37
+ {
38
+ "type": "default",
39
+ "key": "",
40
+ "mockFile": "mockdatafiles/pipelinesList-default.json"
41
+ }
42
+ ]
43
+ },
44
+ {
45
+ "name": "pipelinesGet",
46
+ "protocol": "REST",
47
+ "method": "GET",
48
+ "entitypath": "{base_path}/{version}/{pathv1}/{pathv2}/_apis/pipelines/{pathv3}?{query}",
49
+ "requestSchema": "schema.json",
50
+ "responseSchema": "schema.json",
51
+ "timeout": 0,
52
+ "sendEmpty": false,
53
+ "sendGetBody": false,
54
+ "requestDatatype": "JSON",
55
+ "responseDatatype": "JSON",
56
+ "headers": {},
57
+ "responseObjects": [
58
+ {
59
+ "type": "default",
60
+ "key": "",
61
+ "mockFile": "mockdatafiles/pipelinesGet-default.json"
62
+ }
63
+ ]
64
+ }
65
+ ]
66
+ }