From 09979bcfc5d85d1f036367d51abf88626f11b318 Mon Sep 17 00:00:00 2001 From: "francois.samin" Date: Fri, 15 Mar 2024 08:01:32 +0000 Subject: [PATCH] fix: remove NotifyBackendTat and other references to Tat Signed-off-by: francois.samin --- LICENSES/go/github.com/ovh/tat/LICENSE | 16 ---------------- config/README.md | 1 - utask.go | 8 -------- 3 files changed, 25 deletions(-) delete mode 100644 LICENSES/go/github.com/ovh/tat/LICENSE diff --git a/LICENSES/go/github.com/ovh/tat/LICENSE b/LICENSES/go/github.com/ovh/tat/LICENSE deleted file mode 100644 index 50b6be32..00000000 --- a/LICENSES/go/github.com/ovh/tat/LICENSE +++ /dev/null @@ -1,16 +0,0 @@ -== github.com/ovh/tat == - -Copyright (c) 2015-2016, OVH SAS. -Copyright (c) 2014 Grav -Copyright (c) 2016 MATHIEU CORNIC - -Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - -1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. - -2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. - -3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS” AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - diff --git a/config/README.md b/config/README.md index 67c9d38c..2b4adf1a 100644 --- a/config/README.md +++ b/config/README.md @@ -48,7 +48,6 @@ postgres://user:pass@db/utask?sslmode=disable // notify_config contains a map of named notification configurations, composed of a type and config data, // implemented notifiers include: // - opsgenie (https://www.atlassian.com/software/opsgenie); available zones are: global, eu, sandbox - // - tat (github.com/ovh/tat) // - slack webhook (https://api.slack.com/messaging/webhooks) // - generic webhook (custom URL, with HTTP POST method) // notification strategies can be declared per backend: diff --git a/utask.go b/utask.go index cd1e9824..6ee176f0 100644 --- a/utask.go +++ b/utask.go @@ -168,14 +168,6 @@ type NotifyBackendOpsGenie struct { Timeout string `json:"timeout"` } -// NotifyBackendTat holds configuration for instantiating a Tat notify client -type NotifyBackendTat struct { - Username string `json:"username"` - Password string `json:"password"` - URL string `json:"url"` - Topic string `json:"topic"` -} - // NotifyBackendSlack holds configuration for instantiating a Slack notify client type NotifyBackendSlack struct { WebhookURL string `json:"webhook_url"`