osm/common.git
2 years agoAdding GitLab Scanner 63/10663/1 ng-ro-refactor sol006v331 branch-ng-ro-refactor-start branch-sol006v331-start
beierlm [Mon, 19 Apr 2021 19:15:31 +0000 (15:15 -0400)]
Adding GitLab Scanner

Adds gitlab-ci yaml file to enable security scans in GitLab mirror

Change-Id: I1771c5fcd9d9fb77baaddd7b425054f5e5347dc6
Signed-off-by: beierlm <mark.beierl@canonical.com>
3 years agoFeature 10296 Pip Standardization 97/10297/13
beierlm [Thu, 11 Feb 2021 19:57:14 +0000 (14:57 -0500)]
Feature 10296 Pip Standardization

Creates standard template for tox.ini
Introduces 'safety' for listing upstream CVEs
Pins all versions of all upstream modules
Removes Makefile step and places all build logic into tox.ini

Change-Id: I31129ce9de342595f7ad24603107697ddab831c4
Feature: 10296
Signed-off-by: beierlm <mark.beierl@canonical.com>
3 years agofeat(dbmongo): upsert option for set_one 98/10198/3
bravof [Fri, 15 Jan 2021 14:54:45 +0000 (11:54 -0300)]
feat(dbmongo): upsert option for set_one

Change-Id: I3dd38738e7ef8c1b70df7742d08eb8f8d52529e1
Signed-off-by: bravof <fbravo@whitestack.com>
3 years agoAdds SOL004 package validator with package examples and tests 81/10181/6
garciaale [Fri, 15 Jan 2021 16:04:05 +0000 (13:04 -0300)]
Adds SOL004 package validator with package examples and tests

Change-Id: I173700241415c3cc131c99d221a193e8b60e3ded
Signed-off-by: garciaale <agarcia@whitestack.com>
3 years agoSupport for mongodb replicaset connection (HA). 60/9760/3 bug1511 branch-bug1511-start release-v9.0-start v9.0.0 v9.0.0rc1 v9.1.0 v9.1.1 v9.1.1rc1
Vijay Nag B S [Tue, 29 Sep 2020 11:53:57 +0000 (17:23 +0530)]
Support for mongodb replicaset connection (HA).

Change-Id: I36d582f177d36b93b9913dd781c50ac34b2bbb60
Signed-off-by: Vijay Nag B S <vijaynag.bs@tataelxsi.co.in>
3 years ago Fixes Bug 1273 - aiokafka>0.7.0 needs extra dependency for python < 3.7.0 24/9924/4
fonsecaj [Thu, 29 Oct 2020 15:20:09 +0000 (15:20 +0000)]
 Fixes Bug 1273 - aiokafka>0.7.0 needs extra dependency for python < 3.7.0

Change-Id: I7f698e2c7ed2c7ab34baa0fa651ea3d50c572151
Signed-off-by: fonsecaj <jpedrofonseca@av.it.pt>
3 years agoAdded reverse sync 71/9671/9
lloretgalleg [Wed, 2 Sep 2020 09:36:24 +0000 (09:36 +0000)]
Added reverse sync

Change-Id: Ied5dc10b4b92d900ba8a3f5f88ff64ba68c0804c
Signed-off-by: lloretgalleg <illoret@indra.es>
3 years agofix 1131 Allow to get old kafka messages 49/9449/1
tierno [Thu, 16 Jul 2020 11:22:12 +0000 (11:22 +0000)]
fix 1131 Allow to get old kafka messages

Change-Id: I49c43fd3b2049d32adc7be7a29be0d921624bc88
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
3 years agoRemove symlink if exists 71/9371/1
beierlm [Wed, 8 Jul 2020 20:32:50 +0000 (16:32 -0400)]
Remove symlink if exists

On sync, if the symlink already exists, an exception would
be thrown.  This change removes the file if it already
exists.

Bug 1132

Change-Id: I151a96adcac5d7cd51b84c2770f498a78d7d68be
Signed-off-by: beierlm <mark.beierl@canonical.com>
(cherry picked from commit 6d72d5cfb6f75c62402d493fdc2d81797cd48081)

3 years agoAdded coverage tests in tox 05/9305/2
garciadeblas [Fri, 3 Jul 2020 10:59:34 +0000 (10:59 +0000)]
Added coverage tests in tox

Change-Id: I6a74f5e4b91001f83666709a009d49d8ac8c1aa9
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
3 years agoDockerfile updated to work on ubuntu18.04 06/9306/1
garciadeblas [Fri, 3 Jul 2020 11:06:47 +0000 (11:06 +0000)]
Dockerfile updated to work on ubuntu18.04

