Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ttva 105 securitas integration #161

Merged
merged 13 commits into from
Dec 18, 2023

Conversation

danjacob-anders
Copy link

No description provided.

@danjacob-anders danjacob-anders force-pushed the ttva-105-securitas-integration branch 4 times, most recently from b86a9e6 to 483e84d Compare October 31, 2023 10:35
response.raise_for_status()
return response
except requests.RequestException as e:
print(params)
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These print statements can probably be removed now, used for debugging in QA.

response.raise_for_status()
return response
except requests.RequestException as e:
print(e)
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These print statements can probably be removed now, used for debugging in QA.

msgstr "Perinteinen avain/tunnistelätkä"

msgid "Security guard/janitor"
msgstr "Vahtimestari/Valvooja"
Copy link
Collaborator

@jopesy jopesy Nov 29, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
msgstr "Vahtimestari/Valvooja"
msgstr "Vahtimestari/Valvoja"

Module formatted with isort and black.

Refs: TTVA-105
This also tidies up existing admin classes.

Refs: ttva-105-securitas-integration
In Django or Respa admin one or more access methods can be added to a
Resource.

Refs: TTVA-105
logger.exception() should pass the Exception instance

Refs: TTVA-105
This migration includes merge of SAP and Kulkunen migrations.

Refs: TTVA-105
to obtain mobile access for resource

Refs: TTVA-105
@danjacob-anders danjacob-anders force-pushed the ttva-105-securitas-integration branch 2 times, most recently from 6efe0b1 to 5728f17 Compare December 13, 2023 12:41
@danjacob-anders danjacob-anders force-pushed the ttva-105-securitas-integration branch 2 times, most recently from dac789c to 2a12960 Compare December 13, 2023 13:20
removing grant.

Additional tests added to check for the group_id. Note that Kulkunen
does have validation endpoints, but these do not appear to be called by
the management command or elsewhere e.g. Django admin. A future addition
should integrate these into the Django admin to prevent runtime issues
with misconfiguration.

Refs: TTVA-105
Copy link
Collaborator

@jopesy jopesy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks really good! 💯

@danjacob-anders danjacob-anders merged commit b584e0b into tre-varaamo-qa Dec 18, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants