Commit Graph

33051 Commits (89fe6834b087e29847e4b930a754af2ca506a4b2)

Author SHA1 Message Date
Alex Boatwright 0d48f4c09a
fix: persist local feature flag overrides (#17882) 2020-04-28 11:04:49 -07:00
Ben Johnson 7568ade1ca
Merge pull request #17878 from influxdata/store-enable-compactions
feat(storage): Add compaction enablement API to Engine.
2020-04-28 09:56:41 -06:00
Ben Johnson 3e87ef52b6 feat(storage): Add compaction enablement API to Engine. 2020-04-28 08:23:34 -06:00
alexpaxton d56966face
feat(ui): ability to create a bucket from time machine (#17860)
* feat: WIP allow on the fly bucket creation

* refactor: fully implement create bucket in both places

* refactor: use separate popover based component for selector list bucket creation

* chore: prettier

* chore: cleanup buckets tab

Doesn't need org, overlay state, or any overlay components

* chore: prettier

* refactor: convert CreateBucketOverlay to function component

* chore: changelog

* chore: cleanup

* feat: add integration test for creating a bucket from the query builder

* refactor: rebuild selector list bucket creator with useReducer

* refactor: keeping it DRY - both bucket creation components use the same state management
2020-04-27 14:19:12 -07:00
Daniel Campbell 5028b8a969 fix(tests): update test-ids 2020-04-27 10:32:36 -07:00
Daniel Campbell 862a727dd2 chore(ui): update changelog order 2020-04-27 10:32:36 -07:00
Daniel Campbell 856b069886 chore(influxdb): upadte changelog 2020-04-27 10:32:36 -07:00
Daniel Campbell fd8dc3544a fix(ui): remove unused imports 2020-04-27 10:32:36 -07:00
Daniel Campbell 08e0c74e52 chore(ui): move multiUser feature flag 2020-04-27 10:32:36 -07:00
Daniel Campbell a86143a000 chore(ui): rename members tab to users in cloud 2020-04-27 10:32:36 -07:00
Daniel Campbell 0b5a6b68d6 fix(ui): about url 2020-04-27 10:32:36 -07:00
Daniel Campbell cef760234f chore(ui): move org nav items 2020-04-27 10:32:36 -07:00
Alex Boatwright 5c00430e0b
fix: move feature flag state into redux (#17806) 2020-04-27 10:12:33 -07:00
Yiqun (Ethan) Zhang e29eeabcec
feat: complete ReadWindowAggregateRequest (#17871) 2020-04-27 10:51:43 -05:00
Johnny Steenbergen 72906a4484 feat(pkger): add support for stateful label mappings
references: #17434
2020-04-24 17:05:55 -07:00
Johnny Steenbergen af0fc05f5e fix(http): provide support for telegraf update in http client 2020-04-24 17:05:55 -07:00
Johnny Steenbergen 1ac383de66 fix(launcher): removed timed contexts for launcher pkger tests 2020-04-24 10:52:50 -07:00
Johnny Steenbergen 1615a2c461 fix(influx): add arg description into config usage 2020-04-24 10:52:50 -07:00
Jonathan A. Sternberg 69bdae7f7d
refactor(storage/reads): refactor the capabilities interface (#17850)
The capabilities interface will now return a mapping of capabilities to
a capabilities object. The capabilities object will contain a list of
features supported by the capability.
2020-04-23 16:16:52 -05:00
Russ Savage eb6a5520df
chore(changelog): update for beta-9 2020-04-23 14:14:23 -07:00
Johnny Steenbergen 46f69bfc8c fix(flux): skip flakey test
references: #17847
2020-04-23 11:47:32 -07:00
Johnny Steenbergen 3acd860563 feat(pkger): add stateful management for notification rules
references: #17434
2020-04-23 11:47:32 -07:00
Scott Anderson decddb4710
chore(flux): add flux 0.66 functions (#17741)
* chore(flux): add flux 0.66 functions
* chore(flux): fix syntax issues in flux functions list
2020-04-23 10:54:53 -06:00
Jonathan A. Sternberg d764ca3798
refactor(query): return detailed capabilities for the read window aggregate interfaces (#17836)
This modifies the read window aggregate interfaces to future-proof it
if and when we add additional capabilities to the method. Previously,
the interface was all or nothing. If we modified the RPC call itself, we
would have to make a new interface to denote the change to the Go code.

This changes the interface so now a `WindowAggregateCapability` exists.
This way, we can modify the struct to include things like:

```
type WindowAggregateCapability struct {
    WindowPeriodCapability bool
    MeanAggregateCapability bool
}
```

This way we can learn if the RPC call itself supports some specific
option. If the first iteration doesn't support a mean aggregate or the
mean aggregate is only supported by single server implementations, the
window aggregate can tell the caller that it won't be able to compute
the mean aggregate.

Since it fills in a struct with these capabilities, the struct can
safely introduce new values. If a downstream consumer wants to take
advantage of that functionality, then all interfaces in the chain have
to be updated to consume the upstream capabilities.
2020-04-23 10:22:33 -05:00
Lyon Hill 29918a45df
fix(tenant): Allow tenant to update user and org with same name (#17833)
This will allow us to match the existing behavior that allows for update requests to go through with the same name.
2020-04-23 08:33:03 -06:00
Lyon Hill 50b51e14b3
fix(delete): fix delete handler to add org filter for bucket lookup (#17834) 2020-04-23 08:32:50 -06:00
Johnny Steenbergen d82aa62fff feat(pkger): extend store to support associations
references: #17434
2020-04-22 16:50:40 -07:00
Ariel Salem a1d1a67a1b
feat(SignUpForm): Removed sign-up functionality since it's no longer relevant (#17841) 2020-04-22 14:37:48 -07:00
Jonathan A. Sternberg 58522d1190
feat(query): implement the ReadWindowAggregateSource (#17839)
The `ReadWindowAggregateSource` will invoke the `ReadWindowAggregate`
method on the `influxdb.Reader` and return the table. It is implemented
using the same common methods that are used for the other sources.
2020-04-22 16:07:45 -05:00
Lyon Hill 60c3af7929
fix(tenant): include pagination options in middlewares (#17835) 2020-04-22 14:31:56 -06:00
Brandon Farmer e29a2c78de
Merge pull request #17837 from influxdata/tag-key-completion
feat: integrate tag key completion in ui
2020-04-22 13:13:03 -07:00
Deniz Kusefoglu 5a663ead25
feat(demodata): polish (#17838)
* feat(demodata): Add flexbox around label

* feat(demodata): Change website monitoring bucket name
2020-04-22 12:32:01 -07:00
Yiqun (Ethan) Zhang 52dc494edb
feat(query): add ReadWindowAggregatePhysSpec (#17824) 2020-04-22 13:53:59 -05:00
Brandon Farmer 5fe4520f4f feat: integrate tag key completion in ui 2020-04-22 11:25:27 -07:00
Alex Boatwright f5d19c1a26
fix: backfilling views and cells when we grab dashboards (#17822) 2020-04-22 10:39:52 -07:00
Alex Boatwright aa940a9739
fix: reapply new flux result parser (#17757)
now its behind a flag
2020-04-22 09:49:22 -07:00
Ariel Salem 960ec964f6
fix(Logout): Reverted the Logout component functionality to maintain the original IDPE-based logout (#17830)
fix(package.json): Updated the cloud-dev command to have the CLOUD_URL land on the same default port as Quartz

Co-authored-by: Iris Scholten <ischolten.is@gmail.com>
2020-04-22 09:42:39 -07:00
George e150377f48
revert(tenant): integrate the tenant service as the default backend (#17805) (#17832)
This reverts commit 79e9de93cb.
2020-04-22 17:23:17 +01:00
Johnny Steenbergen 653a53fa9b chore(influx): tidy up print summary statements to include pkg names 2020-04-21 16:50:08 -07:00
Johnny Steenbergen 47e5facc81 feat(pkger): add stateful management for telegraf configs 2020-04-21 15:47:49 -07:00
Johnny Steenbergen f518b2d075 chore(telegraf): remove business logic check inside TelegrafConfig type's unmarshal method 2020-04-21 15:47:49 -07:00
Alex Boatwright ee39940a5e
fix: catch date format issue in table view type (#17823) 2020-04-21 15:42:14 -07:00
Lyon Hill 79e9de93cb
feat(tenant): integrate the tenant service as the default backend (#17805) 2020-04-21 13:43:56 -06:00
Jonathan A. Sternberg 60c58ad805
feat(query): add interface for the window aggregate capability (#17801)
Added an interface for an additional storage capability. This interface
will allow for checking if the reader supports the window aggregate call
and another method for invoking the call if it does.

This is implemented using a single interface. If the reader implements
the interface, it indicates that the client is capable of reading the
response. The `HasXXX` method is intended to check if the store supports
the operation. This method also takes a context because it could require
a remote call or to wait for one.
2020-04-21 14:15:38 -05:00
Gershon Shif fd76f14209
chore(build): start running nightly builds 2hour earlier (#17818)
It was a request from boonito QA to start running nightly builds 2 hours earlier, instead of 7am UTC to start running nightly builds at 5am UTC (10pm PDT) to give them time to debug test failures.
2020-04-21 10:40:17 -07:00
Johnny Steenbergen 43b7d65d02 feat(influx): extend CLI org type to support config orgs in global config 2020-04-21 10:25:05 -07:00
Johnny Steenbergen 5cd57d4f1e fix(influx): make CLI respect root token and host env vars in additionn to config
one thing to note here is we are deleting the default value on the host
flag when it is registered. The config is the fallback and has the default
value set. If the host flag has a default, the determination if the user
set it or not is ambiguous. We can't have that.

closes: #17812
2020-04-21 10:25:05 -07:00
Johnny Steenbergen 596d8fde45 feat(pkger): add stateful management for tasks
notes on this commit. This commit was grueling ;-(. The task API is not a friendly
API to consume. There are a lot of non obvious things going on and almost every
one of them tripped me up. Things of note:

* the http.TaskService does not satisfy the influxdb.TaskService,
  making it impossible to use as a dependency if tasks service gets
  split out
* the APIs for create and update do not share common types. For example:
  creating a task takes every field as a string, but in the update it is
  taken as a options.Duration type. A step further and you'll notice that
  create does not need an option to be provided, but the update does. Its
  jarring trying to understand the indirection here. I struggled mightily
  trying to make sense of it all with the indirection and differing types.
  Made for a very difficult task (no pun intended) when it should have been
  trivial. Opportunity here to fix these up and make this API more uniform
  and remove unneccesary complexity like the options type.
* Nested IDs that get marshaled, are no bueno when you want to marshal a task
  that does not have an ID in it, for either user/org/or self IDs. Its a challenge
  just to do that.
* Lots of logs in the kv.Task portion where we hit errors and log and others where
  we return. It isn't clear what is happening. The kv implementation is also very
  procedural, and I found myself bouncing around like a ping pong ball trying to
  make heads or tails of it.
* There is auth buried deep inside the kv.Task implementation that kept throwing me
  off b/c it kept throwing errors, instead of warns. I assume, not sure if I'm
  correct on this, but that the stuff being logged is determined inconsequential
  to the task working. I had lots of errors from the auth buried in there, and hadn't
  a clue what to make of it....

leaving these notes here as a look back at why working with tasks is so
difficult. This API can improve dramatically. I spent 5x the time trying
to figure out how to use the task API, in procedural calls, than I did
writing the business logic to consume it.... that's a scary realization ;-(

references: #17434
2020-04-21 09:14:20 -07:00
Johnny Steenbergen d1af15c399 chore: remove extranenous fields on http.Task type
also drops a skipped test that has been skipped for over a year. Tried
unskipping it, but now it fails for all sorts of reasons, without the
race flag enabled.
2020-04-20 15:34:58 -07:00
Paul Hummer 64a3f97eaa
Merge pull request #17802 from rockstar/flux-staging/v0.66.0
chore: update flux 0.66.1
2020-04-20 15:12:15 -06:00