mirror of
https://github.com/openziti/ziti.git
synced 2026-10-13 15:51:21 +00:00
Merge pull request openziti/fabric#346 from openziti/update-to-storage-lib
Update to use storage library
This commit is contained in:
@@ -24,8 +24,8 @@ import (
|
||||
"github.com/openziti/fabric/controller/models"
|
||||
"github.com/openziti/fabric/controller/network"
|
||||
"github.com/openziti/fabric/rest_model"
|
||||
"github.com/openziti/foundation/storage/ast"
|
||||
"github.com/openziti/foundation/storage/boltz"
|
||||
"github.com/openziti/storage/ast"
|
||||
"github.com/openziti/storage/boltz"
|
||||
"github.com/openziti/foundation/util/errorz"
|
||||
"net/http"
|
||||
"reflect"
|
||||
|
||||
@@ -23,7 +23,7 @@ import (
|
||||
"github.com/openziti/fabric/rest_model"
|
||||
"github.com/openziti/fabric/rest_server/operations"
|
||||
"github.com/openziti/fabric/rest_server/operations/circuit"
|
||||
"github.com/openziti/foundation/storage/boltz"
|
||||
"github.com/openziti/storage/boltz"
|
||||
"sort"
|
||||
)
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@ import (
|
||||
"github.com/openziti/fabric/rest_model"
|
||||
"github.com/openziti/fabric/rest_server/operations"
|
||||
"github.com/openziti/fabric/rest_server/operations/link"
|
||||
"github.com/openziti/foundation/storage/boltz"
|
||||
"github.com/openziti/storage/boltz"
|
||||
"sort"
|
||||
)
|
||||
|
||||
|
||||
@@ -19,8 +19,8 @@ package api_impl
|
||||
import (
|
||||
"fmt"
|
||||
"github.com/michaelquigley/pfxlog"
|
||||
"github.com/openziti/foundation/storage/ast"
|
||||
"github.com/openziti/foundation/storage/boltz"
|
||||
"github.com/openziti/storage/ast"
|
||||
"github.com/openziti/storage/boltz"
|
||||
"github.com/openziti/foundation/util/errorz"
|
||||
)
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
package db
|
||||
|
||||
import (
|
||||
"github.com/openziti/foundation/storage/boltz"
|
||||
"github.com/openziti/storage/boltz"
|
||||
)
|
||||
|
||||
const (
|
||||
|
||||
@@ -2,8 +2,8 @@ package db
|
||||
|
||||
import (
|
||||
"github.com/openziti/fabric/controller/xt_smartrouting"
|
||||
"github.com/openziti/foundation/storage/ast"
|
||||
"github.com/openziti/foundation/storage/boltz"
|
||||
"github.com/openziti/storage/ast"
|
||||
"github.com/openziti/storage/boltz"
|
||||
"github.com/pkg/errors"
|
||||
log "github.com/sirupsen/logrus"
|
||||
"strings"
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
package db
|
||||
|
||||
import (
|
||||
"github.com/openziti/foundation/storage/ast"
|
||||
"github.com/openziti/foundation/storage/boltz"
|
||||
"github.com/openziti/storage/ast"
|
||||
"github.com/openziti/storage/boltz"
|
||||
"go.etcd.io/bbolt"
|
||||
)
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@ import (
|
||||
"github.com/google/uuid"
|
||||
|
||||
"github.com/google/go-cmp/cmp"
|
||||
"github.com/openziti/foundation/storage/boltz"
|
||||
"github.com/openziti/storage/boltz"
|
||||
"go.etcd.io/bbolt"
|
||||
)
|
||||
|
||||
|
||||
@@ -19,8 +19,8 @@ package db
|
||||
import (
|
||||
"github.com/openziti/fabric/controller/xt"
|
||||
"github.com/openziti/fabric/controller/xt_smartrouting"
|
||||
"github.com/openziti/foundation/storage/ast"
|
||||
"github.com/openziti/foundation/storage/boltz"
|
||||
"github.com/openziti/storage/ast"
|
||||
"github.com/openziti/storage/boltz"
|
||||
"go.etcd.io/bbolt"
|
||||
)
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@ import (
|
||||
"time"
|
||||
|
||||
"github.com/google/go-cmp/cmp"
|
||||
"github.com/openziti/foundation/storage/boltz"
|
||||
"github.com/openziti/storage/boltz"
|
||||
"go.etcd.io/bbolt"
|
||||
)
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@ package db
|
||||
|
||||
import (
|
||||
"github.com/michaelquigley/pfxlog"
|
||||
"github.com/openziti/foundation/storage/boltz"
|
||||
"github.com/openziti/storage/boltz"
|
||||
"go.etcd.io/bbolt"
|
||||
"reflect"
|
||||
"sync"
|
||||
|
||||
@@ -20,8 +20,8 @@ import (
|
||||
"encoding/binary"
|
||||
"github.com/michaelquigley/pfxlog"
|
||||
"github.com/openziti/fabric/controller/xt"
|
||||
"github.com/openziti/foundation/storage/ast"
|
||||
"github.com/openziti/foundation/storage/boltz"
|
||||
"github.com/openziti/storage/ast"
|
||||
"github.com/openziti/storage/boltz"
|
||||
"github.com/openziti/foundation/util/sequence"
|
||||
"go.etcd.io/bbolt"
|
||||
)
|
||||
|
||||
@@ -20,7 +20,7 @@ import (
|
||||
"fmt"
|
||||
"github.com/google/uuid"
|
||||
"github.com/openziti/fabric/controller/xt"
|
||||
"github.com/openziti/foundation/storage/boltz"
|
||||
"github.com/openziti/storage/boltz"
|
||||
"github.com/openziti/foundation/util/stringz"
|
||||
"go.etcd.io/bbolt"
|
||||
"math"
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
"github.com/michaelquigley/pfxlog"
|
||||
"github.com/openziti/fabric/controller/xt"
|
||||
"github.com/openziti/fabric/controller/xt_smartrouting"
|
||||
"github.com/openziti/foundation/storage/boltz"
|
||||
"github.com/openziti/storage/boltz"
|
||||
"go.etcd.io/bbolt"
|
||||
"testing"
|
||||
)
|
||||
|
||||
@@ -25,7 +25,7 @@ import (
|
||||
"github.com/openziti/fabric/controller/xt"
|
||||
"github.com/openziti/fabric/pb/ctrl_pb"
|
||||
"github.com/openziti/channel"
|
||||
"github.com/openziti/foundation/storage/boltz"
|
||||
"github.com/openziti/storage/boltz"
|
||||
log "github.com/sirupsen/logrus"
|
||||
"math"
|
||||
)
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
gosundheit "github.com/AppsFlyer/go-sundheit"
|
||||
"github.com/AppsFlyer/go-sundheit/checks"
|
||||
"github.com/openziti/foundation/metrics"
|
||||
"github.com/openziti/foundation/storage/boltz"
|
||||
"github.com/openziti/storage/boltz"
|
||||
"github.com/openziti/foundation/util/concurrenz"
|
||||
"github.com/pkg/errors"
|
||||
"go.etcd.io/bbolt"
|
||||
|
||||
@@ -19,8 +19,8 @@ package models
|
||||
import (
|
||||
"github.com/michaelquigley/pfxlog"
|
||||
"github.com/openziti/fabric/controller/db"
|
||||
"github.com/openziti/foundation/storage/ast"
|
||||
"github.com/openziti/foundation/storage/boltz"
|
||||
"github.com/openziti/storage/ast"
|
||||
"github.com/openziti/storage/boltz"
|
||||
"github.com/openziti/foundation/util/errorz"
|
||||
"github.com/pkg/errors"
|
||||
"go.etcd.io/bbolt"
|
||||
|
||||
@@ -20,8 +20,8 @@ import (
|
||||
"github.com/michaelquigley/pfxlog"
|
||||
"github.com/openziti/fabric/controller/db"
|
||||
"github.com/openziti/fabric/controller/models"
|
||||
"github.com/openziti/foundation/storage/ast"
|
||||
"github.com/openziti/foundation/storage/boltz"
|
||||
"github.com/openziti/storage/ast"
|
||||
"github.com/openziti/storage/boltz"
|
||||
"go.etcd.io/bbolt"
|
||||
)
|
||||
|
||||
|
||||
@@ -38,7 +38,7 @@ import (
|
||||
"github.com/openziti/foundation/identity/identity"
|
||||
"github.com/openziti/foundation/metrics"
|
||||
"github.com/openziti/foundation/metrics/metrics_pb"
|
||||
"github.com/openziti/foundation/storage/boltz"
|
||||
"github.com/openziti/storage/boltz"
|
||||
"github.com/openziti/foundation/util/debugz"
|
||||
"github.com/openziti/foundation/util/errorz"
|
||||
"github.com/openziti/foundation/util/sequence"
|
||||
|
||||
@@ -26,7 +26,7 @@ import (
|
||||
"github.com/openziti/fabric/controller/db"
|
||||
"github.com/openziti/fabric/controller/models"
|
||||
"github.com/openziti/foundation/common"
|
||||
"github.com/openziti/foundation/storage/boltz"
|
||||
"github.com/openziti/storage/boltz"
|
||||
"github.com/openziti/foundation/util/concurrenz"
|
||||
cmap "github.com/orcaman/concurrent-map"
|
||||
"github.com/pkg/errors"
|
||||
|
||||
@@ -20,7 +20,7 @@ import (
|
||||
"github.com/michaelquigley/pfxlog"
|
||||
"github.com/openziti/fabric/controller/db"
|
||||
"github.com/openziti/fabric/controller/models"
|
||||
"github.com/openziti/foundation/storage/boltz"
|
||||
"github.com/openziti/storage/boltz"
|
||||
"github.com/orcaman/concurrent-map"
|
||||
"github.com/pkg/errors"
|
||||
"go.etcd.io/bbolt"
|
||||
|
||||
@@ -18,7 +18,7 @@ import (
|
||||
"github.com/openziti/fabric/controller/db"
|
||||
"github.com/openziti/fabric/controller/models"
|
||||
"github.com/openziti/fabric/controller/xt"
|
||||
"github.com/openziti/foundation/storage/boltz"
|
||||
"github.com/openziti/storage/boltz"
|
||||
"github.com/pkg/errors"
|
||||
"go.etcd.io/bbolt"
|
||||
"reflect"
|
||||
|
||||
@@ -19,7 +19,7 @@ package xctrl
|
||||
import (
|
||||
"github.com/openziti/channel"
|
||||
"github.com/openziti/fabric/config"
|
||||
"github.com/openziti/foundation/storage/boltz"
|
||||
"github.com/openziti/storage/boltz"
|
||||
)
|
||||
|
||||
type Xctrl interface {
|
||||
|
||||
@@ -23,7 +23,7 @@ import (
|
||||
"github.com/michaelquigley/pfxlog"
|
||||
"github.com/openziti/channel"
|
||||
"github.com/openziti/fabric/controller/xctrl"
|
||||
"github.com/openziti/foundation/storage/boltz"
|
||||
"github.com/openziti/storage/boltz"
|
||||
"github.com/sirupsen/logrus"
|
||||
"time"
|
||||
)
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
package xt
|
||||
|
||||
import (
|
||||
"github.com/openziti/foundation/storage/boltz"
|
||||
"github.com/openziti/storage/boltz"
|
||||
"sync"
|
||||
"sync/atomic"
|
||||
)
|
||||
|
||||
@@ -6,7 +6,7 @@ import (
|
||||
"github.com/openziti/fabric/controller/db"
|
||||
"github.com/openziti/fabric/controller/network"
|
||||
"github.com/openziti/fabric/controller/xt"
|
||||
"github.com/openziti/foundation/storage/boltz"
|
||||
"github.com/openziti/storage/boltz"
|
||||
"github.com/openziti/foundation/util/cowslice"
|
||||
"github.com/pkg/errors"
|
||||
"go.etcd.io/bbolt"
|
||||
|
||||
@@ -7,7 +7,7 @@ import (
|
||||
"github.com/openziti/channel/protobufs"
|
||||
"github.com/openziti/fabric/pb/ctrl_pb"
|
||||
"github.com/openziti/fabric/router/xlink"
|
||||
"github.com/openziti/foundation/storage/boltz"
|
||||
"github.com/openziti/storage/boltz"
|
||||
"github.com/sirupsen/logrus"
|
||||
"sync"
|
||||
"time"
|
||||
|
||||
Reference in New Issue
Block a user