That's what I was afraid of. Though it's good to know that both ISIM and IDI support the same flavor/version of JavaScript.
Thanks again for all of your help, Franz.
------------------------------
Frank Tate
Gulfsoft Consulting
https://www.gulfsoft.comAIOps Experts. Contact us for implementation help.
------------------------------
Original Message:
Sent: Mon October 14, 2024 11:28 AM
From: Franz Wolfhagen
Subject: How can I unit test JavaScript code in Identity Manager
Sigh....
I am not going to give you a good answer - but this is the best option I can think of....
I do a lot of ISIM work in SDI - and the JavaScript versions are the same AFAIK - so if you enable some "alias" login in SDI for the ISIM JavaScript Extensions (for Enrole.log it should be fairly simple - for other stuff it would be quite some work - but probably doable) then you can test you logic in SDI....
Sorry - but this is the best idea I can come up with right now - I think we all would like to have a full Eclipse like debugger like in SDI in the workflow designer...
------------------------------
Franz Wolfhagen
WW IAM Solution Engineer - Certified Consulting IT Specialist
IBM Security Expert Labs
Original Message:
Sent: Mon October 14, 2024 10:25 AM
From: Frank Tate
Subject: How can I unit test JavaScript code in Identity Manager
As the title states, I'm trying to find out how I can unit test JavaScript in Identity Manager somewhat easily. Where this need came from most recently is a previous developer used the String.repeat() function in a workflow script node. This function was introduced in ECMAScript 6, while Identity Manger supports ECMAScript 5. The code was put in place at some point in the past (possibly months ago), but was only attempted to be evaluated during one of my tests. So it brought the problem to the forefront. This code is buried deep in a workflow. I only found it by dumping ou=operations from LDAP to an LDIF file, decoding the base64 parts, and searching for "repeat" (because that's the only clue given to me by the error message in ISIM).
So is there a way for me to at least unit test my JavaScript in ISIM without having to go to a lot of trouble? For example, is there a place in the GUI that I can paste in at least some of my code and execute it immediately to see the results?
Thanks
------------------------------
Frank Tate
Gulfsoft Consulting
https://www.gulfsoft.com
AIOps Experts. Contact us for implementation help.
------------------------------