Refactor kafka to pure Go (franz-go), fix DBC stubs, update Dockerfile
This commit is contained in:
@@ -3,7 +3,7 @@ package superset
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
"fiskerinc.com/modules/redis"
|
||||
"github.com/fiskerinc/cloud-services/pkg/redis"
|
||||
"github.com/pkg/errors"
|
||||
)
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ import (
|
||||
"net/url"
|
||||
"strconv"
|
||||
|
||||
"fiskerinc.com/modules/logger"
|
||||
"github.com/fiskerinc/cloud-services/pkg/logger"
|
||||
"github.com/pkg/errors"
|
||||
)
|
||||
|
||||
|
||||
@@ -6,8 +6,8 @@ import (
|
||||
"io/ioutil"
|
||||
"net/http"
|
||||
|
||||
"fiskerinc.com/modules/httpclient"
|
||||
"fiskerinc.com/modules/redis"
|
||||
"github.com/fiskerinc/cloud-services/pkg/httpclient"
|
||||
"github.com/fiskerinc/cloud-services/pkg/redis"
|
||||
"github.com/pkg/errors"
|
||||
)
|
||||
|
||||
|
||||
@@ -6,11 +6,11 @@ import (
|
||||
"net/http"
|
||||
"testing"
|
||||
|
||||
"fiskerinc.com/modules/httpclient"
|
||||
"fiskerinc.com/modules/httpclient/mock"
|
||||
"fiskerinc.com/modules/redis"
|
||||
"fiskerinc.com/modules/redis/tester"
|
||||
"fiskerinc.com/modules/superset"
|
||||
"github.com/fiskerinc/cloud-services/pkg/httpclient"
|
||||
"github.com/fiskerinc/cloud-services/pkg/httpclient/mock"
|
||||
"github.com/fiskerinc/cloud-services/pkg/redis"
|
||||
"github.com/fiskerinc/cloud-services/pkg/redis/tester"
|
||||
"github.com/fiskerinc/cloud-services/pkg/superset"
|
||||
"github.com/pkg/errors"
|
||||
"github.com/stretchr/testify/assert"
|
||||
)
|
||||
|
||||
@@ -5,8 +5,8 @@ import (
|
||||
"io/ioutil"
|
||||
"net/http"
|
||||
|
||||
"fiskerinc.com/modules/httpclient"
|
||||
"fiskerinc.com/modules/redis"
|
||||
"github.com/fiskerinc/cloud-services/pkg/httpclient"
|
||||
"github.com/fiskerinc/cloud-services/pkg/redis"
|
||||
"github.com/pkg/errors"
|
||||
)
|
||||
|
||||
|
||||
@@ -6,11 +6,11 @@ import (
|
||||
"net/http"
|
||||
"testing"
|
||||
|
||||
"fiskerinc.com/modules/httpclient"
|
||||
"fiskerinc.com/modules/httpclient/mock"
|
||||
"fiskerinc.com/modules/redis"
|
||||
"fiskerinc.com/modules/redis/tester"
|
||||
"fiskerinc.com/modules/superset"
|
||||
"github.com/fiskerinc/cloud-services/pkg/httpclient"
|
||||
"github.com/fiskerinc/cloud-services/pkg/httpclient/mock"
|
||||
"github.com/fiskerinc/cloud-services/pkg/redis"
|
||||
"github.com/fiskerinc/cloud-services/pkg/redis/tester"
|
||||
"github.com/fiskerinc/cloud-services/pkg/superset"
|
||||
"github.com/pkg/errors"
|
||||
"github.com/stretchr/testify/assert"
|
||||
)
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package superset
|
||||
|
||||
import "fiskerinc.com/modules/utils/envtool"
|
||||
import "github.com/fiskerinc/cloud-services/pkg/utils/envtool"
|
||||
|
||||
var (
|
||||
host = envtool.GetEnv("SUPERSET_URL", "REPLACE_ME")
|
||||
|
||||
Reference in New Issue
Block a user