@deepraxis/cli 0.2.1-dev.da8587f → 0.2.1-dev.daf3004
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/COMMANDS.md +1 -20
- package/dist/praxis.js +1 -910
- package/package.json +1 -1
package/COMMANDS.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Generated by `bun run commands`. DO NOT EDIT.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
548 HTTP operations; 550 commands including aliases.
|
|
6
6
|
|
|
7
7
|
Environment: `PRAXIS_ENV=develop|production` (dev package defaults to `develop`; stable package defaults to `production`). No `--env` option.
|
|
8
8
|
|
|
@@ -325,25 +325,6 @@ Handwritten commands: `login`, `logout`, `whoami`, `org list`, `org switch <orga
|
|
|
325
325
|
| `praxis api database table list` | `database.databases.tables.list` | GET `/database/v1/databases/{database_id}/tables` | `--database` |
|
|
326
326
|
| `praxis api database table update <table>` | `database.databases.tables.update` | PATCH `/database/v1/databases/{database_id}/tables/{table}` | `--database`, `--name`, `--description` |
|
|
327
327
|
| `praxis api database update <database_id>` | `database.databases.update` | PATCH `/database/v1/databases/{database_id}` | `--name` |
|
|
328
|
-
| `praxis api devops project get-test-catalog <project>` | `devops.projects.retrieveTestCatalog` | GET `/devops/v1/projects/{project}/test-catalog` | `--commit` |
|
|
329
|
-
| `praxis api devops project test-case list` | `devops.projects.testCases.list` | GET `/devops/v1/projects/{project}/test-cases` | `--project`, `--page-size`, `--page-token`, `--filter`, `--order-by` |
|
|
330
|
-
| `praxis api devops project test-plan create` | `devops.projects.testPlans.create` | POST `/devops/v1/projects/{project}/test-plans` | `--project`, `--key`, `--title`, `--stage`, `--environment`, `--gate`, `--repeat`, `--timeout-minutes` |
|
|
331
|
-
| `praxis api devops project test-plan list` | `devops.projects.testPlans.list` | GET `/devops/v1/projects/{project}/test-plans` | `--project`, `--page-size`, `--page-token`, `--order-by` |
|
|
332
|
-
| `praxis api devops project test-report create` | `devops.projects.testReports.create` | POST `/devops/v1/projects/{project}/test-reports` | `--project`, `--report-id`, `--param-format`, `--report` |
|
|
333
|
-
| `praxis api devops project test-run create` | `devops.projects.testRuns.create` | POST `/devops/v1/projects/{project}/test-runs` | `--project`, `--plan`, `--environment`, `--repeat`, `--wait-until` |
|
|
334
|
-
| `praxis api devops project test-run list` | `devops.projects.testRuns.list` | GET `/devops/v1/projects/{project}/test-runs` | `--project`, `--page-size`, `--page-token`, `--filter`, `--order-by` |
|
|
335
|
-
| `praxis api devops project test-suite list` | `devops.projects.testSuites.list` | GET `/devops/v1/projects/{project}/test-suites` | `--project`, `--page-size`, `--page-token`, `--order-by` |
|
|
336
|
-
| `praxis api devops test-case get <id>` | `devops.testCases.retrieve` | GET `/devops/v1/test-cases/{id}` | |
|
|
337
|
-
| `praxis api devops test-plan delete <id>` | `devops.testPlans.delete` | DELETE `/devops/v1/test-plans/{id}` | |
|
|
338
|
-
| `praxis api devops test-plan get <id>` | `devops.testPlans.retrieve` | GET `/devops/v1/test-plans/{id}` | |
|
|
339
|
-
| `praxis api devops test-plan pause <id>` | `devops.testPlans.pause` | POST `/devops/v1/test-plans/{id}:pause` | `--reason`, `--until` |
|
|
340
|
-
| `praxis api devops test-plan resume <id>` | `devops.testPlans.resume` | POST `/devops/v1/test-plans/{id}:resume` | |
|
|
341
|
-
| `praxis api devops test-plan update <id>` | `devops.testPlans.update` | PATCH `/devops/v1/test-plans/{id}` | `--update-mask` |
|
|
342
|
-
| `praxis api devops test-run cancel <id>` | `devops.testRuns.cancel` | POST `/devops/v1/test-runs/{id}:cancel` | `--reason` |
|
|
343
|
-
| `praxis api devops test-run execution get <case>` | `devops.testRuns.executions.retrieve` | GET `/devops/v1/test-runs/{run}/executions/{case}` | `--test-run` |
|
|
344
|
-
| `praxis api devops test-run execution list` | `devops.testRuns.executions.list` | GET `/devops/v1/test-runs/{run}/executions` | `--test-run`, `--page-size`, `--page-token`, `--order-by` |
|
|
345
|
-
| `praxis api devops test-run get <id>` | `devops.testRuns.retrieve` | GET `/devops/v1/test-runs/{id}` | `--expand` |
|
|
346
|
-
| `praxis api devops test-suite get <id>` | `devops.testSuites.retrieve` | GET `/devops/v1/test-suites/{id}` | |
|
|
347
328
|
| `praxis api file content-link revoke <file_id>` | `file.files.contentLinks.revoke` | POST `/file/v1/files/{file_id}/content_links:revoke` | `--token` |
|
|
348
329
|
| `praxis api file content-url create` | `file.files.contentUrl.create` | POST `/file/v1/files/{file_id}/content_url` | `--file`, `--ttl-seconds` |
|
|
349
330
|
| `praxis api file create` | `file.files.create` | POST `/file/v1/files` | `--file`, `--purpose` |
|
package/dist/praxis.js
CHANGED
|
@@ -11676,674 +11676,6 @@ The default is return=minimal: success returns HTTP 201 with an empty body. Send
|
|
|
11676
11676
|
]
|
|
11677
11677
|
}
|
|
11678
11678
|
},
|
|
11679
|
-
{
|
|
11680
|
-
resource: "devops.projects.testCases",
|
|
11681
|
-
method: "list",
|
|
11682
|
-
summary: "List test cases",
|
|
11683
|
-
description: "List a project's cases with their health, state and recent statistics, so you can decide which ones a plan must run and which are quarantined. This is the read a test dashboard is built on; filter it to narrow by state or health instead of paging through everything. A case's id is a fingerprint of its own title and path, so it survives a rename — read aliases when reconciling history recorded under an older title.",
|
|
11684
|
-
http: "GET",
|
|
11685
|
-
path: "/devops/v1/projects/{project}/test-cases",
|
|
11686
|
-
streaming: "no",
|
|
11687
|
-
pagination: false,
|
|
11688
|
-
pathParams: [
|
|
11689
|
-
{
|
|
11690
|
-
name: "project",
|
|
11691
|
-
sdkName: "project",
|
|
11692
|
-
description: "Identifies the project whose data you are reading, from the project list or create answer."
|
|
11693
|
-
}
|
|
11694
|
-
],
|
|
11695
|
-
query: [
|
|
11696
|
-
{
|
|
11697
|
-
name: "pageSize",
|
|
11698
|
-
type: "integer",
|
|
11699
|
-
required: false,
|
|
11700
|
-
description: "How many items this page returns, 1 to 100; omitted uses 50. A larger value is capped at 100 rather than refused, and 0 falls back to the default, so a paging loop never fails on a size alone."
|
|
11701
|
-
},
|
|
11702
|
-
{
|
|
11703
|
-
name: "pageToken",
|
|
11704
|
-
type: "string",
|
|
11705
|
-
required: false,
|
|
11706
|
-
description: "The cursor from the previous page's nextPageToken. Treat it as opaque and never build one yourself; omit it for the first page."
|
|
11707
|
-
},
|
|
11708
|
-
{
|
|
11709
|
-
name: "filter",
|
|
11710
|
-
type: "string",
|
|
11711
|
-
required: false,
|
|
11712
|
-
description: "AIP-160 equality filter over one declared field at a time, for example state=quarantined or health=broken. Fields a case list does not declare are refused with INVALID_ARGUMENT rather than ignored, so a typo never silently widens the result."
|
|
11713
|
-
},
|
|
11714
|
-
{
|
|
11715
|
-
name: "orderBy",
|
|
11716
|
-
type: "string",
|
|
11717
|
-
required: false,
|
|
11718
|
-
description: "Comma-separated fields to order by, each optionally suffixed with desc, for example createTime desc. Only the fields the resource declares are accepted; anything else is refused so an ordering typo cannot silently return a different order. Omitted uses the resource's own order."
|
|
11719
|
-
}
|
|
11720
|
-
]
|
|
11721
|
-
},
|
|
11722
|
-
{
|
|
11723
|
-
resource: "devops.projects",
|
|
11724
|
-
method: "retrieveTestCatalog",
|
|
11725
|
-
summary: "Read a commit's test catalog",
|
|
11726
|
-
description: 'Read the catalog version discovered at one commit — how many suites and cases it holds, which frameworks they come from, and how the commit changed them. Call this first: it tells you which suites, cases and sizes exist before you list them or select them into a plan, and the reported diff explains why a case count moved. A commit whose discovery has not finished answers CATALOG_NOT_READY, which means "not yet", not "no tests"; wait and read again. Omit commit to read the newest catalog published for the project.',
|
|
11727
|
-
http: "GET",
|
|
11728
|
-
path: "/devops/v1/projects/{project}/test-catalog",
|
|
11729
|
-
streaming: "no",
|
|
11730
|
-
pagination: false,
|
|
11731
|
-
pathParams: [
|
|
11732
|
-
{
|
|
11733
|
-
name: "project",
|
|
11734
|
-
sdkName: "project",
|
|
11735
|
-
description: "Identifies the project whose data you are reading, from the project list or create answer."
|
|
11736
|
-
}
|
|
11737
|
-
],
|
|
11738
|
-
query: [
|
|
11739
|
-
{
|
|
11740
|
-
name: "commit",
|
|
11741
|
-
type: "string",
|
|
11742
|
-
required: false,
|
|
11743
|
-
description: "Full 40-character commit sha whose catalog you want, from a project branch or commit read. Omit it to read the newest catalog published for the project."
|
|
11744
|
-
}
|
|
11745
|
-
]
|
|
11746
|
-
},
|
|
11747
|
-
{
|
|
11748
|
-
resource: "devops.projects.testPlans",
|
|
11749
|
-
method: "list",
|
|
11750
|
-
summary: "List test plans",
|
|
11751
|
-
description: "List the project's plans — what each one selects, which stage and gate it belongs to, and when it runs next. Read this before creating a plan, so a new plan extends what exists instead of duplicating a selector an existing plan already covers.",
|
|
11752
|
-
http: "GET",
|
|
11753
|
-
path: "/devops/v1/projects/{project}/test-plans",
|
|
11754
|
-
streaming: "no",
|
|
11755
|
-
pagination: false,
|
|
11756
|
-
pathParams: [
|
|
11757
|
-
{
|
|
11758
|
-
name: "project",
|
|
11759
|
-
sdkName: "project",
|
|
11760
|
-
description: "Identifies the project whose data you are reading, from the project list or create answer."
|
|
11761
|
-
}
|
|
11762
|
-
],
|
|
11763
|
-
query: [
|
|
11764
|
-
{
|
|
11765
|
-
name: "pageSize",
|
|
11766
|
-
type: "integer",
|
|
11767
|
-
required: false,
|
|
11768
|
-
description: "How many items this page returns, 1 to 100; omitted uses 50. A larger value is capped at 100 rather than refused, and 0 falls back to the default, so a paging loop never fails on a size alone."
|
|
11769
|
-
},
|
|
11770
|
-
{
|
|
11771
|
-
name: "pageToken",
|
|
11772
|
-
type: "string",
|
|
11773
|
-
required: false,
|
|
11774
|
-
description: "The cursor from the previous page's nextPageToken. Treat it as opaque and never build one yourself; omit it for the first page."
|
|
11775
|
-
},
|
|
11776
|
-
{
|
|
11777
|
-
name: "orderBy",
|
|
11778
|
-
type: "string",
|
|
11779
|
-
required: false,
|
|
11780
|
-
description: "Comma-separated fields to order by, each optionally suffixed with desc, for example createTime desc. Only the fields the resource declares are accepted; anything else is refused so an ordering typo cannot silently return a different order. Omitted uses the resource's own order."
|
|
11781
|
-
}
|
|
11782
|
-
]
|
|
11783
|
-
},
|
|
11784
|
-
{
|
|
11785
|
-
resource: "devops.projects.testPlans",
|
|
11786
|
-
method: "create",
|
|
11787
|
-
summary: "Create a test plan",
|
|
11788
|
-
description: "Create a plan that decides which cases a stage must run. The plan's key is unique inside the project and is what a later run names; the selector chooses cases by size, purpose, tag, package or explicit ids, and the trigger says when the plan fires by itself. A merge or promotion gate must name the environment it guards, and a plan with a gate but no environment is refused with PLAN_GATE_ENVIRONMENT_MISMATCH rather than created and silently ignored. A plan has no revision history: update it with a patch.",
|
|
11789
|
-
http: "POST",
|
|
11790
|
-
path: "/devops/v1/projects/{project}/test-plans",
|
|
11791
|
-
streaming: "no",
|
|
11792
|
-
pagination: false,
|
|
11793
|
-
pathParams: [
|
|
11794
|
-
{
|
|
11795
|
-
name: "project",
|
|
11796
|
-
sdkName: "project",
|
|
11797
|
-
description: "Identifies the project whose data you are reading, from the project list or create answer."
|
|
11798
|
-
}
|
|
11799
|
-
],
|
|
11800
|
-
query: [],
|
|
11801
|
-
body: {
|
|
11802
|
-
required: true,
|
|
11803
|
-
fields: [
|
|
11804
|
-
{
|
|
11805
|
-
name: "key",
|
|
11806
|
-
type: "string",
|
|
11807
|
-
required: true,
|
|
11808
|
-
description: "Short name for the plan, unique inside the project; a key already in use is refused rather than silently reused."
|
|
11809
|
-
},
|
|
11810
|
-
{
|
|
11811
|
-
name: "title",
|
|
11812
|
-
type: "string",
|
|
11813
|
-
required: true,
|
|
11814
|
-
description: "Display title of the plan, shown wherever the plan is listed."
|
|
11815
|
-
},
|
|
11816
|
-
{
|
|
11817
|
-
name: "stage",
|
|
11818
|
-
type: "string",
|
|
11819
|
-
enum: [
|
|
11820
|
-
"dev",
|
|
11821
|
-
"presubmit",
|
|
11822
|
-
"postsubmit",
|
|
11823
|
-
"nightly",
|
|
11824
|
-
"production"
|
|
11825
|
-
],
|
|
11826
|
-
required: true,
|
|
11827
|
-
description: "Which stage of delivery this plan belongs to, which decides when it is expected to run."
|
|
11828
|
-
},
|
|
11829
|
-
{
|
|
11830
|
-
name: "trigger",
|
|
11831
|
-
type: "object",
|
|
11832
|
-
required: true,
|
|
11833
|
-
description: "What starts a run of this plan. Exactly one kind applies; the fields a kind needs are the ones it carries."
|
|
11834
|
-
},
|
|
11835
|
-
{
|
|
11836
|
-
name: "selector",
|
|
11837
|
-
type: "object",
|
|
11838
|
-
required: true,
|
|
11839
|
-
description: "Which cases a plan or run selects. Every member is optional and they combine as an intersection, so a selector with no member selects every case in the catalog."
|
|
11840
|
-
},
|
|
11841
|
-
{
|
|
11842
|
-
name: "environment",
|
|
11843
|
-
type: "string",
|
|
11844
|
-
required: false,
|
|
11845
|
-
description: "The environment this plan runs against; required by a merge or promotion gate, and refused with PLAN_GATE_ENVIRONMENT_MISMATCH when it disagrees with the gate."
|
|
11846
|
-
},
|
|
11847
|
-
{
|
|
11848
|
-
name: "gate",
|
|
11849
|
-
type: "string",
|
|
11850
|
-
enum: [
|
|
11851
|
-
"merge",
|
|
11852
|
-
"promotion",
|
|
11853
|
-
"observation",
|
|
11854
|
-
"none"
|
|
11855
|
-
],
|
|
11856
|
-
required: true,
|
|
11857
|
-
description: "Whether this plan's result blocks a stage; a merge or promotion gate must name its environment."
|
|
11858
|
-
},
|
|
11859
|
-
{
|
|
11860
|
-
name: "repeat",
|
|
11861
|
-
type: "integer",
|
|
11862
|
-
required: false,
|
|
11863
|
-
description: "How many times each selected case runs in one run; omit for once. More than one is how a flake is told apart from a real failure."
|
|
11864
|
-
},
|
|
11865
|
-
{
|
|
11866
|
-
name: "timeoutMinutes",
|
|
11867
|
-
type: "integer",
|
|
11868
|
-
required: false,
|
|
11869
|
-
description: "How many minutes a run of this plan may take before it is timed out; omit for the service's default."
|
|
11870
|
-
}
|
|
11871
|
-
]
|
|
11872
|
-
}
|
|
11873
|
-
},
|
|
11874
|
-
{
|
|
11875
|
-
resource: "devops.projects.testReports",
|
|
11876
|
-
method: "create",
|
|
11877
|
-
summary: "Upload an external test report",
|
|
11878
|
-
description: "Record the results of a run executed outside Praxis by uploading a CTRF or JUnit report. The report is folded into the run named by ref and the run's counts and verdict are recomputed from it. Uploading the same reportId again is idempotent and counts once, so a retry after a timeout is safe; a different reportId for the same run adds its results. Pass the run you created with executor external — a report for a run that does not exist is NOT_FOUND, never silently recorded against another run.",
|
|
11879
|
-
http: "POST",
|
|
11880
|
-
path: "/devops/v1/projects/{project}/test-reports",
|
|
11881
|
-
streaming: "no",
|
|
11882
|
-
pagination: false,
|
|
11883
|
-
pathParams: [
|
|
11884
|
-
{
|
|
11885
|
-
name: "project",
|
|
11886
|
-
sdkName: "project",
|
|
11887
|
-
description: "Identifies the project whose data you are reading, from the project list or create answer."
|
|
11888
|
-
}
|
|
11889
|
-
],
|
|
11890
|
-
query: [],
|
|
11891
|
-
body: {
|
|
11892
|
-
required: true,
|
|
11893
|
-
fields: [
|
|
11894
|
-
{
|
|
11895
|
-
name: "reportId",
|
|
11896
|
-
type: "string",
|
|
11897
|
-
required: true,
|
|
11898
|
-
description: "Your own identifier for this report. Uploading the same id again is idempotent and counts once, so a retry after a timeout is safe."
|
|
11899
|
-
},
|
|
11900
|
-
{
|
|
11901
|
-
name: "format",
|
|
11902
|
-
type: "string",
|
|
11903
|
-
enum: [
|
|
11904
|
-
"ctrf",
|
|
11905
|
-
"junit"
|
|
11906
|
-
],
|
|
11907
|
-
required: true,
|
|
11908
|
-
description: "Which report format the document is in; it decides how the document is parsed."
|
|
11909
|
-
},
|
|
11910
|
-
{
|
|
11911
|
-
name: "ref",
|
|
11912
|
-
type: "object",
|
|
11913
|
-
required: true,
|
|
11914
|
-
description: "The exact revision a run tested. A commit is always named, because a run without one has nothing to report against."
|
|
11915
|
-
},
|
|
11916
|
-
{
|
|
11917
|
-
name: "report",
|
|
11918
|
-
type: "string",
|
|
11919
|
-
required: true,
|
|
11920
|
-
description: "The report document itself, as text — JSON for ctrf, XML for junit. Send the file's contents unchanged; a malformed document is refused with REPORT_INVALID and records nothing."
|
|
11921
|
-
}
|
|
11922
|
-
]
|
|
11923
|
-
}
|
|
11924
|
-
},
|
|
11925
|
-
{
|
|
11926
|
-
resource: "devops.projects.testRuns",
|
|
11927
|
-
method: "list",
|
|
11928
|
-
summary: "List test runs",
|
|
11929
|
-
description: "List the project's runs newest first, with each run's state, result and counts. Use it to find the run id whose executions you want to read, or to see whether a commit's tests have finished. A run whose result is pending has not reached a verdict yet — read it again rather than treating it as passed. Filter by state or result to watch only the runs still in flight.",
|
|
11930
|
-
http: "GET",
|
|
11931
|
-
path: "/devops/v1/projects/{project}/test-runs",
|
|
11932
|
-
streaming: "no",
|
|
11933
|
-
pagination: false,
|
|
11934
|
-
pathParams: [
|
|
11935
|
-
{
|
|
11936
|
-
name: "project",
|
|
11937
|
-
sdkName: "project",
|
|
11938
|
-
description: "Identifies the project whose data you are reading, from the project list or create answer."
|
|
11939
|
-
}
|
|
11940
|
-
],
|
|
11941
|
-
query: [
|
|
11942
|
-
{
|
|
11943
|
-
name: "pageSize",
|
|
11944
|
-
type: "integer",
|
|
11945
|
-
required: false,
|
|
11946
|
-
description: "How many items this page returns, 1 to 100; omitted uses 50. A larger value is capped at 100 rather than refused, and 0 falls back to the default, so a paging loop never fails on a size alone."
|
|
11947
|
-
},
|
|
11948
|
-
{
|
|
11949
|
-
name: "pageToken",
|
|
11950
|
-
type: "string",
|
|
11951
|
-
required: false,
|
|
11952
|
-
description: "The cursor from the previous page's nextPageToken. Treat it as opaque and never build one yourself; omit it for the first page."
|
|
11953
|
-
},
|
|
11954
|
-
{
|
|
11955
|
-
name: "filter",
|
|
11956
|
-
type: "string",
|
|
11957
|
-
required: false,
|
|
11958
|
-
description: "AIP-160 equality filter over one declared field, for example state=running or result=failed. An undeclared field is refused with INVALID_ARGUMENT; it is never ignored, so a mistyped filter cannot quietly return everything."
|
|
11959
|
-
},
|
|
11960
|
-
{
|
|
11961
|
-
name: "orderBy",
|
|
11962
|
-
type: "string",
|
|
11963
|
-
required: false,
|
|
11964
|
-
description: "Comma-separated fields to order by, each optionally suffixed with desc, for example createTime desc. Only the fields the resource declares are accepted; anything else is refused so an ordering typo cannot silently return a different order. Omitted uses the resource's own order."
|
|
11965
|
-
}
|
|
11966
|
-
]
|
|
11967
|
-
},
|
|
11968
|
-
{
|
|
11969
|
-
resource: "devops.projects.testRuns",
|
|
11970
|
-
method: "create",
|
|
11971
|
-
summary: "Create a test run",
|
|
11972
|
-
description: "Start a run of the project's tests at one commit. Name a plan to use its selector, or pass a selector directly for this run alone; the ref says which commit to test and is required, because a run without a commit has nothing to report against. waitUntil decides how far the call waits before answering — queued returns as soon as the run exists, finished waits for a verdict and may take minutes. A retry of an earlier run is a new run: pass its commit and selector, and read the earlier run to compare.",
|
|
11973
|
-
http: "POST",
|
|
11974
|
-
path: "/devops/v1/projects/{project}/test-runs",
|
|
11975
|
-
streaming: "no",
|
|
11976
|
-
pagination: false,
|
|
11977
|
-
pathParams: [
|
|
11978
|
-
{
|
|
11979
|
-
name: "project",
|
|
11980
|
-
sdkName: "project",
|
|
11981
|
-
description: "Identifies the project whose data you are reading, from the project list or create answer."
|
|
11982
|
-
}
|
|
11983
|
-
],
|
|
11984
|
-
query: [],
|
|
11985
|
-
body: {
|
|
11986
|
-
required: true,
|
|
11987
|
-
fields: [
|
|
11988
|
-
{
|
|
11989
|
-
name: "ref",
|
|
11990
|
-
type: "object",
|
|
11991
|
-
required: true,
|
|
11992
|
-
description: "The exact revision a run tested. A commit is always named, because a run without one has nothing to report against."
|
|
11993
|
-
},
|
|
11994
|
-
{
|
|
11995
|
-
name: "plan",
|
|
11996
|
-
type: "string",
|
|
11997
|
-
required: false,
|
|
11998
|
-
description: "Plan whose selector this run uses; omit it when passing selector instead. Naming a plan records the run against that plan, which is what a gate reads."
|
|
11999
|
-
},
|
|
12000
|
-
{
|
|
12001
|
-
name: "selector",
|
|
12002
|
-
type: "object",
|
|
12003
|
-
required: false,
|
|
12004
|
-
description: "An ad-hoc selector for this run alone, used instead of a plan's; it is not saved as a plan, so a run you want to repeat should name a plan."
|
|
12005
|
-
},
|
|
12006
|
-
{
|
|
12007
|
-
name: "environment",
|
|
12008
|
-
type: "string",
|
|
12009
|
-
required: false,
|
|
12010
|
-
description: "Environment to run against; it decides whether production-only cases become selectable. Omit it for a run that needs no environment."
|
|
12011
|
-
},
|
|
12012
|
-
{
|
|
12013
|
-
name: "repeat",
|
|
12014
|
-
type: "integer",
|
|
12015
|
-
required: false,
|
|
12016
|
-
description: "How many times each selected case runs, which is how a flake is told apart from a real failure; omit for once."
|
|
12017
|
-
},
|
|
12018
|
-
{
|
|
12019
|
-
name: "waitUntil",
|
|
12020
|
-
type: "string",
|
|
12021
|
-
enum: [
|
|
12022
|
-
"queued",
|
|
12023
|
-
"started",
|
|
12024
|
-
"finished"
|
|
12025
|
-
],
|
|
12026
|
-
required: false,
|
|
12027
|
-
description: "How far the call waits before answering — queued returns at once, started waits for execution to begin, finished waits for a verdict and may take minutes."
|
|
12028
|
-
}
|
|
12029
|
-
]
|
|
12030
|
-
}
|
|
12031
|
-
},
|
|
12032
|
-
{
|
|
12033
|
-
resource: "devops.projects.testSuites",
|
|
12034
|
-
method: "list",
|
|
12035
|
-
summary: "List test suites",
|
|
12036
|
-
description: "List the suites the project's newest catalog discovered — one suite per test file and framework pair, with its size, purposes and question count. Use it to find the suite id a case belongs to, or to see which files make up an area before selecting cases from them. Suites come from the catalog, so a file added in code appears only after its commit's catalog is published. Archived suites are returned too; they carry archived true and no case is ever silently dropped from the list.",
|
|
12037
|
-
http: "GET",
|
|
12038
|
-
path: "/devops/v1/projects/{project}/test-suites",
|
|
12039
|
-
streaming: "no",
|
|
12040
|
-
pagination: false,
|
|
12041
|
-
pathParams: [
|
|
12042
|
-
{
|
|
12043
|
-
name: "project",
|
|
12044
|
-
sdkName: "project",
|
|
12045
|
-
description: "Identifies the project whose data you are reading, from the project list or create answer."
|
|
12046
|
-
}
|
|
12047
|
-
],
|
|
12048
|
-
query: [
|
|
12049
|
-
{
|
|
12050
|
-
name: "pageSize",
|
|
12051
|
-
type: "integer",
|
|
12052
|
-
required: false,
|
|
12053
|
-
description: "How many items this page returns, 1 to 100; omitted uses 50. A larger value is capped at 100 rather than refused, and 0 falls back to the default, so a paging loop never fails on a size alone."
|
|
12054
|
-
},
|
|
12055
|
-
{
|
|
12056
|
-
name: "pageToken",
|
|
12057
|
-
type: "string",
|
|
12058
|
-
required: false,
|
|
12059
|
-
description: "The cursor from the previous page's nextPageToken. Treat it as opaque and never build one yourself; omit it for the first page."
|
|
12060
|
-
},
|
|
12061
|
-
{
|
|
12062
|
-
name: "orderBy",
|
|
12063
|
-
type: "string",
|
|
12064
|
-
required: false,
|
|
12065
|
-
description: "Comma-separated fields to order by, each optionally suffixed with desc, for example createTime desc. Only the fields the resource declares are accepted; anything else is refused so an ordering typo cannot silently return a different order. Omitted uses the resource's own order."
|
|
12066
|
-
}
|
|
12067
|
-
]
|
|
12068
|
-
},
|
|
12069
|
-
{
|
|
12070
|
-
resource: "devops.testCases",
|
|
12071
|
-
method: "retrieve",
|
|
12072
|
-
summary: "Retrieve a test case",
|
|
12073
|
-
description: "Read one case in full — its steps, tags, declared owners, current state with the policy and ticket behind it, and its rolling 7 or 30 day statistics. Use it before quarantining or fixing a case, to see what the state already is and why. A case that was renamed is reachable by both its current fingerprint id and the ids listed in aliases.",
|
|
12074
|
-
http: "GET",
|
|
12075
|
-
path: "/devops/v1/test-cases/{id}",
|
|
12076
|
-
streaming: "no",
|
|
12077
|
-
pagination: false,
|
|
12078
|
-
pathParams: [
|
|
12079
|
-
{
|
|
12080
|
-
name: "id",
|
|
12081
|
-
sdkName: "id",
|
|
12082
|
-
description: "The case identifier returned by a case list, or an older id listed in that case's aliases."
|
|
12083
|
-
}
|
|
12084
|
-
],
|
|
12085
|
-
query: []
|
|
12086
|
-
},
|
|
12087
|
-
{
|
|
12088
|
-
resource: "devops.testPlans",
|
|
12089
|
-
method: "delete",
|
|
12090
|
-
summary: "Delete a test plan",
|
|
12091
|
-
description: "Delete a plan so it schedules nothing further. The plan stops firing immediately; runs it already produced keep their own record and are not deleted with it. To stop a plan temporarily and keep it for later, pause it instead — deleting cannot be undone and the plan's key becomes free for another plan to take.",
|
|
12092
|
-
http: "DELETE",
|
|
12093
|
-
path: "/devops/v1/test-plans/{id}",
|
|
12094
|
-
streaming: "no",
|
|
12095
|
-
pagination: false,
|
|
12096
|
-
pathParams: [
|
|
12097
|
-
{
|
|
12098
|
-
name: "id",
|
|
12099
|
-
sdkName: "id",
|
|
12100
|
-
description: "The plan identifier returned by a plan list or create answer."
|
|
12101
|
-
}
|
|
12102
|
-
],
|
|
12103
|
-
query: []
|
|
12104
|
-
},
|
|
12105
|
-
{
|
|
12106
|
-
resource: "devops.testPlans",
|
|
12107
|
-
method: "retrieve",
|
|
12108
|
-
summary: "Retrieve a test plan",
|
|
12109
|
-
description: "Read one plan by the id a plan list returned, to see its selector, gate, repeat count, timeout and pause state before updating or deleting it. A paused plan carries the reason, the actor and the time it resumes, so a pause you did not set is explained here rather than guessed at.",
|
|
12110
|
-
http: "GET",
|
|
12111
|
-
path: "/devops/v1/test-plans/{id}",
|
|
12112
|
-
streaming: "no",
|
|
12113
|
-
pagination: false,
|
|
12114
|
-
pathParams: [
|
|
12115
|
-
{
|
|
12116
|
-
name: "id",
|
|
12117
|
-
sdkName: "id",
|
|
12118
|
-
description: "The plan identifier returned by a plan list or create answer."
|
|
12119
|
-
}
|
|
12120
|
-
],
|
|
12121
|
-
query: []
|
|
12122
|
-
},
|
|
12123
|
-
{
|
|
12124
|
-
resource: "devops.testPlans",
|
|
12125
|
-
method: "update",
|
|
12126
|
-
summary: "Update a test plan",
|
|
12127
|
-
description: "Change a plan's title, trigger, selector, gate, repeat count, timeout or enabled flag. Only the fields present in the body are changed, so a body naming one field leaves the rest exactly as they were. Changing a selector does not create a version — the plan is not a published artefact, and runs already started keep the selection they were created with. Read the plan first to know what you are leaving unchanged.",
|
|
12128
|
-
http: "PATCH",
|
|
12129
|
-
path: "/devops/v1/test-plans/{id}",
|
|
12130
|
-
streaming: "no",
|
|
12131
|
-
pagination: false,
|
|
12132
|
-
pathParams: [
|
|
12133
|
-
{
|
|
12134
|
-
name: "id",
|
|
12135
|
-
sdkName: "id",
|
|
12136
|
-
description: "The plan identifier returned by a plan list or create answer."
|
|
12137
|
-
}
|
|
12138
|
-
],
|
|
12139
|
-
query: [],
|
|
12140
|
-
body: {
|
|
12141
|
-
required: true,
|
|
12142
|
-
fields: [
|
|
12143
|
-
{
|
|
12144
|
-
name: "plan",
|
|
12145
|
-
type: "object",
|
|
12146
|
-
required: true,
|
|
12147
|
-
description: "The fields to change. Anything absent keeps its current value, so read the plan first if you need to know what you are leaving alone."
|
|
12148
|
-
},
|
|
12149
|
-
{
|
|
12150
|
-
name: "updateMask",
|
|
12151
|
-
type: "string",
|
|
12152
|
-
required: false,
|
|
12153
|
-
description: "Comma-separated names of the plan fields this patch intends to change, for example title,enabled. Omit it to apply every field present in plan; naming fields makes the intent explicit and keeps a concurrent edit from being overwritten by accident."
|
|
12154
|
-
}
|
|
12155
|
-
]
|
|
12156
|
-
}
|
|
12157
|
-
},
|
|
12158
|
-
{
|
|
12159
|
-
resource: "devops.testPlans",
|
|
12160
|
-
method: "pause",
|
|
12161
|
-
summary: "Pause a test plan",
|
|
12162
|
-
description: "Stop a plan from starting new runs while keeping it and its history. A reason is required and is recorded on the plan, so the next reader learns why it stopped. Give until to resume automatically at a time; omit it to stay paused until someone resumes it. Runs already in flight are not cancelled — cancel those individually.",
|
|
12163
|
-
http: "POST",
|
|
12164
|
-
path: "/devops/v1/test-plans/{id}:pause",
|
|
12165
|
-
streaming: "no",
|
|
12166
|
-
pagination: false,
|
|
12167
|
-
pathParams: [
|
|
12168
|
-
{
|
|
12169
|
-
name: "id",
|
|
12170
|
-
sdkName: "id",
|
|
12171
|
-
description: "The plan identifier returned by a plan list or create answer."
|
|
12172
|
-
}
|
|
12173
|
-
],
|
|
12174
|
-
query: [],
|
|
12175
|
-
body: {
|
|
12176
|
-
required: true,
|
|
12177
|
-
fields: [
|
|
12178
|
-
{
|
|
12179
|
-
name: "reason",
|
|
12180
|
-
type: "string",
|
|
12181
|
-
required: true,
|
|
12182
|
-
description: "Why the plan is being paused; it is stored on the plan and read by whoever finds it stopped."
|
|
12183
|
-
},
|
|
12184
|
-
{
|
|
12185
|
-
name: "until",
|
|
12186
|
-
type: "string",
|
|
12187
|
-
required: false,
|
|
12188
|
-
description: "RFC 3339 UTC time the plan resumes by itself; omit it to stay paused until someone resumes it."
|
|
12189
|
-
}
|
|
12190
|
-
]
|
|
12191
|
-
}
|
|
12192
|
-
},
|
|
12193
|
-
{
|
|
12194
|
-
resource: "devops.testPlans",
|
|
12195
|
-
method: "resume",
|
|
12196
|
-
summary: "Resume a test plan",
|
|
12197
|
-
description: "Clear a plan's pause so it schedules runs again. Resuming an active plan changes nothing and is safe to repeat. The plan keeps its selector, gate and key; only the pause is removed.",
|
|
12198
|
-
http: "POST",
|
|
12199
|
-
path: "/devops/v1/test-plans/{id}:resume",
|
|
12200
|
-
streaming: "no",
|
|
12201
|
-
pagination: false,
|
|
12202
|
-
pathParams: [
|
|
12203
|
-
{
|
|
12204
|
-
name: "id",
|
|
12205
|
-
sdkName: "id",
|
|
12206
|
-
description: "The plan identifier returned by a plan list or create answer."
|
|
12207
|
-
}
|
|
12208
|
-
],
|
|
12209
|
-
query: []
|
|
12210
|
-
},
|
|
12211
|
-
{
|
|
12212
|
-
resource: "devops.testRuns",
|
|
12213
|
-
method: "retrieve",
|
|
12214
|
-
summary: "Retrieve a test run",
|
|
12215
|
-
description: "Read one run's current state, result and counts, and ask for its failed executions inline with expand. Poll this after creating a run whose result was pending. A result is monotonic once it reaches a verdict — a failed run never becomes passed by a later report, so read the run rather than the last report to know where it ended.",
|
|
12216
|
-
http: "GET",
|
|
12217
|
-
path: "/devops/v1/test-runs/{id}",
|
|
12218
|
-
streaming: "no",
|
|
12219
|
-
pagination: false,
|
|
12220
|
-
pathParams: [
|
|
12221
|
-
{
|
|
12222
|
-
name: "id",
|
|
12223
|
-
sdkName: "id",
|
|
12224
|
-
description: "The run identifier returned by a run list or create answer."
|
|
12225
|
-
}
|
|
12226
|
-
],
|
|
12227
|
-
query: [
|
|
12228
|
-
{
|
|
12229
|
-
name: "expand",
|
|
12230
|
-
type: "array",
|
|
12231
|
-
itemType: "string",
|
|
12232
|
-
enum: [
|
|
12233
|
-
"failedExecutions"
|
|
12234
|
-
],
|
|
12235
|
-
required: false,
|
|
12236
|
-
description: "Repeatable field to expand inline. failedExecutions returns the non-passed executions with the run, which saves a second call when you only need to see what broke; omit it for the bare run."
|
|
12237
|
-
}
|
|
12238
|
-
]
|
|
12239
|
-
},
|
|
12240
|
-
{
|
|
12241
|
-
resource: "devops.testRuns",
|
|
12242
|
-
method: "cancel",
|
|
12243
|
-
summary: "Cancel a test run",
|
|
12244
|
-
description: "Stop a run that is still going. A reason is required and is recorded on the run, because a cancelled run is read later as evidence about why a commit was not verified. Cancelling a run that already reached a verdict is refused with RUN_ALREADY_FINISHED: its result is final and cancelling it would erase the verdict. Executions already recorded stay readable.",
|
|
12245
|
-
http: "POST",
|
|
12246
|
-
path: "/devops/v1/test-runs/{id}:cancel",
|
|
12247
|
-
streaming: "no",
|
|
12248
|
-
pagination: false,
|
|
12249
|
-
pathParams: [
|
|
12250
|
-
{
|
|
12251
|
-
name: "id",
|
|
12252
|
-
sdkName: "id",
|
|
12253
|
-
description: "The run identifier returned by a run list or create answer."
|
|
12254
|
-
}
|
|
12255
|
-
],
|
|
12256
|
-
query: [],
|
|
12257
|
-
body: {
|
|
12258
|
-
required: true,
|
|
12259
|
-
fields: [
|
|
12260
|
-
{
|
|
12261
|
-
name: "reason",
|
|
12262
|
-
type: "string",
|
|
12263
|
-
required: true,
|
|
12264
|
-
description: "Why the run is being cancelled; it is stored on the run and is what a later reader finds instead of a result."
|
|
12265
|
-
}
|
|
12266
|
-
]
|
|
12267
|
-
}
|
|
12268
|
-
},
|
|
12269
|
-
{
|
|
12270
|
-
resource: "devops.testRuns.executions",
|
|
12271
|
-
method: "list",
|
|
12272
|
-
summary: "List a run's executions",
|
|
12273
|
-
description: "List the executions recorded against one run — one entry per case the run selected, with its status, duration, attempts and evidence. Use it to find the case that failed, or to compare a repeat run against the previous one case by case. Reads happen while the run is still going, so a case may still be pending; filter by status to watch only the failures.",
|
|
12274
|
-
http: "GET",
|
|
12275
|
-
path: "/devops/v1/test-runs/{run}/executions",
|
|
12276
|
-
streaming: "no",
|
|
12277
|
-
pagination: false,
|
|
12278
|
-
pathParams: [
|
|
12279
|
-
{
|
|
12280
|
-
name: "run",
|
|
12281
|
-
sdkName: "run",
|
|
12282
|
-
description: "The run whose executions you are reading, from a run list or create answer."
|
|
12283
|
-
}
|
|
12284
|
-
],
|
|
12285
|
-
query: [
|
|
12286
|
-
{
|
|
12287
|
-
name: "pageSize",
|
|
12288
|
-
type: "integer",
|
|
12289
|
-
required: false,
|
|
12290
|
-
description: "How many items this page returns, 1 to 100; omitted uses 50. A larger value is capped at 100 rather than refused, and 0 falls back to the default, so a paging loop never fails on a size alone."
|
|
12291
|
-
},
|
|
12292
|
-
{
|
|
12293
|
-
name: "pageToken",
|
|
12294
|
-
type: "string",
|
|
12295
|
-
required: false,
|
|
12296
|
-
description: "The cursor from the previous page's nextPageToken. Treat it as opaque and never build one yourself; omit it for the first page."
|
|
12297
|
-
},
|
|
12298
|
-
{
|
|
12299
|
-
name: "orderBy",
|
|
12300
|
-
type: "string",
|
|
12301
|
-
required: false,
|
|
12302
|
-
description: "Comma-separated fields to order by, each optionally suffixed with desc, for example createTime desc. Only the fields the resource declares are accepted; anything else is refused so an ordering typo cannot silently return a different order. Omitted uses the resource's own order."
|
|
12303
|
-
}
|
|
12304
|
-
]
|
|
12305
|
-
},
|
|
12306
|
-
{
|
|
12307
|
-
resource: "devops.testRuns.executions",
|
|
12308
|
-
method: "retrieve",
|
|
12309
|
-
summary: "Retrieve one case's execution in a run",
|
|
12310
|
-
description: "Read one case's execution inside one run, including every attempt with its own duration and message. Use it after a run reports a failure to see whether the case failed once and passed on retry — that is what flaky true means — and to reach the evidence files a triage needs. Both ids come from the run and case reads; an execution that does not exist for that pair is NOT_FOUND rather than an empty answer.",
|
|
12311
|
-
http: "GET",
|
|
12312
|
-
path: "/devops/v1/test-runs/{run}/executions/{case}",
|
|
12313
|
-
streaming: "no",
|
|
12314
|
-
pagination: false,
|
|
12315
|
-
pathParams: [
|
|
12316
|
-
{
|
|
12317
|
-
name: "run",
|
|
12318
|
-
sdkName: "run",
|
|
12319
|
-
description: "The run whose executions you are reading, from a run list or create answer."
|
|
12320
|
-
},
|
|
12321
|
-
{
|
|
12322
|
-
name: "case",
|
|
12323
|
-
sdkName: "case",
|
|
12324
|
-
description: "The case to read inside that run, from the run's execution list or the project's case list."
|
|
12325
|
-
}
|
|
12326
|
-
],
|
|
12327
|
-
query: []
|
|
12328
|
-
},
|
|
12329
|
-
{
|
|
12330
|
-
resource: "devops.testSuites",
|
|
12331
|
-
method: "retrieve",
|
|
12332
|
-
summary: "Retrieve a test suite",
|
|
12333
|
-
description: "Read one suite by the id a suite list returned, to learn its file, framework, size, purposes and how many cases it holds. Use it when a case's suite id needs a name for display, or to confirm which commit's catalog a suite came from. The id is opaque; it comes from the list, never from the file path.",
|
|
12334
|
-
http: "GET",
|
|
12335
|
-
path: "/devops/v1/test-suites/{id}",
|
|
12336
|
-
streaming: "no",
|
|
12337
|
-
pagination: false,
|
|
12338
|
-
pathParams: [
|
|
12339
|
-
{
|
|
12340
|
-
name: "id",
|
|
12341
|
-
sdkName: "id",
|
|
12342
|
-
description: "The suite identifier returned by a suite list, not the file path it was discovered from."
|
|
12343
|
-
}
|
|
12344
|
-
],
|
|
12345
|
-
query: []
|
|
12346
|
-
},
|
|
12347
11679
|
{
|
|
12348
11680
|
resource: "file.files",
|
|
12349
11681
|
method: "list",
|
|
@@ -28947,201 +28279,6 @@ var databaseInsert = (options) => (options.client ?? client).post({
|
|
|
28947
28279
|
...options.headers
|
|
28948
28280
|
}
|
|
28949
28281
|
});
|
|
28950
|
-
var devopsTestCatalogGet = (options) => (options.client ?? client).get({
|
|
28951
|
-
security: [{
|
|
28952
|
-
key: "devops-bearerAuth",
|
|
28953
|
-
scheme: "bearer",
|
|
28954
|
-
type: "http"
|
|
28955
|
-
}],
|
|
28956
|
-
url: "/devops/v1/projects/{project}/test-catalog",
|
|
28957
|
-
...options
|
|
28958
|
-
});
|
|
28959
|
-
var devopsTestSuitesList = (options) => (options.client ?? client).get({
|
|
28960
|
-
security: [{
|
|
28961
|
-
key: "devops-bearerAuth",
|
|
28962
|
-
scheme: "bearer",
|
|
28963
|
-
type: "http"
|
|
28964
|
-
}],
|
|
28965
|
-
url: "/devops/v1/projects/{project}/test-suites",
|
|
28966
|
-
...options
|
|
28967
|
-
});
|
|
28968
|
-
var devopsTestSuitesGet = (options) => (options.client ?? client).get({
|
|
28969
|
-
security: [{
|
|
28970
|
-
key: "devops-bearerAuth",
|
|
28971
|
-
scheme: "bearer",
|
|
28972
|
-
type: "http"
|
|
28973
|
-
}],
|
|
28974
|
-
url: "/devops/v1/test-suites/{id}",
|
|
28975
|
-
...options
|
|
28976
|
-
});
|
|
28977
|
-
var devopsTestCasesList = (options) => (options.client ?? client).get({
|
|
28978
|
-
security: [{
|
|
28979
|
-
key: "devops-bearerAuth",
|
|
28980
|
-
scheme: "bearer",
|
|
28981
|
-
type: "http"
|
|
28982
|
-
}],
|
|
28983
|
-
url: "/devops/v1/projects/{project}/test-cases",
|
|
28984
|
-
...options
|
|
28985
|
-
});
|
|
28986
|
-
var devopsTestCasesGet = (options) => (options.client ?? client).get({
|
|
28987
|
-
security: [{
|
|
28988
|
-
key: "devops-bearerAuth",
|
|
28989
|
-
scheme: "bearer",
|
|
28990
|
-
type: "http"
|
|
28991
|
-
}],
|
|
28992
|
-
url: "/devops/v1/test-cases/{id}",
|
|
28993
|
-
...options
|
|
28994
|
-
});
|
|
28995
|
-
var devopsTestPlansList = (options) => (options.client ?? client).get({
|
|
28996
|
-
security: [{
|
|
28997
|
-
key: "devops-bearerAuth",
|
|
28998
|
-
scheme: "bearer",
|
|
28999
|
-
type: "http"
|
|
29000
|
-
}],
|
|
29001
|
-
url: "/devops/v1/projects/{project}/test-plans",
|
|
29002
|
-
...options
|
|
29003
|
-
});
|
|
29004
|
-
var devopsTestPlansCreate = (options) => (options.client ?? client).post({
|
|
29005
|
-
security: [{
|
|
29006
|
-
key: "devops-bearerAuth",
|
|
29007
|
-
scheme: "bearer",
|
|
29008
|
-
type: "http"
|
|
29009
|
-
}],
|
|
29010
|
-
url: "/devops/v1/projects/{project}/test-plans",
|
|
29011
|
-
...options,
|
|
29012
|
-
headers: {
|
|
29013
|
-
"Content-Type": "application/json",
|
|
29014
|
-
...options.headers
|
|
29015
|
-
}
|
|
29016
|
-
});
|
|
29017
|
-
var devopsTestPlansDelete = (options) => (options.client ?? client).delete({
|
|
29018
|
-
security: [{
|
|
29019
|
-
key: "devops-bearerAuth",
|
|
29020
|
-
scheme: "bearer",
|
|
29021
|
-
type: "http"
|
|
29022
|
-
}],
|
|
29023
|
-
url: "/devops/v1/test-plans/{id}",
|
|
29024
|
-
...options
|
|
29025
|
-
});
|
|
29026
|
-
var devopsTestPlansGet = (options) => (options.client ?? client).get({
|
|
29027
|
-
security: [{
|
|
29028
|
-
key: "devops-bearerAuth",
|
|
29029
|
-
scheme: "bearer",
|
|
29030
|
-
type: "http"
|
|
29031
|
-
}],
|
|
29032
|
-
url: "/devops/v1/test-plans/{id}",
|
|
29033
|
-
...options
|
|
29034
|
-
});
|
|
29035
|
-
var devopsTestPlansUpdate = (options) => (options.client ?? client).patch({
|
|
29036
|
-
security: [{
|
|
29037
|
-
key: "devops-bearerAuth",
|
|
29038
|
-
scheme: "bearer",
|
|
29039
|
-
type: "http"
|
|
29040
|
-
}],
|
|
29041
|
-
url: "/devops/v1/test-plans/{id}",
|
|
29042
|
-
...options,
|
|
29043
|
-
headers: {
|
|
29044
|
-
"Content-Type": "application/json",
|
|
29045
|
-
...options.headers
|
|
29046
|
-
}
|
|
29047
|
-
});
|
|
29048
|
-
var devopsTestPlansPause = (options) => (options.client ?? client).post({
|
|
29049
|
-
security: [{
|
|
29050
|
-
key: "devops-bearerAuth",
|
|
29051
|
-
scheme: "bearer",
|
|
29052
|
-
type: "http"
|
|
29053
|
-
}],
|
|
29054
|
-
url: "/devops/v1/test-plans/{id}:pause",
|
|
29055
|
-
...options,
|
|
29056
|
-
headers: {
|
|
29057
|
-
"Content-Type": "application/json",
|
|
29058
|
-
...options.headers
|
|
29059
|
-
}
|
|
29060
|
-
});
|
|
29061
|
-
var devopsTestPlansResume = (options) => (options.client ?? client).post({
|
|
29062
|
-
security: [{
|
|
29063
|
-
key: "devops-bearerAuth",
|
|
29064
|
-
scheme: "bearer",
|
|
29065
|
-
type: "http"
|
|
29066
|
-
}],
|
|
29067
|
-
url: "/devops/v1/test-plans/{id}:resume",
|
|
29068
|
-
...options
|
|
29069
|
-
});
|
|
29070
|
-
var devopsTestRunsList = (options) => (options.client ?? client).get({
|
|
29071
|
-
security: [{
|
|
29072
|
-
key: "devops-bearerAuth",
|
|
29073
|
-
scheme: "bearer",
|
|
29074
|
-
type: "http"
|
|
29075
|
-
}],
|
|
29076
|
-
url: "/devops/v1/projects/{project}/test-runs",
|
|
29077
|
-
...options
|
|
29078
|
-
});
|
|
29079
|
-
var devopsTestRunsCreate = (options) => (options.client ?? client).post({
|
|
29080
|
-
security: [{
|
|
29081
|
-
key: "devops-bearerAuth",
|
|
29082
|
-
scheme: "bearer",
|
|
29083
|
-
type: "http"
|
|
29084
|
-
}],
|
|
29085
|
-
url: "/devops/v1/projects/{project}/test-runs",
|
|
29086
|
-
...options,
|
|
29087
|
-
headers: {
|
|
29088
|
-
"Content-Type": "application/json",
|
|
29089
|
-
...options.headers
|
|
29090
|
-
}
|
|
29091
|
-
});
|
|
29092
|
-
var devopsTestRunsGet = (options) => (options.client ?? client).get({
|
|
29093
|
-
security: [{
|
|
29094
|
-
key: "devops-bearerAuth",
|
|
29095
|
-
scheme: "bearer",
|
|
29096
|
-
type: "http"
|
|
29097
|
-
}],
|
|
29098
|
-
url: "/devops/v1/test-runs/{id}",
|
|
29099
|
-
...options
|
|
29100
|
-
});
|
|
29101
|
-
var devopsTestRunsCancel = (options) => (options.client ?? client).post({
|
|
29102
|
-
security: [{
|
|
29103
|
-
key: "devops-bearerAuth",
|
|
29104
|
-
scheme: "bearer",
|
|
29105
|
-
type: "http"
|
|
29106
|
-
}],
|
|
29107
|
-
url: "/devops/v1/test-runs/{id}:cancel",
|
|
29108
|
-
...options,
|
|
29109
|
-
headers: {
|
|
29110
|
-
"Content-Type": "application/json",
|
|
29111
|
-
...options.headers
|
|
29112
|
-
}
|
|
29113
|
-
});
|
|
29114
|
-
var devopsTestExecutionsList = (options) => (options.client ?? client).get({
|
|
29115
|
-
security: [{
|
|
29116
|
-
key: "devops-bearerAuth",
|
|
29117
|
-
scheme: "bearer",
|
|
29118
|
-
type: "http"
|
|
29119
|
-
}],
|
|
29120
|
-
url: "/devops/v1/test-runs/{run}/executions",
|
|
29121
|
-
...options
|
|
29122
|
-
});
|
|
29123
|
-
var devopsTestExecutionsGet = (options) => (options.client ?? client).get({
|
|
29124
|
-
security: [{
|
|
29125
|
-
key: "devops-bearerAuth",
|
|
29126
|
-
scheme: "bearer",
|
|
29127
|
-
type: "http"
|
|
29128
|
-
}],
|
|
29129
|
-
url: "/devops/v1/test-runs/{run}/executions/{case}",
|
|
29130
|
-
...options
|
|
29131
|
-
});
|
|
29132
|
-
var devopsTestReportsUpload = (options) => (options.client ?? client).post({
|
|
29133
|
-
security: [{
|
|
29134
|
-
key: "devops-bearerAuth",
|
|
29135
|
-
scheme: "bearer",
|
|
29136
|
-
type: "http"
|
|
29137
|
-
}],
|
|
29138
|
-
url: "/devops/v1/projects/{project}/test-reports",
|
|
29139
|
-
...options,
|
|
29140
|
-
headers: {
|
|
29141
|
-
"Content-Type": "application/json",
|
|
29142
|
-
...options.headers
|
|
29143
|
-
}
|
|
29144
|
-
});
|
|
29145
28282
|
var knowledgeListVectorStores = (options) => (options?.client ?? client).get({
|
|
29146
28283
|
security: [{
|
|
29147
28284
|
key: "knowledge-bearerAuth",
|
|
@@ -32277,51 +31414,6 @@ function createDatabase(transport) {
|
|
|
32277
31414
|
}
|
|
32278
31415
|
};
|
|
32279
31416
|
}
|
|
32280
|
-
function createDevops(transport) {
|
|
32281
|
-
return {
|
|
32282
|
-
projects: {
|
|
32283
|
-
retrieveTestCatalog: bind(transport, devopsTestCatalogGet),
|
|
32284
|
-
testCases: {
|
|
32285
|
-
list: bind(transport, devopsTestCasesList)
|
|
32286
|
-
},
|
|
32287
|
-
testPlans: {
|
|
32288
|
-
create: bind(transport, devopsTestPlansCreate),
|
|
32289
|
-
list: bind(transport, devopsTestPlansList)
|
|
32290
|
-
},
|
|
32291
|
-
testReports: {
|
|
32292
|
-
create: bind(transport, devopsTestReportsUpload)
|
|
32293
|
-
},
|
|
32294
|
-
testRuns: {
|
|
32295
|
-
create: bind(transport, devopsTestRunsCreate),
|
|
32296
|
-
list: bind(transport, devopsTestRunsList)
|
|
32297
|
-
},
|
|
32298
|
-
testSuites: {
|
|
32299
|
-
list: bind(transport, devopsTestSuitesList)
|
|
32300
|
-
}
|
|
32301
|
-
},
|
|
32302
|
-
testCases: {
|
|
32303
|
-
retrieve: bind(transport, devopsTestCasesGet)
|
|
32304
|
-
},
|
|
32305
|
-
testPlans: {
|
|
32306
|
-
delete: bind(transport, devopsTestPlansDelete),
|
|
32307
|
-
pause: bind(transport, devopsTestPlansPause),
|
|
32308
|
-
resume: bind(transport, devopsTestPlansResume),
|
|
32309
|
-
retrieve: bind(transport, devopsTestPlansGet),
|
|
32310
|
-
update: bind(transport, devopsTestPlansUpdate)
|
|
32311
|
-
},
|
|
32312
|
-
testRuns: {
|
|
32313
|
-
cancel: bind(transport, devopsTestRunsCancel),
|
|
32314
|
-
executions: {
|
|
32315
|
-
list: bind(transport, devopsTestExecutionsList),
|
|
32316
|
-
retrieve: bind(transport, devopsTestExecutionsGet)
|
|
32317
|
-
},
|
|
32318
|
-
retrieve: bind(transport, devopsTestRunsGet)
|
|
32319
|
-
},
|
|
32320
|
-
testSuites: {
|
|
32321
|
-
retrieve: bind(transport, devopsTestSuitesGet)
|
|
32322
|
-
}
|
|
32323
|
-
};
|
|
32324
|
-
}
|
|
32325
31417
|
function createFile(transport) {
|
|
32326
31418
|
return {
|
|
32327
31419
|
files: {
|
|
@@ -32866,7 +31958,6 @@ var resourceFactories = {
|
|
|
32866
31958
|
crm: createCrm,
|
|
32867
31959
|
cut: createCut,
|
|
32868
31960
|
database: createDatabase,
|
|
32869
|
-
devops: createDevops,
|
|
32870
31961
|
file: createFile,
|
|
32871
31962
|
knowledge: createKnowledge,
|
|
32872
31963
|
media: createMedia,
|
|
@@ -35942,7 +35033,7 @@ function startProgress(ctx, write = (text) => writeOutput({ stderr: text })) {
|
|
|
35942
35033
|
}
|
|
35943
35034
|
|
|
35944
35035
|
// src/main.ts
|
|
35945
|
-
var version = "0.2.1-dev.
|
|
35036
|
+
var version = "0.2.1-dev.daf3004";
|
|
35946
35037
|
var commands = commandTree(operations);
|
|
35947
35038
|
var manual = [...workflows.map((w) => w.words), [API_WORD]];
|
|
35948
35039
|
function route(argv) {
|