Replaced FilterIndexes functions

This commit is contained in:
Trial97
2020-06-11 16:57:02 +03:00
committed by Dan Christian Bogos
parent ac814d98a2
commit 8d94a2d8dc
24 changed files with 310 additions and 897 deletions

View File

@@ -1029,11 +1029,8 @@ const (
ReplicatorSv1GetRateProfile = "ReplicatorSv1.GetRateProfile"
ReplicatorSv1GetDispatcherHost = "ReplicatorSv1.GetDispatcherHost"
ReplicatorSv1GetItemLoadIDs = "ReplicatorSv1.GetItemLoadIDs"
ReplicatorSv1GetFilterIndexes = "ReplicatorSv1.GetFilterIndexes"
ReplicatorSv1MatchFilterIndex = "ReplicatorSv1.MatchFilterIndex"
ReplicatorSv1SetThresholdProfile = "ReplicatorSv1.SetThresholdProfile"
ReplicatorSv1SetThreshold = "ReplicatorSv1.SetThreshold"
ReplicatorSv1SetFilterIndexes = "ReplicatorSv1.SetFilterIndexes"
ReplicatorSv1SetAccount = "ReplicatorSv1.SetAccount"
ReplicatorSv1SetDestination = "ReplicatorSv1.SetDestination"
ReplicatorSv1SetReverseDestination = "ReplicatorSv1.SetReverseDestination"

View File

@@ -860,45 +860,6 @@ func LongExecTimeDetector(logID string, maxDur time.Duration) (endchan chan stru
return
}
type GetFilterIndexesArg struct {
CacheID string
ItemIDPrefix string
FilterType string
FldNameVal map[string]string
}
type MatchFilterIndexArg struct {
CacheID string
ItemIDPrefix string
FilterType string
FieldName string
FieldVal string
}
type SetFilterIndexesArg struct {
CacheID string
ItemIDPrefix string
Indexes map[string]StringMap
}
type GetFilterIndexesArgWithArgDispatcher struct {
*GetFilterIndexesArg
TenantArg
*ArgDispatcher
}
type MatchFilterIndexArgWithArgDispatcher struct {
*MatchFilterIndexArg
TenantArg
*ArgDispatcher
}
type SetFilterIndexesArgWithArgDispatcher struct {
*SetFilterIndexesArg
TenantArg
*ArgDispatcher
}
type StringWithApiKey struct {
*ArgDispatcher
TenantArg