[prev in list] [next in list] [prev in thread] [next in thread] 

List:       forgerock-openidm
Subject:    Re: [OpenIDM] Reload scripts for custom endpoints upon each execution
From:       Jake Feasel <jake.feasel () forgerock ! com>
Date:       2016-02-29 17:56:20
Message-ID: CALXz=-VY1amWRy56z6MtW6mX7rtSK4dacRPHrwazaWcmbK87tw () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


There is a setting in script.json that should make this easier -

{
    "ECMAScript" : {
        "javascript.recompile.minimumInterval" : "60000",

As we were tuning performance factors in 4.0, we changed this from 100
to 60000 for the default config. This does have the unfortunate side-effect
of making changes to scripts not appear immediately after they are saved.
To get this behavior back, just change this number back down to 100.

Jake

On Mon, Feb 29, 2016 at 8:59 AM, Belleville-Rioux, Vincent <
rioux.vincent@uqam.ca> wrote:

> Hi,
>
> Any way to reload scripts for endpoints upon every execution?
>
> Thanks,
>
> Vincent
>
>
>
> _______________________________________________
> OpenIDM mailing list
> OpenIDM@forgerock.org
> https://lists.forgerock.org/mailman/listinfo/openidm
>
>


-- 
[image: ForgeRock] <http://www.forgerock.com/> *Jake Feasel*
Senior Software Developer  |  ForgeRock
*email* jake.feasel@forgerock.com <firstname.lastname@forgerock.com>
*web* forgerock.o <http://www.forgerock.com/>rg

[Attachment #5 (text/html)]

<div dir="ltr"><div class="gmail_extra">There is a setting in script.json that should \
make this easier -  </div><div class="gmail_extra"><br></div><div \
class="gmail_extra"><div class="gmail_extra">{</div><div class="gmail_extra">      \
&quot;ECMAScript&quot; : {</div><div class="gmail_extra">            \
&quot;javascript.recompile.minimumInterval&quot; : &quot;60000&quot;,</div></div><div \
class="gmail_extra"><br></div><div class="gmail_extra">As we were tuning performance \
factors in 4.0, we changed this from 100 to  60000 for the default config. This does \
have the unfortunate side-effect of making changes to scripts not appear immediately \
after they are saved. To get this behavior back, just change this number back down to \
100.<br></div><div class="gmail_extra"><br></div><div \
class="gmail_extra">Jake</div><div class="gmail_extra"><br><div \
class="gmail_quote">On Mon, Feb 29, 2016 at 8:59 AM, Belleville-Rioux, Vincent <span \
dir="ltr">&lt;<a href="mailto:rioux.vincent@uqam.ca" \
target="_blank">rioux.vincent@uqam.ca</a>&gt;</span> wrote:<br><blockquote \
class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">





<div>
<div style="direction:ltr;font-family:Tahoma;color:rgb(0,0,0);font-size:10pt">Hi,
<div><br>
</div>
<div>Any way to reload scripts for endpoints upon every execution?</div>
<div><br>
</div>
<div>Thanks,</div>
<div><br>
</div>
<div>Vincent</div>
<div>
<div><br>
<div style="font-family:Tahoma;font-size:13px">
<div style="font-family:Tahoma;font-size:13px">
<div><br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>

<br>_______________________________________________<br>
OpenIDM mailing list<br>
<a href="mailto:OpenIDM@forgerock.org">OpenIDM@forgerock.org</a><br>
<a href="https://lists.forgerock.org/mailman/listinfo/openidm" rel="noreferrer" \
target="_blank">https://lists.forgerock.org/mailman/listinfo/openidm</a><br> \
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div \
class="gmail_signature"><div dir="ltr"><table border="0" cellspacing="0" \
cellpadding="0" style="font-family:Times"><tbody><tr><td valign="top"><a \
href="http://www.forgerock.com/" target="_blank"><img \
src="http://www.cyphondesign.com/clients/forgerock/signature/images/FR_Sig_Logo.png" \
width="185" height="70" border="0" alt="ForgeRock"></a></td><td valign="top" \
align="left" bgcolor="#ffffff" \
style="font-family:arial,helvetica,verdana,sans-serif;font-size:11px;color:rgb(47,52,56);line-height:18.15px"><strong>Jake \
Feasel</strong><br>Senior Software Developer   |   ForgeRock<br><span \
style="color:rgb(127,183,170)"><strong>email</strong></span>  <a \
href="mailto:firstname.lastname@forgerock.com" \
style="text-decoration:none;color:rgb(47,52,56)" \
target="_blank">jake.feasel@forgerock.com</a><br><span \
style="color:rgb(127,183,170)"><strong>web</strong></span>  <a \
href="http://www.forgerock.com/" style="text-decoration:none;color:rgb(47,52,56)" \
target="_blank">forgerock.o</a>rg</td></tr></tbody></table></div></div> </div></div>



_______________________________________________
OpenIDM mailing list
OpenIDM@forgerock.org
https://lists.forgerock.org/mailman/listinfo/openidm


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic