Refactor kafka to pure Go (franz-go), fix DBC stubs, update Dockerfile

This commit is contained in:
Chris Rai
2026-01-31 00:05:47 -05:00
parent fbb820d7b3
commit b5bec57dfa
776 changed files with 18945 additions and 2052 deletions

View File

@@ -4,8 +4,8 @@ import (
"context"
"testing"
"fiskerinc.com/modules/health"
"fiskerinc.com/modules/testhelper"
"github.com/fiskerinc/cloud-services/pkg/health"
"github.com/fiskerinc/cloud-services/pkg/testhelper"
"github.com/pkg/errors"
)

View File

@@ -4,8 +4,8 @@ import (
"context"
"testing"
"fiskerinc.com/modules/health"
"fiskerinc.com/modules/testhelper"
"github.com/fiskerinc/cloud-services/pkg/health"
"github.com/fiskerinc/cloud-services/pkg/testhelper"
)
func TestGoRoutinesCheck(t *testing.T) {

View File

@@ -9,7 +9,7 @@ import (
"sync"
"time"
"fiskerinc.com/modules/logger"
"github.com/fiskerinc/cloud-services/pkg/logger"
"github.com/gomodule/redigo/redis"
"github.com/pkg/errors"
)

View File

@@ -9,7 +9,7 @@ import (
"testing"
"time"
"fiskerinc.com/modules/testhelper"
"github.com/fiskerinc/cloud-services/pkg/testhelper"
)
const (

View File

@@ -5,8 +5,8 @@ import (
"testing"
"time"
"fiskerinc.com/modules/health"
"fiskerinc.com/modules/testhelper"
"github.com/fiskerinc/cloud-services/pkg/health"
"github.com/fiskerinc/cloud-services/pkg/testhelper"
)
func TestHTTPCheck(t *testing.T) {

View File

@@ -4,8 +4,8 @@ import (
"context"
"testing"
"fiskerinc.com/modules/health"
"fiskerinc.com/modules/testhelper"
"github.com/fiskerinc/cloud-services/pkg/health"
"github.com/fiskerinc/cloud-services/pkg/testhelper"
"github.com/pkg/errors"
)

View File

@@ -3,7 +3,7 @@ package health
import (
"testing"
"fiskerinc.com/modules/testhelper"
"github.com/fiskerinc/cloud-services/pkg/testhelper"
)
func TestWithChecks(t *testing.T) {

View File

@@ -4,8 +4,8 @@ import (
"context"
"testing"
"fiskerinc.com/modules/health"
"fiskerinc.com/modules/testhelper"
"github.com/fiskerinc/cloud-services/pkg/health"
"github.com/fiskerinc/cloud-services/pkg/testhelper"
"github.com/go-pg/pg/v10/orm"
"github.com/pkg/errors"

View File

@@ -3,8 +3,8 @@ package health
import (
"context"
"fiskerinc.com/modules/redis"
"fiskerinc.com/modules/redisv2"
"github.com/fiskerinc/cloud-services/pkg/redis"
"github.com/fiskerinc/cloud-services/pkg/redisv2"
)
type RedisHealth struct {

View File

@@ -4,10 +4,10 @@ import (
"context"
"testing"
"fiskerinc.com/modules/health"
"fiskerinc.com/modules/redis"
"fiskerinc.com/modules/redis/tester"
"fiskerinc.com/modules/testhelper"
"github.com/fiskerinc/cloud-services/pkg/health"
"github.com/fiskerinc/cloud-services/pkg/redis"
"github.com/fiskerinc/cloud-services/pkg/redis/tester"
"github.com/fiskerinc/cloud-services/pkg/testhelper"
)
func TestRedisCheck(t *testing.T) {

View File

@@ -4,8 +4,8 @@ import (
"fmt"
"net/http"
"fiskerinc.com/modules/logger"
"fiskerinc.com/modules/utils/envtool"
"github.com/fiskerinc/cloud-services/pkg/logger"
"github.com/fiskerinc/cloud-services/pkg/utils/envtool"
)
type HealthCheckServer struct {

View File

@@ -3,7 +3,7 @@ package health_test
import (
"testing"
"fiskerinc.com/modules/health"
"github.com/fiskerinc/cloud-services/pkg/health"
)
func TestHealthCheckServer(t *testing.T) {

View File

@@ -4,8 +4,8 @@ import (
"context"
"testing"
"fiskerinc.com/modules/health"
"fiskerinc.com/modules/testhelper"
"github.com/fiskerinc/cloud-services/pkg/health"
"github.com/fiskerinc/cloud-services/pkg/testhelper"
"github.com/pkg/errors"
)