Johnny Steenbergen
9eb72d4cf9
chore(influx): use disable- for color/table borders in pkg cmd
...
closes : #16582
2020-01-17 09:51:20 -08:00
Jade McGough
3f7a32f739
fix(pkg): normalize cli arg format ( #16580 )
2020-01-17 09:31:07 -08:00
Johnny Steenbergen
22c0f787db
fix(influx): fix description for reuable org/ord id type
...
closes : #16579
2020-01-17 09:15:10 -08:00
Johnny Steenbergen
19d2e5580a
feat(influx): trim space on credentials file
2020-01-16 07:22:56 -08:00
Johnny Steenbergen
93c8a2a104
feat(pkger): add service logging and tracing middlewares
2020-01-15 12:00:59 -08:00
Kelvin Wang
cf5daee66b
chore(cmd/influx): refactor user.go
...
feat(cmd/influx): add user tests
fix(cmd/influx): make golint happier
2020-01-15 13:45:26 -05:00
Kelvin Wang
f62d3a25f1
feat(cmd/influx): update password in cli
2020-01-15 13:30:23 -05:00
Johnny Steenbergen
41beaf0bd5
fix(pkger): fixes issue where pkger can't discern the mime/content type of a package
...
also makes the yaml decoder the default. To foten we end up in application/octet-stream
which is the default for many different mime types. This provides a mechanism
around that so that when the automagical detection fails it can allow the user
to provide it via the CLI.
2020-01-14 15:44:48 -08:00
Johnny Steenbergen
234c458fa0
fix(pkger): fix missing API version in export of existing resources
2020-01-14 14:36:37 -08:00
Johnny Steenbergen
63fd1e2e9a
feat(pkger): make pkger packages CRD compliant
2020-01-14 13:20:00 -08:00
Johnny Steenbergen
fe12fd051e
feat(pkger): add jsonnet support for package files
2020-01-13 09:55:08 -08:00
Johnny Steenbergen
3b62340b31
chore(influx): refactor org cmd with buidler pattern
2020-01-13 07:49:16 -08:00
Johnny Steenbergen
fdc3e7658c
feat(pkger): add ability to supply a pkg from a url
...
the following is now possible from the CLI(same in REST API):
influx pkg -u 1717709ffa/bucket_pkg_json
2020-01-12 07:53:58 -08:00
Johnny Steenbergen
3f56658418
fix(influx): drop persistent pre run func taht double prints help cmd
2020-01-10 17:22:05 -08:00
Johnny Steenbergen
9338a0be97
chore(influx): refactor bucket cmd into builder pattern
2020-01-10 15:20:15 -08:00
Johnny Steenbergen
89939dea4e
fix(influx): add env vars to cli usage and normalize usage and flag/env var priority
...
also rids us of the cobra tutorial code and encapsulates things into funcs
2020-01-10 15:20:15 -08:00
Michael Desa
26e8ee879c
feat: add tool to migrate 1.x chronograf dashboards and variables
...
feat(pkger): export dashboard and variable *ToResource methods
fix(pkger): add empty selected _measurement to builder config
feat(chronograf): add note & note visibility to dashboard cell
The 1.x DashboardCell struct had migrated since we brought the code into
the InfluxDB codebase. This allows us to migrate cells that were created
since then.
feat(cmd/chronograf-migrator): add 1.x chronograf migrator tool
feat(chronograf-migrator): add function to transpile queries
fix: update spelling of todo comment pkger/models.go
Co-Authored-By: Deniz Kusefoglu <deniz@influxdata.com>
fix(chronograf): add type to DashboardQuery
The type has evolved since this code was moved over from chronograf.
Previously, we did not have access to flux as a type of query.
feat(chonograf-migrator): transpile influxql query to flux if possible
fix(chronograf): omit fields when empty on old chronograf structs
fix: make linter not mad at me
feat(chronograf-migrator): lowercase variable names
fix(pkger): add empty selected measurement to builder config
chore(chronograf-migrator): add basic readme
chore(pkger): export Variable and Dashboard ToResource methods
fix(chronograf-migrator): move flags out of init call
2020-01-10 09:05:19 -08:00
Johnny Steenbergen
ba7502aaf5
fix(influx): update influx pkg cmd flag secrets delimter to match vaults using an `=`
2020-01-09 14:22:38 -08:00
Johnny Steenbergen
c8aabaf515
chore(http): fixup middleware stack and normalize metrics into same buckets for id fields
2020-01-08 15:05:34 -08:00
Yiqun Zhang
74ba877cb9
feat: opentracing in query execution runtime
2020-01-08 11:16:13 -05:00
Jade McGough
79ab5e5e59
fix(pkger): don't swallow errors when failing to get organization ( #16397 )
2020-01-03 01:22:54 -08:00
Alirie Gray
6c6bd39ffc
refactor(tasks): remove dead scheduler code ( #16252 )
2020-01-02 11:41:21 -08:00
Jacob Marble
047afcfc10
fix(tests): make sure NATS port is open for unit tests ( #16310 )
...
* fix(tests): make sure NATS port is open for unit tests
Fixes #10628 again
* chore: add comment re possible race
2020-01-02 11:05:56 -08:00
Kelvin Wang
f8c0ea032c
fix(cmd/influx): show see help, instead of usage
2019-12-31 14:52:55 -05:00
Greg
b2531c1f97
fix: improve date in `version` command ( #16365 )
...
set date in go like a sane person
2019-12-30 17:56:58 -07:00
Greg
56973b8dc5
fix: add 'version' command to match github bug report template ( #15629 )
2019-12-30 12:53:52 -07:00
Johnny Steenbergen
f1b5e19776
feat(influx): add hide headers flag to influx cli task cmd
2019-12-27 14:41:55 -08:00
Johnny Steenbergen
cce279a80e
feat(pkger): add ability to provide secrets alongside package when applying
...
this provides the ability to add secret refs at runtime instead of adding
them to the pkg.
2019-12-27 12:41:42 -08:00
Johnny Steenbergen
935389912a
chore(pkger): reorder print statements to be alphabetical
2019-12-26 11:34:48 -08:00
Johnny Steenbergen
1c2421cb9c
feat(pkger): add export support for tasks
2019-12-23 15:41:14 -08:00
Johnny Steenbergen
c9431bceb8
feat(pkger): add apply functionality for task resource
2019-12-23 13:56:42 -08:00
Johnny Steenbergen
8e87498317
feat(pkger): add dry run functionality for task resource
2019-12-23 11:40:28 -08:00
Johnny Steenbergen
af5b7fd7d3
feat(pkger): add export support for notification rules
2019-12-21 14:58:02 -08:00
Greg
abd8ce0089
feat(http): add functionality to retrieve/store telegraf config as toml ( #16132 )
2019-12-20 14:20:13 -07:00
Johnny Steenbergen
61dceaa727
feat(pkger): add application functionality for the notification rules resource
2019-12-20 12:48:46 -08:00
Johnny Steenbergen
02aec6ed29
feat(pkger): add dry run functionality for notification rules
2019-12-19 16:31:22 -08:00
Jade McGough
cc0943ceeb
chore(cli): improve walk function documentation ( #16176 )
2019-12-19 03:22:56 -08:00
Johnny Steenbergen
a8a4d3d0b2
feat(pkger): add export functionality to checks resource
2019-12-18 17:52:28 -08:00
Johnny Steenbergen
677e836bf4
feat(pkger): add apply functionality for checks
...
this work is to support pkger, but was able to add back in the
skipped tests. seeing failures upstream, and didn't catch it in
influxdb b/c the tests were being skipped.
closes : #14799
2019-12-18 15:02:03 -08:00
Johnny Steenbergen
1db3256980
feat(pkger): add check dry run functionality
2019-12-18 12:15:08 -08:00
Johnny Steenbergen
f527636fe0
chore(http): refactor user http service to use the httpc.Client
2019-12-17 12:49:14 -08:00
Johnny Steenbergen
1c2b900687
chore(http): refactor auth service http client to use httpc.Client
...
normalizing the auth service http client to follow suit with other services.
2019-12-17 12:18:16 -08:00
Deary Hudson III
d5f8a5fc9f
feat(cmd): apply env vars consistently across cmd ( #16225 )
2019-12-17 13:55:35 -06:00
Johnny Steenbergen
d42bbb3c64
feat(pkger): add support for exporting notification endpoints
2019-12-17 11:33:34 -08:00
Johnny Steenbergen
b8652ee178
feat(pkger): add support for secret references to notification endpoints parsing
2019-12-17 11:33:34 -08:00
Johnny Steenbergen
a6e768dc7c
chore: refactor notication endpoints to make a service out of notification endpoints
...
this is a blocker for anyone who hits the endpoint services internally. They
had to know that they need to also know of hte secret service then do all that
put/delete alongside the operation. This makes that unified inside the store tx.
one other thing this does is make obvious the dependencies that
notification services has. In this case it is the secrets service it
depends on.
2019-12-17 10:49:06 -08:00
Johnny Steenbergen
39e89eafdf
chore(pkger): utilize http client for integration tests for pkger
2019-12-13 09:46:01 -08:00
Deary Hudson III
48e854776e
fix(cmd): adds org svc dep to pkg ( #16206 )
2019-12-12 11:33:15 -06:00
Johnny Steenbergen
3daaa4d307
feat(pkger): add apply functionality for notification endpoints kind
2019-12-11 15:13:42 -08:00
Johnny Steenbergen
69d7eb4455
feat(pkger): add notification endpoint dry run functionality
2019-12-11 15:13:42 -08:00