From ded7bbd03fe25bbb0ad7e3f8f1178a55335da1ed Mon Sep 17 00:00:00 2001
From: "Hahn Axel (hahn)" <axel.hahn@unibe.ch>
Date: Wed, 20 Nov 2024 15:36:27 +0100
Subject: [PATCH] gitlab-token - Update rest api client

---
 check_gitlab_tokens | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/check_gitlab_tokens b/check_gitlab_tokens
index fb02456..b839b06 100755
--- a/check_gitlab_tokens
+++ b/check_gitlab_tokens
@@ -11,19 +11,20 @@
 # ----------------------------------------------------------------------
 # 2024-10-29  v1.0  <axel.hahn@unibe.ch>
 # 2024-10-30  v1.1  <axel.hahn@unibe.ch>  GITLAB_TOKEN=SKIP responds OK without tests
+# 2024-11-20  v1.2  <axel.hahn@unibe.ch>  Update rest api client
 # ======================================================================
 
 cd "$( dirname "$0" )" || exit
 . "$( dirname $0 )/inc_pluginfunctions" || exit 1
 
-export self_APPVERSION=1.1
+export self_APPVERSION=1.2
 
 sSkipvalue="SKIP"
 GITLAB_API='https://gitlab.example.com/api/v4'
 GITLAB_TOKEN="$sSkipvalue"
 
 GITLAB_CONFIG=/etc/icinga2/gitlab.cfg
-REST_CLIENT="/opt/rest-api-client/rest-api-client.sh"
+REST_CLIENT="/opt/rest-api-client/http.class.sh"
 
 projectUrls=
 
-- 
GitLab