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

@@ -6,7 +6,7 @@ import (
"sync"
"time"
"fiskerinc.com/modules/logger"
"github.com/fiskerinc/cloud-services/pkg/logger"
"github.com/pkg/errors"
"github.com/redis/go-redis/v9"
)

View File

@@ -3,7 +3,7 @@ package redisv2
import (
"fmt"
"fiskerinc.com/modules/utils/envtool"
"github.com/fiskerinc/cloud-services/pkg/utils/envtool"
"github.com/redis/go-redis/v9"
)

View File

@@ -5,7 +5,7 @@ import (
"runtime/debug"
"fiskerinc.com/modules/logger"
"github.com/fiskerinc/cloud-services/pkg/logger"
"github.com/google/uuid"
)

View File

@@ -7,8 +7,8 @@ import (
"strings"
"sync"
"fiskerinc.com/modules/common"
"fiskerinc.com/modules/redis"
"github.com/fiskerinc/cloud-services/pkg/common"
"github.com/fiskerinc/cloud-services/pkg/redis"
"github.com/pkg/errors"
)

View File

@@ -3,7 +3,7 @@ package tester
import (
"sync"
"fiskerinc.com/modules/redis"
"github.com/fiskerinc/cloud-services/pkg/redis"
)
func NewMockClientPool(args ...interface{}) redis.ClientPoolInterface {

View File

@@ -3,8 +3,8 @@ package tester
import (
"testing"
"fiskerinc.com/modules/common"
"fiskerinc.com/modules/utils/elptr"
"github.com/fiskerinc/cloud-services/pkg/common"
"github.com/fiskerinc/cloud-services/pkg/utils/elptr"
"github.com/stretchr/testify/assert"
)

View File

@@ -1,6 +1,6 @@
package tester
import "fiskerinc.com/modules/cache"
import "github.com/fiskerinc/cloud-services/pkg/cache"
type MockVehiclesCache struct{}

View File

@@ -5,8 +5,8 @@ import (
"regexp"
"testing"
"fiskerinc.com/modules/common"
"fiskerinc.com/modules/testhelper"
"github.com/fiskerinc/cloud-services/pkg/common"
"github.com/fiskerinc/cloud-services/pkg/testhelper"
)
type ExpiringCacheResult struct {