Victor Seva
6f08b673d0
TT#165251 NGCPRedis class
...
Unify redis interaction in a class
* allow passing partial config via new()
config will be merged using defined defaults so
missing keys will be appended using values from defaults
Change-Id: I486637e99e0e36fbe1f5a06c703c6b7d2fa77d77
3 years ago
Victor Seva
68ee236da4
TT#81207 [caller|callee]_prefs from usr and peer loads
...
Change-Id: I2f25147100297cb99a98b1f6186daaf7da16ef44
5 years ago
Victor Seva
72b9ed4f81
TT#78651 log strings need to end with '\n'
...
Use shorter version of KSR.log when possible
Change-Id: I503a82714b50e5061d9cd2176ff938c592ca22df
5 years ago
Victor Seva
48b0d4d018
TT#78651 Refactor code
...
* use proper class inherance
Change-Id: I69c9b14c64762ec1a1e17267961830f4794f2246
5 years ago
Victor Seva
2b57bbe5bb
TT#78651 migrate to new KEMI pvx interface
...
Change-Id: I1a5c4cb887276c363ba1158ec72525c70dc17901
5 years ago
Victor Seva
dc1ba69f3f
TT#78651 migrate to new KEMI interface
...
We are going to use both modules app_lua and app_lua_sr until we
solve the missing pieces on KEMI:
* KSR.pvx.xavp_get() returns a string like '<<xavp:%p>>' not a table like
sr.xavp.get()
* KEMI lacks of something like sr.xavp.get_keys() funtion
So, migrate everything that we can to KEMI and keep using sr approach
for just that two cases
- mocks/sr.lua: use same objects for same behaviour
Change-Id: I475ff8f820586cdc94c75bff7466238215e05673
5 years ago
Victor Seva
51a8be0b69
MT#12025 code refactoring with luacheck help
...
- don't leak globals, libs should return metatable
- fix requires
- remove unnecessary declarations of variables
- split mocks/sr
- remove unused tests
- fix tests
Change-Id: I2bda46410cf62c61c38ce1a9bf4b96f1a7a961bc
9 years ago
Victor Seva
7a52fc6ad5
MT#12025 clean luacheck error
...
Change-Id: I247be4018189e393c1a8d7ee9fa7b455cc38f1a7
10 years ago
Victor Seva
1e181e0457
MT#12025 fix includes
...
Change-Id: I0ed4c41ae01a26e072cf3c5b3351cc647a19029d
10 years ago
Victor Seva
3cb2ea70a9
MT#10199 add prof_preferences
11 years ago
Andreas Granig
11e14af681
MT#7471 Fix loading contract prefs.
11 years ago
Andreas Granig
471aa9a994
MT#7471 Implement contract pref loading.
11 years ago
Victor Seva
9c89ae57f0
fix peer load.
12 years ago
Victor Seva
6543b279a1
Copy all values not only the first one
12 years ago
Victor Seva
97e9453a69
Added copyright in all lua. Removed unused script.
12 years ago
Victor Seva
9a3a80834a
Added __tostring() properly to ngcp, xavp and prefs
12 years ago
Victor Seva
83deca8eff
Don't load any peer pref to real.
12 years ago
Victor Seva
4acb0d5131
Initializate dummy vars just in the creation.
...
On clear... create them.
12 years ago
Victor Seva
1a1d09fea9
Change load API.
...
Use {caller|callee}_{usr|peer}_load().
peer_load just copies peer prefs to real prefs.
12 years ago
Victor Seva
a3908d5456
No index
12 years ago
Victor Seva
0b671fa994
Fix clean. Test it.
12 years ago
Victor Seva
2d24a0700c
Added real prefs.
12 years ago