Change-Id: I45c9e84e75afccedd16da3e6339dd00ae028288e
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
3 years agoallow partial sync for fsmongo 75/8875/4
tierno [Wed, 6 May 2020 14:22:48 +0000 (14:22 +0000)]
allow partial sync for fsmongo

Change-Id: I8c1d729bcff5a0fa2c58b25d57c5434ac0528668
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
3 years agoFix bug 1112: Save content of symlinks with FSMongo 05/9205/15
David Garcia [Fri, 26 Jun 2020 15:04:37 +0000 (17:04 +0200)]
Fix bug 1112: Save content of symlinks with FSMongo

- Store data for symlinks with GridFS
- Add unit tests: This includes an Example of a tar with a folder, a file, a symlink to folder and a symlink to file

Change-Id: I3ac9cb1a3bc2dc39b58e61658a96c7f97f59c2a5
Signed-off-by: David Garcia <david.garcia@canonical.com>
3 years agodatabase set_one/set_list. Adding pull_list parameter 34/9134/1 release-v8.0-start v8.0.0rc1
tierno [Mon, 22 Jun 2020 12:18:18 +0000 (12:18 +0000)]
database set_one/set_list. Adding pull_list parameter

Change-Id: I5cd5ba66457845d4c31235e4fc04e900a178e268
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
3 years agoallow dabase update with pushlist 97/8897/2
tierno [Tue, 12 May 2020 07:36:41 +0000 (07:36 +0000)]
allow dabase update with pushlist

It can push several items at same time

Change-Id: I5ffbcb0c112a0c539862901ec5659ffca768316d
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
3 years agoFix bug 1069: Add default value for fsmongo.GridByteStream.file_type 03/9103/1
David Garcia [Wed, 20 May 2020 10:09:37 +0000 (12:09 +0200)]
Fix bug 1069: Add default value for fsmongo.GridByteStream.file_type

Change-Id: Icf2b6c76a77526f118facd2053bd8dac33730415
Signed-off-by: David Garcia <david.garcia@canonical.com>
3 years agominor modifications at encrypt_decrypt_fields 02/9102/1
tierno [Tue, 12 May 2020 11:17:54 +0000 (11:17 +0000)]
minor modifications at encrypt_decrypt_fields

Change-Id: I9f1de6249f72fc19665881c3f040fd612c7fe754
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
3 years agoadding create_list to dbmongo 34/8834/4
tierno [Wed, 29 Apr 2020 10:24:28 +0000 (10:24 +0000)]
adding create_list to dbmongo

Change-Id: I72cd3035752d0d053586e966d6f1a5611f60fc09
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agofix at dbmemory set_list 33/8733/1
tierno [Mon, 30 Mar 2020 08:56:15 +0000 (08:56 +0000)]
fix at dbmemory set_list

Change-Id: Ia3bff987378f5fdaac05b56701fb6326a6cb1105
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agofix found items at dbmemory.set_list 83/8683/1
tierno [Wed, 18 Mar 2020 07:31:54 +0000 (07:31 +0000)]
fix found items at dbmemory.set_list

Change-Id: I9c6c61cf79ca79bf0833e3aa3846c1d9d5ab3c8d
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agoMinor fix at dbmemory db_set 75/8675/2
tierno [Thu, 12 Mar 2020 09:54:35 +0000 (09:54 +0000)]
Minor fix at dbmemory db_set

Change-Id: I6026eb35c4eb34670e2231c185a4ffd1aa33ac0a
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agoFixing bug 1032 76/8676/1
sousaedu [Thu, 12 Mar 2020 11:12:25 +0000 (11:12 +0000)]
Fixing bug 1032

This bugfix introduces the notion of symlink handling in the
FSMongo plugin. The change focus mainly in setting properly
the flags for a symlink file and store that metadata in an
adequate format in MongoDB.

Change-Id: I04ea122d3feed08762c38fa2557113ff2de35e3b
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
4 years agoadding dbmemory set_list and tests 13/8613/2
tierno [Mon, 17 Feb 2020 12:01:38 +0000 (12:01 +0000)]
adding dbmemory set_list and tests

Change-Id: Iaf9465fb0bae5e12f19a2810b454209ef39614c3
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agofix fslocal file_exists 12/8612/1
tierno [Wed, 12 Feb 2020 10:46:51 +0000 (10:46 +0000)]
fix fslocal file_exists

Change-Id: I871a4912741a0542f3b70d1fdb0d6ca118aa0da3
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agoAdd unset/push/pull features to set_list 79/8579/1
delacruzramo [Tue, 11 Feb 2020 11:14:07 +0000 (11:14 +0000)]
Add unset/push/pull features to set_list

Change-Id: I2889a1fcafa3011141b4fb4480a586671d4e13ce
Signed-off-by: delacruzramo <pedro.delacruzramos@altran.com>
4 years agominor spelling changes 06/8506/1
tierno [Tue, 21 Jan 2020 10:11:34 +0000 (10:11 +0000)]
minor spelling changes

