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.
pull/10616/head
Mark Rushakoff 2019-01-07 16:37:16 -08:00
parent c1975c2020
commit d73d73c0d4
730 changed files with 1568 additions and 1624 deletions

View File

@ -3,7 +3,7 @@ jobs:
jstest: jstest:
docker: docker:
- image: circleci/golang:1.11-node-browsers - image: circleci/golang:1.11-node-browsers
working_directory: /go/src/github.com/influxdata/platform working_directory: /go/src/github.com/influxdata/influxdb
steps: steps:
- checkout - checkout
@ -29,7 +29,7 @@ jobs:
environment: environment:
GOCACHE: /tmp/go-cache GOCACHE: /tmp/go-cache
GOFLAGS: "-mod=readonly -p=4" # Go on Circle thinks 32 CPUs are available, but there aren't. GOFLAGS: "-mod=readonly -p=4" # Go on Circle thinks 32 CPUs are available, but there aren't.
working_directory: /go/src/github.com/influxdata/platform working_directory: /go/src/github.com/influxdata/influxdb
steps: steps:
- checkout - checkout
@ -81,7 +81,7 @@ jobs:
environment: environment:
GOCACHE: /tmp/go-cache GOCACHE: /tmp/go-cache
GOFLAGS: "-mod=readonly -p=4" # Go on Circle thinks 32 CPUs are available, but there aren't. GOFLAGS: "-mod=readonly -p=4" # Go on Circle thinks 32 CPUs are available, but there aren't.
working_directory: /go/src/github.com/influxdata/platform working_directory: /go/src/github.com/influxdata/influxdb
steps: steps:
- checkout - checkout
@ -107,7 +107,7 @@ jobs:
environment: environment:
GOCACHE: /tmp/go-cache GOCACHE: /tmp/go-cache
GOFLAGS: "-mod=readonly -p=4" # Go on Circle thinks 32 CPUs are available, but there aren't. GOFLAGS: "-mod=readonly -p=4" # Go on Circle thinks 32 CPUs are available, but there aren't.
working_directory: /go/src/github.com/influxdata/platform working_directory: /go/src/github.com/influxdata/influxdb
steps: steps:
- checkout - checkout

View File

