Skip to content

Commit

Permalink
[GH-167] - Update PWS_HOST with new value from REQ7051889 (#168)
Browse files Browse the repository at this point in the history
* fix(config): Update PWS_HOST with new value from REQ7051889

* chore(backend): Update old comment to replace it-wseval1 with wseval
  • Loading branch information
soufianerafik authored Jan 16, 2025
1 parent 408312d commit 5302814
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion husky_directory/models/enum.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion husky_directory/models/pws.py
Original file line number Diff line number Diff line change
@@ -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.
"""
Expand Down
2 changes: 1 addition & 1 deletion husky_directory/services/pws.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion husky_directory/settings/base.dotenv
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion husky_directory/settings/compose-with-redis.dotenv
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 5302814

Please sign in to comment.