128 Commits

Author SHA1 Message Date
Daniel Moran
e609d4462d
fix: update openapi and regenerate to pull in fix for replications API (#280) 2021-09-23 15:04:08 -04:00
Daniel Moran
9076a65d1e
feat: generate clients for replications APIs (#278) 2021-09-23 09:09:36 -04:00
mcfarlm3
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
Daniel Moran
9a008c6b26
fix: fix type test for common flags (#275) 2021-09-21 13:26:21 -04:00
Sam Arnold
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
mcfarlm3
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
Jamie Strandboge
2d1f3ee3bc
build: allow specifying -gcflags via env (#267)
Make targets may call '$(GO_BUILD)', but there is no facility for
specifying arguments to 'go build'. As a first step, introduce the
GCFLAGS Makefile variable that when unset, operates as always, but when
set, adds '-gcflags "$(GCFLAGS)"' to go build. Eg, when unspecified,
maintain the current behavior (though with an additional space):

$ make
CGO_ENABLED=0 go build  -ldflags ...

When specified, add the specified -gcflags:

$ GCFLAGS="all=-N -l" make
CGO_ENABLED=0 go build -gcflags "all=-N -l" -ldflags ...

This could be useful in various situations such as producing unoptimized
builds (like in the above).
2021-09-14 11:35:45 -04:00
Daniel Moran
3895d1ac7b
build: upgrade to go1.17.1 (#265) 2021-09-10 15:30:34 -04:00
Dane Strandboge
76e9ed68d8
feat: add shorthand for --bucket to influx delete (#259) 2021-09-08 15:26:34 -05:00
mcfarlm3
1ec4e1590b
feat: stub out remote and replication commands and subcommands (#254)
* feat: stubbed out remote and replication commands and subcommands

* refactor: renamed remote.go file to match command

* refactor: combined replication metrics and replication list subcommands into list only

* refactor: removed extra appends to pass lint check
2021-09-03 13:17:18 -07:00
Daniel Moran
65da55e3f3
fix: --host value passed to setup is written to generated config (#255) 2021-09-02 17:42:37 -04:00
Daniel Moran
38040fa8dc
fix: upgrade golang.org/x/sys to avoid panics on Macs (#252) 2021-09-01 17:38:59 -04:00
Daniel Moran
7de3681224
build: upgrade to go1.17 (#251) 2021-09-01 14:11:15 -04:00
Daniel Moran
fa12328714
fix: detect and error out on incorrect positional args (#236) 2021-08-20 17:30:30 -04:00
Daniel Moran
c0103e7b1b
build: fix make fmt, reformat test sources (#234) 2021-08-20 15:26:00 -04:00
Daniel Moran
3a6dfe7102
fix: don't set empty strings for IDs in permission resources (#232) 2021-08-20 10:58:51 -04:00
Daniel Moran
285103df13
fix: make --http-debug flag visible in help text (#228) 2021-08-20 10:27:36 -04:00
Daniel Moran
13799e7662
refactor: use updated API in restore client (#226) 2021-08-13 13:50:02 -04:00
Daniel Moran
10c17ec661
build: upgrade staticcheck to latest version (#224) 2021-08-04 14:54:53 -04:00
Daniel Moran
d615694ee9
refactor: replace uses of ioutil with io and os (#223) 2021-08-04 14:45:22 -04:00
Daniel Moran
aafdda744d
build: prefix nightly versions with latest tag (#219) 2021-08-02 12:26:14 -04:00
Daniel Moran
4ae87ced37
fix: enable default completion logic on top-level app (#221) 2021-07-30 16:04:41 -04:00
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