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
3c3d70cc60
feat: added functionality for remote update
command ( #282 )
...
* feat: added functionality for remote update command
* refactor: removed extra get request for TLS flag and minor changes to help text
* chore: pulled newest changes to openapi and ran make fmt
* refactor: shortened conditional statement to one line
2021-10-04 10:28:07 -07: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
e609d4462d
fix: update openapi and regenerate to pull in fix for replications API ( #280 )
2021-09-23 15:04:08 -04:00
65cca47ded
feat: added functionality for remote list
subcommand ( #273 )
...
* feat: add remote list subcommand functionality
* refactor: removed repeated code and improved help text
2021-09-22 09:18:06 -07:00
dfc6f00982
fix: less confusing overloads of 'token' in help ( #272 )
...
* chore: refactor GetOrg calls
* fix: less confusing overloads of 'token' in help
Closes #20619
* fix: clean up iscommon function definition
2021-09-20 13:57:45 -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
65da55e3f3
fix: --host value passed to setup is written to generated config ( #255 )
2021-09-02 17:42:37 -04:00
c0103e7b1b
build: fix make fmt
, reformat test sources ( #234 )
2021-08-20 15:26:00 -04:00
3a6dfe7102
fix: don't set empty strings for IDs in permission resources ( #232 )
2021-08-20 10:58:51 -04:00
d615694ee9
refactor: replace uses of ioutil
with io
and os
( #223 )
2021-08-04 14:45:22 -04:00
c6f55368ea
test: remove go-cmp dependency ( #213 )
2021-07-29 12:16:23 -04:00
bfd929f444
fix: detect non-interactive stdio and use "normal" IO operations ( #204 )
2021-07-21 17:03:41 -04:00
68cfff003a
refactor: move duration package out of internal ( #202 )
2021-07-21 11:52:21 -04:00
4a9b013268
fix: make stacks --json
output match 2.0.x ( #197 )
2021-07-19 14:09:42 -04:00
a69f06b41b
fix: set content-encoding: gzip for non-legacy KV restore ( #195 )
2021-07-13 15:59:37 -04:00
88b5c748b8
refactor: expose method for building onboarding requests ( #192 )
2021-07-13 15:12:44 -04:00
127f829226
feat: allow passing password via flag in user password
( #191 )
2021-07-13 14:37:23 -04:00
9e24437403
fix: upload uncompressed boltdb when doing legacy full-restore ( #194 )
2021-07-13 12:50:23 -04:00
e4d9c6298f
feat: add logic for reading v2.0.x backup manifests in restore
( #186 )
2021-07-12 13:31:44 -04:00
c3feea5900
feat: update restore
to support InfluxDB 2.0.x ( #185 )
2021-07-09 15:36:44 -04:00
95f190bf64
feat: update backup
to support InfluxDB 2.0.x ( #184 )
2021-07-09 12:51:53 -04:00
9b54bcb17f
feat: add logic for reading manifest from bolt file ( #183 )
2021-07-09 09:27:53 -04:00
3ca681b1dd
feat: implement template
command ( #169 )
2021-07-02 10:19:51 -04:00
40fc1845e9
feat: port stacks
command from influxdb
( #168 )
2021-06-30 17:21:50 -04:00
a3f36a9821
feat: port apply
command from influxdb
( #160 )
2021-06-30 14:47:23 -04:00
eb99827966
fix: fix extension-check logic when normalizing github URLs ( #158 )
2021-06-29 14:49:41 -04:00
8adffc2bca
fix: Accept bucket ID or bucket name arguments ( #151 )
...
* fix: Accept bucket ID or bucket name arguments
* chore: Change order, prioritising bucket ID over bucket name argument
* fix: Ensure name or ID is used to print error
2021-06-29 08:52:34 +10:00
a058fe7e0b
feat: port influx auth
command ( #152 )
2021-06-28 14:06:29 -05:00
ead44e4e83
fix: downgrade urfave/cli to v1 to enable more flexible parsing ( #154 )
2021-06-28 14:49:26 -04:00
72d1ad8361
feat: port influx export stack subcommand ( #150 )
...
* confirmed subcommand parsing
* feat: port influx export stack subcommand
* refactor: removed redundant code and improved error messages
* chore: ran make fmt to fix code formatting issues
Co-authored-by: Michelle McFarland <michellemcfarland@Michelles-MacBook-Pro.local >
2021-06-28 09:02:49 -07:00
7ea63d6a96
fix: add yaml tags to models so we can unmarshal camelCase ( #148 )
2021-06-28 10:18:41 -04:00
a1921e1e59
feat: port influx v1 auth
command ( #138 )
2021-06-28 09:03:33 -05:00
e6d69a8c54
feat: port template-parsing logic from influxdb ( #146 )
2021-06-24 12:34:13 -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
a4fdefc392
feat: port export all
command from influxdb
( #134 )
2021-06-21 12:34:15 -04:00
bd0b90df41
feat: port top-level export
command from influxdb
( #131 )
2021-06-21 08:23:18 -04:00
0ee555c6a7
fix: fix bugs in new influx restore
impl ( #124 )
...
* fix: adjust restore-org logic to handle 404
* fix: overwrite org ID and name before restoring bucket
2021-06-16 11:22:01 -04:00
1dad2f5f72
refactor: move things around to make building a client easier from other projects ( #123 )
...
* refactor: split logic for building API config into public func
* refactor: move config code out of internal/
2021-06-16 11:09:26 -04:00
51b1eadb12
feat: reimplement influx dashboards
with new APIs ( #122 )
...
Fixes #108
2021-06-15 16:22:09 -05:00
6757c2bcfa
feat: implement influx restore
using new APIs ( #121 )
2021-06-15 16:45:55 -04: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
b1ba53bae2
refactor: move request-compression out of codegen, avoid some buffering ( #118 )
2021-06-11 16:01:34 -04:00
a1f8e0edf1
test: remove racy logic from backup test ( #117 )
2021-06-11 10:01:51 -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
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