diff --git a/husky_directory/models/enum.py b/husky_directory/models/enum.py index e5b606f..f53b817 100644 --- a/husky_directory/models/enum.py +++ b/husky_directory/models/enum.py @@ -7,7 +7,7 @@ class AffiliationState(Enum): """ These are defined by PWS but only enumerated in their test UI: - https://it-wseval1.s.uw.edu/identity/v2/person + https://wseval.s.uw.edu/identity/v2/person """ current = "current" diff --git a/husky_directory/models/pws.py b/husky_directory/models/pws.py index 9f7a457..3290362 100644 --- a/husky_directory/models/pws.py +++ b/husky_directory/models/pws.py @@ -1,6 +1,6 @@ """ Models for PWS inputs and outputs. These act as declarative, typed abstractions over -the PWS API definitions at https://it-wseval1.s.uw.edu/identity/swagger/index.html#/ +the PWS API definitions at https://wseval.s.uw.edu/identity/swagger/index.html#/ These are not 1:1 models of that API; only fields we care about are declared here. """ diff --git a/husky_directory/services/pws.py b/husky_directory/services/pws.py index 3a9c233..ab79484 100644 --- a/husky_directory/services/pws.py +++ b/husky_directory/services/pws.py @@ -231,7 +231,7 @@ def list_persons( """ Given an input request, queries PWS and returns the output. For more information on this request, - see https://it-wseval1.s.uw.edu/identity/swagger/index.html#/PersonV2/PersonSearch + see https://wseval.s.uw.edu/identity/swagger/index.html#/PersonV2/PersonSearch """ payload = request_input.payload constraints = self.global_constraints + request_input.constraints diff --git a/husky_directory/settings/base.dotenv b/husky_directory/settings/base.dotenv index 5b504e6..148f8bf 100644 --- a/husky_directory/settings/base.dotenv +++ b/husky_directory/settings/base.dotenv @@ -1,7 +1,7 @@ FLASK_ENV=development UWCA_CERT_NAME=uwca UWCA_CERT_PATH=/app/certificates -PWS_HOST=https://it-wseval1.s.uw.edu +PWS_HOST=https://wseval.s.uw.edu PWS_DEFAULT_PATH=/identity/v2 HOST=directory.iamdev.s.uw.edu SAML_ENTITY_ID=https://${HOST}/saml diff --git a/husky_directory/settings/compose-with-redis.dotenv b/husky_directory/settings/compose-with-redis.dotenv index a5d358b..83b792f 100644 --- a/husky_directory/settings/compose-with-redis.dotenv +++ b/husky_directory/settings/compose-with-redis.dotenv @@ -1,6 +1,6 @@ UWCA_CERT_NAME=uwca UWCA_CERT_PATH=/app/certificates -PWS_HOST=https://it-wseval1.s.uw.edu +PWS_HOST=https://wseval.s.uw.edu PWS_DEFAULT_PATH=/identity/v2 HOST=uw-directory.iamdev.s.uw.edu SAML_ENTITY_ID=https://${HOST}/saml