106 Commits

Author SHA1 Message Date
Daniel Moran
1855113d7c
build: rename deb/rpm package to more closely match existing influxdb2 (#216) 2021-07-30 10:06:49 -04:00
Daniel Moran
e6cad1b4aa
chore: mark release date, fix bullet style (#214) 2021-07-29 13:34:53 -04:00
Daniel Moran
c6f55368ea
test: remove go-cmp dependency (#213) 2021-07-29 12:16:23 -04:00
Stuart Carnie
e2bd0a0a12
feat: Bind skip-verify flag to INFLUX_SKIP_VERIFY (#208)
* feat: Bind skip-verify flag to INFLUX_SKIP_VERIFY

This improves the user experience when using the influx tooling in
development environments.

* chore: Update CHANGELOG with skip-verify flag binding
2021-07-28 10:28:36 +10:00
Daniel Moran
7efea59d35
fix: fix env var used for configs path (#207) 2021-07-26 12:38:50 -04:00
Daniel Moran
2957d6613d
chore: add another breaking-change note to the CHANGELOG (#205) 2021-07-22 10:53:26 -04:00
Daniel Moran
bfd929f444
fix: detect non-interactive stdio and use "normal" IO operations (#204) 2021-07-21 17:03:41 -04:00
Daniel Moran
a111d83b5a
fix: retry password-prompt if 2nd entry doesn't match the 1st (#203) 2021-07-21 12:23:39 -04:00
Daniel Moran
68cfff003a
refactor: move duration package out of internal (#202) 2021-07-21 11:52:21 -04:00
Daniel Moran
90a47e33db
build: add GPG private key to gitignore (#198) 2021-07-19 16:38:34 -04:00
Daniel Moran
4a9b013268
fix: make stacks --json output match 2.0.x (#197) 2021-07-19 14:09:42 -04:00
Daniel Moran
ef4bdcb9b1
build: set up nightly & tagged release jobs (#188) 2021-07-16 17:17:43 -04:00
Daniel Moran
a69f06b41b
fix: set content-encoding: gzip for non-legacy KV restore (#195) 2021-07-13 15:59:37 -04:00
Daniel Moran
88b5c748b8
refactor: expose method for building onboarding requests (#192) 2021-07-13 15:12:44 -04:00
Daniel Moran
127f829226
feat: allow passing password via flag in user password (#191) 2021-07-13 14:37:23 -04:00
Daniel Moran
9e24437403
fix: upload uncompressed boltdb when doing legacy full-restore (#194) 2021-07-13 12:50:23 -04:00
Daniel Moran
e4d9c6298f
feat: add logic for reading v2.0.x backup manifests in restore (#186) 2021-07-12 13:31:44 -04:00
Daniel Moran
c3feea5900
feat: update restore to support InfluxDB 2.0.x (#185) 2021-07-09 15:36:44 -04:00
Daniel Moran
95f190bf64
feat: update backup to support InfluxDB 2.0.x (#184) 2021-07-09 12:51:53 -04:00
Daniel Moran
9b54bcb17f
feat: add logic for reading manifest from bolt file (#183) 2021-07-09 09:27:53 -04:00
Daniel Moran
4452aac87d
feat: update codegen to include legacy backup/restore routes (#182) 2021-07-08 14:00:42 -04:00
Daniel Moran
3ca681b1dd
feat: implement template command (#169) 2021-07-02 10:19:51 -04:00
Daniel Moran
40fc1845e9
feat: port stacks command from influxdb (#168) 2021-06-30 17:21:50 -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
a3f36a9821
feat: port apply command from influxdb (#160) 2021-06-30 14:47:23 -04:00
William Baker
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
Daniel Moran
69dedbcaa9
fix: correct more details in templates/apply API (#159) 2021-06-29 15:08:36 -04:00
Daniel Moran
eb99827966
fix: fix extension-check logic when normalizing github URLs (#158) 2021-06-29 14:49:41 -04:00
Daniel Moran
93d628dd04
fix: correct mismatches between template-apply spec and impl (#157) 2021-06-29 09:38:03 -04:00
Stuart Carnie
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
Dane Strandboge
a058fe7e0b
feat: port influx auth command (#152) 2021-06-28 14:06:29 -05:00
Daniel Moran
ead44e4e83
fix: downgrade urfave/cli to v1 to enable more flexible parsing (#154) 2021-06-28 14:49:26 -04:00
mcfarlm3
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
Daniel Moran
7ea63d6a96
fix: add yaml tags to models so we can unmarshal camelCase (#148) 2021-06-28 10:18:41 -04:00
Dane Strandboge
a1921e1e59
feat: port influx v1 auth command (#138) 2021-06-28 09:03:33 -05:00
Daniel Moran
e6d69a8c54
feat: port template-parsing logic from influxdb (#146) 2021-06-24 12:34:13 -04:00
Daniel Moran
fb2d19c884
feat: port table-printers from influxdb (#145) 2021-06-24 11:31:19 -04:00
Daniel Moran
1183d3780b
feat: add API & override specs for template application (#144) 2021-06-24 11:31:08 -04:00
Daniel Moran
8972d23024
feat: port jsonnet decoder from influxdb (#143) 2021-06-23 13:37:46 -04:00
William Baker
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
Dane Strandboge
a3408e031a
chore: refactor password code for StdIO (#139) 2021-06-22 15:34:38 -05:00
William Baker
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
Daniel Moran
a029bf2871
refactor: remove resource-type enums from export commands (#137) 2021-06-22 09:10:03 -04:00
William Baker
800e4c2cfb
feat: placeholder for v1 subcommands (#135)
* feat: placeholder for v1 subcommands

* chore: more usage comments
2021-06-21 16:03:39 -04:00
Dane Strandboge
23e73e9146
feat: reimplement influx secret CLI command (#125)
* refactor: rename `getPassword` to `getSecret`
2021-06-21 13:33:51 -05:00
Daniel Moran
a4fdefc392
feat: port export all command from influxdb (#134) 2021-06-21 12:34:15 -04:00
Daniel Moran
bd0b90df41
feat: port top-level export command from influxdb (#131) 2021-06-21 08:23:18 -04:00
Daniel Moran
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
Daniel Moran
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