osm/common.git
5 years agoBug 559 adding encrypt/decrypt methods 27/6727/5
tierno [Fri, 19 Oct 2018 11:01:03 +0000 (13:01 +0200)]
Bug 559 adding encrypt/decrypt methods
Fixing pytest and unittest. Adding to devops stage test

Change-Id: Idbeaa82dec736c4a8b2d2a26bd39aeecbc49b901
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agoAdds aiocallback in aioread of msgkafka 25/6725/3
Benjamin Diaz [Thu, 18 Oct 2018 20:55:12 +0000 (17:55 -0300)]
Adds aiocallback in aioread of msgkafka

aioread can now receive an async function as param,
which will be awaited during the consumer msg loop.
This allows of taking full advantage of asyncio.

Also it now passes de kwargs to the callback, instead
of the args. Without this, all params of aioread had to be
passed positionally if you wanted to give additional args
to the callback.

Signed-off-by: Benjamin Diaz <bdiaz@whitestack.com>
Change-Id: I2502c0f2f76643660da1ff24eafa62af2450eacb

5 years agoModifies deb pkg building to include postinst script 23/6723/4
Benjamin Diaz [Thu, 18 Oct 2018 20:31:05 +0000 (17:31 -0300)]
Modifies deb pkg building to include postinst script

stage-build now uses make instead of tox, to allow adding
postinst script.
Postinst script adds installation of dependencies through pip.
Adds missing MANIFEST and stdeb.cfg.

Signed-off-by: Benjamin Diaz <bdiaz@whitestack.com>
Change-Id: I42849e0a3457745ad00a169128554cf3574bcb23

5 years agochange devops stage-build to build from tox 69/6669/2 netslice
tierno [Tue, 9 Oct 2018 16:20:13 +0000 (18:20 +0200)]
change devops stage-build to build from tox

Change-Id: I79ebbce5bcab5052dd62f54a716083f10debe2a5
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agoAdd missing setup_requires for proper versioning 63/6663/4
Mike Marchetti [Tue, 9 Oct 2018 16:00:05 +0000 (12:00 -0400)]
Add missing setup_requires for proper versioning

Signed-off-by: Mike Marchetti <mmarchetti@sandvine.com>
Change-Id: I19bea140f8f45a112486fed27fef3ee878542a91

5 years agoFix comments in Jenkinsfile to use groovy syntax 60/6660/1
garciadeblas [Tue, 9 Oct 2018 10:58:38 +0000 (12:58 +0200)]
Fix comments in Jenkinsfile to use groovy syntax

Change-Id: If6ddbe2ead911126f9cc8e9086463dde2d7ad13e
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
5 years agoAdded set_list at database. 47/6647/2
tierno [Mon, 8 Oct 2018 14:30:15 +0000 (16:30 +0200)]
Added set_list at database.
fix bug 543 Added lincense header.
Initial encrypt/decrypt methods

Change-Id: I46194961d927ff008f3774d8d157587b06114be5
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agoAdd version schedule pep440-git-full 90/6590/1
tierno [Mon, 1 Oct 2018 13:28:59 +0000 (15:28 +0200)]
Add version schedule pep440-git-full

Change-Id: I4d1e7f47778d44e554f630e5d33ced9ae39343b7
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agonew utility deep_update following rfc7396 plus array edition 58/6458/4
tierno [Wed, 5 Sep 2018 09:25:23 +0000 (11:25 +0200)]
new utility deep_update following rfc7396 plus array edition

Change-Id: I32afac9dccc1343a9664633d0a11d59c39fd9e69
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agoadded some documentation 49/6449/2
tierno [Fri, 31 Aug 2018 12:53:15 +0000 (14:53 +0200)]
added some documentation

Change-Id: I2fb86f25f3f672cf34fbdf0c6b06d9ed5261cf88
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agofix bug 534: allow group_id for kafka consumer 51/6451/1
tierno [Fri, 31 Aug 2018 13:50:59 +0000 (13:50 +0000)]
fix bug 534: allow group_id for kafka consumer

