From fbee90c6923464e10265733cd99bf8785032bc2e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 18 Jun 2024 00:59:23 +0000 Subject: [PATCH 1/2] Bump urllib3 from 1.26.16 to 1.26.19 in /jobs/kpi-forecasting Bumps [urllib3](https://github.com/urllib3/urllib3) from 1.26.16 to 1.26.19. - [Release notes](https://github.com/urllib3/urllib3/releases) - [Changelog](https://github.com/urllib3/urllib3/blob/1.26.19/CHANGES.rst) - [Commits](https://github.com/urllib3/urllib3/compare/1.26.16...1.26.19) --- updated-dependencies: - dependency-name: urllib3 dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- jobs/kpi-forecasting/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jobs/kpi-forecasting/requirements.txt b/jobs/kpi-forecasting/requirements.txt index 82170f43..e4e6468d 100644 --- a/jobs/kpi-forecasting/requirements.txt +++ b/jobs/kpi-forecasting/requirements.txt @@ -72,4 +72,4 @@ tomli==2.0.1 tqdm==4.65.0 typing_extensions==4.6.3 tzdata==2023.3 -urllib3==1.26.16 \ No newline at end of file +urllib3==1.26.19 \ No newline at end of file From 21f8f5878c9691db4fe782961b259c88bddcf048 Mon Sep 17 00:00:00 2001 From: JCMOSCON1976 <167822375+JCMOSCON1976@users.noreply.github.com> Date: Wed, 17 Jul 2024 13:53:05 -0400 Subject: [PATCH 2/2] Update test.py --- jobs/eam-integrations/scripts/test.py | 29 --------------------------- 1 file changed, 29 deletions(-) diff --git a/jobs/eam-integrations/scripts/test.py b/jobs/eam-integrations/scripts/test.py index dfe43181..d3f5a12f 100644 --- a/jobs/eam-integrations/scripts/test.py +++ b/jobs/eam-integrations/scripts/test.py @@ -1,30 +1 @@ -import requests -from requests.auth import HTTPBasicAuth -base_URL = "https://mozilla-np.xmatters.com/api/xm/1" - -person_name = "342d509e-6ae3-4c0a-bd59-b07cdc7c6eb3" -endpoint_URL = "/people/" + person_name + "/supervisors" - -url = base_URL + endpoint_URL - -print("Sending request to url: " + url) -auth = HTTPBasicAuth("serviceuser", "welcome1") - -response = requests.get(url, auth=auth) - -responseCode = response.status_code -if responseCode == 200: - rjson = response.json() - for d in rjson.get("data"): - print( - 'User "' - + person_name - + '" has supervisor "' - + d["targetName"] - + '" with first name "' - + d["firstName"] - + '" and last name "' - + d["lastName"] - + '"' - )