Change-Id: I173d9a04049d88b2a9f5c87b6dc82ef057482fe4
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agoAdd sync function to FSBase, and implementations to fslocal and fsmongo 04/8504/1 v7.0.1 v7.0.1rc2 v7.0.1rc3
David Garcia [Mon, 20 Jan 2020 12:21:06 +0000 (13:21 +0100)]
Add sync function to FSBase, and implementations to fslocal and fsmongo

The reason behind this change is that FSMongo needs to sync the charm to the local storage in order for libjuju to reach it.

Change-Id: Ic5838fd4ab64dd2c3e2cf78c439f33363885dd14
Signed-off-by: David Garcia <david.garcia@canonical.com>
4 years agoGet version from installed package if available 33/8433/1 v7.0.1rc1
tierno [Fri, 20 Dec 2019 14:07:07 +0000 (14:07 +0000)]
Get version from installed package if available

Change-Id: I28ba441351a62f249c5af190ffb9efdd109ccef2
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agoFix 976. Get serial key after database is inited 80/8380/3
tierno [Wed, 11 Dec 2019 12:32:41 +0000 (12:32 +0000)]
Fix 976. Get serial key after database is inited

Change-Id: Ic6692c5eabdb3ff7d8b1a7fc6501321dc69ea43a
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agoFix Bug 914: Updating VNFD the first time shows ProducerClosed error 66/8366/1 sol006 v7.0.0
delacruzramo [Tue, 10 Dec 2019 11:06:01 +0000 (12:06 +0100)]
Fix Bug 914: Updating VNFD the first time shows ProducerClosed error

Change-Id: I02f9ad72bbc4256954030b4d338af242d1f81b81
Signed-off-by: delacruzramo <pedro.delacruzramos@altran.com>
4 years agoRemoving pip version and upgrading pyyaml from 3.* to 5.1.2 00/8300/2 v7.0.0rc1
Felipe Vicens [Tue, 3 Dec 2019 11:41:09 +0000 (12:41 +0100)]
Removing pip version and upgrading pyyaml from 3.* to 5.1.2

Change-Id: I5fde569cd8da1d55b4f16b610f0071ce288515a7
Signed-off-by: Felipe Vicens <felipe.vicens@atos.net>
4 years agoAdding FsMongo 03/7603/41
Eduardo Sousa [Tue, 4 Jun 2019 11:55:43 +0000 (12:55 +0100)]
Adding FsMongo

Change-Id: I2380bf7c916533199d686c7448c474ca64635077
Signed-off-by: Eduardo Sousa <eduardo.sousa@canonical.com>
4 years agoAdded method dir_ls to class FsBase 95/8195/1
delacruzramo [Tue, 19 Nov 2019 14:10:49 +0000 (15:10 +0100)]
Added method dir_ls to class FsBase

Change-Id: I0125ecd8ea5e714efdfe6b7b4de1dbb13f9ee2eb
Signed-off-by: delacruzramo <pedro.delacruzramos@altran.com>
4 years agoUtility function for recursive password encryption/decription 93/8093/3
delacruzramo [Fri, 25 Oct 2019 14:50:13 +0000 (16:50 +0200)]
Utility function for recursive password encryption/decription

Change-Id: I3cb00ad4f7d2bf78fd25911c650a1a723e593d37
Signed-off-by: delacruzramo <pedro.delacruzramos@altran.com>
4 years agofix in dbmemory query using '.cont' and '.ncont' 65/7965/2 feature5837 feature7928
tierno [Thu, 19 Sep 2019 09:23:44 +0000 (09:23 +0000)]
fix in dbmemory query using '.cont' and '.ncont'

Change-Id: I12404db1eec2bb68f72fde6dadf884ac949bf30d
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agoAdd 'count' to DB utilities 59/7959/3
delacruzramo [Tue, 17 Sep 2019 14:05:17 +0000 (16:05 +0200)]
Add 'count' to DB utilities

Change-Id: I1a137ceeea21c70cf9358a7bc812ca4e2fe5a240
Signed-off-by: delacruzramo <pedro.delacruzramos@altran.com>
4 years agoimprovements in dbmemory. Change yaml.load to save_load 00/7900/4
tierno [Mon, 2 Sep 2019 16:04:16 +0000 (16:04 +0000)]
improvements in dbmemory. Change yaml.load to save_load

Change-Id: I577efa64a8c1503a084cb21b49ec7e3665b7b56f
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agochange version to be aligned with OSM 69/7869/1 v6.0 v6.0.2 v6.0.2rc1 v6.0.3 v6.0.4 v6.0.4rc1
tierno [Wed, 28 Aug 2019 16:08:25 +0000 (16:08 +0000)]
change version to be aligned with OSM

