Guillem Jover
11df8623ba
MT#56236 Simplify and extend kbytes2gigs() into humanize_bytes()
...
Change the function to handle bytes by default, which is what most
callers are passing. Add support for terabytes and petabytes. Switch
kbytes2gigs() to be a wrapper over humanize_bytes() for backwards
compatibility for now until all callers are switched. Remove
unnecessary int() coercion from call sites.
Change-Id: I94be536d73930a453d588e0edbb8192d6844bbe0
(cherry picked from commit 0db028f6e3 )
3 years ago
Rene Krenn
6acbf5fbca
TT#123451 CDR graph exporter/importer #1
...
Change-Id: I146ae01f4ae6a8825b64c4403e26f5d64a8e8c50
(cherry picked from commit 9b9a031dec )
3 years ago
Rene Krenn
0a68bfe56c
TT#175101 LNP database loader config
...
Change-Id: I215754bfb981c0b69204422b0e6ab5cae5040f23
(cherry picked from commit 51631b7d77 )
3 years ago
Rene Krenn
d2e904488a
TT#92350 TT#175101 LNP database bulk loader
...
this tool provides loading and updating the ngcp LNP
database from customer-specific textfiles with many
GBytes and tens of mio. of rows. in a *fast* way.
Change-Id: Ie64b1a9c7dfe3251c41dd443ed937cf8da18cb36
(cherry picked from commit d569230722 )
3 years ago
Rene Krenn
e3281809dc
TT#166652 contractexporter: option to omit internal cols in csv exports
...
Change-Id: Ie132459dca0c44b4336ebbd22b6d867993bb084d
(cherry picked from commit 7b79a63cd7 )
3 years ago
Rene Krenn
7453feda1e
TT#166652 add prov_subscriber->subscriber_profile relation
...
Change-Id: Id809f750969ed6778255d87f3e92876f6a672d34
(cherry picked from commit bca22edb84 )
3 years ago
Rene Krenn
25cb60f1ed
TT#161550 fix processing single files only
...
Change-Id: I8b0072e2f9afd7ce122111dd5ea39ec9f9bacd04
(cherry picked from commit 25cf45f7a0 )
3 years ago
Rene Krenn
7c54beedf4
TT#161550 properly report inserted/ignored cdr records
...
Change-Id: I2d16cca01ef86bf27d862598adecc5231c8ca347
(cherry picked from commit 591663cb6f )
3 years ago
Rene Krenn
b7555c633e
TT#161550 fix suspending fileprocessor workers with multiple files
...
Change-Id: I0090194b78d0915246ffe6fdf1352acac0f9fbf4
(cherry picked from commit 879bf33795 )
3 years ago
Rene Krenn
ec2d625e51
TT#161550 support loading CDR graphs
...
Change-Id: Ic67d36e15ebe64d4bc84943df785782981ba8974
(cherry picked from commit 3552503117 )
3 years ago
Rene Krenn
5d2f99c843
TT#161550 file processors: support processing directory structures
...
Change-Id: Ica509e95596d3b5f13486087ba47c190bab2e4db
(cherry picked from commit 7210135109 )
3 years ago
Rene Krenn
00247c782a
TT#155901 LGI EDR: fix exporting updateprofile events
...
Change-Id: I79fcbda6cc21f8e501d1ac61556c5ba7f383d355
(cherry picked from commit f53d04930c )
3 years ago
Rene Krenn
b0b0cc5deb
TT#155901 LGI: exporter for EDR transition data
...
Change-Id: Ie3b6aef065d236c1d80589b3efc8c0545dea4d6a
(cherry picked from commit d812c82aa6 )
3 years ago
Rene Krenn
75140b6c34
TT#158550 customer exporter: support absolute output filenames
...
Change-Id: If4d1c9f2c310757613bfee5493c582679ae1c665
(cherry picked from commit 6fd5f751f9 )
3 years ago
Rene Krenn
9a8eb533c4
TT#138950 add missing accounting.cdr field defs
...
-source_user_out
-destination_user_out
-source_lnp_type
-destination_lnp_type
Change-Id: I53a237fb6c198ca7e0c592bada366119f15320f7
(cherry picked from commit b75069b799 )
3 years ago
Rene Krenn
ad1f41732a
TT#142500 SET ANSI_PADDING ON for SQLServer connections
...
Change-Id: If26d7dd84645c0e298893edb2a957e42ac617089
(cherry picked from commit 37c6a28f1a )
3 years ago
Rene Krenn
46df6d6220
TT#129852 export registration to .csv or sqlite
...
Change-Id: If7561752ece1c5daff9e479646592ae59e5539d4
(cherry picked from commit 51c91d368d )
3 years ago
Rene Krenn
70172e2993
TT#136902 render UML class diagrams
...
Change-Id: I3fe040e3a277bb4c2c937450b2b6540fd6f324dc
(cherry picked from commit 854ed66481 )
3 years ago
Rene Krenn
2f6ecbe0af
TT#138400 fix findby_domain_usernames finder method query
...
Change-Id: I9e41ff0845e3476c81cfb6141f574db9563b7e12
(cherry picked from commit 79bc78feca )
3 years ago
Rene Krenn
364dc49fb6
TT#138400 provisioning.voip_subscribers.findby_domain_usernames
...
Change-Id: Ibd88950516ac86d2fb966636f40041f5e75e3758
(cherry picked from commit e2f6b74779 )
3 years ago
Rene Krenn
96cd61e34c
TT#137100 contract exporter: support duplicate datapaths
...
exporting the same field (path) multiple times results
in duplicate column names, which are rejected by sqlite
or DBD::xyz.
This change introduces a "colname" field for providing
an alternative column name to prevent colliding names.
Change-Id: I904862651c1a24c4cdc6c643da6f9156e15ffbc6
(cherry picked from commit 134aeff964 )
3 years ago
Rene Krenn
1080795553
TT#128650 contract graph exporter
...
Change-Id: I37aaba48e9b830b2cb20385c63fac350fd0954c2
(cherry picked from commit e587c8f2c1 )
3 years ago
Guillem Jover
620b06cc7c
Revert "TT#127355 initialize application versions earlier"
...
This reverts commit df98b0a7c3 .
This is not needed anymore, now that we use a function to fetch the
correct version for the application.
Change-Id: Ie56ba6dc01b6a75f9ac21382879891727881ccc1
(cherry picked from commit a82fb8c948 )
3 years ago
Guillem Jover
6dca6ead8b
TT#127355 Switch the application variable into a function
...
The variable from the main space gets declared too late when we want to
initialize the variable in the module. Instead switch to use a function
that gets called on demand, which will have the available value at that
time. This removes the need to declare $VERSION in a BEGIN section, as
that is error-prone and easy to forget for new code.
Change-Id: I613698169dddd6d7ccf52b16a0ee9994e84b3543
(cherry picked from commit 2aeedad442 )
3 years ago
Rene Krenn
081ed1ae19
TT#127150 contract/subscriber exporter: support delta for terminated subs
...
Change-Id: I3a840592acf0c01aebb6a5659e0e06169834ab2b
(cherry picked from commit d25ae07b99 )
3 years ago
Rene Krenn
760a838577
TT#127150 contract/susbcriber exporter: fix skipped contract
...
Change-Id: I201132d4bfdba39064618ca801113c03661d30a5
(cherry picked from commit 16645dcebd )
3 years ago
Rene Krenn
5effa09f7c
TT#127355 initialize application versions earlier
...
Change-Id: If0ed6cb84aeae2f442580ca541f3da9cb690020b
(cherry picked from commit df98b0a7c3 )
3 years ago
Rene Krenn
b4cdfb4bf8
TT#127150 contract/susbcriber exporter: sqlite tabular export
...
Change-Id: I88ad999230421b7aa3c17a99c5783d047c621473
(cherry picked from commit 94e086773b )
3 years ago
Guillem Jover
bdc48b0f87
TT#127355 Add support for application versions
...
This should make it easier to see the application version in contrast to
the system modules version. We initialize this at build time from the
package version, and fallback to the module version if the application
has no usable version.
Change-Id: I4b4e1a926aea517b2b3b46261794e187af0c9865
(cherry picked from commit b90ca3f3ac )
3 years ago
Rene Krenn
8d96ddcc85
TT#118151 fix mr7.5.5 redis "location" db DAO key versioning prefix
...
Change-Id: If4081c78030461ca8e60152673cec96fe489375a
5 years ago
Rene Krenn
505341d027
TT#123800 MySQL connector: allow to override session charset
...
Change-Id: Icbe70f832682f330c6902ff3406b53ab2d1e2e6a
5 years ago
Rene Krenn
ef52bd86b9
TT#121785 provisioning::voip_subscribers::findby_id finder method
...
Change-Id: Ic6e377c7b89cdedcc6e94b541f4db37b023b5a56
5 years ago
Rene Krenn
72ab33d02b
TT#119460 openser "location" DAO
...
Change-Id: I998a2d2c80e2a56d3faea2f159ce0dbb2dcbc36d
5 years ago
Rene Krenn
84f58f02de
TT#119459 allow NULL values for SQLServer IDENTITY columns
...
Change-Id: Ibd008280773d815eebe1d56e030cce8d1806e63e
5 years ago
Rene Krenn
b4a70b1c9c
TT#118050 skip NULL values for mssql INDENTITY columns
...
Change-Id: I464a4645bf6a19299bbb46f3824974bc72113a42
5 years ago
Rene Krenn
02cfe82351
TT#118151 mr7.5.5 redis "location" db DAO
...
Change-Id: I5b7e919cb686031da7ba08bd7a0f4237fcd309a7
5 years ago
Rene Krenn
fc85c81911
TT#118050 SQLServer connectivity using tdsodbc
...
Change-Id: Ia9a08bc84289d1636b318985c83432bcd285d9e2
5 years ago
Rene Krenn
f9222f2f97
TT#111905 perl system() wrapper
...
Change-Id: I6dc8d73ff0c03ef22d2336b6f82077e257547a98
5 years ago
Rene Krenn
b1c9101fba
TT#111750 add trunk kamailio.voicemail_spool DAO
...
Change-Id: Ia0632e0b69429a1ee2e15917244e7b6355ef7f65
5 years ago
Rene Krenn
9c90f7998d
TT#111206 add mr1.0.3 openser.voicemail_spool DAO
...
Change-Id: Iec3bfd97e98a82f2633b2a184a2f677c5dd3ca2f
5 years ago
Rene Krenn
c2a2b7c64d
TT#110203 redis registration monitoring to SQLite PoC
...
Change-Id: I3c7bcb14f3bff3de04258938d5e9a1bed2c493ab
5 years ago
Rene Krenn
20b5920a7a
TT#108605 redis "location" store schema #2
...
Change-Id: Id1195d5c0aa57015a0680f849df5c92af40dbd85
5 years ago
Rene Krenn
e9e315fd8b
TT#108605 redis "location" store schema #1
...
Change-Id: I96150ac365658e1cf0c156e725e88b75757977e9
5 years ago
Rene Krenn
c3bc57b0b8
TT#108606 multithread consumer-producer pattern for Redis
...
Change-Id: I34b6b0c99fdb04d43a013b018a00e8298cb35fec
5 years ago
Rene Krenn
207a82b621
TT#108604 introduce nosql abstraction and redis connector
...
Change-Id: Ia2f7682c6a9b88c42300dc667f1302eaf447bab3
5 years ago
Rene Krenn
565cafde3b
TT#109163 fix contracts dao for mr1.0.3 schema
...
Change-Id: I5000731027c83711e9d03dcce52d5aef286b0e26
5 years ago
Rene Krenn
d5dec06fff
TT#104251 cdr paging queries: force index
...
Change-Id: I373d638313385e43d08b00ca0b0f3146fb6ec048
(cherry picked from commit d78ed162cd )
6 years ago
Rene Krenn
04e8fb04e1
TT#104251 refactor paging queries for cdr tables
...
the implementation used queries based on "OR",
causing a perfromance problem as the query time
depends on the cardinality of the accounting.cdr
table.
Change-Id: I1dbb23cf8802179b89c44718915ca090a2b17b5e
6 years ago
Rene Krenn
72f22eb5a0
TT#81770 magenta openser mig: comply mr103 and trunk db schema
...
Change-Id: I06daf4af0dc374c649a0617b438d2b89703a3285
(cherry picked from commit 82e6d73750 )
6 years ago
Rene Krenn
3e7bab759b
TT#87561 remove fax prefs from openser mr1.0.2 dao db schema
...
Change-Id: Ie31e3d67d6bdaced8e51596fc5ce111648029053
6 years ago