14 Commits

Author SHA1 Message Date
Andrew Depke
760f07ed9e
feat: invokable scripts (#387)
* basic list, create, and invoke working

* all commands working

* added support for create script body from file and invoke params from file

* linter cleanup

* update defaults to existing parameters if not provided

* updated generated mock files, added mock files for scripts, added basic script create test

* added mock script list

* cleanup pass, fixed not using params in list call

* added update mock test

* fixed mock tests requiring go 1.18

* updated openapi, integrated overrides upstream, added new override to fix codegen bug

* added nil check

* fixed routes
2022-06-22 14:08:55 -06:00
Dane Strandboge
85a33adf71
chore: update to API spec for new template endpoint response (#362) 2022-02-17 14:46:05 -06:00
Daniel Moran
3ca681b1dd
feat: implement template command (#169) 2021-07-02 10:19:51 -04:00
Daniel Moran
8126bd8397
chore: fix up openapi codegen after multi-merge (#166) 2021-06-30 15:24:53 -04:00
Daniel Moran
aaf99da0a9
feat: add stacks APIs to codegen (#163) 2021-06-30 14:47:35 -04:00
Daniel Moran
69dedbcaa9
fix: correct more details in templates/apply API (#159) 2021-06-29 15:08:36 -04:00
Daniel Moran
93d628dd04
fix: correct mismatches between template-apply spec and impl (#157) 2021-06-29 09:38:03 -04:00
Daniel Moran
1183d3780b
feat: add API & override specs for template application (#144) 2021-06-24 11:31:08 -04:00
Daniel Moran
a029bf2871
refactor: remove resource-type enums from export commands (#137) 2021-06-22 09:10:03 -04:00
Daniel Moran
bd0b90df41
feat: port top-level export command from influxdb (#131) 2021-06-21 08:23:18 -04:00
Dane Strandboge
51b1eadb12
feat: reimplement influx dashboards with new APIs (#122)
Fixes #108
2021-06-15 16:22:09 -05:00
Dane Strandboge
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
Daniel Moran
a387cabcfb
refactor: return full HTTP response for binary response bodies (#112) 2021-06-10 11:20:33 -04:00
Sam Arnold
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