Commit Graph

58 Commits (e5a29ab446b88ccb5b9eeaa124f1838602941b72)

Author SHA1 Message Date
Mark Rushakoff b1c80c8991
Merge pull request #1627 from zhulongcheng/task-page-size
fix(task): add limit field to TaskFilter
2018-11-30 08:17:12 -08:00
Edd Robinson 9403c1ec8e Ensure error strings not capitalised ST1005 2018-11-30 10:54:24 +00:00
zhulongcheng d8c80fa50c add limit param to task service 2018-11-30 10:02:41 +08:00
kelwang 2a57dc1970
Revert "convert /buckets endpoint error to platform error " 2018-11-29 12:02:32 -05:00
Kelvin Wang 232d9d71e3 fix(http): fix bucket errors 2018-11-29 09:58:56 -05:00
docmerlin (j. Emrys Landivar) 57fe285e56 add run return to rerun 2018-11-27 11:48:32 -06:00
Mark Rushakoff b0b0d965ff feat(task): integrate task logs with system buckets
- Brought over enterprise's QueryLogReader, with small adjustments
  - Time filters are for the run's ScheduledFor field, per spec
- Adjusted run log timestamps for consistent formatting:
  - ScheduledFor is RFC3339 because it's a whole-second timestamp
  - StartedAt, FinishedAt use RFC3339Nano for high precision
- Several test adjustments to use relative time, for easier integration
  with storage retention
2018-11-15 08:59:15 -08:00
Kelvin Wang a783c213c3 (feat/cmd): add default token 2018-11-09 19:43:29 -05:00
Michael Desa 459f2cbfbb feat(cmd/influx): add local flag for operating directly with boltdb
feat(internal/fs): move influxDir function to internal package in base of repo

feat(cmd/influx): add local flag that operates on local file system

feat(cmd/influx): add local support for org command

feat(cmd/influx): add local support for user command

eat(cmd/influx): add local support for bucket command

feat(cmd/influx): add error for local with query/task/setup cmds

fix(cmd/influx): unshadow error in delete bucket command

