Update from master 43/13443/5
authorDario Faccin <dario.faccin@canonical.com>
Wed, 24 May 2023 10:48:37 +0000 (12:48 +0200)
committerDario Faccin <dario.faccin@canonical.com>
Wed, 24 May 2023 16:20:47 +0000 (18:20 +0200)
commit37e0914881759a514424ad5c0cc9278b9ced27a2
tree999a69bcd2e5dae69293d5dcea068063dec8ca59
parent4407a0e03c999f5729874d48fe6dd6013e4e5812
Update from master

Squashed commit of the following:

commit b5015160aca7f04f2b0fb35c87281c0ab480f429
Author: Pedro Escaleira <escaleira@av.it.pt>
Date:   Wed May 17 00:13:05 2023 +0100

    Bug 2246 fixed

    Change-Id: Ic35d131d4e44686de207b0a6acc3360e04306cb2
Signed-off-by: Pedro Escaleira <escaleira@av.it.pt>
commit 01df3ee231471330760e03b013382464e773eee2
Author: Gulsum Atici <gulsum.atici@canonical.com>
Date:   Thu May 11 11:07:54 2023 +0300

    Fix AttributeError caused by updated pymongo version

    AttributeError: 'Cursor' object has no attribute 'count' is fixed.

    Change-Id: Id1b9133376d5a7dcb3998c623163bb57dd5c534b
Signed-off-by: Gulsum Atici <gulsum.atici@canonical.com>
commit 8f3ab9a82608ffe74e6fd5d0c532822412dbc88a
Author: k4.rahul <rahul.k4@tataelxsi.co.in>
Date:   Fri May 5 14:18:47 2023 +0530

    Coverity-CWE 22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

    Coverity fix for 137960 Filesystem path, filename, or URI manipulation

    Change-Id: I0691a9f231d6b7019fe413c261f50262ea7fb923
Signed-off-by: k4.rahul <rahul.k4@tataelxsi.co.in>
commit bc94e3403ebab364fff7603c1a353c793b52966e
Author: k4.rahul <rahul.k4@tataelxsi.co.in>
Date:   Fri May 5 15:52:47 2023 +0530

    Coverity-CWE 260: Password in Configuration File

    Hardcoded credentials in​ configuration file​
    remove from the cloud-config.txt file as it is not being used anywhere in the test case

    Change-Id: I101e4b9b6f48fa6d34822bc6f400552329f9aa18
Signed-off-by: k4.rahul <rahul.k4@tataelxsi.co.in>
commit db28d4290a34ed1a7ac7a2ca10cab7eb34a55fd1
Author: garciadeblas <gerardo.garciadeblas@telefonica.com>
Date:   Wed May 10 16:26:55 2023 +0200

    Minor updates in Dockerfile

    Change-Id: Ia12406fef38b13c56ebec3be5bee53cd00441181
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
commit 0edc5108ac7e584cac210ed6bae8b8ef09511388
Author: garciadeblas <gerardo.garciadeblas@telefonica.com>
Date:   Tue Apr 18 15:07:15 2023 +0200

    Clean stage-archive.sh and use allowlist_extenals in tox.ini

    Change-Id: I511cd5009563589f54899f667d779239745f2778
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
commit a06b854f2b278aaee015fc1f76015895f8cf50c1
Author: Gulsum Atici <gulsum.atici@canonical.com>
Date:   Tue May 9 13:42:13 2023 +0300

    Ubuntu 22.04 and Python 3.10 preparation

    Change-Id: I740202d48977467a0c2b2afb4b17bd7597331dee
Signed-off-by: Gulsum Atici <gulsum.atici@canonical.com>
commit b2d732a70efa33e4bc478d351d64bc4adb4ea332
Author: k4.rahul <rahul.k4@tataelxsi.co.in>
Date:   Thu Apr 27 16:20:47 2023 +0530

    Coverity-CWE 476: NULL Pointer Dereference (137978 Bad use of null-like value)

    Coverity fix for Bad use of null-like value

    Change-Id: I7437c2b2aeeff25619b5405bcd7c962f3fbd70bb
Signed-off-by: k4.rahul <rahul.k4@tataelxsi.co.in>
commit 09496abf441b0f3730f0288df161da1ca004be69
Author: Gabriel Cuba <gcuba@whitestack.com>
Date:   Tue Apr 4 01:57:17 2023 -0500

    Fix bug 2231: reverse_sync in fsmongo obtains file timestamp with UTC timezone instead of local timezone, so
    that filesystem and mongodb timestamps are correctly compared

    Change-Id: I0056026704a624329aae1ae52a45143d12f6dfdd
Signed-off-by: Gabriel Cuba <gcuba@whitestack.com>
commit 76394efe9fbee088dddd1dc9d4da6f043c3959a5
Author: Gulsum Atici <gulsum.atici@canonical.com>
Date:   Mon Jan 9 23:19:18 2023 +0300

    Feature 10950 Replace pycrypto with pycryptodome

    Remove the pycrypto library and change encrypt and decrypt methods to work with pycryptodome.
    Move encryption methods from N2VC to common.

    Change-Id: I12a5f6138664ab6ebb7100c82523e91750f05f14
Signed-off-by: Gulsum Atici <gulsum.atici@canonical.com>
Change-Id: Iccf3fcafe14305099fcceef65efd6e3c57cf6d2f
Signed-off-by: Dario Faccin <dario.faccin@canonical.com>
26 files changed:
Dockerfile
devops-stages/stage-archive.sh
osm_common/dbbase.py
osm_common/dbmemory.py
osm_common/dbmongo.py
osm_common/fsmongo.py
osm_common/msgbase.py
osm_common/msgkafka.py
osm_common/msglocal.py
osm_common/tests/packages/invalid_package_vnf/Scripts/cloud_init/cloud-config.txt
osm_common/tests/packages/native_charm_with_metadata_dir_vnf/Scripts/cloud_init/cloud-config.txt
osm_common/tests/packages/native_charm_without_metadata_dir_vnf/Scripts/cloud_init/cloud-config.txt
osm_common/tests/test_dbbase.py
osm_common/tests/test_msgbase.py
osm_common/tests/test_msglocal.py
releasenotes/notes/Fix_bug_2231-3b2a0cf186a460ce.yaml [new file with mode: 0644]
releasenotes/notes/cwe_476-c132043815560a45.yaml [new file with mode: 0644]
releasenotes/notes/fix_bug_2246-458a6a2380c018b9.yaml [new file with mode: 0644]
releasenotes/notes/fix_count_attribute_error-067438fb5fc5ef76.yaml [new file with mode: 0644]
releasenotes/notes/fix_cwe22-c2677929fb74c79d.yaml [new file with mode: 0644]
releasenotes/notes/fix_cwe_260-badcbfc255dd5e34.yaml [new file with mode: 0644]
releasenotes/notes/rel14_preparation-ab2d5ede6a5bf28b.yaml [new file with mode: 0644]
requirements-test.txt
requirements.in
requirements.txt
tox.ini