# Functions

BuildTestHandler build and call a testing handler and returns the resulting ResponseRecorder for validation.
CheckDebugLogs checks for the "debug" flags while starting a test and enable zap logging.
CheckTestHandler checks a ResponseRecorder HTTP status and body.
DBClient returns a postgresql test client for integration tests It targets a specific hostname "postgres" in a Gitlab CI environnement or "localhost" by default.
DBExec execute an sql query which can lead to an immediate failure of the unit test.

# Constants

CalendarDropTableV3 SQL statement to drop table calendar_v1.
CalendarTableV3 SQL statement to create table calendar_v1.
CalendarUnionDropTableV3 SQL statement to drop table calendar_union_v1.
CalendarUnionTableV3 SQL statement to create table calendar_union_v1.
ConnectorExecutionsLogsDropTableV1 SQL statement to drop table connectors_executions_log_v1.
ConnectorExecutionsLogsTableV1 SQL statement to create table connectors_executions_log_v1.
ElasticSearchConfigDropTableV1 SQL statement to drop table elasticsearch_config_v1.
ElasticSearchConfigV1 SQL statement to create table elasticsearch_config_v1.
EsIndicesDropTableV1 SQL statement to drop table elasticsearch_indices_v1.
EsIndicesTableV1 SQL statement to create table elasticsearch_indices_v1.
ExternalGenericConfigDropTableV1 SQL statement to drop table external_generic_config_v1.
ExternalGenericConfigV1 SQL statement to create table elasticsearch_indices_v1.
FactDefinitionDropTableV1 SQL statement for table drop.
FactDefinitionTableV1 SQL statement for the fact definition table.
FactHistoryDropTableV1 SQL statement for table drop.
FactHistoryTableV1 SQL statement for the fact history.
GroupsDropTableV1 SQL statement for table drop.
GroupsTableV1 SQL statement for the groups table.
IssueFeedbackDropTableV3 SQL statement to drop table issue_detection_feedback_v3.
IssueFeedbackTableV3 SQL statement to create table issue_detection_feedback_v3.
IssueResolutionDraftDropTableV1 SQL statement for table drop.
IssueResolutionDraftTableV1 SQL statement for the issue resolution statistics.
IssueResolutionDropTableV1 SQL statement for table drop.
IssueResolutionTableV1 SQL statement for the issue resolution statistics.
IssuesDropTableV1 SQL statement for table drop.
IssuesTableV1 SQL statement for the issues table.
JobSchedulesDropTableV1 SQL statement for table drop job schedules.
JobSchedulesTableV1 SQL statement for the job schedules.
ModelDropTableV1 SQL statement to drop table model_v1.
ModelTableV1 SQL statement to create table model_v1.
NotificationHistoryDropTableV1 SQL statement for table drop.
NotificationHistoryTableV1 SQL statement for the notification history.
No description provided by the author
No description provided by the author
RefActionDropTableV1 SQL statement for table drop.
RefActionTableV1 SQL statement for the action references.
RefRootCauseDropTableV1 SQL statement for table drop.
RefRootCauseTableV1 SQL statement for the rootcause references.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
RulesDropTableV1 SQL statement for table drop.
RulesTableV1 SQL statement for the rules table.
RuleVersionsDropTableV1 SQL statement for table drop.
RuleVersionsTableV1 SQL statement for the rules table.
SituationDefinitionDropTableV1 SQL statement for table drop.
SituationDefinitionTableV1 SQL statement for the situation definition table.
SituationFactsDropTableV1 SQL statement for table drop.
SituationFactsTableV1 SQL statement for the situation facts table.
SituationHistoryDropTableV1 SQL statement for table drop.
SituationHistoryTableV1 SQL statement for the situation history.
SituationRulesDropTableV1 SQL statement to drop table situation_rules_v1.
SituationRulesTableV1 SQL statement to create table situation_rules_v1.
SituationTemplateInstancesDropTableV1 SQL statement to drop table situation_template_instances_v1.
SituationTemplateInstancesTableV1 SQL statement to create table situation_template_instances_v1.
UserMembershipsDropTableV1 SQL statement for table drop.
UserMembershipsTableV1 SQL statement for the user memberships table.
No description provided by the author
UsersDropTableV1 SQL statement for table drop.
No description provided by the author
No description provided by the author
No description provided by the author
UsersTableV1 SQL statement for the users table.
VariableConfigV1 SQL statement to create table variables_config_v1.
VariablesConfigV1DropTable SQL statement to drop table variables_config_v1.