Change-Id: I451d271bfca48047d4441347a9aa1969f42c3330
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agoadding flake 8 test 92/6292/5
tierno [Tue, 22 May 2018 10:07:05 +0000 (12:07 +0200)]
adding flake 8 test

Change-Id: Ieeb1621aa615075ee16fe1b41a77a589b6e30784
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agoremoving pip as required package because it changes pip version on installation 31/6431/1
tierno [Thu, 23 Aug 2018 10:33:01 +0000 (10:33 +0000)]
removing pip as required package because it changes pip version on installation

Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agoChange default error code from 500 to 503 in case message is not ready 91/6291/1 v4.0 BUILD_v4.0.1_1 BUILD_v4.0.1_2
tierno [Wed, 20 Jun 2018 15:37:17 +0000 (17:37 +0200)]
Change default error code from 500 to 503 in case message is not ready

Change-Id: Idf80ca72948c8298ba0789d48b1aff941b626bb3
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agoAdding tests for unimplemented features 08/6108/2 v4.0.0 v4.0.1
Eduardo Sousa [Wed, 9 May 2018 18:42:00 +0000 (19:42 +0100)]
Adding tests for unimplemented features

Helps to detect when certain feature was implemented but a test
is not in place to verify it.

Change-Id: I7a98036c94117b867206dd8c4cc87fa8cfd1eafb
Signed-off-by: Eduardo Sousa <eduardosousa@av.it.pt>
5 years agoAdding tests for base classes 07/6107/2
Eduardo Sousa [Wed, 9 May 2018 18:20:37 +0000 (19:20 +0100)]
Adding tests for base classes

Change-Id: Ic5c482838d77e8dd16ea913a1caa35ed10a53739
Signed-off-by: Eduardo Sousa <eduardosousa@av.it.pt>
5 years agoFixing tests for MsgLocal 93/6093/2
Eduardo Sousa [Wed, 9 May 2018 12:57:22 +0000 (13:57 +0100)]
Fixing tests for MsgLocal

Change-Id: Idca5ac21540727412d257189de9f88d71618d7d5
Signed-off-by: Eduardo Sousa <eduardosousa@av.it.pt>
5 years agodatabase get filtering enhancement for arrays 39/6139/1
tierno [Mon, 14 May 2018 09:24:57 +0000 (11:24 +0200)]
database get filtering enhancement for arrays

Change-Id: Idcb24858c683fc140fbe4fdeb681c2532b4659c1
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agofixed double yaml safe at msgkafka write 23/6123/1
tierno [Thu, 10 May 2018 14:51:17 +0000 (16:51 +0200)]
fixed double yaml safe at msgkafka write

Change-Id: I4dcf13a1a4e14834dd7017647e5fe52301730555
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agoFixed pip3 dependency for package generation 95/6095/3
tierno [Wed, 9 May 2018 14:29:44 +0000 (16:29 +0200)]
Fixed pip3 dependency for package generation

Change-Id: Iab3c6b27b26fda5b6fe9aa5f3e36c77f5bcd3f74
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agoChange package.deb generation to include postinstall for aiokafka pip installation 74/6074/5 v3.1
tierno [Fri, 4 May 2018 13:11:26 +0000 (15:11 +0200)]
Change package.deb generation to include postinstall for aiokafka pip installation

Change-Id: I662b52c48cefcfd89ad67d4fe5f2f94e0e5899d4
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agoMinor fixes. Raise exception when method is not implemented 59/6059/2
tierno [Thu, 3 May 2018 15:49:37 +0000 (17:49 +0200)]
Minor fixes. Raise exception when method is not implemented

Change-Id: I0080263c36959f24311c474d7241108f8c24bd48
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agoAdding tests for MsgLocal 57/6057/1
Eduardo Sousa [Thu, 3 May 2018 14:47:41 +0000 (15:47 +0100)]
Adding tests for MsgLocal

