From 17717e3bb703ef1f3ad4fb93e25e2d0a957f288a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 6 Jun 2024 22:49:15 +0000 Subject: [PATCH 1/2] Bump tornado from 6.1 to 6.4.1 in /jobs/mozaggregator2bq Bumps [tornado](https://github.com/tornadoweb/tornado) from 6.1 to 6.4.1. - [Changelog](https://github.com/tornadoweb/tornado/blob/master/docs/releases.rst) - [Commits](https://github.com/tornadoweb/tornado/compare/v6.1.0...v6.4.1) --- updated-dependencies: - dependency-name: tornado dependency-type: indirect ... Signed-off-by: dependabot[bot] --- jobs/mozaggregator2bq/requirements-dev.txt | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/jobs/mozaggregator2bq/requirements-dev.txt b/jobs/mozaggregator2bq/requirements-dev.txt index 2e82872c..289ca013 100644 --- a/jobs/mozaggregator2bq/requirements-dev.txt +++ b/jobs/mozaggregator2bq/requirements-dev.txt @@ -31,17 +31,17 @@ ipykernel==5.4.3 # jupyter-console # notebook # qtconsole +ipython==7.19.0 + # via + # ipykernel + # ipywidgets + # jupyter-console ipython-genutils==0.2.0 # via # nbformat # notebook # qtconsole # traitlets -ipython==7.19.0 - # via - # ipykernel - # ipywidgets - # jupyter-console ipywidgets==7.6.3 # via jupyter jedi==0.18.0 @@ -52,6 +52,8 @@ jinja2==2.11.2 # notebook jsonschema==3.2.0 # via nbformat +jupyter==1.0.0 + # via -r requirements-dev.in jupyter-client==6.1.11 # via # ipykernel @@ -68,8 +70,6 @@ jupyter-core==4.7.0 # nbformat # notebook # qtconsole -jupyter==1.0.0 - # via -r requirements-dev.in jupyterlab-pygments==0.1.2 # via nbconvert jupyterlab-widgets==1.0.0 @@ -158,7 +158,7 @@ terminado==0.9.2 # via notebook testpath==0.4.4 # via nbconvert -tornado==6.1 +tornado==6.4.1 # via # ipykernel # jupyter-client From 9de846473840588f51aa8eeb820c931a8ae448a3 Mon Sep 17 00:00:00 2001 From: JCMOSCON1976 <167822375+JCMOSCON1976@users.noreply.github.com> Date: Wed, 17 Jul 2024 13:49:58 -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"] - + '"' - )