aboutsummaryrefslogtreecommitdiffstats
path: root/miss_htbt_service/htbtworker.py
AgeCommit message (Collapse)AuthorFilesLines
2021-06-30Remove extraneous parenthesesSatoshi Fujii1-30/+28
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 Fujii1-26/+25
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-18Reformat codeSatoshi Fujii1-131/+140
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-18Remove unused imports and bump version to 2.3.0Satoshi Fujii1-4/+8
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
2020-07-31Run in Python 3.8Michal Jagiello1-2/+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-6/+6
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-11-25Fix relative imports and invalid exception handlingMiroslav Los1-14/+15
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-03-12Test coverage for heartbeat MSPrakashH1-3/+3
Increased code coverage Issue-ID: DCAEGEN2-1260 Change-Id: Ide4c030d3228ac5594ac1ee7403ad6cfa102a64e Signed-off-by: PrakashH <pbhandar@techmahindra.com>
2019-01-31Heartbeat Microservice SupportPrakashH1-1/+1
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 SupportPrakashH1-6/+5
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-202/+220
Heartbeat service monitors missing HB notification Issue-ID: DCAEGEN2-267 Change-Id: I21f36056e9509a167bff476231a6bbd661aca1b9 Signed-off-by: SrikanthNaidu <sn8492@att.com>
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-05-22Miss HB CBS integrationGokul Singaraju1-107/+42
Issue-ID: DCAEGEN2-279 Change-Id: I3f78e0870d4c620a304fb8d218f1d30187b4fbef Signed-off-by: Gokul Singaraju <gs244f@att.com>
2018-05-01Pass urls topics in docker envGokul Singaraju1-18/+24
Issue-ID: DCAEGEN2-278 Change-Id: Ib0fa11fc5a7ff47f54056f3c198a47120b3f73a8 Signed-off-by: Gokul Singaraju <gs244f@att.com>
2018-04-19Add healthcheck apiGokul Singaraju1-4/+4
Issue-ID: DCAEGEN2-456 Change-Id: I7455e357e5fb584f644768d33437ef43f53be6e5 Signed-Off-by: Gokul Singaraju <gs244f@att.com>
2018-03-27Added tests for heartbeat coverageGokul Singaraju1-42/+90
Issue-ID: DCAEGEN2-276 Change-Id: Ib0fa11fc5978f47854056f3c198347120b3873a8 Signed-off-by: Gokul Singaraju <gs244f@att.com>
2018-03-05Missing heartbeat microserviceJessica Wagantall1-0/+234
Issue-ID: DCAEGEN2-275 Change-Id: I2a2def9aef7664b58c6c3b74318343699fbf6c22 Signed-Off-by: Gokul Singaraju <gs244f@att.com>