fix(cmd/influx): update copy for local flag commands
2018-11-02 14:34:48 -04:00
Mark Rushakoff 89813b8aa4 chore(cmd): fix megacheck errors 2018-11-01 12:54:46 -07:00
Mark Rushakoff cd80e41220 feat(task): add ability to retry runs
This also adjusts the TaskService interface's RetryRun method to accept
a task ID rather than an org ID. Internally, we still look up runs by
organization, and maybe that will change later, but this is a more
natural way for clients to look it up.
2018-10-30 09:20:40 -07:00
Mark Rushakoff cfd685d72a fix(cmd/influx): require query command's org-id flag
Before, if you ran `influx query` and didn't have --org-id, you would
get an unhelpful runtime error like `id must have a length of 16 bytes`.
After this, you get a more helpful `required flag(s) "org-id" not set`
error.
2018-10-29 11:52:41 -07:00
Chris Goller 226d18bb22 fix(cmd/influx): typos in cli variables 2018-10-26 15:51:55 -05:00
Chris Goller d2ecf8aad6 http(write): support timestamp precision 2018-10-25 21:23:50 -05:00
Chris Goller 9d64d2192b feat(write): add line protocol batch writing 2018-10-25 19:13:53 -05:00
Chris Goller ca2b6941f2 refactor(cmd/influx): write now returns errors rather than os.Exit 2018-10-25 19:13:53 -05:00
Chris Goller 05117ac7cb fix(cmd/influx): typos and grammar for write command 2018-10-25 19:13:53 -05:00
Chris Goller b3a7324c3e fix(cmd/influx): update write to new platform ID 2018-10-25 19:13:53 -05:00
Chris Goller dd8c2691ed feat(cmd/influx): add write to influx binary 2018-10-25 19:13:53 -05:00
Lyon Hill 0894d5a3e3
fix task create (#1192)
fixes #1190
2018-10-25 13:57:17 -06:00
Lyon Hill 19b7709bad
Add tasks to the influx cli (#1163) 2018-10-23 11:51:13 -06:00
kelwang 022bdc86d6
Merge pull request #1120 from influxdata/fix/onboarding_change
Fix/onboarding change
2018-10-19 10:59:07 -04:00
Chris Goller 11f869fb37
feat(cmd/influx): add org name option to repl (#1121)
* feat(cmd/influx): add org name option to repl

* fix(cmd/influx): repl org-id and org are mutually exclusive
2018-10-18 15:55:31 -05:00
Kelvin Wang 60fdf79726 add retention policy 2018-10-18 16:04:21 -04:00
Kelvin Wang a3c9185ba6 remove default org bucket 2018-10-18 13:38:17 -04:00
Kelvin Wang b5e7b5f138 enter "n" to cancel setup 2018-10-11 20:58:29 -04:00
Kelvin Wang 1603865ef4 kill the default loop in password 2018-10-11 18:14:30 -04:00
Kelvin Wang a7754d2322 fix some issues onboarding 2018-10-11 18:02:58 -04:00
Leonardo Di Donato 5a0b3eb2f9 fix(cmd/influx): composite literals
Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com>
2018-10-11 09:54:18 -05:00
Leonardo Di Donato 8d7f06cf4b feat(platform/id): using uint64 for platform.IDs
Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com>
Co-Authored-by: Lorenzo Fontana <lo@linux.com>
2018-10-11 09:54:18 -05:00
Jeff Wendling 6bd79ab2fe Remove unused grpc reader
The pb package was only referenced in cmd/influx/query.go, but in
dead code, since it uses the same machinery as the repl, which goes
through the HTTP endpoints, rather than the gRPC endpoints.
2018-10-10 14:06:27 -06:00
Adam 195eb04350
Chore/move from function to platform (#1013)
* moved execution code for from into query/functions/inputs

* rebase with master, disable buckets accessed test
2018-10-09 20:36:41 -04:00
Kelvin Wang 1000782f10 add confimation scene 2018-10-05 19:49:02 -04:00
kelwang 05b68ce154
Merge pull request #973 from influxdata/fix/remove_default_username
remove default username
2018-10-05 06:43:29 -04:00
Adam 58f4e9fc0b
Refactor Platform according to new organization in `flux` (#966)
We reorganized the functions in flux to have the structure:
/functions
/inputs
/transformations
/outputs
this PR catches up platform to work with the new package layout.

As a separate refactoring issue, we should discuss:

from(bucket: ) should migrate from flux --> platform
to_http and to_kafka should migrate from platform --> flux
2018-10-05 00:06:14 -04:00
Kelvin Wang 2aba58256b remove default username 2018-10-04 18:23:41 -04:00
Mark Rushakoff 955eabd551 refactor(http): prefer Addr over URL in field names
The other services all use the field Addr, so consistently use Addr,
instead of sometimes using URL.
2018-10-04 13:59:58 -07:00
Kelvin Wang d21b2719ce use cancel text 2018-10-03 14:24:42 -04:00
Kelvin Wang 3addadc12a add setup service 2018-10-02 15:58:27 -04:00
Chris Goller 9572d8dac2 chore(cmd/influx): add units to influx command 2018-09-25 13:22:47 -05:00
Jade McGough 8e04f5e6e8
add org member endpoints (#846)
add org member endpoints
2018-09-24 10:17:54 -07:00
Nathaniel Cook 6a48f13577 Merged pull request #826 from influxdata/nc-repl-http
fix: Update REPL to use HTTP API
2018-09-14 16:21:28 -06:00
Nathaniel Cook d65a864ec5 fix: Update REPL to use HTTP API 2018-09-14 14:03:35 -06:00
Jade McGough 0b70dc99c4
don't store references to internal buckets (#789)
* add types to bucket service tests

* add type to bucket cmd interface

* bucket type needs to be defined in json for POST creations

* rip out bucket type stuff

* remove type from bucket tests

* add InternalBucketID helper fn

* remove more code

* remove org from internal bucket ID
2018-09-14 09:26:59 -07:00
Nathaniel Cook 672e2d5fe7 chore: Updates to be able to remove platform as a dependency of Flux 2018-09-12 10:18:54 -06:00
Stuart Carnie ac75af2f58 refactor: Migrate query package to influxdata/flux repository 2018-09-06 11:13:48 -07:00
Jade McGough cd30e5a820
add internal system buckets for orgs (#652)
feat(bolt): add internal system buckets for orgs
2018-09-06 09:19:58 -07:00
Chris Goller 40e56333e1 refactor(http): update authorization to use active/inactive status 2018-08-29 13:07:39 -05:00
Chris Goller d3afb82323 feat(cmd/influx): add enable/disable from influx cli tool 2018-08-29 13:07:39 -05:00
Michael Desa 8c87c9d132 revert #442 2018-08-01 14:54:32 -04:00