TeoV
f183a53ae4
At the end of make deb correctly git checkout
2019-08-06 18:43:35 +02:00
TeoV
12f7ca48d8
Replace jesse and squeeze with debian inside packages
2019-08-06 18:43:35 +02:00
TeoV
992d08cfa2
Change distribution name from jessie to nightly
2019-08-06 14:59:09 +02:00
TeoV
3ed7bac651
Remove unused GroupLink struct and file from engine
2019-08-06 14:59:09 +02:00
TeoV
e616690c8b
Correct in/out arguments for cache commands from cgr-console
2019-08-06 14:59:09 +02:00
TeoV
12c62a3096
Use prefix in composition of accountID when locking fixes #1637
2019-08-06 14:59:09 +02:00
TeoV
de6ad3e784
Remove OK constant from APIer and use it from utils
2019-08-04 13:23:30 +02:00
TeoV
87c18d5de8
Replace in integration tests duplicate structs
2019-08-04 13:23:30 +02:00
TeoV
4b051121f9
Move constats from engine to utils and remove duplicate structures
2019-08-04 13:23:30 +02:00
TeoV
2b6adf539a
Replaced method utils.AccountKey with utils.ConcatenatedKey ( strings.Join is 4 times faster than fmt.Sprintf )
2019-08-04 13:23:30 +02:00
TeoV
88dc208841
Rename filter "*accounts" to "*account"
2019-08-04 13:23:30 +02:00
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