feat: update ues attributes action
Description
feat: update ues attributes action
- added update the action
- added util methods for loading map from config and for loading map in key, value lists form from config
- added exceptions for config utils situations
How to test
Have cas-sites MR and connector MR included. Just sign-in to cas and observe logs. Everything should be there.
To test more types of attributes and their handling I've created a dummy attribute in perun: urn:perun:ues:attribute-def:def:uesCasTest. You can change its value and type in perun and then have it mapped to one of the idp attributes. To do this just follow the testing code along with the comments I've left in the action.
Author's checklist
-
I have followed the contribution guidelines -
This MR has been tested or does not change functionality -
I have added relevant merge request dependencies (if this MR has any) -
I have added the correct labels -
I have assigned reviewers (if any are relevant) -
I have edited the documentation (if the changes require it) or I have noted the need for the change if I do not have access to the documentation -
I have marked all introduced BREAKING CHANGES or necessary DEPLOYMENT NOTES in the commit message(s)
Reviewer's checklist
-
This MR has been tested or does not change functionality -
This MR has correct commit message format
Other information
I would suggest merging !19 (merged) first, modifying this MR accordingly and then merging it.
Related issues
re STR-1520