Commit Graph

425 Commits

Author SHA1 Message Date
DanB
44fa456eb5 Moving Cdr* from utils to engine package so we can attach CostDetails to StoredCdr 2015-03-22 18:04:38 +01:00
Radu Ioan Fericean
bf0ac94a8d updated copyright info 2015-03-11 19:49:52 +02:00
DanB
91ff8f5147 Engine to initialize database only when needed, improved db.Flush(), more CdrsV2 local tests 2014-12-05 18:43:30 +01:00
DanB
42a71347e8 Merge branch 'master' of https://github.com/cgrates/cgrates 2014-11-27 20:31:36 +01:00
DanB
bb3f677f50 Adding count parameter to GetStoredCdrs 2014-11-27 20:27:36 +01:00
Radu Ioan Fericean
5e7eec3685 updated copyright year 2014-11-27 21:27:00 +02:00
DanB
b53f18381e Merge branch 'master' of https://github.com/cgrates/cgrates 2014-11-27 18:01:53 +01:00
DanB
93a7e59744 GetStoredCdrs taking now a struct as filter to simplify code testing it 2014-11-27 18:01:41 +01:00
Radu Ioan Fericean
3e03b328b0 added destinations cache threshold 2014-11-27 14:44:20 +02:00
DanB
489c17c561 Refactored GetStoredCdrs method to increase the number of items being queried 2014-11-26 13:48:07 +01:00
DanB
1e9f1131ba MySQL and PostgreSQL implementing now their own Flush() 2014-11-08 18:25:55 +01:00
DanB
99e3a74604 Completing TPExporter methods 2014-10-20 11:12:35 +02:00
Radu Ioan Fericean
4033a7075e start using paginator embeded object 2014-10-08 21:33:50 +03:00
Radu Ioan Fericean
732cd57538 filters for SearchTerm 2014-10-03 19:15:39 +03:00
Radu Ioan Fericean
88791968ef pagination for cdrs and more api for cache and accounts 2014-10-01 18:28:38 +03:00
DanB
f71aa8483c Load DerivedChargers 2014-09-09 19:11:25 +02:00
Radu Ioan Fericean
c232640363 add pagination and search for resource ids 2014-08-25 19:31:28 +03:00
Radu Ioan Fericean
7dc72725fc add account actions tp and apier methods 2014-08-25 14:49:09 +03:00
Radu Ioan Fericean
fd045e8b38 add derived chargers tp and apier methods 2014-08-24 13:56:13 +03:00
Radu Ioan Fericean
46c059bdb7 add cdr stats tp methods 2014-08-22 16:29:45 +03:00
Radu Ioan Fericean
5df1c52246 add tp shared groups methods and apier 2014-08-22 13:00:20 +03:00
Radu Ioan Fericean
605fde865a moved stats from accounting to rating db 2014-08-01 18:57:04 +03:00
Radu Ioan Fericean
4ea9d8f35a Merge branch 'master' into stats
Conflicts:
	apier/mediator.go
	cmd/cgr-engine/cgr-engine.go
	config/config.go
	config/config_test.go
	config/test_data.txt
	engine/cdrs.go
	engine/mediator.go
	general_tests/fsevcorelate_test.go
	test.sh
	utils/apitpdata.go
	utils/consts.go
2014-07-29 12:32:03 +03:00
Radu Ioan Fericean
1091f58297 cdr stats csv load (without tests) 2014-07-22 22:10:39 +03:00
DanB
5430490ec5 Adding RatedAccount and RatedSubject inside StoredCdr 2014-07-17 14:27:06 +02:00
DanB
d0d49481a2 ApierV1.GetCdrs method, CDR fields now exported from rated_cdrs table to reflect derived charging, duration layout, added upgrade script for mysql schema 2014-05-15 12:13:03 +02:00
DanB
c3f8521ad4 Get Aliases now from cache only 2014-05-13 11:58:50 +02:00
DanB
da6f9cad6a ApierV1 methods for add, get, remove aliases, local tests attached 2014-05-12 19:03:07 +02:00
DanB
79d654c2a0 Aliases now with multi-tenant support, ApierV1.GetRatingSubjectAliases, ApierV1.GetAccountAliases RPC commands implementation 2014-05-11 21:48:51 +02:00
DanB
7bc0003fcf GetStoredCdrs taking TORs as filter 2014-05-11 13:09:53 +02:00
DanB
ed3ef16c09 DBCdrs: duration -> usage to cope with the *sms and *data TORs 2014-05-08 20:08:11 +02:00
DanB
f7abbacfe5 Refactoring CDRs to support RSRFields 2014-05-05 20:14:40 +02:00
Radu Ioan Fericean
f1731cccb7 lcr loading 2014-04-26 01:33:48 +03:00
Radu Ioan Fericean
1d7d0b8078 Merge branch 'data' into lcr
Conflicts:
	apier/apier.go
	cmd/cgr-loader/cgr-loader.go
	engine/calldesc.go
	engine/loader_csv.go
	engine/loader_csv_test.go
	engine/storage_interface.go
	general_tests/ddazmbl1_test.go
	utils/apitpdata.go
2014-04-25 22:10:55 +03:00
DanB
2a253892c5 Refactoring the code around derived charging to support integration with responder for internal requests, some of the copyright headers updated with new slogan 2014-04-23 20:48:43 +02:00
DanB
94da5d9e74 Adding caching for DerivedCharging settings 2014-04-18 19:59:11 +02:00
DanB
43039b063b Updating after merge 2014-04-18 14:42:52 +02:00
DanB
668352b860 Initial DerivedCharging loading 2014-04-18 14:39:59 +02:00
DanB
a3fff42338 FsCgrId -> Sha1, making the CgrId even more uniquely by hashing it with setup time 2014-04-08 17:51:18 +02:00
DanB
9dcd7c0ef4 Adding OrderId to storedCdrs and using it in sql/GetStoredCdrs and exporters 2014-04-08 10:39:09 +02:00
Radu Ioan Fericean
834a25ae74 Merge branch 'master' into lcr 2014-04-01 20:50:05 +03:00
DanB
eb333fcfc0 storage/GetStoredCdrs takes a higher number of filters for exports 2014-04-01 11:56:04 +02:00
Radu Ioan Fericean
8987b11cbd added lcr storage methods 2014-03-25 18:01:49 +02:00
DanB
f390281f41 API for CdrExporter fixed_width, RemCdr separated from exporter due to buggy scenario discovered 2014-03-24 22:23:03 +01:00
Radu Ioan Fericean
724ebdc039 split rating profile and account aliases 2014-03-17 21:28:25 +02:00
DanB
ee31976401 Adding detailed CDR export filters both in storage and APIs 2014-03-16 16:21:18 +01:00
Radu Ioan Fericean
fdeecafe37 make sure the aliases are up-to-date after load 2014-03-05 16:54:29 +02:00
Radu Ioan Fericean
074313b0f8 first aliases implementation
tests pending
2014-02-26 18:29:49 +02:00
Radu Ioan Fericean
0aa5223f78 Merge branch 'master' into shared_balances
Conflicts:
	engine/account.go
	engine/loader_csv_test.go
	engine/storage_interface.go
	engine/storage_map.go
	engine/storage_redis.go
2014-02-21 16:36:48 +02:00
Radu Ioan Fericean
7831a53797 renamed USerBalance to Account 2014-02-21 14:37:31 +02:00