Commit Graph

139 Commits

Author SHA1 Message Date
c4a5a13c8e fix: restore when changing tokens works (#297)
* fix: restore when changing tokens works

* fix: remove cruft

* chore: changelog update

* chore: CHANGELOG word-smithing

Co-authored-by: Dan Moran <dmoran@influxdata.com>
2021-10-07 08:23:39 -04:00
64b1b03f8f feat: added functionality for replication list command (#296)
* feat: added functionality for replication list command

* chore: ran make fmt

* refactor: fixed comment for clarity

* refactor: chained statements together to simplify code
2021-10-06 17:42:16 -07:00
4e8671dcc5 feat: added functionality for replication create command (#289)
* feat: added functionality for replication create command

* refactor: changed replication create flag usage text and eliminated extra conditionals

* refactor: made changes to usage text and output table based on code review

* chore: fixed link to max queue size default value
2021-10-06 10:48:57 -07:00
857e2b356c chore: expose tabwriter so InfluxDB can use it (#295) 2021-10-06 11:27:25 -04:00
25b8bddd56 chore: update CHANGELOG (#291) 2021-10-05 16:11:01 -04:00
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
ade82cc4fe fix: removed unused fmt import in remote cmd code (#287) 2021-10-04 11:04:19 -07: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
d0640ad6c4 fix: regenerate using new openapi to fix health API client (#284) 2021-09-24 14:27:19 -04:00
f17f21410c fix: allow explicit empty request bodies (#281) 2021-09-24 11:35:29 -04:00
e609d4462d fix: update openapi and regenerate to pull in fix for replications API (#280) 2021-09-23 15:04:08 -04:00
9076a65d1e feat: generate clients for replications APIs (#278) 2021-09-23 09:09:36 -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
9a008c6b26 fix: fix type test for common flags (#275) 2021-09-21 13:26:21 -04: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
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
3895d1ac7b build: upgrade to go1.17.1 (#265) 2021-09-10 15:30:34 -04:00
76e9ed68d8 feat: add shorthand for --bucket to influx delete (#259) 2021-09-08 15:26:34 -05:00
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
65da55e3f3 fix: --host value passed to setup is written to generated config (#255) 2021-09-02 17:42:37 -04:00
38040fa8dc fix: upgrade golang.org/x/sys to avoid panics on Macs (#252) 2021-09-01 17:38:59 -04:00
7de3681224 build: upgrade to go1.17 (#251) 2021-09-01 14:11:15 -04:00
fa12328714 fix: detect and error out on incorrect positional args (#236) 2021-08-20 17:30:30 -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
285103df13 fix: make --http-debug flag visible in help text (#228) 2021-08-20 10:27:36 -04:00
13799e7662 refactor: use updated API in restore client (#226) 2021-08-13 13:50:02 -04:00
10c17ec661 build: upgrade staticcheck to latest version (#224) 2021-08-04 14:54:53 -04:00
d615694ee9 refactor: replace uses of ioutil with io and os (#223) 2021-08-04 14:45:22 -04:00
aafdda744d build: prefix nightly versions with latest tag (#219) 2021-08-02 12:26:14 -04:00
4ae87ced37 fix: enable default completion logic on top-level app (#221) 2021-07-30 16:04:41 -04:00
1855113d7c build: rename deb/rpm package to more closely match existing influxdb2 (#216) 2021-07-30 10:06:49 -04:00
e6cad1b4aa chore: mark release date, fix bullet style (#214) 2021-07-29 13:34:53 -04:00
c6f55368ea test: remove go-cmp dependency (#213) 2021-07-29 12:16:23 -04:00
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
7efea59d35 fix: fix env var used for configs path (#207) 2021-07-26 12:38:50 -04:00
2957d6613d chore: add another breaking-change note to the CHANGELOG (#205) 2021-07-22 10:53:26 -04:00
bfd929f444 fix: detect non-interactive stdio and use "normal" IO operations (#204) 2021-07-21 17:03:41 -04:00
a111d83b5a fix: retry password-prompt if 2nd entry doesn't match the 1st (#203) 2021-07-21 12:23:39 -04:00
68cfff003a refactor: move duration package out of internal (#202) 2021-07-21 11:52:21 -04:00
90a47e33db build: add GPG private key to gitignore (#198) 2021-07-19 16:38:34 -04:00
4a9b013268 fix: make stacks --json output match 2.0.x (#197) 2021-07-19 14:09:42 -04:00
ef4bdcb9b1 build: set up nightly & tagged release jobs (#188) 2021-07-16 17:17:43 -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