mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-25 00:58:45 +05:00
Updated Routes with DynamicWeights
This commit is contained in:
committed by
Dan Christian Bogos
parent
76bc9f0cd8
commit
a5d95f9fe7
@@ -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
|
||||
|
||||
@@ -543,7 +543,7 @@ const (
|
||||
RouteAccountIDs = "RouteAccountIDs"
|
||||
RouteRateProfileIDs = "RouteRateProfileIDs"
|
||||
RouteStatIDs = "RouteStatIDs"
|
||||
RouteWeight = "RouteWeight"
|
||||
RouteWeights = "RouteWeights"
|
||||
RouteParameters = "RouteParameters"
|
||||
RouteBlocker = "RouteBlocker"
|
||||
RouteResourceIDs = "RouteResourceIDs"
|
||||
|
||||
Reference in New Issue
Block a user