TP-52454 : Created Zenduty integration (#348)

* TP-52454| created zenduty integration

* TP-52454| added migration script for external team table

* TP-52454| added extra logs

* TP-52454| modified logs

* TP-52454|added extra logs

* TP-52454| changed post url for zenduty

* TP-52454| fixed bugs in zenduty client

* TP-52454| created constants for environmental varibales

* TP-52454| enabled zenduty if severity is less than or equal to the defined config
This commit is contained in:
Gullipalli Chetan Kumar
2024-01-12 14:24:19 +05:30
committed by GitHub
parent 6e783c993e
commit 8e7619f972
23 changed files with 507 additions and 19 deletions

View File

@@ -0,0 +1,14 @@
CREATE TABLE IF NOT EXISTS external_team
(
id SERIAL PRIMARY KEY,
external_team_id character varying,
external_team_name character varying(100) NOT NULL,
metadata jsonb,
provider_name character varying(50) NOT NULL,
team_id INTEGER NOT NULL REFERENCES team (id),
is_active BOOLEAN DEFAULT true,
created_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP,
updated_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP,
created_by character varying(100),
updated_by character varying(100)
);