ionutboangiu
62619ba3a5
Replace interface{} with any
2023-06-05 10:55:32 +02:00
ionutboangiu
cb7ea790de
Update rpcclient library to latest version
...
Replace all instances of rpcclient.ClientConnector with birpc.ClientConnector.
Pass context, maxReconnectInterval, delayFunc and birpcClient to rpcclient
constructors.
Remove redundant time.Duration conversions (e.g. time.Duration(1*time.Second)
now becomes time.Second.
Add context where needed (context.Background() for tests, context.TODO()
for places where it should be passed from somewhere else).
Implement that functionality of the SessionSv1.Sleep call, in sessions/sessions
instead of apier/v1.
Make changes in utils/server.go (replacing the old rpc2 library with github.com/cgrates/birpc).
Change the way we register birpc methods for sessions in services, using a helper function
defined in engine/libengine.go.
2023-05-03 10:02:15 +02:00
ionutboangiu
758a94280a
Apply project wide fmt
2022-11-16 10:13:44 +01:00
Trial97
0dd7a37f9b
Updated EventCost Rounding. Fixes #3018
2021-09-23 11:49:17 +02:00
Trial97
102bdeb94a
SupplierS Require connections to RALs for calculating the cost
2020-10-20 19:54:47 +02:00
Trial97
f18525a1db
Updated path for cdre
2020-01-30 10:21:48 +01:00
Trial97
712a1fd2da
Updated services reload
2020-01-06 17:43:54 +02:00
TeoV
76ca5b9d68
Update after rebase
2019-12-12 08:53:55 +02:00
Trial97
350224ad2b
Added RPC caching Responder.GetCost
2019-11-15 15:28:04 +01:00
Trial97
5cbce1ec43
Removed unused constants
2019-08-08 19:12:47 +02:00
TeoV
12c62a3096
Use prefix in composition of accountID when locking fixes #1637
2019-08-06 14:59:09 +02:00
TeoV
fc3a29debd
Add test and logs for data sessions
2019-06-23 13:11:14 +02:00
TeoV
cbc9c73d3e
Add CoreService ( Allow status command to be executed without activating RALs ) fixes #1565
2019-06-04 14:43:41 +02:00
Tripon Alexandru-Ionut
7093dd70d1
Updated dispatcher API methods
2019-04-17 18:57:09 +02:00
TeoV
edb2f6ab97
Add Wrapper for CallDescriptor
2019-04-08 18:53:06 +02:00
Trial97
ac31d88d43
Added CacheSv1 to DispatcherSv1
2019-03-19 14:47:25 +01:00
DanB
fa75764203
Guardian - better remote locking through reference IDs
2019-03-17 20:31:40 +01:00
DanB
b38eb22c46
Complete set of cost simulation for tutorial2
2019-03-11 20:22:04 +01:00
Trial97
9b2bb3cb31
Added GoVersion to responder status
2019-03-06 16:05:01 +01:00
Trial97
aa169dde7f
Updated resonder checks before returning reply
2019-03-06 16:05:01 +01:00
TeoV
dbf65175a8
Remove unused methods from Resounder
2019-03-06 14:20:50 +01:00
DanB
4835ba2238
CDRs with RPC response caching, removing old RespCache methods and response_cache_ttl config option
2019-03-04 20:49:56 +01:00
DanB
26ea90c351
SessionS and Responder RPC response caching
2019-03-04 20:49:56 +01:00
Trial97
f899284ae1
Fixes from PR requests
2019-02-25 10:01:40 +01:00
Trial97
f4d6f4fca8
Added RunningSince to cgr-console status
2019-02-21 14:45:38 +01:00
Trial97
b8ff4bdfd9
Removed DerivedChrgerS
2019-02-19 16:42:33 +01:00
Trial97
b87dbf650d
Removed UserS and modified some meta consts
2019-02-18 12:37:50 +02:00
Trial97
7442753ed3
Removed AliaseS
2019-02-15 18:01:22 +02:00
DanB
417b4fadff
Actions.csv - removing balance direction filter
2019-02-13 11:23:27 +01:00
Trial97
f8de227351
Added timeout for Guardian.Guard
2019-01-23 14:12:33 +01:00
TeoV
a6e8834c79
Responder.Status take correct function from utils
2018-12-21 12:16:30 +01:00
Dan Christian Bogos
03549c6bec
Debug info for version and identifying exrta fields in map
2018-12-20 15:39:12 +01:00
TeoV
8af148da1a
Remove CDRStats and LCR
2018-11-21 18:28:33 +01:00
Trial97
a4896dbc32
Added General config
2018-10-05 20:33:28 +03:00
DanB
0cffb15262
SessionS.v1ForkSessions improvements, GetSessionRuns returning all sessions, SMGenericV1.InitiateSession doing authorization also - fixes #1150
2018-08-31 21:48:11 +02:00
TeoV
002c57e857
Update CDRE with FCTemplate
2018-08-30 11:40:06 +02:00
TeoV
67a0cf081a
Remove attributes_conns from RALs
2018-07-24 18:03:43 +02:00
DanB
d9f0e43a33
CDR.Rated -> CDR.PreRated, CDR exporter using better RSR parsing
2018-05-28 13:43:06 +02:00
DanB
6ba175dbec
Adding account info in responder.RefundIncrements, update accountSummary after refund
2018-04-25 19:46:26 +02:00
DanB
9d196c1427
Engine using TransCache instead of built-in
2018-03-06 17:20:04 +01:00
edwardro22
47476bdbf0
Fixed integration tests
2018-01-29 12:11:24 +01:00
DanB
c946d045cf
Removing AttributeS processing in Responder methods, adding AttributeS in SessionS processed requests, GetAttributes in UpdateSession
2018-01-12 19:11:08 +01:00
DanB
84187c9896
Responder ignoring ErrNotFound from AttributeS
2018-01-12 19:11:08 +01:00
TeoV
b15a1166cd
Replace InstanceID -> NodeID
2018-01-12 19:02:20 +01:00
DanB
4dbbfa0182
Attributes processed in responder
2017-12-12 18:31:49 +01:00
DanB
1ab064fb06
CallDescriptor.AsCGREvent, Renaming utils.ALIAS_CONTEXT_RATING -> utils.MetaRating
2017-12-11 19:21:25 +01:00
DanB
61f2cfaf5f
Adding attributes_conns in rals and cdrs constructors
2017-12-11 19:19:51 +01:00
DanB
d789cac0b7
Responder MaxComputedUsage implementation
2017-11-02 15:33:31 +01:00
DanB
6bf57b827d
Replacing ParseDurationWithSecs with ParseDurationWithNanosecs in most of the places to allow data units parsing without conversion; tests updated
2017-10-31 17:08:50 +01:00
DanB
0da9a10de7
Removing Direction, PDD, DisconnectCause, Supplier from main fields of CDR; MySQL/Postgres storing nanoseconds instead of seconds for usage, tests update
2017-10-30 18:18:37 +01:00