By: Malcolm McRoberts Account Admin 28 Dec 2017 at 12:58 p.m. CST

5 Responses
Malcolm McRoberts gravatar
I'm working on a dynamic_scope custom script and I'm pointing Gluu to a file. Gluu finds the script just fine, but when I modify the script there's no telling when Gluu will pick up the changes. I'm trying to keep these scripts under source control with Git, but not knowing when/if the latest changes are loaded into Gluu makes development very frustrating.

By Mohib Zico Account Admin 28 Dec 2017 at 1:01 p.m. CST

Mohib Zico gravatar
Hi Malcolm, You can check the status of script in oxauth_script.log / oxtrust_script.log [ according to your own need ]. The fastest way would be: 'Disable' your previous script; modify script; 'Enable' it; you should be see it in next 1 to 2 mins.

By Mohib Zico Account Admin 03 Jan 2018 at 4:01 a.m. CST

Mohib Zico gravatar
Hello Malcolm, Happy New Year! Is there anything else we need to cover in this ticket?

By Malcolm McRoberts Account Admin 03 Jan 2018 at 8:31 a.m. CST

Malcolm McRoberts gravatar
I'm still not able to predict when the scripts will be reloaded. It makes debugging pretty difficult. If I paste the script into the UI will that take effect right away? So, is the reload triggered by some background process? It seems unpredictable to me.

By Mohib Zico Account Admin 03 Jan 2018 at 1:12 p.m. CST

Mohib Zico gravatar
>> If I paste the script into the UI will that take effect right away? Yes... let's try to use that feature and tail oxauth_script.log. Whenever you enable/disable any script from UI; you should see output of that in this log in every min.

By Malcolm McRoberts Account Admin 09 Jan 2018 at 2:09 p.m. CST

Malcolm McRoberts gravatar
I've decided to go back to pasting the scripts into the UI. It seems to be the only way to ensure they get loaded.