influxdb/kv
Stuart Carnie 2640f87538
fix(task): LatestScheduled is set when task is updated to active
This change ensures the following behavior:

* task LatestScheduled is always set when a task is updated and
  transitions from a status of inactive to active
* task LatestScheduled is non-zero when created, to set the initial
  schedule time as some point after it was created

In addition, the kv.Service introduces clock.Clock that is used for
task create and task updates only. This change permits testing
in a deterministic fashion.
2019-12-06 11:52:54 -07:00
..
auth.go fix(kv): Add push down predicate hint to filter by keys and values 2019-11-22 10:55:01 -07:00
auth_private_test.go fix(kv): Add push down predicate hint to filter by keys and values 2019-11-22 10:55:01 -07:00
auth_test.go chore: Remove several instances of WithLogger (#15996) 2019-12-04 15:10:23 -08:00
bucket.go fix(http/bucket): lift bucket name validation to http layer (#16125) 2019-12-05 10:30:08 -07:00
bucket_test.go chore: Remove several instances of WithLogger (#15996) 2019-12-04 15:10:23 -08:00
check.go fix(kv): find checks by urm 2019-10-24 12:29:48 -04:00
check_test.go chore: Remove several instances of WithLogger (#15996) 2019-12-04 15:10:23 -08:00
cursor.go feat(platform): add generic kv store 2018-12-18 16:08:48 -05:00
cursor_test.go chore: rename imports from platform to influxdb 2019-01-09 20:51:47 -08:00
dashboard.go chore: Remove several instances of WithLogger (#15996) 2019-12-04 15:10:23 -08:00
dashboard_test.go chore: Remove several instances of WithLogger (#15996) 2019-12-04 15:10:23 -08:00
document.go fix(kv): updatedAt should be updated as well 2019-05-18 23:36:48 -04:00
document_test.go chore: Remove several instances of WithLogger (#15996) 2019-12-04 15:10:23 -08:00
kv_test.go chore: Remove several instances of WithLogger (#15996) 2019-12-04 15:10:23 -08:00
kvlog.go feat(http): add audit log 2019-05-16 10:57:28 -04:00
kvlog_test.go chore: Remove several instances of WithLogger (#15996) 2019-12-04 15:10:23 -08:00
label.go feat(kv): makes label names unique across kv impls 2019-10-31 11:30:36 -05:00
label_test.go chore: Remove several instances of WithLogger (#15996) 2019-12-04 15:10:23 -08:00
lookup_service.go feat(kv): implemented key/value store with end-to-end integration tests 2019-02-19 17:47:19 -06:00
lookup_service_test.go chore: Remove several instances of WithLogger (#15996) 2019-12-04 15:10:23 -08:00
notification_endpoint.go fix(kv): use urm filter to search endpoints 2019-10-24 13:28:34 -04:00
notification_endpoint_test.go chore: Remove several instances of WithLogger (#15996) 2019-12-04 15:10:23 -08:00
notification_rule.go chore: Remove several instances of WithLogger (#15996) 2019-12-04 15:10:23 -08:00
notification_rule_test.go chore: Remove several instances of WithLogger (#15996) 2019-12-04 15:10:23 -08:00
onboarding.go chore: refactor password service to provide userID instead of name 2019-11-20 09:16:31 -08:00
onboarding_test.go chore: Remove several instances of WithLogger (#15996) 2019-12-04 15:10:23 -08:00
org.go chore: Remove several instances of WithLogger (#15996) 2019-12-04 15:10:23 -08:00
org_test.go chore: Remove several instances of WithLogger (#15996) 2019-12-04 15:10:23 -08:00
passwords.go chore: refactor password service to provide userID instead of name 2019-11-20 09:16:31 -08:00
passwords_test.go chore: Remove several instances of WithLogger (#15996) 2019-12-04 15:10:23 -08:00
scrapers.go feat(influxdb): add scraper filter 2019-04-25 11:33:34 -04:00
scrapers_test.go chore: Remove several instances of WithLogger (#15996) 2019-12-04 15:10:23 -08:00
secret.go fix(http): Return an empty array if organization has no secret keys (#15363) 2019-12-04 13:29:05 -08:00
secret_test.go chore: Remove several instances of WithLogger (#15996) 2019-12-04 15:10:23 -08:00
service.go fix(task): LatestScheduled is set when task is updated to active 2019-12-06 11:52:54 -07:00
service_test.go chore: Remove several instances of WithLogger (#15996) 2019-12-04 15:10:23 -08:00
session.go feat(task): impersonate user on task execution (#14675) 2019-08-15 18:31:52 -06:00
session_test.go chore: Remove several instances of WithLogger (#15996) 2019-12-04 15:10:23 -08:00
source.go add spans to multiple services 2019-03-07 12:12:31 -07:00
source_test.go chore: Remove several instances of WithLogger (#15996) 2019-12-04 15:10:23 -08:00
store.go fix(kv): Add push down predicate hint to filter by keys and values 2019-11-22 10:55:01 -07:00
task.go fix(task): LatestScheduled is set when task is updated to active 2019-12-06 11:52:54 -07:00
task_private_test.go feat(kv): Add unit tests for expected behavior of taskMatchFn 2019-11-01 14:48:50 -07:00
task_test.go fix(task): LatestScheduled is set when task is updated to active 2019-12-06 11:52:54 -07:00
telegraf.go fix(influxdb): rename telegraf orgID 2019-06-03 16:20:53 -04:00
telegraf_test.go chore: Remove several instances of WithLogger (#15996) 2019-12-04 15:10:23 -08:00
unique.go fix(kv): remove extraneous function calls 2019-09-08 02:53:46 -05:00
urm.go chore: Remove several instances of WithLogger (#15996) 2019-12-04 15:10:23 -08:00
urm_private_test.go fix(kv): Add push down predicate hint to filter by keys and values 2019-11-22 10:55:01 -07:00
urm_test.go chore: Remove several instances of WithLogger (#15996) 2019-12-04 15:10:23 -08:00
user.go fix(http): Ensures users are created with an active status 2019-09-30 15:37:59 -07:00
user_test.go chore: Remove several instances of WithLogger (#15996) 2019-12-04 15:10:23 -08:00
variable.go feat(kv): unique variable names (#15695) 2019-11-04 14:28:21 -06:00
variable_test.go chore: Remove several instances of WithLogger (#15996) 2019-12-04 15:10:23 -08:00