-
Notifications
You must be signed in to change notification settings - Fork 3
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
Ttva 105 securitas integration #161
Conversation
b86a9e6
to
483e84d
Compare
b8c812f
to
3dcfaec
Compare
3dcfaec
to
f93ab93
Compare
kulkunen/drivers/securitas.py
Outdated
response.raise_for_status() | ||
return response | ||
except requests.RequestException as e: | ||
print(params) |
There was a problem hiding this comment.
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.
kulkunen/drivers/securitas.py
Outdated
response.raise_for_status() | ||
return response | ||
except requests.RequestException as e: | ||
print(e) |
There was a problem hiding this comment.
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.
locale/fi/LC_MESSAGES/django.po
Outdated
msgstr "Perinteinen avain/tunnistelätkä" | ||
|
||
msgid "Security guard/janitor" | ||
msgstr "Vahtimestari/Valvooja" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
msgstr "Vahtimestari/Valvooja" | |
msgstr "Vahtimestari/Valvoja" |
Refs: TTVA-105
Module formatted with isort and black. Refs: TTVA-105
Refs: TTVA-105
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
Refs: TTVA-105
Refs: TTVA-105
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
6efe0b1
to
5728f17
Compare
dac789c
to
2a12960
Compare
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
2a12960
to
602d413
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks really good! 💯
No description provided.