Andrew Lee
afbbfaca87
fix: fix virtual DBRP FindMany, make virtual bucket default if not overridden ( #23623 )
...
* fix: fix find dbrps, make bucket default if not overridden
* fix: allow filtering of virtual DBRPs, filter in shard mapper
* fix: update tests to mock for virtual filter for shards and update server test
2022-08-12 11:16:37 -06:00
Andrew Lee
adeac8beea
feat: add virtual DBRP mappings based on bucket name ( #23606 )
...
* feat: add virtual DBRP mapping based on bucket name
* fix: improve error handling logic
* fix: update physical dbrp tests
* fix: update influxql tests with auto-mapped buckets
* fix: add virtual filtering and testing for virtual dbrps
2022-08-03 15:44:04 -06:00
Daniel Moran
cc6accf106
chore: delete old-style DBRP mapping ( #22339 )
2021-08-30 18:27:11 -04:00
Daniel Moran
00afd95cb7
refactor: automated move of errors and id from root to kit ( #21101 )
...
Co-authored-by: Sam Arnold <sarnold@influxdata.com>
2021-03-30 14:10:02 -04:00
docmerlin (j. Emrys Landivar)
4626ea1a0c
fix(api): make the dbrp api match the swagger spec
...
The swagger spec is the source of truth for the API, and the DBRP api
was divergent from this spec. This change should make it meet the spec.
2020-11-18 11:47:23 -06:00
Gianluca Arbezzano
1cf64fd721
feat: dbrp service
...
Signed-off-by: Lorenzo Affetti <lorenzo.affetti@gmail.com>
Co-Authored-By: Gianluca Arbezzano <gianarb92@gmail.com>
Co-Authored-By: George MacRorie <gmacrorie@influxdata.com>
Co-Authored-By: Alirie Gray <alirie.gray@gmail.com>
2020-05-15 12:05:38 +02:00
Kelvin Wang
e4539ad04d
fix(inmem): fix dbrp not found
2019-07-03 15:54:57 -04:00
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
Edd Robinson
9403c1ec8e
Ensure error strings not capitalised ST1005
2018-11-30 10:54:24 +00: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
Nathaniel Cook
e17518d57e
chore: Add string method to dbrp mapper filter
2018-08-08 15:31:37 -06:00
Michael Desa
8c87c9d132
revert #442
2018-08-01 14:54:32 -04:00
Leonardo Di Donato
fe4c3199ce
Switch back logic of valid names within DBRP mappings
2018-08-01 18:20:59 +02: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
763cd8101a
Refactoring DBRP mapping and platform tests
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
Chris Goller
63969a9251
fix(dbrp): use validName from influx 1.x
2018-07-19 11:15:14 -05:00
Chris Goller
562343034f
fix(dbrp): allow dash as valid character
2018-07-19 10:21:06 -05:00
Nathaniel Cook
234f7b9cd9
chore: Add testing helpers for DBRPMapping
2018-07-12 13:43:06 -06:00