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:
committed by
GitHub
parent
6e783c993e
commit
8e7619f972
14
db/migration/000011_add_external_team_schema.up.sql
Normal file
14
db/migration/000011_add_external_team_schema.up.sql
Normal 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)
|
||||
);
|
||||
Reference in New Issue
Block a user