From: Krzysztof B. <kb...@un...> - 2022-10-14 10:28:25
|
Hi Sander, W dniu 14.10.2022 o 09:47, Sander Apweiler pisze: > Hi Krzysztof, > by setting up the scim api in unity 3.9.0 I found a problem. Our > configuration is normally loaded from config files. I know this is not > possible for the scim schema so I set up it in the console endpoint. > For some reason one attribute was not released and I increased the log. > Due the bug where unity stopped logging after changing the loglevel I > restartet unity. But sadly all configured schema are gone. Is this > intendend? If not, may this happen on latest version as well? We are > going to start our tests on 3.11 next week. The situation is slightly different. If you have enabled endpoints reloading from config files, then all your reconfigurations of endpoints done at runtime in console (so in IdPs and Services) will be lost after restart. You need to put all you configuration in files. In case of SCIM schema it holds as well. The only problem here is that JSON configuration of schema mappings is very complex. Instead of documenting it we provided an option to export it from the console (upload button next to each schema). So you can edit it in console, save, and then export to a file (JSON). Contents of this file can be pasted to configuration of endpoint. We should improve this workflow, however were waiting for you feedback. The easiest thing for us would be to allow for reading the JSON from file set in endpoint configuration. Then the workflow would be the same as today, but instead of pasting JSON to your endpoint config file (needs escaping, hard), it would sit on a disk. We can also consider direct export to the configured file, if schama was originally loaded from a config file. WDYT? Best, Krzysztof |