Commit Graph

24 Commits (06d535d7b0e5810e0ebc7477a532f2197ca71064)

Author SHA1 Message Date
DStrand1 60226d58c0 build: upgrade to new protobuf library 2021-10-18 15:46:12 -05:00
Pavel Zavora 7706697f88 fix(server): upgrade to the latest etcd libs to resolve dependency issues 2021-05-07 09:43:53 +02:00
Pavel Zavora db06a59a0a feat(server): enhance dashboard with flux variable template 2021-03-11 21:04:40 +01:00
Pavel Zavora 1c7c08d39b fix(etcd): repair read of TLS settings in etcd url 2021-03-04 07:36:42 +01:00
Pavel Zavora 31ff08c730 feat(etcd): add WithURL to setup etcd client, including TLS options 2021-03-04 07:36:42 +01:00
Pavel Zavora aa4ef4cafe feat(etcd): allow to configure etcd client with URL 2021-03-04 07:36:42 +01:00
Pavel Závora 1aab8f560e
Merge pull request #5612 from influxdata/5576/etcd_tls_client_cert
feat(etcd): allow to configure  ETCD with client certificate
2020-12-02 12:00:43 +01:00
Pavel Zavora 2d96fc64b5 chore(build): upgrade etcd to fix tests with golang 1.15 2020-11-26 10:57:27 +01:00
Pavel Zavora 1475c87d63 chore(build): upgrade boltdb with golang 1.15 support 2020-11-26 09:14:18 +01:00
Pavel Zavora 05ea29202f feat(etcd): allow to configure ETCD with client certificate 2020-11-18 20:22:19 +01:00
Pavel Zavora 7e0cba1890 fix(go1.15): require non-nil parent in context.WithValue 2020-11-13 14:40:20 +01:00
Bucky Schwarz f629d5848c fix: update logic to work properly with existing template variables 2020-02-18 13:34:25 -08:00
Bucky Schwarz fff7836818 feat(ui): Template variables can now select their source database 2020-02-06 13:10:41 -08:00
greg linton 1a612ffa22 feat: add migrate command to chronoctl
adds a command to migrate a db from bolt to etcd and visa versa. there
is no promise that the options/functionality will not change, hence the
'beta' note. obviously there is also no guarantee that there will never
be any data loss.
after several manual tests, i do have a high level of confidence in the
functionality presented.
2020-02-03 20:43:44 -07:00
greg linton b4e3792984 fix: update api to serve dashboard ids as a string
- state type of dashboard id as string in ui
- remove dangerous idNormalizer (converts numbers to strings and visa versa)

Thanks bucky (hoorayimhelping)
2020-01-31 14:35:39 -07:00
greg linton 8ecae3c41f chore: add tests for bolt 2020-01-23 11:15:32 -07:00
greg linton 039b8e816f chore: add tests for etcd, remove unused bucket/tx logic 2020-01-23 11:15:32 -07:00
greg linton 9bc3b8b5e2 chore: remove remaining layout cruft 2020-01-23 11:15:32 -07:00
greg linton 899c35fc29 fix: add snowflake id, validate annotation endtime 2020-01-23 11:15:32 -07:00
greg linton d470723faf chore: tidy and document filestore functionality 2020-01-21 13:57:09 -07:00
greg linton a26b780036 chore: remove v2 related code 2020-01-21 13:57:09 -07:00
Greg 56353bee05
feat: add etcd as backend store (#5352)
* Add some comments about unused v2 stuff

* Add etcd as kv backend

* Add configuration options to utilize etcd backend
2020-01-21 11:05:00 -07:00
Greg f0d5e5abef
chore: add a KV layer prior to adding an etcd implementation (#5349)
* Bolt to kv/bolt

* Remove unused code

* Remove unused roles code

* Remove unused duplicate Makefile

* Clean up bolt implementation and start layering in an interface for another store

* Layer in kv interface

* Continue layering in kv interface

* Remove circuitbreaker things

* Move cell stuff out

* Convert cell logic to kv interface

* Start adding config logic to kv interface, likely will remain bolt only

* Get to compile with bolt kv before moving too far forward

* Start removing dead dashboard code

* Add generic kv implementation for dashboards

* Convert layouts to kv interface

* Migrate mappings to kv layer

* Migrate org_config to kv layer

* Migrate organizations to kv layer

* Migrate servers to kv layer

* Migrate sources to kv layer

* Migrate users to kv layer

* Start removing unused migration logic

Since there is a migration path for users via updating to 1.7.x line then to 1.8, there isn't any real reason to continue supporting migrating from a version ~2 years old.

* Cleaning up bolt dead codes

* Re-add disabled code

* Migrate tests over to kv layer

* Migrate config to kv layer

* Create default organization

* Remove etcd for now

* Improve new client and new service implementations

* Uncomment bolt build tests

* Add layouts test

* Add more dashboard tests to kv
2020-01-21 09:26:23 -07:00
Greg 1806d6c298
chore: tidy prior to kv refactor (#5342)
* Start cleaning up/reviewing for kv refactor

* Remove dependency on graceful http layer

* Remove deprecated cli option --new-sources

* Run gofmt and remove dep related files

* Update non-influx deps

* Update kapacitor dep

* Compile regexp's once

* Remove un-needed struct members

* Remove unused integrations code
2020-01-09 08:49:42 -07:00