aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2021-10-15Remove unused codeSatoshi Fujii10-769/+11
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-09-15[DCAE] INFO.yaml updateistanbulvv770d1-0/+8
DCAE committer updates (Sept2021) Change-Id: I9bd82499e3b4525a36cad134fe4d274ec16d2fee Issue-ID: DCAEGEN2-2900 Issue-ID: DCAEGEN2-2914 Signed-off-by: vv770d <vv770d@att.com>
2021-07-26Release heartbeat 2.3.1 containervv770d1-0/+8
- Switch to CBS client lib 2.2.1 - Dockerfile update to remove volume mapping - OJSI SQL security vulnerability fix - Misc code cleanup Change-Id: I0d9987189f1b7ab62f8e64e3f7930189f9776a73 Signed-off-by: vv770d <vv770d@att.com> Issue-ID: DCAEGEN2-2852 Issue-ID: DCAEGEN2-2864 Issue-ID: DCAEGEN2-2834 Issue-ID: DCAEGEN2-2836
2021-07-21Switch to 2.2.1 CBS client lib2.3.1vv770d5-8/+10
Change-Id: Id4569bf141dc7c48e15eed5d624042e498dde4ea Signed-off-by: vv770d <vv770d@att.com> Issue-ID: DCAEGEN2-2852 Signed-off-by: vv770d <vv770d@att.com>
2021-07-19Fix Heartbeat deployment error on newer k8svv770d2-1/+1
Removed obsolete volume mapping which is causing deployment error on later/newer version of containerd install Change-Id: Ifde48ff3ea86417938efa9507ffb58dde02a57ac Signed-off-by: vv770d <vv770d@att.com> Issue-ID: DCAEGEN2-2864
2021-07-01Use yyyy/mm/dd format in ChangelogSatoshi Fujii1-4/+5
Current date format is ambiguous (mm/dd/yyyy or dd/mm/yyyy), so let's change to use yyyy/mm/dd in Changelog. Signed-off-by: Satoshi Fujii <fujii-satoshi@jp.fujitsu.com> Issue-ID: DCAEGEN2-2850 Change-Id: Id005e22567fc5fa09f1fa8f5b455b1645651e254
2021-07-01Fix pytest failure if http_proxy is setSatoshi Fujii2-1/+14
Test "tests.test_binding.test_resolve_all" (in test_binding.py) fails if proxy environment variable http_proxy is set. httpretty mock is ignored and an actual request is sent to non-existing address. By this change proxy variable is unset during the test. Signed-off-by: Satoshi Fujii <fujii-satoshi@jp.fujitsu.com> Issue-ID: DCAEGEN2-2834 Change-Id: Ie0d4bc41f6f83d7cfdd3abaa3266ff8ac5a91c2e
2021-06-30Remove extraneous parenthesesSatoshi Fujii7-103/+105
Removed unnecessary parentheses from code. Signed-off-by: Satoshi Fujii <fujii-satoshi@jp.fujitsu.com> Issue-ID: DCAEGEN2-2837 Change-Id: I9a5f43a4bd894f44d0fc27c0841535faa79a39ac
2021-06-19Fix SQL security issueSatoshi Fujii8-74/+94
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 codeSatoshi Fujii16-119/+1
Just remove unused code Signed-off-by: Satoshi Fujii <fujii-satoshi@jp.fujitsu.com> Issue-ID: DCAEGEN2-2833 Change-Id: If81a5fcb918a2683e261807d6a3da5a8648e505d
2021-06-18Reformat codeSatoshi Fujii8-467/+517
Use 4 spaces for indentation and put spaces for better readability. Signed-off-by: Satoshi Fujii <fujii-satoshi@jp.fujitsu.com> Issue-ID: DCAEGEN2-2833 Change-Id: I99aa4df83a32b077e2a3f336d17b6b64184c3c12
2021-06-18Add target/ to gitignoreSatoshi Fujii2-0/+3
target/ directory is created during local build. Add it to .gitignore not to be added in commit. Signed-off-by: Satoshi Fujii <fujii-satoshi@jp.fujitsu.com> Issue-ID: DCAEGEN2-2833 Change-Id: I0832154d43027d630518f8477737c201a1bf2119
2021-06-18Remove unused imports and bump version to 2.3.0Satoshi Fujii20-82/+53
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-26Release Heartbeat MS 2.2.0vv770d1-0/+8
py39 support + integration-python:8.0.0 base image update Change-Id: I9c03746957cc0505c2c341d1c2969189302d0544 Signed-off-by: vv770d <vv770d@att.com> Issue-ID: DCAEGEN2-2420
2021-05-11Change python baseOS img to integration-python2.2.0Alexander Mazuruk11-103/+82
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 Mazuruk5-5/+8
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 Mazuruk2-8/+8
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 Mazuruk4-19/+12
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
2021-03-11[DCAE] INFO.yaml updatevv770d1-0/+16
New committer additions (March2021) Change-Id: I8bdc093758069dc7693a9bebc1ecb4e7f91ad9b3 Issue-ID: DCAEGEN2-2657 Issue-ID: DCAEGEN2-2658 Signed-off-by: vv770d <vv770d@att.com>
2021-02-04Merge "Add initial changelog"honoluluRemigiusz Janeczek1-0/+7
2021-02-03Add initial changelogPawel1-0/+7
Issue-ID: DCAEGEN2-2557 Signed-off-by: Pawel <pawel.kasperkiewicz@nokia.com> Change-Id: Ieb04496cec562ea9a044c803fa5a0fe818ca2f8a
2021-01-13dcae INFO.yaml updatevv770d1-10/+6
Committer changes Change-Id: Iacee8e7c709766f0850686e594ecb90f26e89396 Issue-ID: DCAEGEN2-2583 Signed-off-by: vv770d <vv770d@att.com>
2020-09-14release 2.1.1 heartbeat container7.0.0-ONAPguilinvv770d1-0/+8
Python 3.8 support Testcoverage improvement Change-Id: I6f4e0fe89d831f59928b388ddb1130fa6a5a73ea Signed-off-by: vv770d <vv770d@att.com> Issue-ID: DCAEGEN2-2292 Issue-ID: DCAEGEN2-1902
2020-09-11dcae INFO.yaml updatevv770d1-8/+22
Project maturity Committer changes Change-Id: I95050c26250119d3d3edcc4feb78dae19eceeec2 Issue-ID: DCAEGEN2-2425 Signed-off-by: vv770d <vv770d@att.com>
2020-09-08Fix INFO.yaml files2.2.1Jessica Wagantall1-0/+1
Proper syntax for INFO.yaml requires the first line to be "---" which was previously removed. Re-adding this missing line. Issue-ID: CIMAN-387 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org> Change-Id: I4377f72cc1f84798dd12b3231393b7341a84de98
2020-08-25try to fix sonar code coverage statsHansen, Tony (th1395)1-1/+0
Change-Id: I9d4d32101c449cd9cd7b43506b7ce612a3944ec6 Signed-off-by: Hansen, Tony (th1395) <th1395@att.com> Issue-ID: DCAEGEN2-2396 Signed-off-by: Hansen, Tony (th1395) <th1395@att.com>
2020-08-24add build tree to sonar exclusion listHansen, Tony (th1395)1-1/+1
Change-Id: Ibad86b3b146a0388569827fa30e475c6f4bd984c Signed-off-by: Hansen, Tony (th1395) <th1395@att.com> Issue-ID: DCAEGEN2-2396
2020-07-31Merge "Run in Python 3.8"Tony Hansen19-94/+110
2020-07-31Run in Python 3.8Michal Jagiello19-94/+110
Use image recommended by SECCOM Issue-ID: DCAEGEN2-2292 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: I8d77f150c9fe314bf26bac2c9fac7ebc9782c9d8
2020-07-23dcae committer updates in INFO.yamlvv770d1-22/+15
Change-Id: Iabfdf9d544f637320cbdad1b97e89f5f9cd88bd4 Issue-ID: DCAEGEN2-2365 Signed-off-by: vv770d <vv770d@att.com>
2020-02-05fix sonar report path6.0.0-ONAPfrankfurtVijay Venkatesh Kumar1-1/+1
Change-Id: If2333af2a9f5720f2dd404fa937f16ea78267895 Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com> Issue-ID: DCAEGEN2-1891
2020-02-03update sonar reportPaths variableHansen, Tony (th1395)1-1/+1
Change-Id: I35c1aee31337e5be4b0f87e42ea96f755ea50c66 Signed-off-by: Hansen, Tony (th1395) <th1395@att.com> Issue-ID: DCAEGEN2-1902
2020-01-31increase code coverageHansen, Tony (th1395)39-129/+894
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-12-03Update DCAE Committer in INFO.yamlJoeOLeary1-26/+10
Issue-ID: DCAEGEN2-1891 Signed-off-by: JoeOLeary <joseph.o.leary@est.tech> Change-Id: Icd26b9f8ed62ce8c6a2dd1749cd7b9d2b0fb35d5
2019-11-25Fix relative imports and invalid exception handlingMiroslav Los17-151/+262
Make proper relative or absolute imports within miss_htbt_service. Use proper except Class as variable syntax. Avoid multiple parameters to print() for potential python2 usage. Add missing original AT&T license text to test modules. Add attribution to commiter's employer to modified files. Trailing whitespace fixes. Signed-off-by: Miroslav Los <miroslav.los@pantheon.tech> Issue-ID: DCAEGEN2-1939 Change-Id: Ibfc4bea3e33a512d06a41050ba5e591121eb9454
2019-11-20Remove egg-info build artifactMiroslav Los6-56/+0
Signed-off-by: Miroslav Los <miroslav.los@pantheon.tech> Issue-ID: DCAEGEN2-1937 Change-Id: I2ab2c6cecef09296b9387fe9814bd0e0d183a68f
2019-05-07update heartbeat blueprints5.0.2-ONAP5.0.1-ONAPelaltoVijay Venkatesh Kumar1-0/+188
Change-Id: I79f5f9114a10fc971256f32a4f2192e51ebf6122 Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com> Issue-ID: DCAEGEN2-1270
2019-04-28update heartbeat bps4.0.0-ONAPVijay Venkatesh Kumar2-22/+24
Change-Id: I13b82f469d67b5ef36b5f31574cd2b072dec08d4 Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com> Issue-ID: DCAEGEN2-1270
2019-04-10add heartbeat blueprint and inputVijay Venkatesh Kumar2-0/+203
Change-Id: I56719375580aeda48ca0a6c3cafc53c15e473aa9 Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com> Issue-ID: DCAEGEN2-1270 Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com>
2019-03-12Test coverage for heartbeat MSPrakashH5-14/+30
Increased code coverage Issue-ID: DCAEGEN2-1260 Change-Id: Ide4c030d3228ac5594ac1ee7403ad6cfa102a64e Signed-off-by: PrakashH <pbhandar@techmahindra.com>
2019-03-09Heartbeat Microservice coveragePrakashH1-0/+4
Increased code coverage Issue-ID: DCAEGEN2-267 Change-Id: I455cbade11a1549d018e38fa02df430d56e23bd0 Signed-off-by: PrakashH <pbhandar@techmahindra.com>
2019-01-31Heartbeat Microservice SupportPrakashH3-1/+6
Heartbeat service monitors missing HB notification Issue-ID: DCAEGEN2-267 Change-Id: I40a928fbf56164ec5288a4d489ffa10eee28e113 Signed-off-by: PrakashH <pbhandar@techmahindra.com>
2019-01-30Heartbeat Microservice SupportPrakashH1-1/+5
Heartbeat service monitors missing HB notifications Issue-ID: DCAEGEN2-267 Change-Id: I08046dc804e2e927ef03865d22940016acd00656 Signed-off-by: PrakashH <pbhandar@techmahindra.com>
2019-01-28Heartbeat Microservice SupportPrakashH16-287/+511
Heartbeat service monitors missing HB notification Issue-ID: DCAEGEN2-267 Change-Id: I0fd191b2a3495202e22f633ada4a1350a97557ad Signed-off-by: PrakashH <pbhandar@techmahindra.com>
2018-12-12Heartbeat Microservice SupportSrikanthNaidu44-744/+2046
Heartbeat service monitors missing HB notification Issue-ID: DCAEGEN2-267 Change-Id: I21f36056e9509a167bff476231a6bbd661aca1b9 Signed-off-by: SrikanthNaidu <sn8492@att.com>
2018-08-03Add INFO.yaml fileJessica Wagantall1-0/+90
Add INFO.yaml to list: - Project description - Properties - PTL information - Meeting information - Committer information Change-Id: I3f37c619298c2e70da0990579e461491f093f73f Issue-ID: CIMAN-134 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
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-06-13Add json exception and VNF nameGokul Singaraju1-3/+9
Issue-ID: DCAEGEN2-279 Change-Id: I3f78eb87ce4c6eaa30efa8d2efa1e3f187b4e7a7 Signed-off-by: Gokul Singaraju <gs244f@att.com>
2018-06-11Fix cbs file path passedGokul Singaraju1-0/+1
Issue-ID: DCAEGEN2-279 Change-Id: I3f78eb87ce4c6eba30efb8d2ef91e3f187b4e7f7 Signed-off-by: Gokul Singaraju <gs244f@att.com>
2018-06-05Fix permissions for cbs file2.0.0-ONAPbeijing2.0.0-ONAPGokul Singaraju1-1/+1
Issue-ID: DCAEGEN2-279 Change-Id: I3f78eb87cc4c6fba304fb8d2ff91d3f187b4f777 Signed-off-by: Gokul Singaraju <gs244f@att.com>