|
462 | 462 | "visibleRule": "rerunFailedTests = true" |
463 | 463 | } |
464 | 464 | ], |
465 | | - "dataSourceBindings": [ |
| 465 | + "sourceDefinitions": [ |
466 | 466 | { |
467 | 467 | "target": "testPlan", |
468 | | - "endpointId": "tfs:teamfoundation", |
469 | | - "endpointUrl": "{{endpoint.url}}/{{system.teamProject}}/_apis/test/plans?filterActivePlans=true&api-version=3.0-preview.2&$skip={{skip}}&$top=1000", |
470 | | - "resultSelector": "jsonpath:$.value[*]", |
471 | | - "resultTemplate": "{ \"Value\" : \"{{{id}}}\", \"DisplayValue\" : \"{{{id}}} - {{{name}}}\" }", |
472 | | - "callbackContextTemplate": "{\"skip\": \"{{add skip 1000}}\"}", |
473 | | - "callbackRequiredTemplate": "{{isEqualNumber result.count 1000}}", |
474 | | - "initialContextTemplate": "{\"skip\": \"0\"}" |
| 468 | + "endpoint": "/$(system.teamProject)/_apis/test/plans?filterActivePlans=true&api-version=3.0-preview.2", |
| 469 | + "selector": "jsonpath:$.value[*].name", |
| 470 | + "keySelector": "jsonpath:$.value[*].id", |
| 471 | + "authKey": "tfs:teamfoundation" |
475 | 472 | }, |
476 | 473 | { |
477 | 474 | "target": "testConfiguration", |
478 | 475 | "endpointId": "tfs:teamfoundation", |
479 | | - "endpointUrl": "{{endpoint.url}}/{{system.teamProject}}/_apis/test/configurations?api-version=3.0-preview.1", |
480 | | - "resultSelector": "jsonpath:$.value[*]", |
481 | | - "resultTemplate": "{ \"Value\" : \"{{{id}}}\", \"DisplayValue\" : \"{{{id}}} - {{{name}}}\" }" |
| 476 | + "endpoint": "/$(system.teamProject)/_apis/test/configurations?api-version=3.0-preview.1", |
| 477 | + "selector": "jsonpath:$.value[*].name", |
| 478 | + "keySelector": "jsonpath:$.value[*].id", |
| 479 | + "authKey": "tfs:teamfoundation" |
482 | 480 | }, |
483 | 481 | { |
484 | 482 | "target": "testSuite", |
485 | | - "endpointId": "tfs:teamfoundation", |
486 | | - "endpointUrl": "{{endpoint.url}}/{{system.teamProject}}/_apis/test/plans/{{testPlan}}/suites?$asTreeView=true&api-version=3.0-preview.2", |
487 | | - "resultSelector": "jsonpath:$.value[*]" |
| 483 | + "endpoint": "/$(system.teamProject)/_apis/test/plans/$(testPlan)/suites?$asTreeView=true&api-version=3.0-preview.2", |
| 484 | + "selector": "jsonpath:$.value[*]", |
| 485 | + "authKey": "tfs:teamfoundation" |
488 | 486 | } |
489 | 487 | ], |
490 | 488 | "instanceNameFormat": "ms-resource:loc.instanceNameFormat", |
|
0 commit comments