Skip to content

Commit

Permalink
disable external user ID queries (OSIDB-2925)
Browse files Browse the repository at this point in the history
  • Loading branch information
osoukup committed Dec 9, 2024
1 parent 1a03f5c commit 57fc7e8
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 576 deletions.
6 changes: 4 additions & 2 deletions osidb/signals.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,10 @@ def auto_create_profile(sender, instance, created, **kwargs):
if created:
Profile.objects.create(
user=instance,
bz_user_id=get_bz_user_id(instance.email),
jira_user_id=get_jira_user_id(instance.email),
# TODO I am disabling the external system queries for now to safe the extra API calls
# and dependencies but the full removal requires User-Profile rework and major release
# bz_user_id=get_bz_user_id(instance.email),
# jira_user_id=get_jira_user_id(instance.email),
).save()


Expand Down
360 changes: 0 additions & 360 deletions osidb/tests/cassettes/test_users/TestUsers.test_profile_creation.yaml

This file was deleted.

Loading

0 comments on commit 57fc7e8

Please sign in to comment.