diff --git a/test/client/main.py b/test/client/main.py index 029dcdf5..9a824726 100755 --- a/test/client/main.py +++ b/test/client/main.py @@ -9,6 +9,7 @@ def main(): USER_NAME="eric" USER_PASSWORD="defaultPWD" domain = "185.52.193.87.nip.io" + # domain = "demo.eoepca.org" base_url = "https://test." + domain # ades @@ -22,6 +23,7 @@ def main(): wsapi_url = "https://workspace-api.test." + domain wsapi_user = USER_NAME wsapi_prefix = "rm-user" + # wsapi_prefix = "demo-user" wsapi_user_prefix = "/workspaces/" + wsapi_prefix + "-" + wsapi_user # dummy service @@ -60,6 +62,10 @@ def main(): print("\n### REGISTER USER'S Workspace BASE RESOURCE PATH ###") demo.register_protected_resource(wsapi_resource_api_url, wsapi_user_prefix, user_id_token, f"Workspace for user {USER_NAME}", []) + # Register test path in Dummy Service as an owned resource + print("\n### REGISTER Dummy Service Test Path RESOURCE PATH ###") + demo.register_protected_resource(dummy_resource_api_url, "/test", user_id_token, f"Dummy Service test resource", []) + #=========================================================================== # Dummy Service #=========================================================================== diff --git a/test/client/requirements.txt b/test/client/requirements.txt index 701e4422..7e0cf9b6 100644 --- a/test/client/requirements.txt +++ b/test/client/requirements.txt @@ -1,73 +1,6 @@ -argon2-cffi==20.1.0 -astroid==2.4.2 -async-generator==1.10 -attrs==20.2.0 -backcall==0.2.0 -bleach==3.2.1 -certifi==2020.6.20 -cffi==1.14.3 -chardet==3.0.4 -decorator==4.4.2 -defusedxml==0.6.0 -entrypoints==0.3 -eoepca-scim==2.7.4 -future==0.18.2 -idna==2.10 -ipykernel==5.3.4 -ipython==7.18.1 -ipython-genutils==0.2.0 -ipywidgets==7.5.1 -isort==5.6.4 -jedi==0.17.2 -Jinja2==2.11.2 -jsonschema==3.2.0 -jupyter==1.0.0 -jupyter-client==6.1.7 -jupyter-console==6.2.0 -jupyter-core==4.6.3 -jupyterlab-pygments==0.1.2 -lazy-object-proxy==1.4.3 -MarkupSafe==1.1.1 -mccabe==0.6.1 -mistune==0.8.4 -nbclient==0.5.1 -nbconvert==6.0.7 -nbformat==5.0.8 -nest-asyncio==1.4.1 -notebook==6.1.4 -packaging==20.4 -pandocfilters==1.4.2 -parso==0.7.1 -pexpect==4.8.0 -pickleshare==0.7.5 -pkg-resources==0.0.0 -prometheus-client==0.8.0 -prompt-toolkit==3.0.8 -ptyprocess==0.6.0 -pycparser==2.20 +eoepca-scim==2.7.7 pycrypto==2.6.1 -pycryptodomex==3.9.8 -Pygments==2.7.1 pyjwkest==1.4.2 -pylint==2.6.0 -pyparsing==2.4.7 -pyrsistent==0.17.3 -python-dateutil==2.8.1 -pyzmq==19.0.2 -qtconsole==4.7.7 -QtPy==1.9.0 -requests==2.24.0 -robotframework==3.2.2 -Send2Trash==1.5.0 -six==1.15.0 -terminado==0.9.1 -testpath==0.4.4 -toml==0.10.1 -tornado==6.0.4 -traitlets==5.0.5 -urllib3==1.25.10 -wcwidth==0.2.5 -webencodings==0.5.1 +requests==2.26.0 +robotframework==4.1 WellKnownHandler==0.2.0 -widgetsnbextension==3.5.1 -wrapt==1.12.1