@ -1,4 +1,4 @@
package platform package influxdb
import ( import (
"context" "context"

View File

@ -1,4 +1,4 @@
package platform package influxdb
import ( import (
"errors" "errors"

View File

@ -1,9 +1,9 @@
package platform_test package influxdb_test
import ( import (
"testing" "testing"
"github.com/influxdata/platform" platform "github.com/influxdata/influxdb"
) )
func TestAuthorizer_PermissionAllowed(t *testing.T) { func TestAuthorizer_PermissionAllowed(t *testing.T) {

View File

@ -5,7 +5,7 @@ import (
"encoding/json" "encoding/json"
bolt "github.com/coreos/bbolt" bolt "github.com/coreos/bbolt"
"github.com/influxdata/platform" platform "github.com/influxdata/influxdb"
) )
var ( var (

View File

@ -4,9 +4,9 @@ import (
"context" "context"
"testing" "testing"
"github.com/influxdata/platform" platform "github.com/influxdata/influxdb"
"github.com/influxdata/platform/bolt" "github.com/influxdata/influxdb/bolt"
platformtesting "github.com/influxdata/platform/testing" platformtesting "github.com/influxdata/influxdb/testing"
) )
func initAuthorizationService(f platformtesting.AuthorizationFields, t *testing.T) (platform.AuthorizationService, string, func()) { func initAuthorizationService(f platformtesting.AuthorizationFields, t *testing.T) (platform.AuthorizationService, string, func()) {

View File

@ -4,8 +4,8 @@ import (
"context" "context"
"testing" "testing"
"github.com/influxdata/platform" platform "github.com/influxdata/influxdb"
platformtesting "github.com/influxdata/platform/testing" platformtesting "github.com/influxdata/influxdb/testing"
) )
func initBasicAuthService(f platformtesting.UserFields, t *testing.T) (platform.BasicAuthService, func()) { func initBasicAuthService(f platformtesting.UserFields, t *testing.T) (platform.BasicAuthService, func()) {

View File

@ -8,9 +8,9 @@ import (
"time" "time"
"github.com/coreos/bbolt" "github.com/coreos/bbolt"
"github.com/influxdata/platform" platform "github.com/influxdata/influxdb"
"github.com/influxdata/platform/rand" "github.com/influxdata/influxdb/rand"
"github.com/influxdata/platform/snowflake" "github.com/influxdata/influxdb/snowflake"
"go.uber.org/zap" "go.uber.org/zap"
) )

View File

@ -8,7 +8,7 @@ import (
"path/filepath" "path/filepath"
"testing" "testing"
"github.com/influxdata/platform/bolt" "github.com/influxdata/influxdb/bolt"
"golang.org/x/crypto/bcrypt" "golang.org/x/crypto/bcrypt"
) )

View File

@ -7,8 +7,8 @@ import (
"time" "time"
bolt "github.com/coreos/bbolt" bolt "github.com/coreos/bbolt"
"github.com/influxdata/platform" platform "github.com/influxdata/influxdb"
platformcontext "github.com/influxdata/platform/context" platformcontext "github.com/influxdata/influxdb/context"
) )
var ( var (

View File

@ -4,9 +4,9 @@ import (
"context" "context"
"testing" "testing"
"github.com/influxdata/platform" platform "github.com/influxdata/influxdb"
"github.com/influxdata/platform/bolt" "github.com/influxdata/influxdb/bolt"
platformtesting "github.com/influxdata/platform/testing" platformtesting "github.com/influxdata/influxdb/testing"
) )
func initBucketService(f platformtesting.BucketFields, t *testing.T) (platform.BucketService, string, func()) { func initBucketService(f platformtesting.BucketFields, t *testing.T) (platform.BucketService, string, func()) {

View File

@ -8,8 +8,8 @@ import (
"time" "time"
bolt "github.com/coreos/bbolt" bolt "github.com/coreos/bbolt"
"github.com/influxdata/platform" platform "github.com/influxdata/influxdb"
platformcontext "github.com/influxdata/platform/context" platformcontext "github.com/influxdata/influxdb/context"
) )
var ( var (

View File

@ -4,9 +4,9 @@ import (
"context" "context"
"testing" "testing"
"github.com/influxdata/platform" platform "github.com/influxdata/influxdb"
"github.com/influxdata/platform/bolt" "github.com/influxdata/influxdb/bolt"
platformtesting "github.com/influxdata/platform/testing" platformtesting "github.com/influxdata/influxdb/testing"
) )
func initDashboardService(f platformtesting.DashboardFields, t *testing.T) (platform.DashboardService, string, func()) { func initDashboardService(f platformtesting.DashboardFields, t *testing.T) (platform.DashboardService, string, func()) {

View File

@ -10,7 +10,7 @@ import (
"time" "time"
bolt "github.com/coreos/bbolt" bolt "github.com/coreos/bbolt"
"github.com/influxdata/platform" platform "github.com/influxdata/influxdb"
) )
var ( var (

View File

@ -4,8 +4,8 @@ import (
"context" "context"
"testing" "testing"
"github.com/influxdata/platform" platform "github.com/influxdata/influxdb"
platformtesting "github.com/influxdata/platform/testing" platformtesting "github.com/influxdata/influxdb/testing"
) )
func initKeyValueLog(f platformtesting.KeyValueLogFields, t *testing.T) (platform.KeyValueLog, func()) { func initKeyValueLog(f platformtesting.KeyValueLogFields, t *testing.T) (platform.KeyValueLog, func()) {

View File

@ -8,7 +8,7 @@ import (
"time" "time"
bolt "github.com/coreos/bbolt" bolt "github.com/coreos/bbolt"
"github.com/influxdata/platform/kv" "github.com/influxdata/influxdb/kv"
"go.uber.org/zap" "go.uber.org/zap"
) )

View File

@ -4,9 +4,9 @@ import (
"context" "context"
"testing" "testing"
"github.com/influxdata/platform" platform "github.com/influxdata/influxdb"
"github.com/influxdata/platform/kv" "github.com/influxdata/influxdb/kv"
platformtesting "github.com/influxdata/platform/testing" platformtesting "github.com/influxdata/influxdb/testing"
) )
func initKVStore(f platformtesting.KVStoreFields, t *testing.T) (kv.Store, func()) { func initKVStore(f platformtesting.KVStoreFields, t *testing.T) (kv.Store, func()) {

View File

@ -6,7 +6,7 @@ import (
"fmt" "fmt"
bolt "github.com/coreos/bbolt" bolt "github.com/coreos/bbolt"
"github.com/influxdata/platform" platform "github.com/influxdata/influxdb"
) )
var ( var (

View File

@ -4,9 +4,9 @@ import (
"context" "context"
"testing" "testing"
"github.com/influxdata/platform" platform "github.com/influxdata/influxdb"
"github.com/influxdata/platform/bolt" "github.com/influxdata/influxdb/bolt"
platformtesting "github.com/influxdata/platform/testing" platformtesting "github.com/influxdata/influxdb/testing"
) )
func initLabelService(f platformtesting.LabelFields, t *testing.T) (platform.LabelService, string, func()) { func initLabelService(f platformtesting.LabelFields, t *testing.T) (platform.LabelService, string, func()) {

View File

@ -3,7 +3,7 @@ package bolt
import ( import (
"context" "context"
"github.com/influxdata/platform" platform "github.com/influxdata/influxdb"
) )
var _ platform.LookupService = (*Client)(nil) var _ platform.LookupService = (*Client)(nil)

View File

@ -4,10 +4,10 @@ import (
"context" "context"
"testing" "testing"
"github.com/influxdata/platform" platform "github.com/influxdata/influxdb"
"github.com/influxdata/platform/bolt" "github.com/influxdata/influxdb/bolt"
"github.com/influxdata/platform/mock" "github.com/influxdata/influxdb/mock"
platformtesting "github.com/influxdata/platform/testing" platformtesting "github.com/influxdata/influxdb/testing"
) )
var ( var (

View File

@ -5,7 +5,7 @@ import (
"encoding/json" "encoding/json"
bolt "github.com/coreos/bbolt" bolt "github.com/coreos/bbolt"
"github.com/influxdata/platform" platform "github.com/influxdata/influxdb"
) )
var ( var (

View File

@ -2,11 +2,11 @@ package bolt_test
import ( import (
"context" "context"
"github.com/influxdata/platform/bolt"
"testing" "testing"
"github.com/influxdata/platform" platform "github.com/influxdata/influxdb"
platformtesting "github.com/influxdata/platform/testing" "github.com/influxdata/influxdb/bolt"
platformtesting "github.com/influxdata/influxdb/testing"
) )
func initMacroService(f platformtesting.MacroFields, t *testing.T) (platform.MacroService, string, func()) { func initMacroService(f platformtesting.MacroFields, t *testing.T) (platform.MacroService, string, func()) {

View File

@ -6,7 +6,7 @@ import (
"time" "time"
bolt "github.com/coreos/bbolt" bolt "github.com/coreos/bbolt"
"github.com/influxdata/platform" platform "github.com/influxdata/influxdb"
) )
var onboardingBucket = []byte("onboardingv1") var onboardingBucket = []byte("onboardingv1")

View File

@ -4,8 +4,8 @@ import (
"context" "context"
"testing" "testing"
"github.com/influxdata/platform" platform "github.com/influxdata/influxdb"
platformtesting "github.com/influxdata/platform/testing" platformtesting "github.com/influxdata/influxdb/testing"
) )
func initOnboardingService(f platformtesting.OnboardingFields, t *testing.T) (platform.OnboardingService, func()) { func initOnboardingService(f platformtesting.OnboardingFields, t *testing.T) (platform.OnboardingService, func()) {

View File

@ -7,8 +7,8 @@ import (
"time" "time"
bolt "github.com/coreos/bbolt" bolt "github.com/coreos/bbolt"
"github.com/influxdata/platform" platform "github.com/influxdata/influxdb"
platformcontext "github.com/influxdata/platform/context" platformcontext "github.com/influxdata/influxdb/context"
) )
var ( var (

View File

@ -4,9 +4,9 @@ import (
"context" "context"
"testing" "testing"
"github.com/influxdata/platform" platform "github.com/influxdata/influxdb"
"github.com/influxdata/platform/bolt" "github.com/influxdata/influxdb/bolt"
platformtesting "github.com/influxdata/platform/testing" platformtesting "github.com/influxdata/influxdb/testing"
) )
func initOrganizationService(f platformtesting.OrganizationFields, t *testing.T) (platform.OrganizationService, string, func()) { func initOrganizationService(f platformtesting.OrganizationFields, t *testing.T) (platform.OrganizationService, string, func()) {

View File

@ -5,7 +5,7 @@ import (
"encoding/json" "encoding/json"
bolt "github.com/coreos/bbolt" bolt "github.com/coreos/bbolt"
"github.com/influxdata/platform" platform "github.com/influxdata/influxdb"
) )
var ( var (

View File

@ -4,9 +4,9 @@ import (
"context" "context"
"testing" "testing"
"github.com/influxdata/platform" platform "github.com/influxdata/influxdb"
"github.com/influxdata/platform/bolt" "github.com/influxdata/influxdb/bolt"
platformtesting "github.com/influxdata/platform/testing" platformtesting "github.com/influxdata/influxdb/testing"
) )
func initScraperTargetStoreService(f platformtesting.TargetFields, t *testing.T) (platform.ScraperTargetStoreService, string, func()) { func initScraperTargetStoreService(f platformtesting.TargetFields, t *testing.T) (platform.ScraperTargetStoreService, string, func()) {

View File

@ -7,7 +7,7 @@ import (
"fmt" "fmt"
bolt "github.com/coreos/bbolt" bolt "github.com/coreos/bbolt"
"github.com/influxdata/platform" platform "github.com/influxdata/influxdb"
) )
var ( var (

View File

@ -4,8 +4,8 @@ import (
"context" "context"
"testing" "testing"
"github.com/influxdata/platform" platform "github.com/influxdata/influxdb"
platformtesting "github.com/influxdata/platform/testing" platformtesting "github.com/influxdata/influxdb/testing"
) )
func initSecretService(f platformtesting.SecretServiceFields, t *testing.T) (platform.SecretService, func()) { func initSecretService(f platformtesting.SecretServiceFields, t *testing.T) (platform.SecretService, func()) {

View File

@ -6,7 +6,7 @@ import (
"time" "time"
bolt "github.com/coreos/bbolt" bolt "github.com/coreos/bbolt"
"github.com/influxdata/platform" platform "github.com/influxdata/influxdb"
) )
var ( var (

View File

@ -4,9 +4,9 @@ import (
"context" "context"
"testing" "testing"
"github.com/influxdata/platform" platform "github.com/influxdata/influxdb"
"github.com/influxdata/platform/bolt" "github.com/influxdata/influxdb/bolt"
platformtesting "github.com/influxdata/platform/testing" platformtesting "github.com/influxdata/influxdb/testing"
) )
func initSessionService(f platformtesting.SessionFields, t *testing.T) (platform.SessionService, string, func()) { func initSessionService(f platformtesting.SessionFields, t *testing.T) (platform.SessionService, string, func()) {

View File

@ -6,7 +6,7 @@ import (
"fmt" "fmt"
bolt "github.com/coreos/bbolt" bolt "github.com/coreos/bbolt"
"github.com/influxdata/platform" platform "github.com/influxdata/influxdb"
) )
var ( var (

View File

@ -4,9 +4,9 @@ import (
"context" "context"
"testing" "testing"
"github.com/influxdata/platform" platform "github.com/influxdata/influxdb"
"github.com/influxdata/platform/bolt" "github.com/influxdata/influxdb/bolt"
platformtesting "github.com/influxdata/platform/testing" platformtesting "github.com/influxdata/influxdb/testing"
) )
func initSourceService(f platformtesting.SourceFields, t *testing.T) (platform.SourceService, string, func()) { func initSourceService(f platformtesting.SourceFields, t *testing.T) (platform.SourceService, string, func()) {

View File

@ -6,7 +6,7 @@ import (
"fmt" "fmt"
bolt "github.com/coreos/bbolt" bolt "github.com/coreos/bbolt"
"github.com/influxdata/platform" platform "github.com/influxdata/influxdb"
) )
var ( var (

View File

@ -4,8 +4,8 @@ import (
"context" "context"
"testing" "testing"
"github.com/influxdata/platform" platform "github.com/influxdata/influxdb"
platformtesting "github.com/influxdata/platform/testing" platformtesting "github.com/influxdata/influxdb/testing"
) )
func initTelegrafConfigStore(f platformtesting.TelegrafConfigFields, t *testing.T) (platform.TelegrafConfigStore, func()) { func initTelegrafConfigStore(f platformtesting.TelegrafConfigFields, t *testing.T) (platform.TelegrafConfigStore, func()) {

View File

@ -7,8 +7,8 @@ import (
"time" "time"
bolt "github.com/coreos/bbolt" bolt "github.com/coreos/bbolt"
"github.com/influxdata/platform" platform "github.com/influxdata/influxdb"
platformcontext "github.com/influxdata/platform/context" platformcontext "github.com/influxdata/influxdb/context"
) )
var ( var (

View File

@ -6,7 +6,7 @@ import (
"fmt" "fmt"
bolt "github.com/coreos/bbolt" bolt "github.com/coreos/bbolt"
"github.com/influxdata/platform" platform "github.com/influxdata/influxdb"
) )
var ( var (

View File

@ -4,8 +4,8 @@ import (
"context" "context"
"testing" "testing"
"github.com/influxdata/platform" platform "github.com/influxdata/influxdb"
platformtesting "github.com/influxdata/platform/testing" platformtesting "github.com/influxdata/influxdb/testing"
) )
func initUserResourceMappingService(f platformtesting.UserResourceFields, t *testing.T) (platform.UserResourceMappingService, func()) { func initUserResourceMappingService(f platformtesting.UserResourceFields, t *testing.T) (platform.UserResourceMappingService, func()) {

View File

@ -4,9 +4,9 @@ import (
"context" "context"
"testing" "testing"
"github.com/influxdata/platform" platform "github.com/influxdata/influxdb"
"github.com/influxdata/platform/bolt" "github.com/influxdata/influxdb/bolt"
platformtesting "github.com/influxdata/platform/testing" platformtesting "github.com/influxdata/influxdb/testing"
) )
func initUserService(f platformtesting.UserFields, t *testing.T) (platform.UserService, string, func()) { func initUserService(f platformtesting.UserFields, t *testing.T) (platform.UserService, string, func()) {

View File

@ -6,7 +6,7 @@ import (
"sync" "sync"
bolt "github.com/coreos/bbolt" bolt "github.com/coreos/bbolt"
"github.com/influxdata/platform" platform "github.com/influxdata/influxdb"
) )
var ( var (

View File

@ -4,9 +4,9 @@ import (
"context" "context"
"testing" "testing"
"github.com/influxdata/platform" platform "github.com/influxdata/influxdb"
"github.com/influxdata/platform/bolt" "github.com/influxdata/influxdb/bolt"
platformtesting "github.com/influxdata/platform/testing" platformtesting "github.com/influxdata/influxdb/testing"
) )
func initViewService(f platformtesting.ViewFields, t *testing.T) (platform.ViewService, string, func()) { func initViewService(f platformtesting.ViewFields, t *testing.T) (platform.ViewService, string, func()) {

View File

@ -1,4 +1,4 @@
package platform package influxdb
import ( import (
"context" "context"

View File

@ -6,9 +6,9 @@ import (
"regexp" "regexp"
"strings" "strings"
"github.com/influxdata/influxdb/chronograf"
"github.com/influxdata/kapacitor/pipeline" "github.com/influxdata/kapacitor/pipeline"
"github.com/influxdata/kapacitor/pipeline/tick" "github.com/influxdata/kapacitor/pipeline/tick"
"github.com/influxdata/platform/chronograf"
) )
// AlertServices generates alert chaining methods to be attached to an alert from all rule Services // AlertServices generates alert chaining methods to be attached to an alert from all rule Services

View File

@ -3,7 +3,7 @@ package kapacitor
import ( import (
"testing" "testing"
"github.com/influxdata/platform/chronograf" "github.com/influxdata/influxdb/chronograf"
) )
func TestAlertServices(t *testing.T) { func TestAlertServices(t *testing.T) {

View File

@ -7,11 +7,11 @@ import (
"strings" "strings"
"time" "time"
"github.com/influxdata/influxdb/chronograf"
"github.com/influxdata/kapacitor/pipeline" "github.com/influxdata/kapacitor/pipeline"
"github.com/influxdata/kapacitor/tick" "github.com/influxdata/kapacitor/tick"
"github.com/influxdata/kapacitor/tick/ast" "github.com/influxdata/kapacitor/tick/ast"
"github.com/influxdata/kapacitor/tick/stateful" "github.com/influxdata/kapacitor/tick/stateful"
"github.com/influxdata/platform/chronograf"
) )
func varString(kapaVar string, vars map[string]tick.Var) (string, bool) { func varString(kapaVar string, vars map[string]tick.Var) (string, bool) {

View File

@ -5,7 +5,7 @@ import (
"testing" "testing"
"github.com/google/go-cmp/cmp" "github.com/google/go-cmp/cmp"
"github.com/influxdata/platform/chronograf" "github.com/influxdata/influxdb/chronograf"
) )
func TestReverse(t *testing.T) { func TestReverse(t *testing.T) {

View File

@ -4,9 +4,9 @@ import (
"context" "context"
"fmt" "fmt"
"github.com/influxdata/influxdb/chronograf"
"github.com/influxdata/influxdb/chronograf/id"
client "github.com/influxdata/kapacitor/client/v1" client "github.com/influxdata/kapacitor/client/v1"
"github.com/influxdata/platform/chronograf"
"github.com/influxdata/platform/chronograf/id"
) )
const ( const (

View File

@ -8,8 +8,8 @@ import (
"github.com/google/go-cmp/cmp" "github.com/google/go-cmp/cmp"
"github.com/google/go-cmp/cmp/cmpopts" "github.com/google/go-cmp/cmp/cmpopts"
"github.com/influxdata/influxdb/chronograf"
client "github.com/influxdata/kapacitor/client/v1" client "github.com/influxdata/kapacitor/client/v1"
"github.com/influxdata/platform/chronograf"
) )
type MockKapa struct { type MockKapa struct {

View File

@ -3,7 +3,7 @@ package kapacitor
import ( import (
"fmt" "fmt"
"github.com/influxdata/platform/chronograf" "github.com/influxdata/influxdb/chronograf"
) )
// Data returns the tickscript data section for querying // Data returns the tickscript data section for querying

View File

@ -5,7 +5,7 @@ import (
"fmt" "fmt"
"testing" "testing"
"github.com/influxdata/platform/chronograf" "github.com/influxdata/influxdb/chronograf"
) )
var config = `{ var config = `{

View File

@ -3,7 +3,7 @@ package kapacitor
import ( import (
"fmt" "fmt"
"github.com/influxdata/platform/chronograf" "github.com/influxdata/influxdb/chronograf"
) )
// HTTPEndpoint is the default location of the tickscript output // HTTPEndpoint is the default location of the tickscript output

View File

@ -3,7 +3,7 @@ package kapacitor
import ( import (
"fmt" "fmt"
"github.com/influxdata/platform/chronograf" "github.com/influxdata/influxdb/chronograf"
) )
// InfluxOut creates a kapacitor influxDBOut node to write alert data to Database, RP, Measurement. // InfluxOut creates a kapacitor influxDBOut node to write alert data to Database, RP, Measurement.

View File

@ -1,7 +1,7 @@
package kapacitor package kapacitor
import "testing" import "testing"
import "github.com/influxdata/platform/chronograf" import "github.com/influxdata/influxdb/chronograf"
func TestInfluxOut(t *testing.T) { func TestInfluxOut(t *testing.T) {
tests := []struct { tests := []struct {

View File

@ -3,8 +3,8 @@ package kapacitor_test
import ( import (
"testing" "testing"
"github.com/influxdata/platform/chronograf/kapacitor" "github.com/influxdata/influxdb/chronograf/kapacitor"
"github.com/influxdata/platform/chronograf/mocks" "github.com/influxdata/influxdb/chronograf/mocks"
client "github.com/influxdata/kapacitor/client/v1" client "github.com/influxdata/kapacitor/client/v1"
) )

View File

@ -3,8 +3,8 @@ package kapacitor_test
import ( import (
"testing" "testing"
"github.com/influxdata/platform/chronograf/kapacitor" "github.com/influxdata/influxdb/chronograf/kapacitor"
"github.com/influxdata/platform/chronograf/mocks" "github.com/influxdata/influxdb/chronograf/mocks"
client "github.com/influxdata/kapacitor/client/v1" client "github.com/influxdata/kapacitor/client/v1"
) )

View File

@ -4,9 +4,9 @@ import (
"bytes" "bytes"
"encoding/json" "encoding/json"
"github.com/influxdata/influxdb/chronograf"
"github.com/influxdata/kapacitor/pipeline" "github.com/influxdata/kapacitor/pipeline"
totick "github.com/influxdata/kapacitor/pipeline/tick" totick "github.com/influxdata/kapacitor/pipeline/tick"
"github.com/influxdata/platform/chronograf"
) )
// MarshalTICK converts tickscript to JSON representation // MarshalTICK converts tickscript to JSON representation

View File

@ -3,7 +3,7 @@ package kapacitor
import ( import (
"fmt" "fmt"
"github.com/influxdata/platform/chronograf" "github.com/influxdata/influxdb/chronograf"
) )
var _ chronograf.Ticker = &Alert{} var _ chronograf.Ticker = &Alert{}

View File

@ -5,7 +5,7 @@ import (
"testing" "testing"
"github.com/google/go-cmp/cmp" "github.com/google/go-cmp/cmp"
"github.com/influxdata/platform/chronograf" "github.com/influxdata/influxdb/chronograf"
"github.com/sergi/go-diff/diffmatchpatch" "github.com/sergi/go-diff/diffmatchpatch"
) )

View File

@ -3,7 +3,7 @@ package kapacitor
import ( import (
"fmt" "fmt"
"github.com/influxdata/platform/chronograf" "github.com/influxdata/influxdb/chronograf"
) )
const ( const (

View File

@ -3,7 +3,7 @@ package kapacitor
import ( import (
"testing" "testing"
"github.com/influxdata/platform/chronograf" "github.com/influxdata/influxdb/chronograf"
) )
func TestTrigger(t *testing.T) { func TestTrigger(t *testing.T) {

View File

@ -6,11 +6,11 @@ import (
"strings" "strings"
"time" "time"
"github.com/influxdata/influxdb/chronograf"
"github.com/influxdata/kapacitor/pipeline" "github.com/influxdata/kapacitor/pipeline"
"github.com/influxdata/kapacitor/tick" "github.com/influxdata/kapacitor/tick"
"github.com/influxdata/kapacitor/tick/ast" "github.com/influxdata/kapacitor/tick/ast"
"github.com/influxdata/kapacitor/tick/stateful" "github.com/influxdata/kapacitor/tick/stateful"
"github.com/influxdata/platform/chronograf"
) )
// ValidateAlert checks if the alert is a valid kapacitor alert service. // ValidateAlert checks if the alert is a valid kapacitor alert service.

View File

@ -1,7 +1,7 @@
package kapacitor package kapacitor
import "testing" import "testing"
import "github.com/influxdata/platform/chronograf" import "github.com/influxdata/influxdb/chronograf"
func TestValidateAlert(t *testing.T) { func TestValidateAlert(t *testing.T) {
tests := []struct { tests := []struct {

View File

@ -6,7 +6,7 @@ import (
"strconv" "strconv"
"strings" "strings"
"github.com/influxdata/platform/chronograf" "github.com/influxdata/influxdb/chronograf"
) )
var ( var (

View File

@ -4,7 +4,7 @@ import (
"fmt" "fmt"
"testing" "testing"
"github.com/influxdata/platform/chronograf" "github.com/influxdata/influxdb/chronograf"
) )
func TestVarsCritStringEqual(t *testing.T) { func TestVarsCritStringEqual(t *testing.T) {

View File

@ -77,7 +77,7 @@ Setup the project structure and fetch the repo like so:
```bash ```bash
mkdir $HOME/go mkdir $HOME/go
export GOPATH=$HOME/go export GOPATH=$HOME/go
go get github.com/influxdata/platform/chronograf go get github.com/influxdata/influxdb/chronograf
``` ```
You can add the line `export GOPATH=$HOME/go` to your bash/zsh file to be set for every shell instead of having to manually run it everytime. You can add the line `export GOPATH=$HOME/go` to your bash/zsh file to be set for every shell instead of having to manually run it everytime.
@ -100,7 +100,7 @@ Retaining the directory structure `$GOPATH/src/github.com/influxdata` is necessa
Make sure you have `go` and `yarn` installed and the project structure as shown above. We provide a `Makefile` to get up and running quickly, so all you'll need to do is run the following: Make sure you have `go` and `yarn` installed and the project structure as shown above. We provide a `Makefile` to get up and running quickly, so all you'll need to do is run the following:
```bash ```bash
cd $GOPATH/src/github.com/influxdata/platform/chronograf cd $GOPATH/src/github.com/influxdata/influxdb/chronograf
make make
``` ```
@ -109,10 +109,10 @@ The binaries will be located in `$GOPATH/bin`.
To run the tests, execute the following command: To run the tests, execute the following command:
```bash ```bash
cd $GOPATH/src/github.com/influxdata/platform/chronograf cd $GOPATH/src/github.com/influxdata/influxdb/chronograf
make test make test
``` ```
## Continuous Integration testing ## Continuous Integration testing
Chronograf uses CircleCI for continuous integration testing. To see how the code is built and tested, check out [this file](https://github.com/influxdata/platform/chronograf/blob/master/Makefile). It closely follows the build and test process outlined above. You can see the exact version of Go Chronograf uses for testing by consulting that file. Chronograf uses CircleCI for continuous integration testing. To see how the code is built and tested, check out [this file](https://github.com/influxdata/influxdb/chronograf/blob/master/Makefile). It closely follows the build and test process outlined above. You can see the exact version of Go Chronograf uses for testing by consulting that file.

View File

@ -5,7 +5,7 @@ provides the tools to visualize your monitoring data and easily create alerting
and automation rules. and automation rules.
<p align="left"> <p align="left">
<img src="https://github.com/influxdata/platform/chronograf/blob/master/docs/images/overview-readme.png"/> <img src="https://github.com/influxdata/influxdb/chronograf/blob/master/docs/images/overview-readme.png"/>
</p> </p>
## Features ## Features
@ -19,7 +19,7 @@ and automation rules.
### Dashboard Templates ### Dashboard Templates
Chronograf's Chronograf's
[pre-canned dashboards](https://github.com/influxdata/platform/chronograf/tree/master/canned) [pre-canned dashboards](https://github.com/influxdata/influxdb/chronograf/tree/master/canned)
for the supported [Telegraf](https://github.com/influxdata/telegraf) input for the supported [Telegraf](https://github.com/influxdata/telegraf) input
plugins. Currently, Chronograf offers dashboard templates for the following plugins. Currently, Chronograf offers dashboard templates for the following
Telegraf input plugins: Telegraf input plugins:
@ -119,13 +119,13 @@ page.
### TLS/HTTPS Support ### TLS/HTTPS Support
See See
[Chronograf with TLS](https://github.com/influxdata/platform/chronograf/blob/master/docs/tls.md) [Chronograf with TLS](https://github.com/influxdata/influxdb/chronograf/blob/master/docs/tls.md)
for more information. for more information.
### OAuth Login ### OAuth Login
See See
[Chronograf with OAuth 2.0](https://github.com/influxdata/platform/chronograf/blob/master/docs/auth.md) [Chronograf with OAuth 2.0](https://github.com/influxdata/influxdb/chronograf/blob/master/docs/auth.md)
for more information. for more information.
### Advanced Routing ### Advanced Routing
@ -139,7 +139,7 @@ The most recent version of Chronograf is
[v1.5.0.0](https://www.influxdata.com/downloads/). [v1.5.0.0](https://www.influxdata.com/downloads/).
Spotted a bug or have a feature request? Please open Spotted a bug or have a feature request? Please open
[an issue](https://github.com/influxdata/platform/chronograf/issues/new)! [an issue](https://github.com/influxdata/influxdb/chronograf/issues/new)!
### Known Issues ### Known Issues
@ -150,7 +150,7 @@ The Chronograf team has identified and is working on the following issues:
and and
[system](https://github.com/influxdata/telegraf/blob/master/plugins/inputs/system/SYSTEM_README.md) [system](https://github.com/influxdata/telegraf/blob/master/plugins/inputs/system/SYSTEM_README.md)
plugins to ensure that all Apps appear on the plugins to ensure that all Apps appear on the
[HOST LIST](https://github.com/influxdata/platform/chronograf/blob/master/docs/GETTING_STARTED.md#host-list) [HOST LIST](https://github.com/influxdata/influxdb/chronograf/blob/master/docs/GETTING_STARTED.md#host-list)
page. page.
## Installation ## Installation
@ -192,13 +192,13 @@ docker pull chronograf:1.5.0.0
1. [Setup your GOPATH](https://golang.org/doc/code.html#GOPATH) 1. [Setup your GOPATH](https://golang.org/doc/code.html#GOPATH)
1. Build the Chronograf package: 1. Build the Chronograf package:
```bash ```bash
go get github.com/influxdata/platform/chronograf go get github.com/influxdata/influxdb/chronograf
cd $GOPATH/src/github.com/influxdata/platform/chronograf cd $GOPATH/src/github.com/influxdata/influxdb/chronograf
make make
``` ```
1. Install the newly built Chronograf package: 1. Install the newly built Chronograf package:
```bash ```bash
go install github.com/influxdata/platform/chronograf/cmd/chronograf go install github.com/influxdata/influxdb/chronograf/cmd/chronograf
``` ```
## Documentation ## Documentation

View File

@ -7,9 +7,9 @@ import (
"os" "os"
"time" "time"
"github.com/influxdata/platform/chronograf" "github.com/influxdata/influxdb/chronograf"
"github.com/influxdata/platform/chronograf/bolt" "github.com/influxdata/influxdb/chronograf/bolt"
"github.com/influxdata/platform/chronograf/mocks" "github.com/influxdata/influxdb/chronograf/mocks"
) )
// TestNow is a set time for testing. // TestNow is a set time for testing.

View File

@ -4,8 +4,8 @@ import (
"context" "context"
bolt "github.com/coreos/bbolt" bolt "github.com/coreos/bbolt"
"github.com/influxdata/platform/chronograf" "github.com/influxdata/influxdb/chronograf"
"github.com/influxdata/platform/chronograf/bolt/internal" "github.com/influxdata/influxdb/chronograf/bolt/internal"
) )
// Ensure BuildStore struct implements chronograf.BuildStore interface // Ensure BuildStore struct implements chronograf.BuildStore interface

View File

@ -4,7 +4,7 @@ package bolt_test
// "testing" // "testing"
// "github.com/google/go-cmp/cmp" // "github.com/google/go-cmp/cmp"
// "github.com/influxdata/platform/chronograf" // "github.com/influxdata/influxdb/chronograf"
// ) // )
// func // func

View File

@ -9,8 +9,8 @@ import (
"time" "time"
bolt "github.com/coreos/bbolt" bolt "github.com/coreos/bbolt"
"github.com/influxdata/platform/chronograf" "github.com/influxdata/influxdb/chronograf"
"github.com/influxdata/platform/chronograf/id" "github.com/influxdata/influxdb/chronograf/id"
) )
// Client is a client for the boltDB data store. // Client is a client for the boltDB data store.

View File

@ -5,8 +5,8 @@ import (
"fmt" "fmt"
bolt "github.com/coreos/bbolt" bolt "github.com/coreos/bbolt"
"github.com/influxdata/platform/chronograf" "github.com/influxdata/influxdb/chronograf"
"github.com/influxdata/platform/chronograf/bolt/internal" "github.com/influxdata/influxdb/chronograf/bolt/internal"
) )
// Ensure ConfigStore implements chronograf.ConfigStore. // Ensure ConfigStore implements chronograf.ConfigStore.

View File

@ -5,7 +5,7 @@ import (
"testing" "testing"
"github.com/google/go-cmp/cmp" "github.com/google/go-cmp/cmp"
"github.com/influxdata/platform/chronograf" "github.com/influxdata/influxdb/chronograf"
) )
func TestConfig_Get(t *testing.T) { func TestConfig_Get(t *testing.T) {

View File

@ -5,8 +5,8 @@ import (
"strconv" "strconv"
bolt "github.com/coreos/bbolt" bolt "github.com/coreos/bbolt"
"github.com/influxdata/platform/chronograf" "github.com/influxdata/influxdb/chronograf"
"github.com/influxdata/platform/chronograf/bolt/internal" "github.com/influxdata/influxdb/chronograf/bolt/internal"
) )
// Ensure DashboardsStore implements chronograf.DashboardsStore. // Ensure DashboardsStore implements chronograf.DashboardsStore.

View File

@ -5,7 +5,7 @@ import (
"fmt" "fmt"
"github.com/gogo/protobuf/proto" "github.com/gogo/protobuf/proto"
"github.com/influxdata/platform/chronograf" "github.com/influxdata/influxdb/chronograf"
) )
//go:generate protoc --plugin ../../../scripts/protoc-gen-gogo --gogo_out=. internal.proto //go:generate protoc --plugin ../../../scripts/protoc-gen-gogo --gogo_out=. internal.proto

View File

@ -5,8 +5,8 @@ import (
"testing" "testing"
"github.com/google/go-cmp/cmp" "github.com/google/go-cmp/cmp"
"github.com/influxdata/platform/chronograf" "github.com/influxdata/influxdb/chronograf"
"github.com/influxdata/platform/chronograf/bolt/internal" "github.com/influxdata/influxdb/chronograf/bolt/internal"
) )
func TestMarshalSource(t *testing.T) { func TestMarshalSource(t *testing.T) {

View File

@ -4,8 +4,8 @@ import (
"context" "context"
bolt "github.com/coreos/bbolt" bolt "github.com/coreos/bbolt"
"github.com/influxdata/platform/chronograf" "github.com/influxdata/influxdb/chronograf"
"github.com/influxdata/platform/chronograf/bolt/internal" "github.com/influxdata/influxdb/chronograf/bolt/internal"
) )
// Ensure LayoutsStore implements chronograf.LayoutsStore. // Ensure LayoutsStore implements chronograf.LayoutsStore.

View File

@ -5,8 +5,8 @@ import (
"fmt" "fmt"
bolt "github.com/coreos/bbolt" bolt "github.com/coreos/bbolt"
"github.com/influxdata/platform/chronograf" "github.com/influxdata/influxdb/chronograf"
"github.com/influxdata/platform/chronograf/bolt/internal" "github.com/influxdata/influxdb/chronograf/bolt/internal"
) )
// Ensure MappingsStore implements chronograf.MappingsStore. // Ensure MappingsStore implements chronograf.MappingsStore.

View File

@ -6,7 +6,7 @@ import (
"github.com/google/go-cmp/cmp" "github.com/google/go-cmp/cmp"
"github.com/google/go-cmp/cmp/cmpopts" "github.com/google/go-cmp/cmp/cmpopts"
"github.com/influxdata/platform/chronograf" "github.com/influxdata/influxdb/chronograf"
) )
var mappingCmpOptions = cmp.Options{ var mappingCmpOptions = cmp.Options{

View File

@ -5,8 +5,8 @@ import (
"fmt" "fmt"
bolt "github.com/coreos/bbolt" bolt "github.com/coreos/bbolt"
"github.com/influxdata/platform/chronograf" "github.com/influxdata/influxdb/chronograf"
"github.com/influxdata/platform/chronograf/bolt/internal" "github.com/influxdata/influxdb/chronograf/bolt/internal"
) )
// Ensure OrganizationConfigStore implements chronograf.OrganizationConfigStore. // Ensure OrganizationConfigStore implements chronograf.OrganizationConfigStore.

View File

@ -5,7 +5,7 @@ import (
"testing" "testing"
"github.com/google/go-cmp/cmp" "github.com/google/go-cmp/cmp"
"github.com/influxdata/platform/chronograf" "github.com/influxdata/influxdb/chronograf"
) )
func TestOrganizationConfig_FindOrCreate(t *testing.T) { func TestOrganizationConfig_FindOrCreate(t *testing.T) {

View File

@ -5,9 +5,9 @@ import (
"fmt" "fmt"
bolt "github.com/coreos/bbolt" bolt "github.com/coreos/bbolt"
"github.com/influxdata/platform/chronograf" "github.com/influxdata/influxdb/chronograf"
"github.com/influxdata/platform/chronograf/bolt/internal" "github.com/influxdata/influxdb/chronograf/bolt/internal"
"github.com/influxdata/platform/chronograf/organizations" "github.com/influxdata/influxdb/chronograf/organizations"
) )
// Ensure OrganizationsStore implements chronograf.OrganizationsStore. // Ensure OrganizationsStore implements chronograf.OrganizationsStore.

View File

@ -6,9 +6,9 @@ import (
"github.com/google/go-cmp/cmp" "github.com/google/go-cmp/cmp"
"github.com/google/go-cmp/cmp/cmpopts" "github.com/google/go-cmp/cmp/cmpopts"
"github.com/influxdata/platform/chronograf" "github.com/influxdata/influxdb/chronograf"
"github.com/influxdata/platform/chronograf/bolt" "github.com/influxdata/influxdb/chronograf/bolt"
"github.com/influxdata/platform/chronograf/roles" "github.com/influxdata/influxdb/chronograf/roles"
) )
var orgCmpOptions = cmp.Options{ var orgCmpOptions = cmp.Options{

View File

@ -4,8 +4,8 @@ import (
"context" "context"
bolt "github.com/coreos/bbolt" bolt "github.com/coreos/bbolt"
"github.com/influxdata/platform/chronograf" "github.com/influxdata/influxdb/chronograf"
"github.com/influxdata/platform/chronograf/bolt/internal" "github.com/influxdata/influxdb/chronograf/bolt/internal"
) )
// Ensure ServersStore implements chronograf.ServersStore. // Ensure ServersStore implements chronograf.ServersStore.

View File

@ -5,7 +5,7 @@ import (
"reflect" "reflect"
"testing" "testing"
"github.com/influxdata/platform/chronograf" "github.com/influxdata/influxdb/chronograf"
) )
// Ensure an ServerStore can store, retrieve, update, and delete servers. // Ensure an ServerStore can store, retrieve, update, and delete servers.

View File

@ -5,9 +5,9 @@ import (
"math" "math"
bolt "github.com/coreos/bbolt" bolt "github.com/coreos/bbolt"
"github.com/influxdata/platform/chronograf" "github.com/influxdata/influxdb/chronograf"
"github.com/influxdata/platform/chronograf/bolt/internal" "github.com/influxdata/influxdb/chronograf/bolt/internal"
"github.com/influxdata/platform/chronograf/roles" "github.com/influxdata/influxdb/chronograf/roles"
) )
// Ensure SourcesStore implements chronograf.SourcesStore. // Ensure SourcesStore implements chronograf.SourcesStore.

View File

@ -5,8 +5,8 @@ import (
"reflect" "reflect"
"testing" "testing"
"github.com/influxdata/platform/chronograf" "github.com/influxdata/influxdb/chronograf"
"github.com/influxdata/platform/chronograf/bolt" "github.com/influxdata/influxdb/chronograf/bolt"
) )
// Ensure an SourceStore can store, retrieve, update, and delete sources. // Ensure an SourceStore can store, retrieve, update, and delete sources.

View File

@ -5,8 +5,8 @@ import (
"fmt" "fmt"
bolt "github.com/coreos/bbolt" bolt "github.com/coreos/bbolt"
"github.com/influxdata/platform/chronograf" "github.com/influxdata/influxdb/chronograf"
"github.com/influxdata/platform/chronograf/bolt/internal" "github.com/influxdata/influxdb/chronograf/bolt/internal"
) )
// Ensure UsersStore implements chronograf.UsersStore. // Ensure UsersStore implements chronograf.UsersStore.

View File

@ -6,7 +6,7 @@ import (
"github.com/google/go-cmp/cmp" "github.com/google/go-cmp/cmp"
"github.com/google/go-cmp/cmp/cmpopts" "github.com/google/go-cmp/cmp/cmpopts"
"github.com/influxdata/platform/chronograf" "github.com/influxdata/influxdb/chronograf"
) )
// IgnoreFields is used because ID is created by BoltDB and cannot be predicted reliably // IgnoreFields is used because ID is created by BoltDB and cannot be predicted reliably

View File

@ -5,7 +5,7 @@ import (
"encoding/json" "encoding/json"
"fmt" "fmt"
"github.com/influxdata/platform/chronograf" "github.com/influxdata/influxdb/chronograf"
) )
//go:generate env GO111MODULE=on go run github.com/kevinburke/go-bindata/go-bindata -o bin_gen.go -tags assets -ignore README|apps|.sh|go -pkg canned . //go:generate env GO111MODULE=on go run github.com/kevinburke/go-bindata/go-bindata -o bin_gen.go -tags assets -ignore README|apps|.sh|go -pkg canned .

View File

@ -4,7 +4,7 @@ import (
"context" "context"
"strings" "strings"
"github.com/influxdata/platform/chronograf" "github.com/influxdata/influxdb/chronograf"
) )
type AddCommand struct { type AddCommand struct {

View File

@ -8,9 +8,9 @@ import (
"strings" "strings"
"text/tabwriter" "text/tabwriter"
"github.com/influxdata/platform/chronograf" "github.com/influxdata/influxdb/chronograf"
"github.com/influxdata/platform/chronograf/bolt" "github.com/influxdata/influxdb/chronograf/bolt"
"github.com/influxdata/platform/chronograf/mocks" "github.com/influxdata/influxdb/chronograf/mocks"
) )
func NewBoltClient(path string) (*bolt.Client, error) { func NewBoltClient(path string) (*bolt.Client, error) {

View File

@ -5,8 +5,8 @@ import (
"log" "log"
"os" "os"
"github.com/influxdata/platform/chronograf" "github.com/influxdata/influxdb/chronograf"
"github.com/influxdata/platform/chronograf/server" "github.com/influxdata/influxdb/chronograf/server"
flags "github.com/jessevdk/go-flags" flags "github.com/jessevdk/go-flags"
) )

View File

@ -1,5 +1,5 @@
## Creating a release ## Creating a release
The release process is handled via our [circle.yml](https://github.com/influxdata/platform/chronograf/blob/master/circle.yml). The release process is handled via our [circle.yml](https://github.com/influxdata/influxdb/chronograf/blob/master/circle.yml).
A release tag of the format `1.3.0.0` needs to be added. Afterwhich, circle A release tag of the format `1.3.0.0` needs to be added. Afterwhich, circle
will build our packages for all of our platforms. will build our packages for all of our platforms.
@ -30,7 +30,7 @@ bumpversion --allow-dirty --new-version=1.4.0.0 minor
The behavior of `bumpversion` is controlled by .bumpversion.cfg The behavior of `bumpversion` is controlled by .bumpversion.cfg
### Creating Release tag ### Creating Release tag
You can create a release tag from [Github](https://github.com/influxdata/platform/chronograf/releases) You can create a release tag from [Github](https://github.com/influxdata/influxdb/chronograf/releases)
or create an annotated tag: or create an annotated tag:
```sh ```sh
@ -50,4 +50,4 @@ git push --tags
* OS X * OS X
* amd64 * amd64
* Windows * Windows
* amd64 * amd64

View File

@ -9,7 +9,7 @@ chris@influxdb.com
@goller @goller
* Demo * Demo
- Source: [[https://github.com/influxdata/platform/chronograf]] - Source: [[https://github.com/influxdata/influxdb/chronograf]]
- [[http://localhost:8888]] - [[http://localhost:8888]]
* Chronograf Goals * Chronograf Goals

View File

@ -10,8 +10,8 @@ import (
"github.com/NYTimes/gziphandler" "github.com/NYTimes/gziphandler"
"github.com/bouk/httprouter" "github.com/bouk/httprouter"
"github.com/influxdata/platform/chronograf" // When julienschmidt/httprouter v2 w/ context is out, switch "github.com/influxdata/influxdb/chronograf" // When julienschmidt/httprouter v2 w/ context is out, switch
"github.com/influxdata/platform/chronograf/oauth2" "github.com/influxdata/influxdb/chronograf/oauth2"
) )
const ( const (

View File

@ -7,7 +7,7 @@ import (
"io" "io"
"net/http" "net/http"
"github.com/influxdata/platform/chronograf" "github.com/influxdata/influxdb/chronograf"
) )
// URLPrefixer is a wrapper for an http.Handler that will prefix all occurrences of a relative URL with the configured Prefix // URLPrefixer is a wrapper for an http.Handler that will prefix all occurrences of a relative URL with the configured Prefix

View File

@ -7,8 +7,8 @@ import (
"context" "context"
"github.com/influxdata/platform/chronograf" "github.com/influxdata/influxdb/chronograf"
"github.com/influxdata/platform/chronograf/influx" "github.com/influxdata/influxdb/chronograf/influx"
) )
var _ chronograf.TimeSeries = &Client{} var _ chronograf.TimeSeries = &Client{}

View File

@ -7,9 +7,9 @@ import (
"reflect" "reflect"
"testing" "testing"
"github.com/influxdata/platform/chronograf" "github.com/influxdata/influxdb/chronograf"
"github.com/influxdata/platform/chronograf/enterprise" "github.com/influxdata/influxdb/chronograf/enterprise"
"github.com/influxdata/platform/chronograf/influx" "github.com/influxdata/influxdb/chronograf/influx"
) )
func Test_Enterprise_FetchesDataNodes(t *testing.T) { func Test_Enterprise_FetchesDataNodes(t *testing.T) {

Some files were not shown because too many files have changed in this diff Show More