Remove platform tenancy from SXCHNGE customer BFF (#34)
This commit is contained in:
1 parent
7062672a87
commit
981e84a4b4
244 files changed
+651
-17130
No files matched your search
@@ -8,7 +8,6 @@ import (
|
||||
"git.sendico.io/tech/sxchnge/bff/pkg/db/storable"
|
||||
"git.sendico.io/tech/sxchnge/bff/pkg/merrors"
|
||||
"git.sendico.io/tech/sxchnge/bff/pkg/mlogger"
|
||||
"git.sendico.io/tech/sxchnge/bff/pkg/model"
|
||||
"git.sendico.io/tech/sxchnge/bff/pkg/mservice"
|
||||
"git.sendico.io/tech/sxchnge/bff/pkg/mutil/mzap"
|
||||
"go.mongodb.org/mongo-driver/v2/bson"
|
||||
@@ -72,10 +71,6 @@ func (db *DBImp[T]) ListIDs(ctx context.Context, query builder.Query) ([]bson.Ob
|
||||
return db.Repository.ListIDs(ctx, query)
|
||||
}
|
||||
|
||||
func (db *DBImp[T]) ListPermissionBound(ctx context.Context, query builder.Query) ([]model.PermissionBoundStorable, error) {
|
||||
return db.Repository.ListPermissionBound(ctx, query)
|
||||
}
|
||||
|
||||
func (db *DBImp[T]) SetDeleter(deleter CascadeDeleterT) {
|
||||
db.Logger.Debug("Custom cascade deletion method installed")
|
||||
db.cdeleter = deleter
|
||||
|
||||
@@ -1,14 +0,0 @@
|
||||
package template
|
||||
|
||||
import (
|
||||
"context"
|
||||
|
||||
tspoint "git.sendico.io/tech/sxchnge/bff/pkg/db/tseries/point"
|
||||
)
|
||||
|
||||
type TimeSeries[T tspoint.TimePoint] interface {
|
||||
// Insert adds a single point into the series.
|
||||
Insert(ctx context.Context, point T) error
|
||||
// InsertMany adds multiple points in one bulk operation.
|
||||
InsertMany(ctx context.Context, points []T) error
|
||||
}
|
||||
Reference in new issue
Block a user