Commit Graph

12 Commits

Author SHA1 Message Date
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
f17f21410c fix: allow explicit empty request bodies (#281) 2021-09-24 11:35:29 -04:00
d615694ee9 refactor: replace uses of ioutil with io and os (#223) 2021-08-04 14:45:22 -04:00
d7b2983dd4 fix: cloud or oss only error msg for parsable responses (#165)
* fix: cloud or oss only error msg for parsable responses

* fix: add code text to error message

* fix: keep the last part of the error msg

* chore: make the error code a little more succinct

* fix: corrected errors for non-server specific commands

* chore: sync openapi submodule with main
2021-06-30 12:37:31 -04:00
93d628dd04 fix: correct mismatches between template-apply spec and impl (#157) 2021-06-29 09:38:03 -04:00
7ea63d6a96 fix: add yaml tags to models so we can unmarshal camelCase (#148) 2021-06-28 10:18:41 -04:00
d519890f03 feat: improved error messages for cloud- or oss-only commands (#140)
* feat: set logging info for cloud- or oss-only commands

* fix: add cloud-only to BucketSchemasApi

* fix: api-only flagging and %w for return error wrapping

* fix: keep the model assignment
2021-06-23 10:41:35 -04:00
0acb80b044 refactor: use io.ReadCloser instead of **os.File for binary request params (#119) 2021-06-11 17:35:01 -04:00
b1ba53bae2 refactor: move request-compression out of codegen, avoid some buffering (#118) 2021-06-11 16:01:34 -04: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
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