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"] - + '"' - ) 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