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
gezimbll
7dcbd09a1f
replacing non-meta constants for storage types
2023-03-08 19:14:24 +01:00
ionutboangiu
a748ab629e
Apply gofmt simplify code
2022-12-02 14:24:18 +02:00
adi
a6445f641e
Displays messages for agents when connect + fixes on call tests
2022-11-11 17:04:59 +01:00
Trial97
07ef7f2609
Replaced max_call_duration config with default_usage for each ToR
2021-02-19 14:22:48 +01:00
Trial97
e1086b099a
Added runtime.Gosched for context switching
2020-09-29 15:47:21 +02:00
Trial97
8b81b6b8e4
Added *none ERs type. Closes #2201
2020-06-02 15:10:32 +02:00
Trial97
4b15836b10
Updated error message
2020-05-26 17:46:36 +02:00
Trial97
2324f75cc0
Added file name to configuration parser error
2020-05-26 09:33:34 +02:00
adragusin
1c6811d26a
Added AsMapInterface methods
2020-05-05 19:24:20 +02:00
adragusin
4bd0368909
Added AsMapInterface method for some config fields
2020-05-05 19:24:20 +02:00
adragusin
a12dd79b9b
Added AsMapInterface method for some config fields
2020-05-05 19:24:20 +02:00
Trial97
7a746a2fd3
Added reload for RPCConnections section from config
2020-03-25 17:26:52 +01:00
TeoV
a2dc836075
Add Apier as a standalone service
2020-01-29 18:16:51 +01:00
TeoV
85ffef5028
Rename from *opensips_flatstore and *kamailio_flatstore to *flatsore
2020-01-22 14:10:35 +02:00
TeoV
4083cf5627
Remove CDRC compoment ( replaced by EventReader)
2020-01-22 13:53:18 +02:00
TeoV
0d4e989832
Add test for Flatstore in ERs
2020-01-22 11:06:43 +02:00
TeoV
c074fd2369
Add *partial_csv type in eventReader ( almost complete)
2020-01-21 11:31:59 +02:00
TeoV
35d19ab4b2
Add TTL option for DataDB/StorDB for type *internal
2020-01-14 08:42:10 -05:00
Dan Christian Bogos
200e51604f
Merge pull request #1861 from TeoV/master
...
Update version format to match go module version
2020-01-13 17:43:07 +01:00
TeoV
4f9d5cb7e7
Add fwv type in event reader
2020-01-13 08:00:28 -05:00
Trial97
6da56c095b
Updated GetRatingPlansCost and SupplierService.costForEvent
2020-01-13 14:38:58 +02:00
TeoV
4ea9cd3a48
Add XML to EventReader and test for it
2020-01-11 14:52:37 +02:00
Trial97
47e975d0d0
Updated config reload
2020-01-09 08:05:20 +02:00
Trial97
fc883ad930
Updated ConfigSv1.ReloadConfigFromJSON
2020-01-09 08:05:20 +02:00
Trial97
d60ac504b1
Updated ConfigSv1.ReloadSections to ConfigSv1.ReloadConfigFromJSON
2020-01-09 08:05:20 +02:00
Trial97
f9a4a296a1
Added ConfigSv1.ReloadSections
2020-01-09 08:05:20 +02:00
Trial97
21285b4bbc
Removed unused connmanager service
2020-01-06 17:43:54 +02:00
TeoV
d7f81e8a2f
Add *localhost rpc conn in config_defaults and if not specified use *first as strategy
2019-12-18 09:45:03 -05:00
Trial97
e5c97a94ab
Renamed META_DEFAULT to MetaDefault
2019-12-13 15:04:34 +02:00
TeoV
4bd4ae3ee9
Add connections through ConnManager
2019-12-12 08:52:49 +02:00
Trial97
b4fe82c6d7
Updated rpcclient library
2019-12-09 18:04:26 +02:00
TeoV
cc680d7b3e
Remove debug prints
2019-12-04 07:50:52 -05:00
TeoV
4a201c6f9e
Remove prefix when add items in internalDB
2019-12-04 07:29:32 -05:00
TeoV
76c6af8538
Make a PoC for RPCConns with ERs
2019-12-03 06:44:36 -05:00
TeoV
eda2958f99
Add skeleton for ConnManager service
2019-12-03 06:44:36 -05:00
DanB
e1dc846b45
Renaming MetaJSORpc in config files
2019-11-29 20:56:05 +01:00
TeoV
f8ad80eae0
Add RPCConns section in config
2019-11-29 11:12:56 +02:00
adragusin
df75f9018f
Moved CheckConfigSanity and the afferent tests in new files
2019-11-29 01:45:01 -05:00
Trial97
5f2740cef7
Updated ComputeFilterIndexes
2019-11-28 16:21:55 +02:00
TeoV
5601018f60
Fixes #1784
2019-11-28 16:00:19 +02:00
TeoV
02ef2ea3a3
Include filters when engine check versions
2019-11-28 15:54:57 +02:00
Adrian Drăguşin
aee68f1d79
Merge branch 'master' into master
2019-11-28 09:40:51 +02:00
TeoV
4f563aa5ee
Update filters and dataProvider to include ~*req as refix
2019-11-27 11:10:32 -05:00
adragusin
cae578478d
Added test for checkSanity
2019-11-27 10:59:25 -05:00
TeoV
bb793a4d50
For *internalDB check store internal only when services are enabled
2019-11-25 10:33:08 +02:00
TeoV
af1cfc64c8
Implement Replication for all Set Methods
2019-11-20 19:48:14 +01:00
Trial97
b110537b54
Added StorDB config reload
2019-11-09 15:55:49 +01:00
Trial97
8e32e73e0f
Updated checkConfigSanity
2019-11-09 15:55:49 +01:00
Trial97
f6bbccb213
Remove redundant functions
2019-11-09 15:55:49 +01:00