chore(cmd/influxd): rename idpd to influxd
parent
0388d2e391
commit
0ecb5aaefc
|
@ -5,14 +5,14 @@ vendor
|
|||
.tern-project
|
||||
|
||||
# binary databases
|
||||
idpdb.bolt
|
||||
influxd.bolt
|
||||
|
||||
# Project distirbution
|
||||
/dist
|
||||
|
||||
# Project binaries.
|
||||
/influx
|
||||
/idpd
|
||||
/influxd
|
||||
/fluxd
|
||||
/transpilerd
|
||||
/bin
|
||||
|
|
2
Makefile
2
Makefile
|
@ -35,7 +35,7 @@ SOURCES_NO_VENDOR := $(shell find . -path ./vendor -prune -o -name "*.go" -not -
|
|||
# List of binary cmds to build
|
||||
CMDS := \
|
||||
bin/$(GOOS)/influx \
|
||||
bin/$(GOOS)/idpd \
|
||||
bin/$(GOOS)/influxd \
|
||||
bin/$(GOOS)/fluxd
|
||||
|
||||
# List of utilities to build as part of the build process
|
||||
|
|
|
@ -91,7 +91,7 @@ func init() {
|
|||
authorizationPath = h
|
||||
}
|
||||
|
||||
platformCmd.Flags().StringVar(&boltPath, "bolt-path", "idpdb.bolt", "path to boltdb database")
|
||||
platformCmd.Flags().StringVar(&boltPath, "bolt-path", "influxd.bolt", "path to boltdb database")
|
||||
viper.BindEnv("BOLT_PATH")
|
||||
if h := viper.GetString("BOLT_PATH"); h != "" {
|
||||
boltPath = h
|
||||
|
@ -111,7 +111,7 @@ func init() {
|
|||
}
|
||||
|
||||
var platformCmd = &cobra.Command{
|
||||
Use: "idpd",
|
||||
Use: "influxd",
|
||||
Short: "influxdata platform",
|
||||
Run: platformF,
|
||||
}
|
|
@ -18,8 +18,8 @@ func NewQueryService(s *platform.Source) (query.ProxyQueryService, error) {
|
|||
// how services are instantiated
|
||||
return nil, fmt.Errorf("self source type not implemented")
|
||||
case platform.V2SourceType:
|
||||
// This is an idpd that calls another idpd, the query path is /v1/query - in future /v2/query
|
||||
// it basically is the same as Self but on an external idpd
|
||||
// This is an influxd that calls another influxd, the query path is /v1/query - in future /v2/query
|
||||
// it basically is the same as Self but on an external influxd.
|
||||
return &http.SourceProxyQueryService{
|
||||
InsecureSkipVerify: s.InsecureSkipVerify,
|
||||
URL: s.URL,
|
||||
|
|
Loading…
Reference in New Issue