Commit Graph

11558 Commits (6a861f2648a3a52da9f022bb892a29ba98d72a74)

Author SHA1 Message Date
Leonardo Di Donato bba4e4d69f Moving ID tests in platform_test package to avoid circular deps 2018-08-01 18:20:59 +02:00
Leonardo Di Donato 109aeb722b Snowflake ID gen changes 2018-08-01 18:20:59 +02:00
Leonardo Di Donato c6b8c9d82e All zeros ID considered invalid 2018-08-01 18:20:59 +02:00
Leonardo Di Donato 4387206181 Other test for 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
Leonardo Di Donato c59e4e8a50 Refactoring http package 2018-08-01 18:20:59 +02:00
Leonardo Di Donato 0b235b38cc Refinements to delete authorization refactoring and tests 2018-08-01 18:20:59 +02:00
Leonardo Di Donato 0778344cb0 Refactoring query package 2018-08-01 18:20:59 +02:00
Leonardo Di Donato 16f92c41cd Refactoring bolt package 2018-08-01 18:20:59 +02:00
Leonardo Di Donato ae9e7c0087 Adapt tests to ID generators returning pointer to platform.ID 2018-08-01 18:20:59 +02:00
Leonardo Di Donato 75da7c636f Refactoring prometheus package 2018-08-01 18:20:59 +02:00
Leonardo Di Donato 763cd8101a Refactoring DBRP mapping and platform tests 2018-08-01 18:20:59 +02:00
Leonardo Di Donato 969fe7d69f Refactoring platform testing package 2018-08-01 18:20:59 +02:00
Leonardo Di Donato 93449fefe7 Introducing name type to represent valid db/rp names 2018-08-01 18:20:59 +02:00
Leonardo Di Donato de66503de8 ID generator returns a pointer to platform.ID now 2018-08-01 18:20:59 +02:00
Leonardo Di Donato a5465f6416 Entities IDs are now pointers to platform.ID 2018-08-01 18:20:59 +02:00
Leonardo Di Donato bcd4e7e675 Fix ID error about exact length 2018-08-01 18:20:59 +02:00
Leonardo Di Donato 26cd66f165 Update ID generator according to platform.ID 2018-08-01 18:20:59 +02:00
Leonardo Di Donato 09b7a4138f Update tests for DBRP mapping and dashboard 2018-08-01 18:20:59 +02:00
Leonardo Di Donato a3f2eccc2a Changing the ID of entities to a pointer to platform.ID 2018-08-01 18:20:59 +02:00
Leonardo Di Donato fac113821e Testing marshalling of IDs and viceversa 2018-08-01 18:20:59 +02:00
Leonardo Di Donato 617795da5d Testing IDs 2018-08-01 18:20:59 +02:00
Leonardo Di Donato 94f48bdaf5 Switch ID back to uint64 2018-08-01 18:20:59 +02:00
Leonardo Di Donato 31bcd42d05 Fix testing of ID from string function
Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com>
2018-08-01 18:20:59 +02:00
Leonardo Di Donato bc03eb2d2b Tests for platform.ID
Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com>
2018-08-01 18:20:59 +02:00
Leonardo Di Donato 60eb7dd8ad Errors for shorter and longer inputs + empty function + big endian
Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com>
2018-08-01 18:20:59 +02:00
Leonardo Di Donato 5335c52c87 Initial tests for platform.ID
Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com>
Co-Authored-by: Lorenzo Fontana <lo@linux.com>
2018-08-01 18:20:59 +02:00
Leonardo Di Donato d2a11aa77c Platform ID encoding using uint64
Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com>
Co-Authored-by: Lorenzo Fontana <lo@linux.com>
2018-08-01 18:20:59 +02:00
Adam Perlin 3e98846a99
Specify how group key is handled in rename/drop spec (#524)
* Specify how group key is handled in rename/drop spec
2018-08-01 09:09:45 -07:00
Nathaniel Cook 590b9e61f4 fix: More specific error messages for aggregate errors 2018-07-31 16:58:01 -06:00
Adam Perlin ee7980dd4f
Add spec for flux rename/drop function (#462)
* Add initial rename specification to SPEC.md

* Tweak language in spec to be more explicit

* Update spec to be in accordance with final design decisions
2018-07-31 14:50:59 -07:00
Nathaniel Cook 217d1d8f66 Merged pull request #523 from influxdata/nc-http-error-logging
feat: add errors to http logging
2018-07-31 14:44:08 -06:00
Nathaniel Cook ef9c26391c feat: add errors to http logging 2018-07-31 14:34:55 -06:00
Jonathan A. Sternberg 322486aa59
Merge pull request #521 from influxdata/js-default-parameters-for-range-spec
fix(query/influxql): include default parameters in the range spec
2018-07-31 13:36:23 -05:00
Nathaniel Cook 2848b4bf92 Merged pull request #516 from influxdata/nc-aggregate-type-err
fix: Properly check aggregate type
2018-07-31 12:33:33 -06:00
Nathaniel Cook 67bb9a2ce8 Merged pull request #519 from influxdata/nc-storage-time-overflow
fix: Explicilty handle overflow of currentTime is storage source
2018-07-31 12:31:53 -06:00
Jonathan A. Sternberg 24568b95de
Merge pull request #518 from influxdata/js-fix-from-bucket-id-and-range-spec
fix(query): fix passing down the bucket id in the from call
2018-07-31 13:00:12 -05:00
Jonathan A. Sternberg c94fc4d799 fix(query/influxql): include default parameters in the range spec 2018-07-31 12:53:34 -05:00
Jonathan A. Sternberg ced8f461fc fix(query): fix passing down the bucket id in the from call
The bucket id was not being copied when the from procedure was being
created so it never showed up and the bucket id was not set.
2018-07-31 12:53:05 -05:00
Nathaniel Cook 1a4bd6825b fix: Explicilty handle overflow of currentTime is storage source 2018-07-31 11:32:31 -06:00
Nathaniel Cook 422612fca7 Merged pull request #513 from influxdata/nc-http-logging
feat: Add optional http logging to handler
2018-07-31 11:17:04 -06:00
Jorge Landivar 11e66fa9d6
Merge pull request #515 from influxdata/task_delete_user_and_org
Delete users and orgs
2018-07-31 12:02:22 -05:00
docmerlin (j. Emrys Landivar) d61abc0721 Delete users and orgs 2018-07-31 11:57:09 -05:00
Nathaniel Cook 553b15a217 fix: Properly check aggregate type 2018-07-31 10:30:35 -06:00
Lyon Hill 0007892d08
Merge pull request #514 from influxdata/feat/task-meta
feat(tasks): add get meta to the store interface.
2018-07-31 10:29:45 -06:00
Lyon Hill 67c47aba33 minor fixes 2018-07-31 10:23:35 -06:00
Lyon Hill 84d36e6987 feat(tasks): add get meta to the store interface. 2018-07-31 09:47:12 -06:00
Nathaniel Cook 1ef9de6aed feat: Add optional http logging to handler 2018-07-30 16:16:37 -06:00
Mark Rushakoff 265235aaf1 refactor(query): move DefaultCompleter method to complete package
This is so Chronograf doesn't have to import the builtin package, which
finalizes builtin registration.

Also clarify that the builtin package should only be imported from main
or test packages.
2018-07-30 10:54:06 -07:00
Jade McGough 31fb402c16 add tests for owner mapping 2018-07-28 22:55:36 -07:00