Mark Rushakoff
d73d73c0d4
chore: rename imports from platform to influxdb
...
I did this with a dumb editor macro, so some comments changed too.
Also rename root package from platform to influxdb.
In interest of minimizing risk, anyone importing the root package has
now aliased it to "platform" so that no changes beyond imports were
necessary in those files.
Lastly, replace the old platform module to local path /dev/null so that
nobody can accidentally reintroduce a platform dependency while
migrating platform code to influxdb.
2019-01-09 20:51:47 -08:00
Kelvin Wang
8a5da95f4d
fix(cmd/influx): don't print token, print the file where it stored
2019-01-08 15:58:31 -05:00
Andrew Watkins
3429e8d0c6
feat(auth): rewrite authorization service ( #2157 )
...
* feat(view-token-overlay): add view token overlay
* test(tokens): update tests
* chore(auths): rename mock data file
* feat(token-view): clicking on description opens token view modal
* feat(token-view): add ability to close overlay
* feat(token-view): display token permissions with updated permissions shape
* feat(token-view): wip update authorization and permission shapes
* feat(auth): wip refactor auth permissions
* fix(auth): generate permissions via functions
* fix(auth): make Id ID
* chore(types): update generated client
* feat(auth): wip add user and org names to auth
* fix(user): didnt save rebase
* feat(auth): WIP refactor auth
* feat(auth): check for user existence during auth creation
* feat(auth): org must exist during auth creation
* fix(auth): pluralize telegrafs resource type
* docs(http): update swagger definition for the Authorization
* test(auth): fix broken tests
* docs(swagger): update cur_swagger Authrorizations
* fix(api): remove trace from cur_swag
* test(ui/token): update components with new generated type definitions
* feat(http): add lookup service adding names for permissions
* fix(http): remove debugging panics
* chore: go tidy
* fix: unsaved rebase
* test(idpe): add ids to Authorizations for log tests
2018-12-28 15:02:19 -08:00
Kelvin Wang
2b602bfcfe
fix(http): convert org errors endpoint
2018-12-06 11:05:13 -05:00
Jorge Landivar
b0fc331c6d
Merge pull request #1589 from influxdata/bug/1235
...
remove requestedAt param from retry call
2018-11-30 13:39:50 -06:00
j. Emrys Landivar (docmerlin)
7ffd18c7b8
remove requestedAt param from retry call and refactor TaskService interface
2018-11-30 13:14:21 -06:00
kelwang
6db9acc951
Revert "Revert "convert /buckets endpoint error to platform error ""
2018-11-30 13:27:40 -05:00
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
Leonardo Di Donato
3191de776d
Refactoring code using platform.IDs
...
Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com>
2018-08-01 18:20:59 +02:00
Leonardo Di Donato
711d4a3f33
Refactoring main package
2018-08-01 18:20:59 +02:00
Mark Rushakoff
c74bcd11b4
chore(query): remove usage of query/id package
...
It was effectively a copied and pasted platform.ID, so change it to a
type alias. Once our known references to the query/id package are
updated to platform.ID, we'll delete the package.
2018-06-20 12:55:20 -07:00
Mark Rushakoff
638574b131
feat(query): add organization lookup to storage dependencies
...
This is needed for the `to` function to write to buckets in another
organization.
2018-06-15 07:30:12 -07:00
Nathaniel Cook
d1ca38c71f
chore(ifql): Rename IFQL to Flux
2018-06-11 09:26:10 -06:00
Nathaniel Cook
5e30d7cdd6
chore(query/builtin): Add package to formalize query builtin initialization
...
Now all packages wishing to consume query package can and must import
query/builtin in order to properly initialize all builtin values.
2018-05-31 12:03:49 -06:00
Nathaniel Cook
5ecfdcffd2
chore(cmd/influx): Flatten ifql subcommand
...
Now the commands are:
influx query
influx repl
2018-05-24 11:46:40 -06:00
Nathaniel Cook
1e1c6e21e5
chore(idp): Rename cmd/idp to cmd/influx
2018-05-24 11:34:39 -06:00