Commit Graph

355 Commits (b58daa3b802d595925e09796d4bed32a009294f2)

Author SHA1 Message Date
Deniz Kusefoglu f490dd9693
feat(autoAggregate): BE work for autoAggregate (#19129)
* feat(autoAgg): fix pkger test

* feat(autoAgg): refrain from adding createEmpty to check query if exists

* feat(autoAgg): Fix check tests

* feat(autoAgg): Add fillValues to backend

* feat(autoAggregate): Add fillValues to swagger

* feat(autoAgg): indentation
2020-07-29 09:32:36 -07:00
Jonathan A. Sternberg 0cdbd496f4
fix(query): paginate bucket results in the bucket lookup (#19111)
The `buckets()` command would use a bucket lookup that wrapped the
`FindBuckets` API. It did not use the pagination aspect of this API
correctly. When the underlying implementation was changed to a version
that correctly implemented pagination, this broke the query `buckets()`
command. Since it was query that used the API incorrectly rather than a
regression in the `FindBuckets` implementation, this fixes the usage to
correctly use pagination.
2020-07-29 11:23:13 -05:00
Johnny Steenbergen e7310b414c fix(pkger): update stacks with snapshot of all prevoius event resources 2020-07-28 15:58:59 -07:00
Johnny Steenbergen d768132aaa feat(pkger): make envRef default values support more types
references: #18237
2020-07-28 12:22:46 -07:00
Johnny Steenbergen a652cdf552 chore(pkger): axe deprecated /packges route tree 2020-07-24 09:33:30 -07:00
Jonathan A. Sternberg 8678a22ee3
feat(storage/flux): add tests for min/max pushdowns (#19028) 2020-07-23 16:07:30 -05:00
Christopher M. Wolff 8b106bcee1
feat(storage): add mean aggregate array cursor and tests (#19019) 2020-07-23 09:49:53 -07:00
jlapacik 4d8547f0fe test: launcher tests for window offset 2020-07-20 12:23:37 -07:00
Ben Johnson c28eb70856 feat(mincore): Add page fault limiter
This commit adds `mincore.Limiter` which throttles page faults caused
by mmap() data. It works by periodically calling `mincore()` to determine
which pages are not resident in memory and using `rate.Limiter` to
throttle accessing using a token bucket algorithm.
2020-07-17 09:37:31 -06:00
Lyon Hill a31b651057
feat(task): Add new permission lookup pattern for executor (#18920)
* feat(task): Add new permission lookup pattern for executor

We can now use the user service to populate task owners permissions.
This should improve the task lookup time and decouple the task system
from the URM system. In the future we will have the ability to better isolate
tenant pieces from the rest of the service.

* feat: add feature flagging
2020-07-13 14:47:58 -06:00
George b8f5604613
revert(tasks): Add new permission lookup pattern for executor (#18869) (#18915)
This reverts commit e9e4d794cf.
2020-07-10 11:05:07 +01:00
Johnny Steenbergen 944b097628 feat(pkger): extend stacks API with uninstall ability
this new ability removes the resources associated with the stack
and adds the uninstall event.
2020-07-09 17:05:53 -07:00
Lyon Hill e9e4d794cf
feat(task): Add new permission lookup pattern for executor (#18869)
We can now use the user service to populate task owners permissions.
This should improve the task lookup time and decouple the task system
from the URM system. In the future we will have the ability to better isolate
tenant pieces from the rest of the service.
2020-07-09 14:06:46 -06:00
jlapacik e6e55038e8 test: descending array cursor should include end time 2020-07-09 12:22:25 -07:00
Johnny Steenbergen 8b6788fdd2 feat(pkger): make stacks event sourced
closes: #18874
2020-07-08 13:40:48 -07:00
jlapacik 9f9be91828 feat: remove feature flags for first and last pushdowns 2020-07-07 14:15:48 -07:00
Alirie Gray e02e950ed0
refactor: add new tenant system struct to consolidate services (#18833) 2020-07-06 10:49:51 -07:00
Ben Johnson 6b0b4d7c4e fix(storage): Refactor LoggingPointsWriter to use BucketFinder
This commit changes the writer to use `storage.BucketFinder` which
is a subset of the `influxdb.BucketService` interface.
2020-07-02 12:46:43 -06:00
George 4a6bc1d74f
chore: remove kv Session service and sessionsv1 bucket (#18823)
* chore: remove sessionsv1 bucket

* chore: add extra configuration to sessions.Service
2020-07-02 15:15:08 +01:00
jlapacik 25309c398d test: windowed aggregates should filter empty series 2020-07-01 16:58:50 -07:00
jlapacik 3246b3c7ad refactor: remove feature flag for certain pushdowns 2020-07-01 12:59:39 -07:00
Ben Johnson 482442ecc1 feat(storage): Add logging points writer
This commit adds a LoggingPointsWriter which wraps a PointsWriter
and provides logging when a write fails.
2020-07-01 11:41:29 -06:00
George 96d84b9126
refactor: migrator and introduce Store.(Create|Delete)Bucket (#18570)
* refactor: migrator and introduce Store.(Create|Delete)Bucket

feat: kvmigration internal utility to create / managing kv store migrations

fix: ensure migrations applied in all test cases

* chore: update kv and migration documentation
2020-07-01 12:08:20 +01:00
Johnny Steenbergen e851228102 feat(pkger): extend template diff types with kind
closes: #18804
2020-06-30 17:22:34 -07:00
Johnny Steenbergen ffe5d941d3 feat(pkger): extend template Summary with discrete kinds for each summary type
references: #18804
2020-06-30 16:47:15 -07:00
Johnny Steenbergen b9e6744807 chore(pkger): finalize adoption of templates naming convention
closes: #18580
2020-06-30 16:33:45 -07:00
Lyon Hill 5776350a53
feat: switch to use the new tenant bucket service (#18738) 2020-06-30 14:48:42 -06:00
Johnny Steenbergen b5fcb06883 fix(pkger): stop swallowing parser errors from pkger parser in http remote service 2020-06-29 17:31:59 -07:00
Johnny Steenbergen 952007001b chore(pkger): drop mentions of pkgs from within service models
references: #18580
2020-06-29 16:43:40 -07:00
Johnny Steenbergen 2927f0e718 feat(pkger): add stable HTTP APIs for stacks and templates
references: #18580
2020-06-29 13:45:32 -07:00
jlapacik fef23ee4d1 test: launcher tests for window last and bare last pushdowns 2020-06-29 13:12:47 -07:00
Johnny Steenbergen 2825427cf5 chore(pkger): convert packages endpoints into new naming convention
note: going to make this evolution in two steps so that we have a simple
rollback to get back to a working state. We'll be maintaining both packages
and the new templates and stacks endpoints for a while as users start to
move onto a newer CLI version. Sunsetting by end of July.

references: #18580
2020-06-29 09:45:58 -07:00
Johnny Steenbergen 2f2140e7a7 feat(influx): extend stacks update cmd with ability to add resources
closes: #18646
2020-06-29 07:03:52 -07:00
Jonathan A. Sternberg 5aeca082c8
chore: update staticcheck and fix newly identified lint checks (#18737) 2020-06-26 18:54:09 -05:00
Johnny Steenbergen fdcf8000f6 feat(pkger): extend stacks with ability to add resources without applying
references: #18646
2020-06-26 14:47:52 -07:00
Johnny Steenbergen 0f7ab73199 chore(pkger): drop behavior to update stack when exporting 2020-06-26 14:47:52 -07:00
Jonathan A. Sternberg 58bd5b9854
fix(storage/flux): the count aggregate will fill in zero values instead of null (#18735) 2020-06-26 15:43:03 -05:00
Alirie Gray b35479640a
refactor: move checks service to new package (#18671) 2020-06-26 12:52:15 -07:00
Johnny Steenbergen a6a5d0d43f fix(pkger): update handling of diff dashboard charts 2020-06-26 11:55:19 -07:00
Johnny Steenbergen 846b7d0207 feat(pkger): add ability to export stack with additional resources and update stack with associated exports
references: #18646
2020-06-25 21:25:30 -07:00
Lyon Hill 8522e19b6e
feat: add a embedded handler for label service api (#18745)
We will now be able to embed the label mappings apis into other services
2020-06-25 17:10:06 -06:00
jlapacik 7039d87a4f test: launcher tests for window first 2020-06-25 14:37:07 -07:00
David McKay 67fad644f2 fix: remove redundant break statements 2020-06-25 18:17:24 +01:00
David McKay 79431d1c46 feat: allow restricting TLS version and ciphers 2020-06-25 18:17:24 +01:00
David McKay e97a0eb027 chore: fix tests 2020-06-25 18:16:57 +01:00
David McKay b3c738fc53 fix: have tests use non-default value and support pkger 2020-06-25 18:16:57 +01:00
Johnny Steenbergen cb8fe33da8 chore(pkger): drop reference to pkg in PkgImpactSummary type 2020-06-25 09:47:33 -07:00
Johnny Steenbergen f554563cea chore(pkger): refactor independent stack export functionality out of existence
the Export behavior (renamed from CreatePkg) now provides for stackID as
another input. With this we are able to remove the additional endpoint
/api/v2/packages/stacks/:stack_id/export. It now fits into the
/api/v2/packages/export endpoint as another req body parameter. This also
makes all export functionality in teh same space, encapsulated both in the
endpoint and within the service layer :-).

references: #18646
2020-06-25 09:47:33 -07:00
Johnny Steenbergen 6694c7e393 chore(pkger): refactor export by stack to reuse CreatePkg functionality
this also makes it so that an association (label) that is added to a
resource is also included in the returned output. There is 1 test that
was changed as part of this work. It is to test for this specific change
in behavior

references: #18646
2020-06-24 12:03:20 -07:00
Brett Buddin 1f422b9b94
fix(dbrp): Delete DBRP mappings when their target Bucket is deleted. (#18699) 2020-06-24 13:40:54 -04:00