Updated Routes with DynamicWeights

This commit is contained in:
Trial97
2021-08-30 17:00:37 +03:00
committed by Dan Christian Bogos
parent 76bc9f0cd8
commit a5d95f9fe7
52 changed files with 1208 additions and 1266 deletions

View File

@@ -620,7 +620,7 @@ type TPRoute struct {
RateProfileIDs []string // used when computing price
ResourceIDs []string // queried in some strategies
StatIDs []string // queried in some strategies
Weight float64
Weights string
Blocker bool
RouteParameters string
}
@@ -634,7 +634,7 @@ type TPRouteProfile struct {
Sorting string
SortingParameters []string
Routes []*TPRoute
Weight float64
Weights string
}
// TPAttribute is used in TPAttributeProfile

View File

@@ -543,7 +543,7 @@ const (
RouteAccountIDs = "RouteAccountIDs"
RouteRateProfileIDs = "RouteRateProfileIDs"
RouteStatIDs = "RouteStatIDs"
RouteWeight = "RouteWeight"
RouteWeights = "RouteWeights"
RouteParameters = "RouteParameters"
RouteBlocker = "RouteBlocker"
RouteResourceIDs = "RouteResourceIDs"