Change-Id: I2753ce279c572c8f06e97083fd4e96a30ef3733f
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agoallow set/unset group_id at kafka message consumer 89/7189/3 feature7106 v6.0.0 v6.0.1
tierno [Mon, 18 Feb 2019 14:53:54 +0000 (14:53 +0000)]
allow set/unset group_id at kafka message consumer

Change-Id: I138cb29b012536473f6aea21975b06013e84e043
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agoCapture UnicodeDecodeError if decrypting with wrong key 32/7232/1
tierno [Wed, 30 Jan 2019 09:48:38 +0000 (09:48 +0000)]
Capture UnicodeDecodeError if decrypting with wrong key

Change-Id: If4904c0eeac396eee7082d19784e440991131297
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agoAdding license header to test files 99/7199/1
Eduardo Sousa [Tue, 5 Feb 2019 15:57:09 +0000 (15:57 +0000)]
Adding license header to test files

Change-Id: I2cac9cf82f871fa20a81835157f761f90c263625
Signed-off-by: Eduardo Sousa <esousa@whitestack.com>
5 years agomsgkafka, provide loop on config 29/7129/1
tierno [Mon, 28 Jan 2019 16:20:18 +0000 (16:20 +0000)]
msgkafka, provide loop on config

Change-Id: I974ce861c6ff88e61594c9983faff5459ac5708a
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agominor updates at fslocal to capture exceptions 28/7128/1
tierno [Fri, 25 Jan 2019 08:56:17 +0000 (08:56 +0000)]
minor updates at fslocal to capture exceptions

Change-Id: Ia0fb85f23329efe6b1ef373368f4c6af81850b8d
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agobug 605. New method at fslocal for rename folders 35/7035/3
tierno [Tue, 4 Dec 2018 15:37:23 +0000 (15:37 +0000)]
bug 605. New method at fslocal for rename folders

Change-Id: Ic0acd82873a3790f228641ba676d2da9235059f1
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agoAdding more parameters to db_set for array edition 72/6972/1 v5.0.0 v5.0.1 v5.0.2
tierno [Tue, 27 Nov 2018 11:03:36 +0000 (12:03 +0100)]
Adding more parameters to db_set for array edition

Change-Id: Ic57f8a8b9780cc1becd206b227f7bed10ad30f4a
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agourl to uri 94/6894/1
Juan [Fri, 16 Nov 2018 13:47:46 +0000 (10:47 -0300)]
url to uri

Change-Id: I02e971a223c24abda93574147586964463c68674
Signed-off-by: Juan <jquiroga@whitestack.com>
5 years agoAdded support for mongodb High availability, changed cfg from host, port to url 79/6879/3
Juan [Mon, 12 Nov 2018 19:17:08 +0000 (16:17 -0300)]
Added support for mongodb High availability, changed cfg from host, port to url

Change-Id: I8a5d2174927120e2706eaba5bdee38f60d4a4a9d
Signed-off-by: Juan <jquiroga@whitestack.com>
5 years agoBug 559, changes to make optional intenal database key 66/6866/3
tierno [Mon, 12 Nov 2018 10:51:49 +0000 (11:51 +0100)]
Bug 559, changes to make optional intenal database key

Change-Id: I883bb3f874a917d5632b8aa9e937e08d2d7b5507
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agoMake common methods threading safe. pytest enhancements 48/6848/2
tierno [Mon, 5 Nov 2018 17:18:45 +0000 (18:18 +0100)]
Make common methods threading safe. pytest enhancements

Change-Id: Iaacf38c9bb9c31fc521cbde48acd0d6a9cb9a56d
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agoinstalling pycrypto with pip post-install script 42/6842/1
tierno [Fri, 2 Nov 2018 17:21:46 +0000 (18:21 +0100)]
installing pycrypto with pip post-install script

Change-Id: I54218e779ae2860c4da63ea182905be5c839a707
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agoadding python3-crypto dependency at stdeb 36/6836/1
tierno [Thu, 1 Nov 2018 16:41:18 +0000 (17:41 +0100)]
adding python3-crypto dependency at  stdeb

Change-Id: I87e19eecae78e3b412adbd53d8014b2f9d7a81ab
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agoAdded pycrypto dependency. Adding callback to msglocal aioread method 46/6746/1
tierno [Wed, 24 Oct 2018 08:53:37 +0000 (10:53 +0200)]
Added pycrypto dependency. Adding callback to msglocal aioread method

Change-Id: Ib651d2b1d9cfcb95914892bcac2aca55dd55c367
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agobug559 some modifications 36/6736/3
tierno [Tue, 23 Oct 2018 09:41:49 +0000 (11:41 +0200)]
bug559 some modifications

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