Commit Graph

35 Commits

Author SHA1 Message Date
981be7872d chore: upgrade to latest OpenAPI (#357) 2022-02-01 14:53:34 -06:00
178c7546b1 feat: add server-config command (#346)
* feat: added server-config command

* chore: update openapi to latest
2021-12-23 09:32:31 -05:00
68ac116959 chore: update openapi ref to latest (#345)
* chore: update openapi ref to latest

* chore: update to openapi master
2021-12-21 15:15:50 -05:00
a408c02bd4 chore: remove remote validation (#333) 2021-11-19 09:00:52 -07:00
f32a55f3bf feat: add drop-non-retryable-data to replications commands (#330)
* feat: add drop-non-retryable-data to replications commands

* refactor: use drop vs nodrop flags

* chore: use the built-in PtrBool
2021-11-17 14:16:58 -07:00
99791bafd3 feat: add flags for remotes, replications, and functions to auth create (#325) 2021-11-10 11:33:01 -05:00
714a73d9eb feat: all-access and operator token from CLI (#285)
* chore: include enum values in openapi generated code

* chore: add enum template to list of template overrides

* chore: update template and generated code

* feat: generate permissions list from openapi spec

* feat: all-access and operator token from CLI

Closes #22510

* fix: cloud fixed the resources endpoint

* fix: all access and operator permissions cannot be composed

* fix: review comments from dan-moran
2021-10-05 14:33:02 -04:00
b7627a33c8 feat: added functionality for remote delete command (#283)
* feat: added functionality for remote delete command

* chore: pulled recent openapi changes and ran make fmt
2021-10-04 10:02:36 -07:00
d0640ad6c4 fix: regenerate using new openapi to fix health API client (#284) 2021-09-24 14:27:19 -04:00
e609d4462d fix: update openapi and regenerate to pull in fix for replications API (#280) 2021-09-23 15:04:08 -04:00
9076a65d1e feat: generate clients for replications APIs (#278) 2021-09-23 09:09:36 -04:00
dcf9f5bc9a feat: added functionality for remote create subcommand (#268)
* feat: implement remote create subcommand

* chore: generate mocks for testing remote command

* refactor: separated out test code, made small changes to remote create code

* chore: ran make fmt

* chore: removed excess print statements

* refactor: made changes suggested in code review

* refactor: added name and remote id to printed table
2021-09-14 13:03:17 -07:00
13799e7662 refactor: use updated API in restore client (#226) 2021-08-13 13:50:02 -04:00
c3feea5900 feat: update restore to support InfluxDB 2.0.x (#185) 2021-07-09 15:36:44 -04:00
4452aac87d feat: update codegen to include legacy backup/restore routes (#182) 2021-07-08 14:00:42 -04:00
3ca681b1dd feat: implement template command (#169) 2021-07-02 10:19:51 -04:00
8126bd8397 chore: fix up openapi codegen after multi-merge (#166) 2021-06-30 15:24:53 -04:00
aaf99da0a9 feat: add stacks APIs to codegen (#163) 2021-06-30 14:47:35 -04:00
69dedbcaa9 fix: correct more details in templates/apply API (#159) 2021-06-29 15:08:36 -04:00
93d628dd04 fix: correct mismatches between template-apply spec and impl (#157) 2021-06-29 09:38:03 -04:00
a058fe7e0b feat: port influx auth command (#152) 2021-06-28 14:06:29 -05:00
a1921e1e59 feat: port influx v1 auth command (#138) 2021-06-28 09:03:33 -05:00
1183d3780b feat: add API & override specs for template application (#144) 2021-06-24 11:31:08 -04:00
a3408e031a chore: refactor password code for StdIO (#139) 2021-06-22 15:34:38 -05:00
f80b91730d feat: v1 dbrp commands (#136)
* feat: v1 dbrp commands

* fix: fixed the cloud create command

* chore: cleanup

* fix: updated based on required attrs in swagger

* feat: update to latest openapi rev

* chore: made dbrps plural consistently

* chore: formatting

* fix: standardized Default field name and added comments

* chore: changed file name for command to singular
2021-06-22 10:07:15 -04:00
a029bf2871 refactor: remove resource-type enums from export commands (#137) 2021-06-22 09:10:03 -04:00
23e73e9146 feat: reimplement influx secret CLI command (#125)
* refactor: rename `getPassword` to `getSecret`
2021-06-21 13:33:51 -05:00
bd0b90df41 feat: port top-level export command from influxdb (#131) 2021-06-21 08:23:18 -04:00
51b1eadb12 feat: reimplement influx dashboards with new APIs (#122)
Fixes #108
2021-06-15 16:22:09 -05:00
abe521add0 feat: reimplement influx telegrafs with new APIs (#120)
* feat: reimplement `influx telegrafs` with new APIs

* chore: restructure structs for later modification

* refactor: bump openapi & regenerate clients

* refactor: better error output and descriptions

Co-authored-by: Dan Moran <dmoran@influxdata.com>
2021-06-15 14:55:04 -05:00
943e8fba31 feat: reimplement influx backup using new APIs (#116) 2021-06-11 09:50:39 -04:00
a387cabcfb refactor: return full HTTP response for binary response bodies (#112) 2021-06-10 11:20:33 -04:00
a1cf15d971 refactor: codegen backup and restore APIs (#107) 2021-06-02 16:19:36 -04:00
63da8eccbd feat: task subcommand (#105)
* feat: task subcommand

Closes #19

* fix: testing and review comments

* fix: pointer deref and error message
2021-05-26 08:44:22 -04:00
9747d05ae1 refactor: expose generated code and client business logic to share with Kapacitor (#103)
* refactor: take clients out of internal

* refactor: move stdio to pkg

* Move internal/api to api

* refactor: final changes for Kapacitor to access shared functionality

* chore: regenerate mocks

* fix: bad automated refactor

* chore: extra formatting not caught by make fmt
2021-05-25 10:05:01 -04:00