Commit Graph

8592 Commits

Author SHA1 Message Date
DanB
118461c1f7 WarnExecTime util function 2019-08-01 23:44:09 +02:00
TeoV
b909f76105 Rename *phone_number to *libphonenumber 2019-08-01 23:21:51 +02:00
TeoV
3d401407a0 Correctly send rpcclient connection for FilterS 2019-08-01 23:21:51 +02:00
TeoV
6e3960fb7a Add new filter type "*accounts" 2019-08-01 23:21:51 +02:00
TeoV
cae07d1e35 Add protection in case of nil arguments for cgr-console for PostprocessRpcParams fixes #1642 2019-08-01 10:38:04 +02:00
TeoV
48d966e0c6 Rename from DeleteTP* to RemoveTP* 2019-08-01 10:38:04 +02:00
TeoV
3e319a90a6 Add tests for Auth/Init/Terminate Session with NotFound for Threshold and Stat 2019-08-01 10:38:04 +02:00
TeoV
db8c670ae5 Add new type of DataConverter *phone_number ( + tests ) 2019-08-01 10:38:04 +02:00
TeoV
d394f92181 Add integration test for RALsV1.GetRatinPlanCost in dispatcher 2019-08-01 10:38:04 +02:00
TeoV
5d7db1db47 In case we have UnauthorizedDestination error in GetRatingPlansCost we go to next RatingPlan 2019-08-01 10:38:04 +02:00
TeoV
e66b9177b3 Add integration test for SetVersions ( both DataDB and StorDB) 2019-08-01 10:38:04 +02:00
TeoV
24b2e01fd4 Add integration test for DeleteTPFromFolder 2019-08-01 10:38:04 +02:00
TeoV
0b7f72d9b9 Add DeleteTariffPlanFromFolder API 2019-08-01 10:38:04 +02:00
TeoV
b7a2b1cc7b Add API for SetVersions for both stordb and datadb 2019-07-25 03:10:29 -10:00
TeoV
17db4f634d Add RALsV1.GetRatingPlansCost ( in APIer DispatcherS and in cgr-console ) 2019-07-25 02:55:15 -10:00
TeoV
c55505500a Add resources_allocate/resources_authorize/resources_release commands in cgr-console 2019-07-25 02:55:15 -10:00
TeoV
aadabd26ac Sort slice for DispatcherProfile before comparing with reflect.deepequal 2019-07-23 23:20:39 -10:00
TeoV
fe8b12c3a4 Use constants in sessions_process_event_it_test.go 2019-07-23 22:57:20 -10:00
TeoV
a3099c5622 Threat error in a fancier way in SessionS 2019-07-23 22:57:20 -10:00
TeoV
d7295c7a0a Initialize in a simpler way returned vars in cgr-console 2019-07-23 22:57:20 -10:00
TeoV
b9941d9b67 Include creating SupplierPaginator for MetaEvent 2019-07-23 06:49:48 -10:00
TeoV
206b8a76da In case that we get other Errors that NOT_FOUND we return PartiallyExecuted ( SessionS ) 2019-07-23 00:46:14 -10:00
TeoV
3c5c79f686 Correctly access Resource from cgr-console 2019-07-23 00:46:14 -10:00
TeoV
38dcc9aca2 Correctly treat NOT_FOUND error is SessionS ( fixes #1635 ) 2019-07-23 00:46:14 -10:00
TeoV
59c0258750 Correctly send SessionSv1.ProcessEvent from Agents to SessionS 2019-07-23 00:46:14 -10:00
TeoV
b9c4be142f Send the entire session to go func not only the cgrID 2019-07-21 23:13:27 -10:00
TeoV
7752a91c8b Remove loader section from tutmysql and tutmongo 2019-07-21 23:13:27 -10:00
TeoV
1d196d96c8 Create own configuration folder for loaders for both tutmysql and tutmongo 2019-07-21 23:13:27 -10:00
TeoV
3d13add291 Send s.CGRID as parameter to go func and topup accounts from tutorial TP 2019-07-21 23:13:27 -10:00
TeoV
1c0f94cef0 Add an integration test for LoaderS 2019-07-21 23:13:27 -10:00
TeoV
e3ff0a5965 Update loader section from tutmysql 2019-07-21 23:13:27 -10:00
TeoV
06935236cc Sort slice in tests of LoaderS 2019-07-21 23:13:27 -10:00
TeoV
ec13378bfb Update LoaderS tests ( use CSVs files from engine ) 2019-07-21 23:13:27 -10:00
TeoV
1842b6d856 Correctly type of arguments when LoaderS calling CacheS 2019-07-18 02:57:55 -10:00
TeoV
9470060e65 Change time as we discuss ( time.Sleep(1)) 2019-07-18 02:57:55 -10:00
TeoV
54a6639b67 Add test for Update Blocker flag for balance 2019-07-18 02:57:55 -10:00
Bas Couwenberg
ab38aba044 Include time in package version to support multiple releases per day. 2019-07-18 02:56:17 -10:00
Bas Couwenberg
2528854332 Undo changes to changelog after package build. 2019-07-18 02:56:17 -10:00
Bas Couwenberg
e4e41a3e5d Fix logrotate configuration.
logrotate refused to rotate the logfile due to permissions:
```
logrotate[6248]: error: skipping "/var/log/cgrates/CGRateS.log" because parent directory has insecure permissions (It's world writable or writable by group which is not "root") Set "su" directive in config file to tell logrotate which user/group should be used for rotation
```
Ownership of the directory and logfile is root/adm:
```
total 192
drwxrwxr-x 2 root adm    4096 Jul 17 10:24 .
drwxr-xr-x 8 root root   4096 Jul 17 00:00 ..
-rw-r----- 1 root adm  182485 Jul 16 15:52 CGRateS.log
```
2019-07-18 02:55:53 -10:00
Trial97
3b1d981a95 Updated apierv1 tests 2019-07-18 02:54:19 -10:00
Trial97
e923babcee Updated mongo storage 2019-07-18 02:54:19 -10:00
DanB
b87d7086dd DNSAgent: proper appending new values in case of multiple suppliers returned in NAPTR queries 2019-07-18 09:46:31 +02:00
TeoV
5f506e08d6 Correctly dnsAgent integration test for suppliers 2019-07-17 05:00:31 -10:00
TeoV
613b03d4f7 Correct select defaults arguments for agents in case that cgr_flags isn't presented 2019-07-17 05:00:31 -10:00
Trial97
ab77aaebc8 Downgraded mongo library 2019-07-17 04:59:52 -10:00
Trial97
965f645d09 Updated mongo ensureIndexes 2019-07-17 04:59:52 -10:00
Trial97
de41b7a093 Updated debitLoopSession 2019-07-17 04:59:52 -10:00
Trial97
dfd034433d Added SessionSv1.ProcessEvent tests in DispatcherS 2019-07-17 04:59:52 -10:00
TeoV
b92280e38e Use fiorix library for diameter 2019-07-16 23:24:41 -10:00
TeoV
91b6629097 Add tests in apier/v1 for ProcessEvent(Auth/Init/Update/Terminate) and add in agents support for *event 2019-07-16 23:24:41 -10:00