Change-Id: Id9a2136593636bd07302bbb60b0fd8f1d327dae2
Signed-off-by: Eduardo Sousa <eduardosousa@av.it.pt>
5 years agoallow read and write for same client with local message 44/6044/2
tierno [Thu, 26 Apr 2018 15:22:09 +0000 (17:22 +0200)]
allow read and write for same client with local message

Change-Id: Iaf08e022bc2c0ce1e6cadca10a0499a66d7eaf5c
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agoFixing bug in DbMemory.del_list(), where if you passed a filter to delete the whole... 43/6043/1
Eduardo Sousa [Thu, 26 Apr 2018 14:55:05 +0000 (15:55 +0100)]
Fixing bug in DbMemory.del_list(), where if you passed a filter to delete the whole table it would give index out of bounds. Updated unit test to cover that case.

Change-Id: I1282bd637567ca651ffcd201edfc8ff9fd0950d7
Signed-off-by: Eduardo Sousa <eduardosousa@av.it.pt>
5 years agoFixing typo in dbmemory.py in return messafe for replace() 42/6042/1
Eduardo Sousa [Thu, 26 Apr 2018 14:43:28 +0000 (15:43 +0100)]
Fixing typo in dbmemory.py in return messafe for replace()

Change-Id: I66fc88386230cc6d53195e1d9f8be9f4cc3e2c85
Signed-off-by: Eduardo Sousa <eduardosousa@av.it.pt>
5 years agoAdding support for pytest 40/6040/2
Eduardo Sousa [Thu, 26 Apr 2018 12:08:05 +0000 (13:08 +0100)]
Adding support for pytest

Change-Id: I8a91a705bdf4d410277822ea9b8d7f95067032b6
Signed-off-by: Eduardo Sousa <eduardosousa@av.it.pt>
5 years agoIntroducing unit tests for DbMemory 38/6038/2
Eduardo Sousa [Wed, 25 Apr 2018 23:36:45 +0000 (00:36 +0100)]
Introducing unit tests for DbMemory

Change-Id: I103db30b019df814d48accc60c1ebe378e353d78
Signed-off-by: Eduardo Sousa <eduardosousa@av.it.pt>
5 years agoIntroducing unit tests for FsLocal 30/6030/2
Eduardo Sousa [Wed, 25 Apr 2018 16:55:17 +0000 (17:55 +0100)]
Introducing unit tests for FsLocal

Change-Id: I94c91e229d6e45cd527cea6d91aec8b004382090
Signed-off-by: Eduardo Sousa <eduardosousa@av.it.pt>
5 years agoAdd python3-all 33/6033/1
Mike Marchetti [Wed, 25 Apr 2018 19:03:33 +0000 (15:03 -0400)]
Add python3-all

Signed-off-by: Mike Marchetti <mmarchetti@sandvine.com>
5 years agoAdd Dockerfile for pipeline 32/6032/1
Mike Marchetti [Wed, 25 Apr 2018 18:57:09 +0000 (14:57 -0400)]
Add Dockerfile for pipeline

Signed-off-by: Mike Marchetti <mmarchetti@sandvine.com>
5 years agoAdd Jenkinsfile for pipeline 31/6031/1
Mike Marchetti [Wed, 25 Apr 2018 18:54:42 +0000 (14:54 -0400)]
Add Jenkinsfile for pipeline

Signed-off-by: Mike Marchetti <mmarchetti@sandvine.com>
5 years agofixing imports to get ready for module distribution. 27/6027/1
tierno [Wed, 25 Apr 2018 14:59:53 +0000 (16:59 +0200)]
fixing imports to get ready for module distribution.
fixing errors detected with flake8

Change-Id: Ib99df43fd5f86ccbb3e35111972a2075e7a956dd
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
6 years agoinitial commit 11/6011/3
tierno [Thu, 19 Apr 2018 14:01:59 +0000 (16:01 +0200)]
initial commit

Change-Id: Ia40148fdc2cabbbacb0b67aaed8442ed0ecf0bc2
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
6 years agoInitial empty repository
almagia [Thu, 19 Apr 2018 13:53:26 +0000 (15:53 +0200)]
Initial empty repository