aboutsummaryrefslogtreecommitdiffstats
path: root/setup.py
AgeCommit message (Collapse)AuthorFilesLines
2021-10-15Remove unused codeSatoshi Fujii1-1/+1
config_notif.py is not referenced from main code and not used at all. Also tests/HB_Array.json is not used by any test. Signed-off-by: Satoshi Fujii <fujii-satoshi@jp.fujitsu.com> Issue-ID: DCAEGEN2-2939 Change-Id: I6d462a406e2d36d0243f4a72b7faac2f79e353d9
2021-07-21Switch to 2.2.1 CBS client lib2.3.1vv770d1-2/+2
Change-Id: Id4569bf141dc7c48e15eed5d624042e498dde4ea Signed-off-by: vv770d <vv770d@att.com> Issue-ID: DCAEGEN2-2852 Signed-off-by: vv770d <vv770d@att.com>
2021-06-19Fix SQL security issueSatoshi Fujii1-1/+1
Constructing SQL statement by python % formatting operator is dangerous. Use psycopg2 placeholder to escape special characters. Signed-off-by: Satoshi Fujii <fujii-satoshi@jp.fujitsu.com> Issue-ID: DCAEGEN2-2836 Change-Id: I5ac804bc3e280c3eae14a5e224ca5fc7c7faccb7
2021-06-18Remove unused imports and bump version to 2.3.0Satoshi Fujii1-1/+1
Remove unused import statements from script. Bumped up version to 2.3.0. Signed-off-by: Satoshi Fujii <fujii-satoshi@jp.fujitsu.com> Issue-ID: DCAEGEN2-2833 Change-Id: I015e89f1b56ca12483e432bf67123f33140d722c
2021-05-11Change python baseOS img to integration-python2.2.0Alexander Mazuruk1-10/+10
Moved setting PYTHONPATH and PATH to Dockerfile as thats where python version is defined (baseOS image) Switched hardcoded python3.8 to python3. psycopg is recommended to be built from source for production use, yet CI environment does not have the dependencies to build it. To circumvent that, requirements were split into: - requirements-common.txt that should be included for each environment - requirements-docker.txt that force building of psycopg in docker - requirements.txt that use psycopg-binary for ci purposes Benefits from switching over: * minimal {java11,python} images maintained by integration team * using currently "blessed by seccom" versions (:latest tag used) * should limit spread of legal issues across layers * integration images will be the first to have automated compliance documentation * should limit spread of base layers (contributing to deployment footprint - more base layers = more to download, more to store etc...) Issue-ID: INT-1864 Issue-ID: DCAEGEN2-2420 Signed-off-by: Alexander Mazuruk <a.mazuruk@samsung.com> Change-Id: I77be2fd9dd53613a1a6ad26f8f0b506073f1cca6
2021-04-09Dependencies update: PyYAML to 5.4Alexander Mazuruk1-1/+1
PyYAML changelog: https://github.com/yaml/pyyaml/blob/master/CHANGES Additionally resolved deprecation warnings from PyYAML. Issue-ID: DCAEGEN2-2720 Signed-off-by: Alexander Mazuruk <a.mazuruk@samsung.com> Change-Id: Ifb06a8a32417e7b4d8fad2b509bc76cbcbc20c55
2021-04-09Dependencies update: requests, pyOpenSSL, six, psycopg2Alexander Mazuruk1-4/+4
Changelogs of updated packages: https://github.com/psf/requests/blob/master/HISTORY.md https://github.com/pyca/pyopenssl/blob/main/CHANGELOG.rst https://github.com/benjaminp/six/blob/master/CHANGES https://github.com/psycopg/psycopg2/blob/master/NEWS Issue-ID: DCAEGEN2-2720 Signed-off-by: Alexander Mazuruk <a.mazuruk@samsung.com> Change-Id: I900740df0890b8d04c700fa9dd56041099869eae
2021-04-09Dependencies update: Wheel, PyYAML, httplib2, HTTPrettyAlexander Mazuruk1-4/+5
Changelogs of updated pkgs: https://wheel.readthedocs.io/en/stable/news.html https://github.com/yaml/pyyaml/blob/master/CHANGES https://github.com/httplib2/httplib2/blob/master/CHANGELOG https://httpretty.readthedocs.io/en/latest/changelog.html Additionally resolved some warnings reported by tox: - remove unused func from tests that used deprecated python lib. - change collections import to collections.abc Issue-ID: DCAEGEN2-2720 Signed-off-by: Alexander Mazuruk <a.mazuruk@samsung.com> Change-Id: I1dadbe9e6e410bdec1a06ea7c69e49576551218b
2020-07-31Run in Python 3.8Michal Jagiello1-3/+3
Use image recommended by SECCOM Issue-ID: DCAEGEN2-2292 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: I8d77f150c9fe314bf26bac2c9fac7ebc9782c9d8
2020-01-31increase code coverageHansen, Tony (th1395)1-12/+10
Change-Id: I30632d2e34401f8eff6e67b9b3d8abba32e80050 Signed-off-by: Hansen, Tony (th1395) <th1395@att.com> Issue-ID: DCAEGEN2-1902 Signed-off-by: Hansen, Tony (th1395) <th1395@att.com>
2019-01-28Heartbeat Microservice SupportPrakashH1-3/+3
Heartbeat service monitors missing HB notification Issue-ID: DCAEGEN2-267 Change-Id: I0fd191b2a3495202e22f633ada4a1350a97557ad Signed-off-by: PrakashH <pbhandar@techmahindra.com>
2018-12-12Heartbeat Microservice SupportSrikanthNaidu1-3/+3
Heartbeat service monitors missing HB notification Issue-ID: DCAEGEN2-267 Change-Id: I21f36056e9509a167bff476231a6bbd661aca1b9 Signed-off-by: SrikanthNaidu <sn8492@att.com>
2018-07-29fix verify build error on modulevagrant1-3/+3
Change-Id: Id11e90e22dc2beda7e251b464ae9c5965223b8df Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com> Issue-ID: DCAEGEN2-650
2018-05-22Miss HB CBS integrationGokul Singaraju1-1/+17
Issue-ID: DCAEGEN2-279 Change-Id: I3f78e0870d4c620a304fb8d218f1d30187b4fbef Signed-off-by: Gokul Singaraju <gs244f@att.com>
2018-04-18Fix setup for pip 10.0.0Lusheng Ji1-2/+10
Issue-ID: DCAEGEN2-452 Change-Id: I22c2f3234408a588ebf664d53eae4737474cd800 Signed-off-by: Lusheng Ji <lji@research.att.com>
2018-03-05Missing heartbeat microserviceJessica Wagantall1-0/+35
Issue-ID: DCAEGEN2-275 Change-Id: I2a2def9aef7664b58c6c3b74318343699fbf6c22 Signed-Off-by: Gokul Singaraju <gs244f@att.com>